Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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

Node * find (const Vector< N, P > &pos)
 
std::vector< Node * > findCloseTo (const Vector< N, P > &pos, const P distance)
 
Node * findNearest (const Vector< N, P > &pos)
 
std::vector< Node * > findNNearest (const Vector< N, P > &pos, const int &amount)
 
Node * insert (const Vector< N, P > &pos, const T &data)
 
- Public Member Functions inherited from inviwo::KDTree< N, T, P >
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: