NAME
vtkMaskPoints - selectively filter points
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkMaskPoints.h"
class VTK_EXPORT vtkMaskPoints : public vtkDataSetToPolyDataFilter
vtkMaskPoints();
static vtkMaskPoints *New() {return new vtkMaskPoints;};
const char *GetClassName() {return "vtkMaskPoints";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetOnRatio(int);
int GetOnRatio();
void SetMaximumNumberOfPoints(int);
int GetMaximumNumberOfPoints();
void SetOffset(int);
int GetOffset();
void SetRandomMode(int);
int GetRandomMode();
void RandomModeOn();
void RandomModeOff();
DESCRIPTION
vtkMaskPoints is a filter that passes through points and point attributes from input dataset. (Other geometry is not passed through.) It is possible to mask every nth point, and to specify an initial offset to begin masking from. A special random mode feature enables random selection of points.
SUMMARY
void SetOnRatio(int)
Turn on every nth point.
void SetMaximumNumberOfPoints(int)
Limit the number of points that can be passed through.
void SetOffset(int)
Start with this point.
void SetRandomMode(int)
Special flag causes randomization of point selection. If this mode is on, statically every nth point (i.e., OnRatio) will be displayed.