43#ifndef vtkMaskPoints_h
44#define vtkMaskPoints_h
46#include "vtkFiltersCoreModule.h"
60 UNIFORM_SPATIAL_VOLUME
72 vtkGetMacro(OnRatio,
int);
96 vtkSetMacro(RandomMode,
bool);
97 vtkGetMacro(RandomMode,
bool);
98 vtkBooleanMacro(RandomMode,
bool);
106 vtkSetMacro(RandomSeed,
int);
107 vtkGetMacro(RandomSeed,
int);
141 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
142 vtkGetMacro(RandomModeType,
int);
159 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
160 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
161 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
170 vtkSetMacro(GenerateVertices,
bool);
171 vtkGetMacro(GenerateVertices,
bool);
172 vtkBooleanMacro(GenerateVertices,
bool);
181 vtkSetMacro(SingleVertexPerCell,
bool);
182 vtkGetMacro(SingleVertexPerCell,
bool);
183 vtkBooleanMacro(SingleVertexPerCell,
bool);
192 vtkSetMacro(OutputPointsPrecision,
int);
193 vtkGetMacro(OutputPointsPrecision,
int);
205 bool RandomMode =
false;
208 bool GenerateVertices =
false;
209 bool SingleVertexPerCell =
false;
210 int RandomModeType = RANDOMIZED_ID_STRIDES;
211 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.