|
Ponca
041fb49a87509b5013aa71fb58e0bf2fdef31374
Point Cloud Analysis library
|
The default traits type used by the kd-tree. More...
#include <knnGraphTraits.h>
Collaboration diagram for Ponca::KnnGraphDefaultTraits< _DataPoint >:Public Types | |
| using | DataPoint = _DataPoint |
| The type used to store point data. | |
| using | AabbType = Eigen::AlignedBox< Scalar, DataPoint::Dim > |
| The type used to calculate node bounding boxes. | |
| using | IndexType = int |
| using | PointContainer = std::vector< DataPoint > |
| using | IndexContainer = std::vector< IndexType > |
The default traits type used by the kd-tree.
Definition at line 18 of file knnGraphTraits.h.
| using Ponca::KnnGraphDefaultTraits< _DataPoint >::AabbType = Eigen::AlignedBox<Scalar, DataPoint::Dim> |
The type used to calculate node bounding boxes.
Must provide min(), max(), and center() functions, all returning a VectorType.
Definition at line 41 of file knnGraphTraits.h.
| using Ponca::KnnGraphDefaultTraits< _DataPoint >::DataPoint = _DataPoint |
The type used to store point data.
Must provide Scalar and VectorType typedefs.
VectorType must provide a squaredNorm() function returning a Scalar, as well as a maxCoeff(int*) function returning the dimension index of its largest scalar in its output parameter (e.g. 0 for x, 1 for y, etc.).
Definition at line 29 of file knnGraphTraits.h.
| using Ponca::KnnGraphDefaultTraits< _DataPoint >::IndexContainer = std::vector<IndexType> |
Definition at line 46 of file knnGraphTraits.h.
| using Ponca::KnnGraphDefaultTraits< _DataPoint >::IndexType = int |
Definition at line 44 of file knnGraphTraits.h.
| using Ponca::KnnGraphDefaultTraits< _DataPoint >::PointContainer = std::vector<DataPoint> |
Definition at line 45 of file knnGraphTraits.h.