|
Ponca
911e152b8d5ac5c934a260b3832f7f62800b65b9
Point Cloud Analysis library
|
The default traits type used by the kd-tree. More...
#include <kdTreeTraits.h>
Collaboration diagram for Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >:Public Types | |
| enum | { MAX_DEPTH = 32 , MAX_KNN_SIZE = 128 } |
| using | DataPoint = _DataPoint |
| The type used to store point data. | |
| using | IndexType = int |
| using | LeafSizeType = unsigned short |
| using | PointContainer = std::vector< DataPoint > |
| using | IndexContainer = std::vector< IndexType > |
| using | NodeIndexType = std::size_t |
| using | NodeType = _NodeType< IndexType, NodeIndexType, DataPoint, LeafSizeType > |
| using | NodeContainer = std::vector< NodeType > |
The default traits type used by the kd-tree.
| _NodeType | Type used to store nodes, set by default to #KdTreeDefaultNode |
Definition at line 311 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::DataPoint = _DataPoint |
The type used to store point data.
Must provide Scalar and VectorType aliases.
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 331 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::IndexContainer = std::vector<IndexType> |
Definition at line 337 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::IndexType = int |
Definition at line 332 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::LeafSizeType = unsigned short |
Definition at line 333 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::NodeContainer = std::vector<NodeType> |
Definition at line 342 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::NodeIndexType = std::size_t |
Definition at line 340 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::NodeType = _NodeType<IndexType, NodeIndexType, DataPoint, LeafSizeType> |
Definition at line 341 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::PointContainer = std::vector<DataPoint> |
Definition at line 336 of file kdTreeTraits.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MAX_DEPTH | A compile-time constant specifying the maximum depth of the kd-tree. |
| MAX_KNN_SIZE | The maximum size of a knn query. |
Definition at line 313 of file kdTreeTraits.h.