Inviwo  0.9.10.1
Inviwo documentation
inviwo::KDTreeGlm< N, T, P > Class Template Reference
+ Inheritance diagram for inviwo::KDTreeGlm< N, T, P >:

Public Types

typedef KDNode< N, T, P > Node
 
typedef KDTree< N, T, P > Tree
 
- Public Types inherited from inviwo::KDTree< N, T, P >
typedef KDNode< N, T, P > Node
 

Public Member Functions

Nodeinsert (const Vector< N, P > &pos, const T &data)
 
Nodefind (const Vector< N, P > &pos)
 
NodefindNearest (const Vector< N, P > &pos)
 
std::vector< Node * > findNNearest (const Vector< N, P > &pos, const int &amount)
 
std::vector< Node * > findCloseTo (const Vector< N, P > &pos, const P distance)
 
- Public Member Functions inherited from inviwo::KDTree< N, T, P >
 KDTree (const KDTree &tree)
 
KDTreeoperator= (const KDTree &rhs)
 
void erase (Node *node, KDNode< N, T, P > *parent=nullptr)
 
bool isOk () const
 
bool empty () const
 
void clear ()
 
unsigned long depth () const
 
unsigned long size () const
 
std::vector< Node * > getAsVector ()
 
NodegetRoot ()
 
NodefindMin (unsigned int dim)
 
NodefindMax (unsigned int dim)
 
Nodeinsert (const P pos[N], const T &data)
 
Nodefind (const P pos[N])
 
NodefindNearest (const P pos[N])
 
std::vector< Node * > findCloseTo (const P pos[N], const P distance)
 
std::vector< Node * > findNNearest (const P pos[N], int amount)
 

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