31 #ifndef vtkMaskPoints_h
32 #define vtkMaskPoints_h
34 #include "vtkFiltersCoreModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
49 UNIFORM_SPATIAL_VOLUME
61 vtkGetMacro(OnRatio,
int);
85 vtkSetMacro(RandomMode,
bool);
86 vtkGetMacro(RandomMode,
bool);
87 vtkBooleanMacro(RandomMode,
bool);
95 vtkSetMacro(RandomSeed,
int);
96 vtkGetMacro(RandomSeed,
int);
130 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
131 vtkGetMacro(RandomModeType,
int);
148 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
149 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
150 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
159 vtkSetMacro(GenerateVertices,
bool);
160 vtkGetMacro(GenerateVertices,
bool);
161 vtkBooleanMacro(GenerateVertices,
bool);
170 vtkSetMacro(SingleVertexPerCell,
bool);
171 vtkGetMacro(SingleVertexPerCell,
bool);
172 vtkBooleanMacro(SingleVertexPerCell,
bool);
181 vtkSetMacro(OutputPointsPrecision,
int);
182 vtkGetMacro(OutputPointsPrecision,
int);
194 bool RandomMode =
false;
197 bool GenerateVertices =
false;
198 bool SingleVertexPerCell =
false;
199 int RandomModeType = RANDOMIZED_ID_STRIDES;
200 bool ProportionalMaximumNumberOfPoints =
false;
221 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.