AAKdTree< Strategies > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/AAKdTree.h>

+ Inheritance diagram for AAKdTree< Strategies >:

Public Types

enum  { Dim = PointType::Dim }
 
typedef AAKdCell< typename Strategies::PointType, typename Strategies::CellData< typename Strategies::PointType > > CellType
 
typedef StrategyBaseType::HandleType HandleType
 
typedef ::GfxTL::NearestNeighbor< ScalarTypeNN
 
typedef CellType::PointType PointType
 
typedef CellType::ScalarType ScalarType
 
typedef Strategies::StrategyBase< BaseTree< AAKdCell< typename Strategies::PointType, typename Strategies::CellData< typename Strategies::PointType > > > > StrategyBaseType
 

Public Member Functions

void Build ()
 
void KNearestNeighbors (const PointType &p, unsigned int k, std::vector< NN > *neighbors, ScalarType *dist) const
 
void NearestNeighbor (const PointType &p, size_t *neighbor, ScalarType *dist) const
 
void PointsInAACube (const AACube< PointType > &cube, std::vector< size_t > *points) const
 
void PointsInAACube (const PointType &center, ScalarType width, std::vector< size_t > *points) const
 
void PointsInSphere (const PointType &center, ScalarType radius, std::vector< size_t > *points) const
 
void RefreshWithNewTreeData (const AACube< PointType > &bc)
 

Detailed Description

template<class Strategies>
class GfxTL::AAKdTree< Strategies >

Definition at line 48 of file AAKdTree.h.

Member Typedef Documentation

◆ CellType

template<class Strategies>
typedef AAKdCell<typename Strategies::PointType, typename Strategies::CellData<typename Strategies::PointType> > CellType

Definition at line 56 of file AAKdTree.h.

◆ HandleType

template<class Strategies>
typedef StrategyBaseType::HandleType HandleType

Definition at line 63 of file AAKdTree.h.

◆ NN

template<class Strategies>
typedef ::GfxTL::NearestNeighbor<ScalarType> NN

Definition at line 64 of file AAKdTree.h.

◆ PointType

template<class Strategies>
typedef CellType::PointType PointType

Definition at line 57 of file AAKdTree.h.

◆ ScalarType

template<class Strategies>
typedef CellType::ScalarType ScalarType

Definition at line 58 of file AAKdTree.h.

◆ StrategyBaseType

template<class Strategies>
typedef Strategies::StrategyBase< BaseTree<AAKdCell<typename Strategies::PointType, typename Strategies::CellData<typename Strategies::PointType> > > > StrategyBaseType

Definition at line 62 of file AAKdTree.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Strategies>
anonymous enum
Enumerator
Dim 

Definition at line 66 of file AAKdTree.h.

Member Function Documentation

◆ Build()

template<class Strategies>
void Build ( )

Definition at line 97 of file AAKdTree.hpp.

◆ KNearestNeighbors()

template<class Strategies>
void KNearestNeighbors ( const PointType & p,
unsigned int k,
std::vector< NN > * neighbors,
ScalarType * dist ) const

Definition at line 240 of file AAKdTree.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NearestNeighbor()

template<class Strategies>
void NearestNeighbor ( const PointType & p,
size_t * neighbor,
ScalarType * dist ) const

Definition at line 220 of file AAKdTree.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PointsInAACube() [1/2]

template<class Strategies>
void PointsInAACube ( const AACube< PointType > & cube,
std::vector< size_t > * points ) const

Definition at line 142 of file AAKdTree.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PointsInAACube() [2/2]

template<class Strategies>
void PointsInAACube ( const PointType & center,
ScalarType width,
std::vector< size_t > * points ) const

Definition at line 157 of file AAKdTree.hpp.

+ Here is the call graph for this function:

◆ PointsInSphere()

template<class Strategies>
void PointsInSphere ( const PointType & center,
ScalarType radius,
std::vector< size_t > * points ) const

Definition at line 128 of file AAKdTree.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RefreshWithNewTreeData()

template<class Strategies>
void RefreshWithNewTreeData ( const AACube< PointType > & bc)

Definition at line 171 of file AAKdTree.hpp.


The documentation for this class was generated from the following files: