Classes | Functions
btQuaternion.h File Reference
#include "btVector3.h"
#include "btQuadWord.h"
Include dependency graph for btQuaternion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  btQuaternion
 The btQuaternion implements quaternion to perform linear algebra rotations in combination with btMatrix3x3, btVector3 and btTransform. More...

Functions

SIMD_FORCE_INLINE btScalar angle (const btQuaternion &q1, const btQuaternion &q2)
 Return the angle between two quaternions.
SIMD_FORCE_INLINE btScalar dot (const btQuaternion &q1, const btQuaternion &q2)
 Calculate the dot product between two quaternions.
SIMD_FORCE_INLINE btQuaternion inverse (const btQuaternion &q)
 Return the inverse of a quaternion.
SIMD_FORCE_INLINE btScalar length (const btQuaternion &q)
 Return the length of a quaternion.
SIMD_FORCE_INLINE btQuaternion operator* (const btQuaternion &q1, const btQuaternion &q2)
 Return the product of two quaternions.
SIMD_FORCE_INLINE btQuaternion operator* (const btQuaternion &q, const btVector3 &w)
SIMD_FORCE_INLINE btQuaternion operator* (const btVector3 &w, const btQuaternion &q)
SIMD_FORCE_INLINE btVector3 quatRotate (const btQuaternion &rotation, const btVector3 &v)
SIMD_FORCE_INLINE btQuaternion shortestArcQuat (const btVector3 &v0, const btVector3 &v1)
SIMD_FORCE_INLINE btQuaternion shortestArcQuatNormalize2 (btVector3 &v0, btVector3 &v1)
SIMD_FORCE_INLINE btQuaternion slerp (const btQuaternion &q1, const btQuaternion &q2, const btScalar &t)
 Return the result of spherical linear interpolation betwen two quaternions.

Function Documentation

SIMD_FORCE_INLINE btScalar angle ( const btQuaternion q1,
const btQuaternion q2 
)

Return the angle between two quaternions.

Definition at line 366 of file btQuaternion.h.

SIMD_FORCE_INLINE btScalar dot ( const btQuaternion q1,
const btQuaternion q2 
)

Calculate the dot product between two quaternions.

Definition at line 351 of file btQuaternion.h.

Return the inverse of a quaternion.

Definition at line 373 of file btQuaternion.h.

Return the length of a quaternion.

Definition at line 359 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion operator* ( const btQuaternion q1,
const btQuaternion q2 
)

Return the product of two quaternions.

Definition at line 324 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion operator* ( const btQuaternion q,
const btVector3 &  w 
)

Definition at line 332 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion operator* ( const btVector3 &  w,
const btQuaternion q 
)

Definition at line 341 of file btQuaternion.h.

SIMD_FORCE_INLINE btVector3 quatRotate ( const btQuaternion rotation,
const btVector3 &  v 
)

Definition at line 390 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion shortestArcQuat ( const btVector3 &  v0,
const btVector3 &  v1 
)

Definition at line 398 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion shortestArcQuatNormalize2 ( btVector3 &  v0,
btVector3 &  v1 
)

Definition at line 417 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion slerp ( const btQuaternion q1,
const btQuaternion q2,
const btScalar t 
)

Return the result of spherical linear interpolation betwen two quaternions.

Parameters:
q1The first quaternion
q2The second quaternion
tThe ration between q1 and q2. t = 0 return q1, t=1 returns q2 Slerp assumes constant velocity between positions.

Definition at line 384 of file btQuaternion.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:31