9#include <Eigen/Geometry>
13#include "../../Common/Containers/hashset.h"
14#include "../../Common/Containers/stack.h"
22 template <
typename _DataPo
int>
38 using VectorType =
typename DataPoint::VectorType;
46 using AabbType = Eigen::AlignedBox<Scalar, DataPoint::Dim>;
77 template <
typename _DataPo
int>
97 using VectorType =
typename DataPoint::VectorType;
105 using AabbType = Eigen::AlignedBox<Scalar, DataPoint::Dim>;
Aggregator class used to declare specialized structures using CRTP.
typename P::Scalar Scalar
Scalar type used for computation, as defined from template parameter P
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.
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.
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.
@ K_MAX_NN
The maximum number of neighbors that will be visited in a range neighbors query.