50 #ifndef vtkVoxelGrid_h 51 #define vtkVoxelGrid_h 53 #include "vtkFiltersPointsModule.h" 92 vtkSetMacro(ConfigurationStyle,
int);
93 vtkGetMacro(ConfigurationStyle,
int);
95 { this->SetConfigurationStyle(MANUAL); }
97 { this->SetConfigurationStyle(SPECIFY_LEAF_SIZE); }
99 { this->SetConfigurationStyle(AUTOMATIC); }
109 vtkSetVector3Macro(Divisions,
int);
110 vtkGetVectorMacro(Divisions,
int,3);
120 vtkSetVector3Macro(LeafSize,
double);
121 vtkGetVectorMacro(LeafSize,
double,3);
131 vtkSetClampMacro(NumberOfPointsPerBin,
int,1,
VTK_INT_MAX);
132 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.