|
HDK
|
A single node in a BV_OBBTree. More...
#include <BV_OBBTree.h>
Public Member Functions | |
| BV_OBB (int startLeaf, int numLeaves) | |
| BV_OBB (const BV_OBB &) | |
| ~BV_OBB () | |
| bool | isLeaf () const |
| void | save (std::ostream &os, bool onlyStructure) const |
| int64 | getMemoryUsage () const |
| bool | isDisabled () const |
| Hackish way of determining if a leaf is disabled or not. More... | |
Static Public Member Functions | |
| static BV_OBB * | load (UT_IStream &is, bool onlyStructure) |
Public Attributes | |
| UT_Matrix3 | myRot |
| Orientation of the bounding box, relative to parent. More... | |
| UT_Vector3 | myTrans |
| Center, relative to parent. More... | |
| UT_Vector3 | myRadii |
| Radii in each axis (half of the dimension) More... | |
| fpreal | mySize |
| int | myStartLeaf |
| Index of first leaf. More... | |
| int | myNumLeaves |
| How many leaves I own. More... | |
| BV_OBB * | myLeft |
| BV_OBB * | myRight |
| BV_OBB_Extra * | myExtra |
| void * | myUserData |
A single node in a BV_OBBTree.
Definition at line 210 of file BV_OBBTree.h.
| BV_OBB::BV_OBB | ( | const BV_OBB & | ) |
| BV_OBB::~BV_OBB | ( | ) |
| int64 BV_OBB::getMemoryUsage | ( | ) | const |
|
inline |
Hackish way of determining if a leaf is disabled or not.
Definition at line 225 of file BV_OBBTree.h.
| bool BV_OBB::isLeaf | ( | ) | const |
|
static |
| void BV_OBB::save | ( | std::ostream & | os, |
| bool | onlyStructure | ||
| ) | const |
| BV_OBB_Extra* BV_OBB::myExtra |
Definition at line 247 of file BV_OBBTree.h.
| BV_OBB* BV_OBB::myLeft |
Definition at line 245 of file BV_OBBTree.h.
| int BV_OBB::myNumLeaves |
How many leaves I own.
Definition at line 243 of file BV_OBBTree.h.
| UT_Vector3 BV_OBB::myRadii |
Radii in each axis (half of the dimension)
Definition at line 235 of file BV_OBBTree.h.
| BV_OBB * BV_OBB::myRight |
Definition at line 245 of file BV_OBBTree.h.
| UT_Matrix3 BV_OBB::myRot |
Orientation of the bounding box, relative to parent.
Definition at line 230 of file BV_OBBTree.h.
| fpreal BV_OBB::mySize |
Length of myRadii. Special value of "-1" is used to signal that a node is disabled.
Definition at line 238 of file BV_OBBTree.h.
| int BV_OBB::myStartLeaf |
Index of first leaf.
Definition at line 241 of file BV_OBBTree.h.
| UT_Vector3 BV_OBB::myTrans |
Center, relative to parent.
Definition at line 232 of file BV_OBBTree.h.
| void* BV_OBB::myUserData |
Definition at line 249 of file BV_OBBTree.h.