9#include <Eigen/Geometry>
13#include "../../Common/Containers/hashset.h"
14#include "../../Common/Containers/stack.h"
22 template <
typename _DataPo
int>
37 using Scalar =
typename DataPoint::Scalar;
38 using VectorType =
typename DataPoint::VectorType;
46 using AabbType = Eigen::AlignedBox<Scalar, DataPoint::Dim>;
49 using IndexType = int;
77 template <
typename _DataPo
int>
96 using Scalar =
typename DataPoint::Scalar;
97 using VectorType =
typename DataPoint::VectorType;
105 using AabbType = Eigen::AlignedBox<Scalar, DataPoint::Dim>;
108 using IndexType = int;
Stores unique signed integer values in a contiguous array.
Stack with fixed-size storage.
This Source Code Form is subject to the terms of the Mozilla Public License, v.
The default traits type used by the neighbor graph.
static IndexType * getIndexRawPtr(IndexContainer &idx)
Provides access to the raw pointer where indices are stored.
std::set< int > KnnGraphRangeSet
A Set dynamic in memory, used by NeighborGraphRangeQuery.
Eigen::AlignedBox< Scalar, DataPoint::Dim > AabbType
The type used to calculate node bounding boxes.
std::stack< int > KnnGraphRangeStack
A Stack dynamic in memory, used by NeighborGraphRangeQuery.
std::vector< IndexType > IndexContainer
Type used to store the index container in the AbstractNeighborGraph::Buffers.
const std::vector< DataPoint > & PointContainer
Type used to store the external Point container in AbstractNeighborGraph::Buffers.
_DataPoint DataPoint
The type used to store point data.
IndexContainer & IndexContainerRef
Type to be used to send the index container as function parameter.
static const IndexType * getIndexRawPtr(const IndexContainer &idx)
Provides access to the raw pointer where indices are stored.
PointContainer PointContainerConstRef
Convenience alias used to convey the constness and the absence of copy of the container.
Variant to the NeighborGraphDefaultTraits that uses pointers as internal storage instead of an STL-li...
static IndexType * getIndexRawPtr(IndexContainer &idx)
Provides access to the raw pointer where indices are stored.
PointContainer PointContainerConstRef
Convenience alias used to convey the constness and the absence of copy of the container.
_DataPoint DataPoint
The type used to store point data.
Eigen::AlignedBox< Scalar, DataPoint::Dim > AabbType
The type used to calculate node bounding boxes.
DataPoint * PointContainer
Type used to store the external Point container in AbstractNeighborGraph::Buffers Non-const to allow ...
static const IndexType * getIndexRawPtr(const IndexContainer &idx)
Provides access to the raw pointer where indices are stored.
IndexType * IndexContainer
Type used to store the index container in the AbstractNeighborGraph::Buffers.
IndexContainer IndexContainerRef
Type to be used to send the index container as function parameter.
@ K_MAX_NN
The maximum number of neighbors that will be visited in a range neighbors query.