|
Ponca
6f9f1b59d7c8c4654a710cfcef7342f4f5c79ba1
Point Cloud Analysis library
|
Variant to the NeighborGraphDefaultTraits that uses pointers as internal storage instead of an STL-like container. More...
#include <neighborGraphTraits.h>
Collaboration diagram for Ponca::NeighborGraphPointerTraits< _DataPoint >:Public Types | |
| enum | { K_MAX_NN = 1000 } |
| 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 = DataPoint * |
| Type used to store the external Point container in AbstractNeighborGraph::Buffers Non-const to allow AbstractNeighborGraph::Buffers copy and writing to other devices. | |
| using | PointContainerConstRef = PointContainer |
| Convenience alias used to convey the constness and the absence of copy of the container. | |
| using | IndexContainer = IndexType * |
| Type used to store the index container in the AbstractNeighborGraph::Buffers. | |
| using | IndexContainerRef = IndexContainer |
| Type to be used to send the index container as function parameter. | |
| using | KnnGraphRangeSet = HashSet< K_MAX_NN > |
| A static Set used by NeighborGraphRangeQuery. | |
| using | KnnGraphRangeStack = Stack< int, K_MAX_NN > |
| A static Stack used by NeighborGraphRangeQuery. | |
Static Public Member Functions | |
| static IndexType * | getIndexRawPtr (IndexContainer &idx) |
| Provides access to the raw pointer where indices are stored. | |
| static const IndexType * | getIndexRawPtr (const IndexContainer &idx) |
| Provides access to the raw pointer where indices are stored. | |
Variant to the NeighborGraphDefaultTraits that uses pointers as internal storage instead of an STL-like container.
Definition at line 78 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _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 105 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::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 93 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::IndexContainer = IndexType* |
Type used to store the index container in the AbstractNeighborGraph::Buffers.
Definition at line 115 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::IndexContainerRef = IndexContainer |
Type to be used to send the index container as function parameter.
Definition at line 117 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::IndexType = int |
Definition at line 108 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::KnnGraphRangeSet = HashSet<K_MAX_NN> |
A static Set used by NeighborGraphRangeQuery.
Definition at line 120 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::KnnGraphRangeStack = Stack<int, K_MAX_NN> |
A static Stack used by NeighborGraphRangeQuery.
Definition at line 122 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::PointContainer = DataPoint* |
Type used to store the external Point container in AbstractNeighborGraph::Buffers Non-const to allow AbstractNeighborGraph::Buffers copy and writing to other devices.
Definition at line 111 of file neighborGraphTraits.h.
| using Ponca::NeighborGraphPointerTraits< _DataPoint >::PointContainerConstRef = PointContainer |
Convenience alias used to convey the constness and the absence of copy of the container.
Definition at line 113 of file neighborGraphTraits.h.
| anonymous enum |
| Enumerator | |
|---|---|
| K_MAX_NN | The maximum number of neighbors that will be visited in a range neighbors query. |
Definition at line 80 of file neighborGraphTraits.h.
|
inlinestatic |
Provides access to the raw pointer where indices are stored.
Definition at line 127 of file neighborGraphTraits.h.
|
inlinestatic |
Provides access to the raw pointer where indices are stored.
Definition at line 125 of file neighborGraphTraits.h.