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 ***half*** angle between two quaternions.
SIMD_FORCE_INLINE btScalar angleShortestPath (const btQuaternion &q1, const btQuaternion &q2)
 Return the shortest 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 btQuaternion operator- (const btQuaternion &q)
 Return the negative of a quaternion.
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 ***half*** angle between two quaternions.

Definition at line 402 of file btQuaternion.h.

Return the shortest angle between two quaternions.

Definition at line 409 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 387 of file btQuaternion.h.

Return the inverse of a quaternion.

Definition at line 416 of file btQuaternion.h.

Return the length of a quaternion.

Definition at line 395 of file btQuaternion.h.

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

Return the product of two quaternions.

Definition at line 360 of file btQuaternion.h.

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

Definition at line 368 of file btQuaternion.h.

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

Definition at line 377 of file btQuaternion.h.

SIMD_FORCE_INLINE btQuaternion operator- ( const btQuaternion q)

Return the negative of a quaternion.

Definition at line 351 of file btQuaternion.h.

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

Definition at line 433 of file btQuaternion.h.

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

Definition at line 441 of file btQuaternion.h.

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

Definition at line 460 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 427 of file btQuaternion.h.



tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Mon Oct 6 2014 00:12:43