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< ScalarType > NN
 
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)
 

Member Typedef Documentation

◆ CellType

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

◆ HandleType

template<class Strategies>
typedef StrategyBaseType::HandleType HandleType

◆ NN

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

◆ PointType

template<class Strategies>
typedef CellType::PointType PointType

◆ ScalarType

template<class Strategies>
typedef CellType::ScalarType ScalarType

◆ StrategyBaseType

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

Member Enumeration Documentation

◆ anonymous enum

template<class Strategies>
anonymous enum
Enumerator
Dim 

Member Function Documentation

◆ Build()

template<class Strategies>
void Build ( )

◆ KNearestNeighbors()

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

◆ NearestNeighbor()

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

◆ PointsInAACube() [1/2]

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

◆ PointsInAACube() [2/2]

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

◆ PointsInSphere()

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

◆ RefreshWithNewTreeData()

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

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