 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
15 class GenericIndexedCloud;
16 class GenericProgressCallback;
41 return m_associatedCloud;
54 unsigned &nearestPointIndex,
75 std::vector<unsigned> &pointndexes);
97 std::vector<unsigned> &
points);
104 cuttingCoordinate(0),
108 startingPointIndex(0),
188 KdCell *buildSubTree(
unsigned first,
191 unsigned &nbBuildCell,
195 void deleteSubTree(
KdCell *cell);
200 void updateInsideBoundingBox(
KdCell *cell);
204 void updateOutsideBoundingBox(
KdCell *cell);
248 ScalarType &maxSqrDist,
261 ScalarType &maxSqrDist,
275 ScalarType tolerance,
277 std::vector<unsigned> &localArray);
A generic 3D point cloud with index-based point access.
Definition: GenericIndexedCloud.h:18
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
KdCell()
Definition: CVKdTree.h:102
PointCoordinateType cuttingCoordinate
Place where the space is cut into two sub-spaces (children)
Definition: CVKdTree.h:140
unsigned startingPointIndex
Index of the first element that belongs to this cell.
Definition: CVKdTree.h:150
Definition: CVKdTree.h:20
unsigned m_cellCount
Number of cells.
Definition: CVKdTree.h:175
unsigned nbPoints
Number of elements in this cell.
Definition: CVKdTree.h:152
std::vector< unsigned > m_indexes
Point indexes.
Definition: CVKdTree.h:171
Definition: GenericProgressCallback.h:20
CCVector3 outbbmax
Outside bounding box max point.
Definition: CVKdTree.h:134
GenericIndexedCloud * m_associatedCloud
Associated cloud.
Definition: CVKdTree.h:173
struct KdCell * gSon
Definition: CVKdTree.h:146
int points
Definition: FileIOFactory.cpp:144
flann::Index< flann::L2< float > > KDTree
Definition: FastGlobalRegistration.cpp:22
GenericIndexedCloud * getAssociatedCloud() const
Gets the point cloud from which the tree has been build.
Definition: CVKdTree.h:40
struct KdCell * father
To go up in the tree.
Definition: CVKdTree.h:148
unsigned char boundsMask
Mask to know if the outside box is bounded for a given dimmension.
Definition: CVKdTree.h:160
CCVector3 inbbmin
Inside bounding box min point.
Definition: CVKdTree.h:124
CCVector3 inbbmax
Inside bounding box max point.
Definition: CVKdTree.h:119
struct KdCell * leSon
Definition: CVKdTree.h:143
CCVector3 outbbmin
Outside bounding box min point.
Definition: CVKdTree.h:129
KdCell * m_root
Tree root.
Definition: CVKdTree.h:169
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
A KDTre cell struct.
Definition: CVKdTree.h:101
static double distance(T *pot1, T *pot2)
Definition: utils.h:111
unsigned cuttingDim
Definition: CVKdTree.h:138
#define CV_CORE_LIB_API
Definition: CVCoreLibWin.h:15