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, char, double >
typedef KDNode< N, char, double > 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, char, double >
 KDTree (const KDTree &tree)
 
KDTreeoperator= (const KDTree &rhs)
 
void erase (Node *node, KDNode< N, char, double > *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 double pos[N], const char &data)
 
Nodefind (const double pos[N])
 
NodefindNearest (const double pos[N])
 
std::vector< Node * > findCloseTo (const double pos[N], const double distance)
 
std::vector< Node * > findNNearest (const double pos[N], int amount)
 

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