#include <iso_space_alg_kdtree.h>
Inherits iso::space::SpaceAlg.
Inheritance diagram for iso::space::KDTreeAlg:
Public Member Functions | |
KDTreeAlg (unsigned int pDim) | |
KDTreeAlg (const math::Vector< real > &pMinPos, const math::Vector< real > &pMaxPos) | |
~KDTreeAlg () | |
void | updateStructure (QVector< SpaceProxyObject * > &pObjects) throw (SpaceException) |
void | updateNeighbors (QVector< SpaceProxyObject * > &pObjects) throw (SpaceException) |
base::String | info () const |
obtain textual ntree information | |
Protected Member Functions | |
KDTreeAlg () | |
Protected Attributes | |
kdtree * | mTree |
kdres * | mSearchResult |
KD Tree. | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const KDTreeAlg &pAlg) |
retrieve textual ntree information |
KDTreeAlg::KDTreeAlg | ( | unsigned int | pDim | ) |
KDTreeAlg::~KDTreeAlg | ( | ) |
KDTreeAlg::KDTreeAlg | ( | ) | [protected] |
void KDTreeAlg::updateStructure | ( | QVector< SpaceProxyObject * > & | pObjects | ) | throw (SpaceException) [virtual] |
Reimplemented from iso::space::SpaceAlg.
void KDTreeAlg::updateNeighbors | ( | QVector< SpaceProxyObject * > & | pObjects | ) | throw (SpaceException) [virtual] |
Reimplemented from iso::space::SpaceAlg.
base::String KDTreeAlg::info | ( | ) | const |
obtain textual ntree information
Reimplemented from iso::space::SpaceAlg.
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const KDTreeAlg & | pAlg | |||
) | [friend] |
retrieve textual ntree information
pOstream | output stream | |
pTree | ntree |
kdtree* iso::space::KDTreeAlg::mTree [protected] |
kdres* iso::space::KDTreeAlg::mSearchResult [protected] |
KD Tree.