HDK
|
A single node of a BV_KDOPTree. More...
#include <BV_KDOPTree.h>
Public Member Functions | |
BV_KDOPNode (int leafId=-1) | |
BV_KDOPNode (const BV_KDOPNode &rhs) | |
~BV_KDOPNode () | |
bool | isLeaf () const |
bool | overlaps (const BV_KDOPNode &rhs, fpreal tol) const |
void | save (std::ostream &os, bool onlyStructure) const |
int64 | getMemoryUsage () const |
Static Public Member Functions | |
static BV_KDOPNode * | load (UT_IStream &is, bool onlyStructure) |
Public Attributes | |
fpreal | myExtents [K] |
Minimum/maximum extent in each of the K/2 directions. More... | |
int | myLeafId |
BV_KDOPNode * | myLeft |
BV_KDOPNode * | myRight |
A single node of a BV_KDOPTree.
Definition at line 22 of file BV_KDOPTree.h.
BV_KDOPNode< K >::BV_KDOPNode | ( | int | leafId = -1 | ) |
BV_KDOPNode< K >::BV_KDOPNode | ( | const BV_KDOPNode< K > & | rhs | ) |
BV_KDOPNode< K >::~BV_KDOPNode | ( | ) |
int64 BV_KDOPNode< K >::getMemoryUsage | ( | ) | const |
|
inline |
Definition at line 29 of file BV_KDOPTree.h.
|
static |
bool BV_KDOPNode< K >::overlaps | ( | const BV_KDOPNode< K > & | rhs, |
fpreal | tol | ||
) | const |
void BV_KDOPNode< K >::save | ( | std::ostream & | os, |
bool | onlyStructure | ||
) | const |
fpreal BV_KDOPNode< K >::myExtents[K] |
Minimum/maximum extent in each of the K/2 directions.
Definition at line 47 of file BV_KDOPTree.h.
int BV_KDOPNode< K >::myLeafId |
Definition at line 49 of file BV_KDOPTree.h.
BV_KDOPNode* BV_KDOPNode< K >::myLeft |
Definition at line 50 of file BV_KDOPTree.h.
BV_KDOPNode * BV_KDOPNode< K >::myRight |
Definition at line 50 of file BV_KDOPTree.h.