70#ifndef vtkHierarchicalBinningFilter_h
71#define vtkHierarchicalBinningFilter_h
73#include "vtkFiltersPointsModule.h"
76#define VTK_MAX_LEVEL 12
99 vtkGetMacro(NumberOfLevels,
int);
109 vtkSetMacro(Automatic,
bool);
110 vtkGetMacro(Automatic,
bool);
111 vtkBooleanMacro(Automatic,
bool);
121 vtkSetVector3Macro(Divisions,
int);
122 vtkGetVectorMacro(Divisions,
int, 3);
133 vtkSetVector6Macro(Bounds,
double);
134 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.