Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physics::OBBCollisionModel::OBB Class Reference

Collaboration diagram for physics::OBBCollisionModel::OBB:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OBB ()
 ~OBB ()
bool leaf () const
Real size () const
Int splitRecurse (base::array< gfx::Triangle3 > &tri, base::array< Moment > &moment, base::array< OBB > &boxes, Int OBBsInited, Int t[], Int f, Int n)
Int splitRecurse (base::array< gfx::Triangle3 > &tri, base::array< Moment > &moment, base::array< OBB > &boxes, Int OBBsInited, Int t[], Int f)

Public Attributes

base::Matrix3 pR
base::Vector3 pT
OBBP
OBBN
gfx::Triangle3 tr
base::Vector3 d

Protected Member Functions

void reaccumMoments (Moment &A, base::array< Moment > &moment, Int t[], Int f, Int n)

Static Protected Member Functions

void minmax (base::Vector3 &min, base::Vector3 &max, const base::Vector3 &v)

Constructor & Destructor Documentation

physics::OBBCollisionModel::OBB::OBB  )  [inline]
 

Definition at line 99 of file OBBCollisionModel.

physics::OBBCollisionModel::OBB::~OBB  )  [inline]
 

Definition at line 100 of file OBBCollisionModel.


Member Function Documentation

bool physics::OBBCollisionModel::OBB::leaf  )  const [inline]
 

Definition at line 102 of file OBBCollisionModel.

void physics::OBBCollisionModel::OBB::minmax base::Vector3 min,
base::Vector3 max,
const base::Vector3 v
[static, protected]
 

void physics::OBBCollisionModel::OBB::reaccumMoments Moment A,
base::array< Moment > &  moment,
Int  t[],
Int  f,
Int  n
[protected]
 

Real physics::OBBCollisionModel::OBB::size  )  const [inline]
 

Definition at line 103 of file OBBCollisionModel.

References base::Vector3::x.

Int physics::OBBCollisionModel::OBB::splitRecurse base::array< gfx::Triangle3 > &  tri,
base::array< Moment > &  moment,
base::array< OBB > &  boxes,
Int  OBBsInited,
Int  t[],
Int  f
 

Int physics::OBBCollisionModel::OBB::splitRecurse base::array< gfx::Triangle3 > &  tri,
base::array< Moment > &  moment,
base::array< OBB > &  boxes,
Int  OBBsInited,
Int  t[],
Int  f,
Int  n
 


Member Data Documentation

base::Vector3 physics::OBBCollisionModel::OBB::d
 

Definition at line 119 of file OBBCollisionModel.

OBB* physics::OBBCollisionModel::OBB::N
 

Definition at line 117 of file OBBCollisionModel.

OBB* physics::OBBCollisionModel::OBB::P
 

Definition at line 116 of file OBBCollisionModel.

base::Matrix3 physics::OBBCollisionModel::OBB::pR
 

Definition at line 113 of file OBBCollisionModel.

base::Vector3 physics::OBBCollisionModel::OBB::pT
 

Definition at line 114 of file OBBCollisionModel.

gfx::Triangle3 physics::OBBCollisionModel::OBB::tr
 

Definition at line 118 of file OBBCollisionModel.


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:40:49 2004 for OpenSim by doxygen 1.3.6