31#ifndef vtkMaskPoints_h
32#define vtkMaskPoints_h
34#include "vtkFiltersCoreModule.h"
48 UNIFORM_SPATIAL_VOLUME
60 vtkGetMacro(OnRatio,
int);
84 vtkSetMacro(RandomMode,
bool);
85 vtkGetMacro(RandomMode,
bool);
86 vtkBooleanMacro(RandomMode,
bool);
94 vtkSetMacro(RandomSeed,
int);
95 vtkGetMacro(RandomSeed,
int);
129 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
130 vtkGetMacro(RandomModeType,
int);
147 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
148 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
149 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
158 vtkSetMacro(GenerateVertices,
bool);
159 vtkGetMacro(GenerateVertices,
bool);
160 vtkBooleanMacro(GenerateVertices,
bool);
169 vtkSetMacro(SingleVertexPerCell,
bool);
170 vtkGetMacro(SingleVertexPerCell,
bool);
171 vtkBooleanMacro(SingleVertexPerCell,
bool);
180 vtkSetMacro(OutputPointsPrecision,
int);
181 vtkGetMacro(OutputPointsPrecision,
int);
193 bool RandomMode =
false;
196 bool GenerateVertices =
false;
197 bool SingleVertexPerCell =
false;
198 int RandomModeType = RANDOMIZED_ID_STRIDES;
199 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()
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()
static vtkMaskPoints * New()
virtual void InternalResetController()
@ UNIFORM_SPATIAL_SURFACE
Superclass for algorithms that produce only polydata as output.