40#ifndef vtkMaskPoints_h
41#define vtkMaskPoints_h
43#include "vtkFiltersCoreModule.h"
57 UNIFORM_SPATIAL_VOLUME
69 vtkGetMacro(OnRatio,
int);
93 vtkSetMacro(RandomMode,
bool);
94 vtkGetMacro(RandomMode,
bool);
95 vtkBooleanMacro(RandomMode,
bool);
103 vtkSetMacro(RandomSeed,
int);
104 vtkGetMacro(RandomSeed,
int);
138 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
139 vtkGetMacro(RandomModeType,
int);
156 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
157 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
158 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
167 vtkSetMacro(GenerateVertices,
bool);
168 vtkGetMacro(GenerateVertices,
bool);
169 vtkBooleanMacro(GenerateVertices,
bool);
178 vtkSetMacro(SingleVertexPerCell,
bool);
179 vtkGetMacro(SingleVertexPerCell,
bool);
180 vtkBooleanMacro(SingleVertexPerCell,
bool);
189 vtkSetMacro(OutputPointsPrecision,
int);
190 vtkGetMacro(OutputPointsPrecision,
int);
202 bool RandomMode =
false;
205 bool GenerateVertices =
false;
206 bool SingleVertexPerCell =
false;
207 int RandomModeType = RANDOMIZED_ID_STRIDES;
208 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.