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

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

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

revision 1158 by jongui, Tue May 22 04:24:01 2007 UTC revision 1189 by jongui, Thu Jun 7 05:31:25 2007 UTC
# Line 141  class Ellipsoid(DataSetMapper, Actor3D, Line 141  class Ellipsoid(DataSetMapper, Actor3D,
141              if(self.__data_collector._isTensorSet() == True):              if(self.__data_collector._isTensorSet() == True):
142                  self.__data_collector._setActiveTensor()                  self.__data_collector._setActiveTensor()
143    
144              self._setScalarRange(self.__data_collector._getScalarRange())              # self._isScalarRangeSet checks whether the scalar range has been
145                # specified by the user. If it has, then the scalar range
146                # read from the source will be ignored.
147                if(not(self._isScalarRangeSet())):
148                    self._setScalarRange(self.__data_collector._getScalarRange())
149              self.__modified = False              self.__modified = False
150    
151    
# Line 286  class EllipsoidOnPlaneCut(DataSetMapper, Line 290  class EllipsoidOnPlaneCut(DataSetMapper,
290                  self.__data_collector._setActiveScalar()                  self.__data_collector._setActiveScalar()
291              if(self.__data_collector._isTensorSet() == True):              if(self.__data_collector._isTensorSet() == True):
292                  self.__data_collector._setActiveTensor()                  self.__data_collector._setActiveTensor()
293              self._setScalarRange(self.__data_collector._getScalarRange())  
294                # self._isScalarRangeSet checks whether the scalar range has been
295                # specified by the user. If it has, then the scalar range
296                # read from the source will be ignored.
297                if(not(self._isScalarRangeSet())):
298                    self._setScalarRange(self.__data_collector._getScalarRange())
299              self.__modified = False              self.__modified = False
300    
301    
# Line 435  class EllipsoidOnPlaneClip(DataSetMapper Line 444  class EllipsoidOnPlaneClip(DataSetMapper
444                  self.__data_collector._setActiveScalar()                  self.__data_collector._setActiveScalar()
445              if(self.__data_collector._isTensorSet() == True):              if(self.__data_collector._isTensorSet() == True):
446                  self.__data_collector._setActiveTensor()                  self.__data_collector._setActiveTensor()
447              self._setScalarRange(self.__data_collector._getScalarRange())  
448                # self._isScalarRangeSet checks whether the scalar range has been
449                # specified by the user. If it has, then the scalar range
450                # read from the source will be ignored.
451                if(not(self._isScalarRangeSet())):
452                    self._setScalarRange(self.__data_collector._getScalarRange())
453              self.__modified = False              self.__modified = False
454    
455    

Legend:
Removed from v.1158  
changed lines
  Added in v.1189

  ViewVC Help
Powered by ViewVC 1.1.26