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

Public Types

typedef KDNode< N, T, P > Node
 

Public Member Functions

void clear ()
 
unsigned long depth () const
 
bool empty () const
 
void erase (Node *node, KDNode< N, T, P > *parent=nullptr)
 
Node * find (const P pos[N])
 
std::vector< Node * > findCloseTo (const P pos[N], const P distance)
 
Node * findMax (unsigned int dim)
 
Node * findMin (unsigned int dim)
 
Node * findNearest (const P pos[N])
 
std::vector< Node * > findNNearest (const P pos[N], int amount)
 
std::vector< Node * > getAsVector ()
 
Node * getRoot ()
 
Node * insert (const P pos[N], const T &data)
 
bool isOk () const
 
 KDTree (const KDTree &tree)
 
KDTree & operator= (const KDTree &rhs)
 
unsigned long size () const
 

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