/[escript]/trunk/pyvisi/py_src/map.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/map.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 948 by jongui, Thu Feb 1 07:23:34 2007 UTC revision 978 by jongui, Fri Feb 16 07:02:18 2007 UTC
# Line 77  class Map(DataSetMapper, Actor3D): Line 77  class Map(DataSetMapper, Actor3D):
77          elif(lut == Lut.GREY_SCALE): # Grey scaled lookup table.          elif(lut == Lut.GREY_SCALE): # Grey scaled lookup table.
78              lookup_table = LookupTable()              lookup_table = LookupTable()
79              lookup_table._setLookupTableToGreyScale()              lookup_table._setLookupTableToGreyScale()
80            #print ("dir ", dir(lookup_table))
81    
82          DataSetMapper.__init__(self, data_collector._getOutput(),          DataSetMapper.__init__(self, data_collector._getOutput(),
83                  lookup_table._getLookupTable())                  lookup_table._getLookupTable())
84          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())
85            #print("range ", data_collector._getScalarRange())
86    
87          Actor3D.__init__(self, DataSetMapper._getDataSetMapper(self))          Actor3D.__init__(self, DataSetMapper._getDataSetMapper(self))
88          scene._addActor3D(viewport, Actor3D._getActor3D(self))          scene._addActor3D(viewport, Actor3D._getActor3D(self))
# Line 185  from clipper import Clipper Line 187  from clipper import Clipper
187  # to allow access to their public methods from the driver.  # to allow access to their public methods from the driver.
188  class MapOnPlaneClip(DataSetMapper, Actor3D, Transform, Plane, Clipper):  class MapOnPlaneClip(DataSetMapper, Actor3D, Transform, Plane, Clipper):
189      """      """
190      Class that show a scalar field  on a clipped plane.      Class that show a scalar field on a clipped plane.  
191      """      """
192            
193      # The SOUTH_WEST default viewport is used when there is only one viewport.      # The SOUTH_WEST default viewport is used when there is only one viewport.

Legend:
Removed from v.948  
changed lines
  Added in v.978

  ViewVC Help
Powered by ViewVC 1.1.26