Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkMaskPoints, simply invoke its constructor as follows
obj = vtkMaskPoints
obj
is an instance of the vtkMaskPoints class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkMaskPoints = obj.NewInstance ()
vtkMaskPoints = obj.SafeDownCast (vtkObject o)
obj.SetOnRatio (int )
- Turn on every nth point.
int = obj.GetOnRatioMinValue ()
- Turn on every nth point.
int = obj.GetOnRatioMaxValue ()
- Turn on every nth point.
int = obj.GetOnRatio ()
- Turn on every nth point.
obj.SetMaximumNumberOfPoints (vtkIdType )
- Limit the number of points that can be passed through.
vtkIdType = obj.GetMaximumNumberOfPointsMinValue ()
- Limit the number of points that can be passed through.
vtkIdType = obj.GetMaximumNumberOfPointsMaxValue ()
- Limit the number of points that can be passed through.
vtkIdType = obj.GetMaximumNumberOfPoints ()
- Limit the number of points that can be passed through.
obj.SetOffset (vtkIdType )
- Start with this point.
vtkIdType = obj.GetOffsetMinValue ()
- Start with this point.
vtkIdType = obj.GetOffsetMaxValue ()
- Start with this point.
vtkIdType = obj.GetOffset ()
- Start with this point.
obj.SetRandomMode (int )
- Special flag causes randomization of point selection. If this mode is on,
statistically every nth point (i.e., OnRatio) will be displayed.
int = obj.GetRandomMode ()
- Special flag causes randomization of point selection. If this mode is on,
statistically every nth point (i.e., OnRatio) will be displayed.
obj.RandomModeOn ()
- Special flag causes randomization of point selection. If this mode is on,
statistically every nth point (i.e., OnRatio) will be displayed.
obj.RandomModeOff ()
- Special flag causes randomization of point selection. If this mode is on,
statistically every nth point (i.e., OnRatio) will be displayed.
obj.SetGenerateVertices (int )
- Generate output polydata vertices as well as points. A useful
convenience method because vertices are drawn (they are topology) while
points are not (they are geometry). By default this method is off.
int = obj.GetGenerateVertices ()
- Generate output polydata vertices as well as points. A useful
convenience method because vertices are drawn (they are topology) while
points are not (they are geometry). By default this method is off.
obj.GenerateVerticesOn ()
- Generate output polydata vertices as well as points. A useful
convenience method because vertices are drawn (they are topology) while
points are not (they are geometry). By default this method is off.
obj.GenerateVerticesOff ()
- Generate output polydata vertices as well as points. A useful
convenience method because vertices are drawn (they are topology) while
points are not (they are geometry). By default this method is off.
obj.SetSingleVertexPerCell (int )
- When vertex generation is enabled, by default vertices are produced
as multi-vertex cells (more than one per cell), if you wish to have a single
vertex per cell, enable this flag.
int = obj.GetSingleVertexPerCell ()
- When vertex generation is enabled, by default vertices are produced
as multi-vertex cells (more than one per cell), if you wish to have a single
vertex per cell, enable this flag.
obj.SingleVertexPerCellOn ()
- When vertex generation is enabled, by default vertices are produced
as multi-vertex cells (more than one per cell), if you wish to have a single
vertex per cell, enable this flag.
obj.SingleVertexPerCellOff ()
- When vertex generation is enabled, by default vertices are produced
as multi-vertex cells (more than one per cell), if you wish to have a single
vertex per cell, enable this flag.