VTK
dox
Filters
Points
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
49
class
vtkHierarchicalBinningFilter
;
50
class
vtkPointSet
;
51
52
53
class
VTKFILTERSPOINTS_EXPORT
vtkExtractHierarchicalBins
:
public
vtkPointCloudFilter
54
{
55
public
:
57
61
static
vtkExtractHierarchicalBins
*
New
();
62
vtkTypeMacro(
vtkExtractHierarchicalBins
,
vtkPointCloudFilter
);
63
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
65
67
77
vtkSetMacro(Level,
int
);
78
vtkGetMacro(Level,
int
);
80
82
91
vtkSetMacro(Bin,
int
);
92
vtkGetMacro(Bin,
int
);
94
96
101
virtual
void
SetBinningFilter(
vtkHierarchicalBinningFilter
*);
102
vtkGetObjectMacro(BinningFilter,
vtkHierarchicalBinningFilter
);
104
105
106
protected
:
107
vtkExtractHierarchicalBins
();
108
~
vtkExtractHierarchicalBins
()
override
;
109
110
// Users can extract points from a particular level or bin.
111
int
Level
;
112
int
Bin
;
113
vtkHierarchicalBinningFilter
*
BinningFilter
;
114
115
// for the binning filter
116
void
ReportReferences
(
vtkGarbageCollector
*)
override
;
117
118
119
// All derived classes must implement this method. Note that a side effect of
120
// the class is to populate the PointMap. Zero is returned if there is a failure.
121
int
FilterPoints
(
vtkPointSet
*input)
override
;
122
123
private
:
124
vtkExtractHierarchicalBins
(
const
vtkExtractHierarchicalBins
&) =
delete
;
125
void
operator=(
const
vtkExtractHierarchicalBins
&) =
delete
;
126
127
};
128
129
#endif
vtkPointCloudFilter.h
vtkExtractHierarchicalBins
manipulate the output of vtkHierarchicalBinningFilter
Definition:
vtkExtractHierarchicalBins.h:53
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition:
vtkPointCloudFilter.h:66
vtkExtractHierarchicalBins::BinningFilter
vtkHierarchicalBinningFilter * BinningFilter
Definition:
vtkExtractHierarchicalBins.h:113
vtkPointCloudFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractHierarchicalBins::Level
int Level
Definition:
vtkExtractHierarchicalBins.h:111
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGarbageCollector
Detect and break reference loops.
Definition:
vtkGarbageCollector.h:99
vtkHierarchicalBinningFilter
uniform binning of points into a hierarchical structure
Definition:
vtkHierarchicalBinningFilter.h:83
vtkPointCloudFilter::FilterPoints
virtual int FilterPoints(vtkPointSet *input)=0
vtkExtractHierarchicalBins::Bin
int Bin
Definition:
vtkExtractHierarchicalBins.h:112
vtkAlgorithm::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
vtkPointSet
abstract class for specifying dataset behavior
Definition:
vtkPointSet.h:42
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
Generated by
1.8.16