143 #ifndef vtkMaskPoints_h
144 #define vtkMaskPoints_h
146 #include "vtkFiltersCoreModule.h"
149 VTK_ABI_NAMESPACE_BEGIN
161 UNIFORM_SPATIAL_VOLUME
173 vtkGetMacro(OnRatio,
int);
197 vtkSetMacro(RandomMode,
bool);
198 vtkGetMacro(RandomMode,
bool);
199 vtkBooleanMacro(RandomMode,
bool);
207 vtkSetMacro(RandomSeed,
int);
208 vtkGetMacro(RandomSeed,
int);
242 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
243 vtkGetMacro(RandomModeType,
int);
260 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
261 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
262 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
271 vtkSetMacro(GenerateVertices,
bool);
272 vtkGetMacro(GenerateVertices,
bool);
273 vtkBooleanMacro(GenerateVertices,
bool);
282 vtkSetMacro(SingleVertexPerCell,
bool);
283 vtkGetMacro(SingleVertexPerCell,
bool);
284 vtkBooleanMacro(SingleVertexPerCell,
bool);
293 vtkSetMacro(OutputPointsPrecision,
int);
294 vtkGetMacro(OutputPointsPrecision,
int);
306 bool RandomMode =
false;
309 bool GenerateVertices =
false;
310 bool SingleVertexPerCell =
false;
311 int RandomModeType = RANDOMIZED_ID_STRIDES;
312 bool ProportionalMaximumNumberOfPoints =
false;
333 VTK_ABI_NAMESPACE_END
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.