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

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

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

revision 947 by jongui, Mon Jan 29 07:22:43 2007 UTC revision 948 by jongui, Thu Feb 1 07:23:34 2007 UTC
# Line 13  class Outline: Line 13  class Outline:
13          """          """
14          Initialise the outline.          Initialise the outline.
15    
16          @type object: vtkDataSet (i.e. vtkUnstructuredGrid, vtkPolyData, etc)          @type object: vtkUnstructuredGrid, etc
17          @param object: Data source to outline          @param object: Data source to the outline
18          """          """
19                    
20          self.__object = object          self.__object = object
21          self.__vtk_outline = vtk.vtkOutlineFilter()          self.__vtk_outline = vtk.vtkOutlineFilter()
22          self.__setupOutline()          self.__setInput()
23    
24      def __setupOutline(self):      def __setInput(self):
25          """          """
26          Setup the outline.          Set the input for the outline.
27          """          """
28    
29          self.__vtk_outline.SetInput(self.__object)          self.__vtk_outline.SetInput(self.__object)
         self.__output = self.__vtk_outline.GetOutput()  
30                    
31            
32      def _getOutput(self):      def _getOutput(self):
# Line 38  class Outline: Line 37  class Outline:
37          @return: Polyognal data          @return: Polyognal data
38          """          """
39    
40          return self.__output          return self.__vtk_outline.GetOutput()
41            

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

  ViewVC Help
Powered by ViewVC 1.1.26