47 #ifndef vtkVoxelGrid_h
48 #define vtkVoxelGrid_h
50 #include "vtkFiltersPointsModule.h"
90 vtkGetMacro(ConfigurationStyle,
int);
92 { this->SetConfigurationStyle(MANUAL); }
94 { this->SetConfigurationStyle(SPECIFY_LEAF_SIZE); }
96 { this->SetConfigurationStyle(AUTOMATIC); }
105 vtkSetVector3Macro(Divisions,
int);
106 vtkGetVectorMacro(Divisions,
int,3);
116 vtkSetVector3Macro(LeafSize,
double);
117 vtkGetVectorMacro(LeafSize,
double,3);
127 vtkSetClampMacro(NumberOfPointsPerBin,
int,1,
VTK_INT_MAX);
128 vtkGetMacro(NumberOfPointsPerBin,
int);
146 int ConfigurationStyle;
150 int NumberOfPointsPerBin;
154 vtkInformationVector *) VTK_OVERRIDE;
155 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
159 void operator=(const
vtkVoxelGrid&) VTK_DELETE_FUNCTION;
void SetConfigurationStyleToManual()
Configure how the filter is to operate.
base class for interpolation kernels
void SetConfigurationStyleToAutomatic()
Configure how the filter is to operate.
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
quickly locate points in 3-space
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
subsample points using uniform binning
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.