143 #ifndef vtkMaskPoints_h
144 #define vtkMaskPoints_h
146 #include "vtkFiltersCoreModule.h"
160 UNIFORM_SPATIAL_VOLUME
172 vtkGetMacro(OnRatio,
int);
196 vtkSetMacro(RandomMode,
bool);
197 vtkGetMacro(RandomMode,
bool);
198 vtkBooleanMacro(RandomMode,
bool);
206 vtkSetMacro(RandomSeed,
int);
207 vtkGetMacro(RandomSeed,
int);
241 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
242 vtkGetMacro(RandomModeType,
int);
259 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
260 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
261 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
270 vtkSetMacro(GenerateVertices,
bool);
271 vtkGetMacro(GenerateVertices,
bool);
272 vtkBooleanMacro(GenerateVertices,
bool);
281 vtkSetMacro(SingleVertexPerCell,
bool);
282 vtkGetMacro(SingleVertexPerCell,
bool);
283 vtkBooleanMacro(SingleVertexPerCell,
bool);
292 vtkSetMacro(OutputPointsPrecision,
int);
293 vtkGetMacro(OutputPointsPrecision,
int);
305 bool RandomMode =
false;
308 bool GenerateVertices =
false;
309 bool SingleVertexPerCell =
false;
310 int RandomModeType = RANDOMIZED_ID_STRIDES;
311 bool ProportionalMaximumNumberOfPoints =
false;
a simple class to control print indentation
selectively filter points
~vtkMaskPoints() override=default
virtual void InternalSplitController(int, int)
vtkIdType MaximumNumberOfPoints
virtual void InternalGather(unsigned long *, unsigned long *, int, int)
virtual void InternalScatter(unsigned long *, unsigned long *, int, int)
virtual void InternalBroadcast(double *, int, int)
unsigned long GetLocalSampleSize(vtkIdType, int)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void InternalGather(double *, double *, int, int)
virtual int InternalGetNumberOfProcesses()
static vtkMaskPoints * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int InternalGetLocalProcessId()
double GetLocalAreaFactor(double, int)
virtual void InternalBarrier()
virtual void InternalResetController()
@ UNIFORM_SPATIAL_SURFACE
Superclass for algorithms that produce only polydata as output.