140#ifndef vtkMaskPoints_h
141#define vtkMaskPoints_h
143#include "vtkFiltersCoreModule.h"
157 UNIFORM_SPATIAL_VOLUME
169 vtkGetMacro(OnRatio,
int);
193 vtkSetMacro(RandomMode,
bool);
194 vtkGetMacro(RandomMode,
bool);
195 vtkBooleanMacro(RandomMode,
bool);
203 vtkSetMacro(RandomSeed,
int);
204 vtkGetMacro(RandomSeed,
int);
238 vtkSetClampMacro(RandomModeType,
int, RANDOMIZED_ID_STRIDES, UNIFORM_SPATIAL_VOLUME);
239 vtkGetMacro(RandomModeType,
int);
256 vtkSetMacro(ProportionalMaximumNumberOfPoints,
bool);
257 vtkGetMacro(ProportionalMaximumNumberOfPoints,
bool);
258 vtkBooleanMacro(ProportionalMaximumNumberOfPoints,
bool);
267 vtkSetMacro(GenerateVertices,
bool);
268 vtkGetMacro(GenerateVertices,
bool);
269 vtkBooleanMacro(GenerateVertices,
bool);
278 vtkSetMacro(SingleVertexPerCell,
bool);
279 vtkGetMacro(SingleVertexPerCell,
bool);
280 vtkBooleanMacro(SingleVertexPerCell,
bool);
289 vtkSetMacro(OutputPointsPrecision,
int);
290 vtkGetMacro(OutputPointsPrecision,
int);
302 bool RandomMode =
false;
305 bool GenerateVertices =
false;
306 bool SingleVertexPerCell =
false;
307 int RandomModeType = RANDOMIZED_ID_STRIDES;
308 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.