22#ifndef vtkMaskPoints_h
23#define vtkMaskPoints_h
25#include "vtkFiltersCoreModule.h"
28VTK_ABI_NAMESPACE_BEGIN
40 UNIFORM_SPATIAL_VOLUME
52 vtkGetMacro(OnRatio,
int);
76 vtkSetMacro(RandomMode,
bool);
77 vtkGetMacro(RandomMode,
bool);
78 vtkBooleanMacro(RandomMode,
bool);
86 vtkSetMacro(RandomSeed,
int);
87 vtkGetMacro(RandomSeed,
int);
121 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
122 vtkGetMacro(RandomModeType,
int);
139 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
140 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
141 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
150 vtkSetMacro(GenerateVertices,
bool);
151 vtkGetMacro(GenerateVertices,
bool);
152 vtkBooleanMacro(GenerateVertices,
bool);
161 vtkSetMacro(SingleVertexPerCell,
bool);
162 vtkGetMacro(SingleVertexPerCell,
bool);
163 vtkBooleanMacro(SingleVertexPerCell,
bool);
172 vtkSetMacro(OutputPointsPrecision,
int);
173 vtkGetMacro(OutputPointsPrecision,
int);
185 bool RandomMode =
false;
188 bool GenerateVertices =
false;
189 bool SingleVertexPerCell =
false;
190 int RandomModeType = RANDOMIZED_ID_STRIDES;
191 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.