Package esys :: Package pyvisi :: Module point :: Class MaskPoints
[hide private]
[frames] | no frames]

Class MaskPoints

Known Subclasses:

Class that defines the masking of points every n'th point. This is useful to prevent the rendered object from being cluttered with arrows or ellipsoids.

Instance Methods [hide private]
 
__init__(self)
Initialise the mask points.
 
__setInput(self)
Set the input for the mask points.
vtkPolyData
_getMaskPointsOutput(self)
Return the output of the masked points.
 
_setupMaskPoints(self, object)
Setup the mask points.
 
randomOff(self)
Disables the randomization of the points selected for masking.
 
randomOn(self)
Enables the randomization of the points selected for masking.
 
setRatio(self, ratio)
Mask every n'th point.
Method Details [hide private]

_getMaskPointsOutput(self)

 

Return the output of the masked points.

Returns: vtkPolyData
Polygonal datda

_setupMaskPoints(self, object)

 

Setup the mask points.

Parameters:
  • object (vtkDataSet (i.e. vtkUnstructuredGrid, etc)) - Data source from which to mask points

setRatio(self, ratio)

 

Mask every n'th point.

Parameters:
  • ratio (Number) - Masking ratio