|
Classes | |
class | BaseGlobalTraversalInformation |
class | BaseTraversalInformation |
class | BuildInformation |
struct | NearestNeighborsAuxData |
struct | NearestNeighborsAuxInfo |
struct | NNTypeHelper |
struct | PointsInBallAuxData |
struct | PointsInBallAuxInfo |
Public Types | |
typedef StrategiesT::template StrategyBase< MetricT< VectorKernelT< BaseTree< KdTreeCell< typename StrategiesT::CellData > > > > > | BaseType |
typedef KdTreeCell< typename StrategiesT::CellData > | CellType |
typedef BaseType::DereferencedType | DereferencedType |
typedef ScalarTypeDeferer< value_type >::ScalarType | ScalarType |
typedef BaseType::value_type | value_type |
Public Member Functions | |
template<class ContainerT > | |
void | ApproximateNearestNeighbors (const CellType &cell, CellRange range, const AABox< PointType > &box, const PointType &p, unsigned int k, ScalarType eps, ContainerT *neighbors, ScalarType *sqrDist) const |
template<class PointT , class EpsilonT , template< class > class ContainerT> | |
void | ApproximateNearestNeighbors (const PointT &p, unsigned int k, EpsilonT epsilon, LimitedHeap< typename NNTypeHelper< PointT >::NNType, std::less< typename NNTypeHelper< PointT >::NNType >, ContainerT > *neighbors) const |
template<class ContainerT > | |
void | ApproximateNearestNeighbors (const PointType &p, unsigned int k, ScalarType eps, ContainerT *neighbors, ScalarType *sqrDist) const |
void | Build () |
template<class Strategies > | |
bool | Contains (const CellType &cell, const CellRange range, const PointType &p, DereferencedType *d) const |
template<class PointT > | |
bool | Contains (const PointT &p, DereferencedType *dref) const |
template<class Strategies > | |
bool | Contains (const PointType &p, DereferencedType *d) const |
void | InsertBack () |
template<class ContainerT > | |
void | NearestNeighbors (const CellType &cell, CellRange range, const AABox< PointType > &box, const PointType &p, unsigned int k, ContainerT *neighbors, ScalarType *dist2) const |
template<class PointT , class LimitedHeapT > | |
void | NearestNeighbors (const PointT &p, unsigned int k, LimitedHeapT *neighbors) const |
template<class PointT , class LimitedHeapT > | |
void | NearestNeighbors (const PointT &p, unsigned int k, LimitedHeapT *neighbors, NearestNeighborsAuxData< PointT > *auxData) const |
template<class ContainerT > | |
void | NearestNeighbors (const PointType &p, unsigned int k, ContainerT *neighbors, ScalarType *dist) const |
template<class PointT , class DistScalarT , class ContainerT > | |
void | PointsInBall (const PointT &p, DistScalarT sqrRadius, ContainerT *points) const |
template<class PointT , class DistScalarT , class ContainerT > | |
void | PointsInBall (const PointT &p, DistScalarT sqrRadius, ContainerT *points, PointsInBallAuxData< PointT > *auxData) const |
void | Remove (DereferencedType s) |
typedef StrategiesT::template StrategyBase< MetricT < VectorKernelT < BaseTree < KdTreeCell< typename StrategiesT::CellData > > > > > BaseType |
typedef KdTreeCell< typename StrategiesT::CellData > CellType |
typedef BaseType::DereferencedType DereferencedType |
typedef ScalarTypeDeferer< value_type >::ScalarType ScalarType |
typedef BaseType::value_type value_type |
void ApproximateNearestNeighbors | ( | const CellType & | cell, |
CellRange | range, | ||
const AABox< PointType > & | box, | ||
const PointType & | p, | ||
unsigned int | k, | ||
ScalarType | eps, | ||
ContainerT * | neighbors, | ||
ScalarType * | sqrDist | ||
) | const |
|
inline |
void ApproximateNearestNeighbors | ( | const PointType & | p, |
unsigned int | k, | ||
ScalarType | eps, | ||
ContainerT * | neighbors, | ||
ScalarType * | sqrDist | ||
) | const |
Definition at line 177 of file KdTree.hpp.
|
inline |
bool Contains | ( | const CellType & | cell, |
const CellRange | range, | ||
const PointType & | p, | ||
DereferencedType * | d | ||
) | const |
|
inline |
bool Contains | ( | const PointType & | p, |
DereferencedType * | d | ||
) | const |
void NearestNeighbors | ( | const CellType & | cell, |
CellRange | range, | ||
const AABox< PointType > & | box, | ||
const PointType & | p, | ||
unsigned int | k, | ||
ContainerT * | neighbors, | ||
ScalarType * | dist2 | ||
) | const |
|
inline |
|
inline |
void NearestNeighbors | ( | const PointType & | p, |
unsigned int | k, | ||
ContainerT * | neighbors, | ||
ScalarType * | dist | ||
) | const |
|
inline |
|
inline |
|
inline |