VTK
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=========================================================================*/
43#ifndef vtkExtractHierarchicalBins_h
44#define vtkExtractHierarchicalBins_h
45
46#include "vtkFiltersPointsModule.h" // For export macro
47#include "vtkPointCloudFilter.h"
48
50class vtkPointSet;
51
52
53class VTKFILTERSPOINTS_EXPORT vtkExtractHierarchicalBins : public vtkPointCloudFilter
54{
55public:
57
63 void PrintSelf(ostream& os, vtkIndent indent);
65
67
74 vtkSetMacro(Level,int);
75 vtkGetMacro(Level,int);
77
79
86 vtkSetMacro(Bin,int);
87 vtkGetMacro(Bin,int);
89
91
97 vtkGetObjectMacro(BinningFilter,vtkHierarchicalBinningFilter);
99
100
101protected:
104
105 // Users can extract points from a particular level or bin.
106 int Level;
107 int Bin;
109
110 // for the binning filter
112
113
114 // All derived classes must implement this method. Note that a side effect of
115 // the class is to populate the PointMap. Zero is returned if there is a failure.
116 virtual int FilterPoints(vtkPointSet *input);
117
118private:
119 vtkExtractHierarchicalBins(const vtkExtractHierarchicalBins&) VTK_DELETE_FUNCTION;
120 void operator=(const vtkExtractHierarchicalBins&) VTK_DELETE_FUNCTION;
121
122};
123
124#endif
manipulate the output of vtkHierarchicalBinningFilter
virtual int FilterPoints(vtkPointSet *input)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetBinningFilter(vtkHierarchicalBinningFilter *)
Specify the vtkHierarchicalBinningFilter to query for relavant information.
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
abstract class for filtering a point cloud
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:43
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.