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 44 of file AAKdTree.h.

Member Typedef Documentation

◆ CellType

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

Definition at line 68 of file AAKdTree.h.

◆ HandleType

typedef StrategyBaseType::HandleType HandleType

Definition at line 85 of file AAKdTree.h.

◆ NN

Definition at line 86 of file AAKdTree.h.

◆ PointType

Definition at line 69 of file AAKdTree.h.

◆ ScalarType

Definition at line 70 of file AAKdTree.h.

◆ StrategyBaseType

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

Definition at line 84 of file AAKdTree.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dim 

Definition at line 87 of file AAKdTree.h.

Member Function Documentation

◆ Build()

void Build

Definition at line 93 of file AAKdTree.hpp.

◆ KNearestNeighbors()

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

Definition at line 229 of file AAKdTree.hpp.

+ Here is the call graph for this function:

◆ NearestNeighbor()

void NearestNeighbor ( const PointType p,
size_t *  neighbor,
ScalarType dist 
) const

Definition at line 211 of file AAKdTree.hpp.

+ Here is the call graph for this function:

◆ PointsInAACube() [1/2]

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

Definition at line 136 of file AAKdTree.hpp.

+ Here is the call graph for this function:

◆ PointsInAACube() [2/2]

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

Definition at line 150 of file AAKdTree.hpp.

◆ PointsInSphere()

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

Definition at line 123 of file AAKdTree.hpp.

◆ RefreshWithNewTreeData()

void RefreshWithNewTreeData ( const AACube< PointType > &  bc)

Definition at line 163 of file AAKdTree.hpp.


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