/[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 978 by jongui, Fri Feb 16 07:02:18 2007 UTC revision 992 by jongui, Fri Feb 23 03:35:33 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()
         #print ("dir ", dir(lookup_table))  
80    
81          DataSetMapper.__init__(self, data_collector._getOutput(),          DataSetMapper.__init__(self, data_collector._getOutput(),
82                  lookup_table._getLookupTable())                  lookup_table._getLookupTable())
83          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())
84          #print("range ", data_collector._getScalarRange())  
85    
86          Actor3D.__init__(self, DataSetMapper._getDataSetMapper(self))          Actor3D.__init__(self, DataSetMapper._getDataSetMapper(self))
87          scene._addActor3D(viewport, Actor3D._getActor3D(self))          scene._addActor3D(viewport, Actor3D._getActor3D(self))

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

  ViewVC Help
Powered by ViewVC 1.1.26