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

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

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

revision 1078 by jongui, Fri Mar 16 05:00:32 2007 UTC revision 1079 by jongui, Tue Apr 10 04:27:31 2007 UTC
# Line 16  class Clipper: Line 16  class Clipper:
16          @type object: vtkUnstructuredGrid, etc          @type object: vtkUnstructuredGrid, etc
17          @param object: Input for the clipper          @param object: Input for the clipper
18          @type plane: vtkPlane          @type plane: vtkPlane
19          @param plane: Plane to clip the rendered object (input)          @param plane: Plane to clip the object
20          """          """
21    
22          self.__object = object          self.__object = object
# Line 46  class Clipper: Line 46  class Clipper:
46    
47      def _setClipFunction(self):      def _setClipFunction(self):
48          """          """
49          Set the clip function (using a plane).          Set the clip function (using a plane) for the clipper.
50          """          """
51    
52          self.__vtk_clipper.SetClipFunction(self.__plane)          self.__vtk_clipper.SetClipFunction(self.__plane)
53    
54      def setInsideOutOn(self):      def setInsideOutOn(self):
55          """          """
56          Clips one side of the rendered object.                Clip one side of the rendered object.      
57          """          """
58    
59          self.__vtk_clipper.InsideOutOn()          self.__vtk_clipper.InsideOutOn()
# Line 67  class Clipper: Line 67  class Clipper:
67    
68      def setClipValue(self, value):      def setClipValue(self, value):
69          """          """
70          Set the scalar clip value.          Set the scalar clip value (intead of using a plane) for the clipper.
71    
72          @type value: Number          @type value: Number
73          @param value: Scalar clip value          @param value: Scalar clip value

Legend:
Removed from v.1078  
changed lines
  Added in v.1079

  ViewVC Help
Powered by ViewVC 1.1.26