VTK  9.2.6
vtkExtractHierarchicalBins.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExtractHierarchicalBins.h
5
6 Copyright (c) Kitware, Inc.
7 All rights reserved.
8 See LICENSE file for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
42
43#ifndef vtkExtractHierarchicalBins_h
44#define vtkExtractHierarchicalBins_h
45
46#include "vtkFiltersPointsModule.h" // For export macro
47#include "vtkPointCloudFilter.h"
48
50class vtkPointSet;
51
52class VTKFILTERSPOINTS_EXPORT vtkExtractHierarchicalBins : public vtkPointCloudFilter
53{
54public:
56
62 void PrintSelf(ostream& os, vtkIndent indent) override;
64
66
76 vtkSetMacro(Level, int);
77 vtkGetMacro(Level, int);
79
81
90 vtkSetMacro(Bin, int);
91 vtkGetMacro(Bin, int);
93
95
103
104protected:
107
108 // Users can extract points from a particular level or bin.
109 int Level;
110 int Bin;
112
113 // for the binning filter
115
116 // All derived classes must implement this method. Note that a side effect of
117 // the class is to populate the PointMap. Zero is returned if there is a failure.
118 int FilterPoints(vtkPointSet* input) override;
119
120private:
122 void operator=(const vtkExtractHierarchicalBins&) = delete;
123};
124
125#endif
int FilterPoints(vtkPointSet *input) override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
virtual void SetBinningFilter(vtkHierarchicalBinningFilter *)
Specify the vtkHierarchicalBinningFilter to query for relevant information.
~vtkExtractHierarchicalBins() override
void ReportReferences(vtkGarbageCollector *) override
vtkHierarchicalBinningFilter * BinningFilter
static vtkExtractHierarchicalBins * New()
Standard methods for instantiating, obtaining type information, and printing information.
Detect and break reference loops.
uniform binning of points into a hierarchical structure
a simple class to control print indentation
Definition vtkIndent.h:40
concrete class for storing a set of points
Definition vtkPointSet.h:70