|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
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 } |
| 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 315 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::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 334 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::IndexContainer = std::vector<IndexType> |
Definition at line 340 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::IndexType = int |
Definition at line 335 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::LeafSizeType = unsigned short |
Definition at line 336 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::NodeContainer = std::vector<NodeType> |
Definition at line 345 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::NodeIndexType = std::size_t |
Definition at line 343 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::NodeType = _NodeType<IndexType, NodeIndexType, DataPoint, LeafSizeType> |
Definition at line 344 of file kdTreeTraits.h.
| using Ponca::KdTreeDefaultTraits< _DataPoint, _NodeType >::PointContainer = std::vector<DataPoint> |
Definition at line 339 of file kdTreeTraits.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MAX_DEPTH | A compile-time constant specifying the maximum depth of the kd-tree. |
Definition at line 317 of file kdTreeTraits.h.