BV_OBB Class Reference

A single node in a BV_OBBTree. More...

#include <BV_OBBTree.h>

List of all members.

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_OBBload (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_OBBmyLeft
BV_OBBmyRight
BV_OBB_ExtramyExtra
void * myUserData


Detailed Description

A single node in a BV_OBBTree.

Definition at line 217 of file BV_OBBTree.h.


Constructor & Destructor Documentation

BV_OBB::BV_OBB ( int  startLeaf,
int  numLeaves 
)

BV_OBB::BV_OBB ( const BV_OBB  ) 

BV_OBB::~BV_OBB (  ) 


Member Function Documentation

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


Member Data Documentation

Definition at line 254 of file BV_OBBTree.h.

Definition at line 252 of file BV_OBBTree.h.

How many leaves I own.

Definition at line 250 of file BV_OBBTree.h.

Radii in each axis (half of the dimension).

Definition at line 242 of file BV_OBBTree.h.

Definition at line 252 of file BV_OBBTree.h.

Orientation of the bounding box, relative to parent.

Definition at line 237 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.

Index of first leaf.

Definition at line 248 of file BV_OBBTree.h.

Center, relative to parent.

Definition at line 239 of file BV_OBBTree.h.

Definition at line 256 of file BV_OBBTree.h.


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

Generated on Fri May 25 00:10:17 2012 for HDK by  doxygen 1.5.9