#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 (ostream &os, bool onlyStructure) const |
| int64 | getMemoryUsage () const |
| bool | isDisabled () const |
| Hackish way of determining if a leaf is disabled or not. | |
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. | |
| UT_Vector3 | myTrans |
| Center, relative to parent. | |
| UT_Vector3 | myRadii |
| Radii in each axis (half of the dimension). | |
| fpreal | mySize |
| int | myStartLeaf |
| Index of first leaf. | |
| int | myNumLeaves |
| How many leaves I own. | |
| BV_OBB * | myLeft |
| BV_OBB * | myRight |
| BV_OBB_Extra * | myExtra |
| void * | myUserData |
Definition at line 217 of file BV_OBBTree.h.
| BV_OBB::BV_OBB | ( | int | startLeaf, | |
| int | numLeaves | |||
| ) |
| BV_OBB::BV_OBB | ( | const BV_OBB & | ) |
| BV_OBB::~BV_OBB | ( | ) |
| int64 BV_OBB::getMemoryUsage | ( | ) | const |
| bool BV_OBB::isDisabled | ( | ) | const [inline] |
Hackish way of determining if a leaf is disabled or not.
Definition at line 232 of file BV_OBBTree.h.
| bool BV_OBB::isLeaf | ( | ) | const |
| static BV_OBB* BV_OBB::load | ( | UT_IStream & | is, | |
| bool | onlyStructure | |||
| ) | [static] |
| void BV_OBB::save | ( | ostream & | os, | |
| bool | onlyStructure | |||
| ) | const |
Definition at line 254 of file BV_OBBTree.h.
Definition at line 252 of file BV_OBBTree.h.
Definition at line 252 of file BV_OBBTree.h.
Length of myRadii. Special value of "-1" is used to signal that a node is disabled.
Definition at line 245 of file BV_OBBTree.h.
| void* BV_OBB::myUserData |
Definition at line 256 of file BV_OBBTree.h.
1.5.9