Package esys :: Package pyvisi :: Module clipper :: Class Clipper
[hide private]
[frames] | no frames]

Class Clipper

Known Subclasses:

Class that defines a clipper.

Instance Methods [hide private]
 
__init__(self)
Initialise the clipper.
 
__setInput(self)
Set the input for the clipper.
vtkUnstructuredGrid
_getClipperOutput(self)
Return the output of the clipper.
 
_setClipFunction(self)
Set the clip function (using a plane) for the clipper.
 
_setupClipper(self, object, plane)
Setup the clipper.
 
setClipValue(self, value)
Set the scalar clip value (intead of using a plane) for the clipper.
 
setInsideOutOff(self)
Clips the other side of the rendered object.
 
setInsideOutOn(self)
Clip one side of the rendered object.
Method Details [hide private]

_getClipperOutput(self)

 

Return the output of the clipper.

Returns: vtkUnstructuredGrid
Unstructured grid

_setupClipper(self, object, plane)

 

Setup the clipper.

Parameters:
  • object (vtkUnstructuredGrid, etc) - Input for the clipper
  • plane (vtkPlane) - Plane to clip the object

setClipValue(self, value)

 

Set the scalar clip value (intead of using a plane) for the clipper.

Parameters:
  • value (Number) - Scalar clip value