47 #ifndef vtkVoxelGrid_h 48 #define vtkVoxelGrid_h 50 #include "vtkFiltersPointsModule.h" 89 vtkSetMacro(ConfigurationStyle,
int);
90 vtkGetMacro(ConfigurationStyle,
int);
92 { this->SetConfigurationStyle(MANUAL); }
94 { this->SetConfigurationStyle(SPECIFY_LEAF_SIZE); }
96 { this->SetConfigurationStyle(AUTOMATIC); }
106 vtkSetVector3Macro(Divisions,
int);
107 vtkGetVectorMacro(Divisions,
int,3);
117 vtkSetVector3Macro(LeafSize,
double);
118 vtkGetVectorMacro(LeafSize,
double,3);
128 vtkSetClampMacro(NumberOfPointsPerBin,
int,1,
VTK_INT_MAX);
129 vtkGetMacro(NumberOfPointsPerBin,
int);
void SetConfigurationStyleToManual()
Configure how the filter is to operate.
base class for interpolation kernels
void SetConfigurationStyleToAutomatic()
Configure how the filter is to operate.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
Style
This enum is used to configure the operation of the filter.
a simple class to control print indentation
vtkInterpolationKernel * Kernel
quickly locate points in 3-space
subsample points using uniform binning
vtkStaticPointLocator * Locator
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetConfigurationStyleToLeafSize()
Configure how the filter is to operate.