Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::KDTree< N, T, P > Class Template Reference

Public Types

typedef KDNode< N, T, P > Node
 

Public Member Functions

 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: