Class for transforming a model1 to the space of model0. More...
#include <btBoxCollision.h>
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. |
Class for transforming a model1 to the space of model0.
Definition at line 161 of file btBoxCollision.h.
BT_BOX_BOX_TRANSFORM_CACHE::BT_BOX_BOX_TRANSFORM_CACHE | ( | ) | [inline] |
Definition at line 187 of file btBoxCollision.h.
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.
Definition at line 219 of file btBoxCollision.h.
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.