Public Member Functions | Public Attributes

BT_BOX_BOX_TRANSFORM_CACHE Class Reference

Class for transforming a model1 to the space of model0. More...

#include <btBoxCollision.h>

Collaboration diagram for BT_BOX_BOX_TRANSFORM_CACHE:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void calc_absolute_matrix ()
 BT_BOX_BOX_TRANSFORM_CACHE ()
void calc_from_homogenic (const btTransform &trans0, const btTransform &trans1)
 Calc the transformation relative 1 to 0. Inverts matrics by transposing.
void calc_from_full_invert (const btTransform &trans0, const btTransform &trans1)
 Calcs the full invertion of the matrices. Useful for scaling matrices.
btVector3 transform (const btVector3 &point) const

Public Attributes

btVector3 m_T1to0
 Transforms translation of model1 to model 0.
btMatrix3x3 m_R1to0
 Transforms Rotation of model1 to model 0, equal to R0' * R1.
btMatrix3x3 m_AR
 Absolute value of m_R1to0.

Detailed Description

Class for transforming a model1 to the space of model0.

Definition at line 161 of file btBoxCollision.h.


Constructor & Destructor Documentation

BT_BOX_BOX_TRANSFORM_CACHE::BT_BOX_BOX_TRANSFORM_CACHE (  )  [inline]

Definition at line 187 of file btBoxCollision.h.


Member Function Documentation

void BT_BOX_BOX_TRANSFORM_CACHE::calc_absolute_matrix (  )  [inline]

Definition at line 168 of file btBoxCollision.h.

void BT_BOX_BOX_TRANSFORM_CACHE::calc_from_full_invert ( const btTransform trans0,
const btTransform trans1 
) [inline]

Calcs the full invertion of the matrices. Useful for scaling matrices.

Definition at line 208 of file btBoxCollision.h.

void BT_BOX_BOX_TRANSFORM_CACHE::calc_from_homogenic ( const btTransform trans0,
const btTransform trans1 
) [inline]

Calc the transformation relative 1 to 0. Inverts matrics by transposing.

Definition at line 194 of file btBoxCollision.h.

btVector3 BT_BOX_BOX_TRANSFORM_CACHE::transform ( const btVector3 point  )  const [inline]

Definition at line 219 of file btBoxCollision.h.


Member Data Documentation

Absolute value of m_R1to0.

Definition at line 166 of file btBoxCollision.h.

Transforms Rotation of model1 to model 0, equal to R0' * R1.

Definition at line 165 of file btBoxCollision.h.

Transforms translation of model1 to model 0.

Definition at line 164 of file btBoxCollision.h.


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