131#ifndef vtkMaskPoints_h
132#define vtkMaskPoints_h
134#include "vtkFiltersCoreModule.h"
137VTK_ABI_NAMESPACE_BEGIN
149 UNIFORM_SPATIAL_VOLUME
161 vtkGetMacro(OnRatio,
int);
185 vtkSetMacro(RandomMode,
bool);
186 vtkGetMacro(RandomMode,
bool);
187 vtkBooleanMacro(RandomMode,
bool);
195 vtkSetMacro(RandomSeed,
int);
196 vtkGetMacro(RandomSeed,
int);
230 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
231 vtkGetMacro(RandomModeType,
int);
248 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
249 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
250 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
259 vtkSetMacro(GenerateVertices,
bool);
260 vtkGetMacro(GenerateVertices,
bool);
261 vtkBooleanMacro(GenerateVertices,
bool);
270 vtkSetMacro(SingleVertexPerCell,
bool);
271 vtkGetMacro(SingleVertexPerCell,
bool);
272 vtkBooleanMacro(SingleVertexPerCell,
bool);
281 vtkSetMacro(OutputPointsPrecision,
int);
282 vtkGetMacro(OutputPointsPrecision,
int);
294 bool RandomMode =
false;
297 bool GenerateVertices =
false;
298 bool SingleVertexPerCell =
false;
299 int RandomModeType = RANDOMIZED_ID_STRIDES;
300 bool ProportionalMaximumNumberOfPoints =
false;
301 int OutputPointsPrecision = DEFAULT_PRECISION;
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.