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

Diff of /trunk/pyvisi/py_src/contour.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 143  class Contour(DataSetMapper, Actor3D, Co Line 143  class Contour(DataSetMapper, Actor3D, Co
143              self.generateContours(contours, lower_range, upper_range)              self.generateContours(contours, lower_range, upper_range)
144              self._generateContours()              self._generateContours()
145                                                    
146              self._setScalarRange(self.__data_collector._getScalarRange())              # self._isScalarRangeSet checks whether the scalar range has been
147                # specified by the user. If it has, then the scalar range
148                # read from the source will be ignored.
149                if(not(self._isScalarRangeSet())):
150                    self._setScalarRange(self.__data_collector._getScalarRange())
151              self.__modified = False              self.__modified = False
152    
153    
# Line 293  class ContourOnPlaneCut(DataSetMapper, A Line 297  class ContourOnPlaneCut(DataSetMapper, A
297              self.generateContours(contours, lower_range, upper_range)              self.generateContours(contours, lower_range, upper_range)
298              self._generateContours()              self._generateContours()
299                                                    
300              self._setScalarRange(self.__data_collector._getScalarRange())              # self._isScalarRangeSet checks whether the scalar range has been
301                # specified by the user. If it has, then the scalar range
302                # read from the source will be ignored.
303                if(not(self._isScalarRangeSet())):
304                    self._setScalarRange(self.__data_collector._getScalarRange())
305              self.__modified = False              self.__modified = False
306    
307    
# Line 446  class ContourOnPlaneClip(DataSetMapper, Line 454  class ContourOnPlaneClip(DataSetMapper,
454              self.generateContours(contours, lower_range, upper_range)              self.generateContours(contours, lower_range, upper_range)
455              self._generateContours()              self._generateContours()
456                                                    
457              self._setScalarRange(self.__data_collector._getScalarRange())              # self._isScalarRangeSet checks whether the scalar range has been
458                # specified by the user. If it has, then the scalar range
459                # read from the source will be ignored.
460                if(not(self._isScalarRangeSet())):
461                    self._setScalarRange(self.__data_collector._getScalarRange())
462              self.__modified = False              self.__modified = False
463    
464    

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

  ViewVC Help
Powered by ViewVC 1.1.26