Utils related to temporal transforms. More...
#include <btTransformUtil.h>
Static Public Member Functions | |
static void | calculateDiffAxisAngle (const btTransform &transform0, const btTransform &transform1, btVector3 &axis, btScalar &angle) |
static void | calculateDiffAxisAngleQuaternion (const btQuaternion &orn0, const btQuaternion &orn1a, btVector3 &axis, btScalar &angle) |
static void | calculateVelocity (const btTransform &transform0, const btTransform &transform1, btScalar timeStep, btVector3 &linVel, btVector3 &angVel) |
static void | calculateVelocityQuaternion (const btVector3 &pos0, const btVector3 &pos1, const btQuaternion &orn0, const btQuaternion &orn1, btScalar timeStep, btVector3 &linVel, btVector3 &angVel) |
static void | integrateTransform (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btTransform &predictedTransform) |
Utils related to temporal transforms.
Definition at line 38 of file btTransformUtil.h.
static void btTransformUtil::calculateDiffAxisAngle | ( | const btTransform & | transform0, |
const btTransform & | transform1, | ||
btVector3 & | axis, | ||
btScalar & | angle | ||
) | [inline, static] |
floating point inaccuracy can lead to w component > 1..., which breaks
Definition at line 121 of file btTransformUtil.h.
static void btTransformUtil::calculateDiffAxisAngleQuaternion | ( | const btQuaternion & | orn0, |
const btQuaternion & | orn1a, | ||
btVector3 & | axis, | ||
btScalar & | angle | ||
) | [inline, static] |
Definition at line 97 of file btTransformUtil.h.
static void btTransformUtil::calculateVelocity | ( | const btTransform & | transform0, |
const btTransform & | transform1, | ||
btScalar | timeStep, | ||
btVector3 & | linVel, | ||
btVector3 & | angVel | ||
) | [inline, static] |
Definition at line 112 of file btTransformUtil.h.
static void btTransformUtil::calculateVelocityQuaternion | ( | const btVector3 & | pos0, |
const btVector3 & | pos1, | ||
const btQuaternion & | orn0, | ||
const btQuaternion & | orn1, | ||
btScalar | timeStep, | ||
btVector3 & | linVel, | ||
btVector3 & | angVel | ||
) | [inline, static] |
Definition at line 82 of file btTransformUtil.h.
static void btTransformUtil::integrateTransform | ( | const btTransform & | curTrans, |
const btVector3 & | linvel, | ||
const btVector3 & | angvel, | ||
btScalar | timeStep, | ||
btTransform & | predictedTransform | ||
) | [inline, static] |
Definition at line 43 of file btTransformUtil.h.