61#ifndef vtkHierarchicalBinningFilter_h
62#define vtkHierarchicalBinningFilter_h
64#include "vtkFiltersPointsModule.h"
67#define VTK_MAX_LEVEL 12
69VTK_ABI_NAMESPACE_BEGIN
91 vtkGetMacro(NumberOfLevels,
int);
101 vtkSetMacro(Automatic,
bool);
102 vtkGetMacro(Automatic,
bool);
103 vtkBooleanMacro(Automatic,
bool);
113 vtkSetVector3Macro(Divisions,
int);
114 vtkGetVectorMacro(Divisions,
int, 3);
125 vtkSetVector6Macro(Bounds,
double);
126 vtkGetVectorMacro(Bounds,
double, 6);
uniform binning of points into a hierarchical structure
~vtkHierarchicalBinningFilter() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkHierarchicalBinningFilter * New()
Standard methods for instantiating, obtaining type information, and printing information.
void GetLocalBinBounds(int level, int localBin, double bounds[6])
Convenience methods for extracting useful information about a bin tree.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
vtkIdType GetLocalBinOffset(int level, int localBin, vtkIdType &npts)
Convenience methods for extracting useful information about this bin tree.
void GetBinBounds(int globalBin, double bounds[6])
Convenience methods for extracting useful information about a bin tree.
vtkIdType GetLevelOffset(int level, vtkIdType &npts)
Convenience methods for extracting useful information about this bin tree.
int GetNumberOfBins(int level)
Convenience methods for extracting useful information about this bin tree.
vtkIdType GetBinOffset(int globalBin, vtkIdType &npts)
Convenience methods for extracting useful information about this bin tree.
int GetNumberOfGlobalBins()
Convenience methods for extracting useful information about this bin tree.
vtkHierarchicalBinningFilter()
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.