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

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

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

revision 1197 by jongui, Mon Jun 18 02:08:34 2007 UTC revision 1199 by jongui, Wed Jun 20 05:01:30 2007 UTC
# Line 22  import vtk Line 22  import vtk
22    
23  class ContourModule:  class ContourModule:
24      """      """
25      Class that defines contour module.      Class that defines the contour module.
26      """      """
27    
28      def __init__(self):      def __init__(self):
# Line 83  class ContourModule: Line 83  class ContourModule:
83      def _generateContours(self):      def _generateContours(self):
84          """          """
85          Generate the specified number of contours within the specified range.          Generate the specified number of contours within the specified range.
86          In order to generate an iso surface, the 'lower_range' and  
87            @attention: In order to generate an iso surface, the 'lower_range' and
88          'upper_range' must be equal.          'upper_range' must be equal.
89          """          """
90    
91          self.__vtk_contour.GenerateValues(self.__contours, self.__lower_range,          self.__vtk_contour.GenerateValues(self.__contours, self.__lower_range,
92                  self.__upper_range)                  self.__upper_range)
93    
     def _getContour(self):  
         """  
         Return the contour.  
   
         @rtype: vtkContourFilter  
         @return: Contour filter  
         """  
   
         return self.__vtk_contour  
   
94      def _getContourModuleOutput(self):      def _getContourModuleOutput(self):
95          """          """
96          Return the output of the contour.          Return the output of the contour.

Legend:
Removed from v.1197  
changed lines
  Added in v.1199

  ViewVC Help
Powered by ViewVC 1.1.26