|
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 ¢er, ScalarType width, std::vector< size_t > *points) const |
void | PointsInSphere (const PointType ¢er, ScalarType radius, std::vector< size_t > *points) const |
void | RefreshWithNewTreeData (const AACube< PointType > &bc) |
Definition at line 44 of file AAKdTree.h.
typedef AAKdCell< typename Strategies::PointType, typename Strategies::CellData < typename Strategies::PointType > > CellType |
Definition at line 68 of file AAKdTree.h.
typedef StrategyBaseType::HandleType HandleType |
Definition at line 85 of file AAKdTree.h.
typedef ::GfxTL::NearestNeighbor< ScalarType > NN |
Definition at line 86 of file AAKdTree.h.
typedef CellType::PointType PointType |
Definition at line 69 of file AAKdTree.h.
typedef CellType::ScalarType ScalarType |
Definition at line 70 of file AAKdTree.h.
typedef Strategies::StrategyBase< BaseTree < AAKdCell < typename Strategies::PointType, typename Strategies::CellData < typename Strategies::PointType > > > > StrategyBaseType |
Definition at line 84 of file AAKdTree.h.
anonymous enum |
Enumerator | |
---|---|
Dim |
Definition at line 87 of file AAKdTree.h.
void Build |
Definition at line 93 of file AAKdTree.hpp.
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 PointType & | center, |
ScalarType | width, | ||
std::vector< size_t > * | points | ||
) | const |
Definition at line 150 of file AAKdTree.hpp.
void PointsInSphere | ( | const PointType & | center, |
ScalarType | radius, | ||
std::vector< size_t > * | points | ||
) | const |
Definition at line 123 of file AAKdTree.hpp.
Definition at line 163 of file AAKdTree.hpp.