Logo Search packages:      
Sourcecode: blender version File versions

btQuaternion Class Reference

#include <btQuaternion.h>

Inheritance diagram for btQuaternion:

btQuadWord btQuadWordStorage

List of all members.


Detailed Description

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

Definition at line 23 of file btQuaternion.h.


Public Member Functions

btScalar angle (const btQuaternion &q) const
 btQuaternion (const btScalar &yaw, const btScalar &pitch, const btScalar &roll)
 btQuaternion (const btVector3 &axis, const btScalar &angle)
 btQuaternion (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w)
btScalar dot (const btQuaternion &q) const
SIMD_FORCE_INLINE btQuaternion farthest (const btQuaternion &qd) const
btScalar getAngle () const
SIMD_FORCE_INLINE const btScalar & getW () const
SIMD_FORCE_INLINE const btScalar & getX () const
SIMD_FORCE_INLINE const btScalar & getY () const
SIMD_FORCE_INLINE const btScalar & getZ () const
btQuaternion inverse () const
btScalar length () const
btScalar length2 () const
btQuaternionnormalize ()
btQuaternion normalized () const
SIMD_FORCE_INLINE operator btScalar * ()
SIMD_FORCE_INLINE operator const btScalar * () const
SIMD_FORCE_INLINE btQuaternion operator* (const btScalar &s) const
btQuaternionoperator*= (const btQuaternion &q)
btQuaternionoperator*= (const btScalar &s)
SIMD_FORCE_INLINE btQuaternion operator+ (const btQuaternion &q2) const
btQuaternionoperator+= (const btQuaternion &q)
SIMD_FORCE_INLINE btQuaternion operator- () const
SIMD_FORCE_INLINE btQuaternion operator- (const btQuaternion &q2) const
btQuaternionoperator-= (const btQuaternion &q)
btQuaternion operator/ (const btScalar &s) const
btQuaternionoperator/= (const btScalar &s)
void setEuler (const btScalar &yaw, const btScalar &pitch, const btScalar &roll)
SIMD_FORCE_INLINE void setMax (const btQuadWord &other)
SIMD_FORCE_INLINE void setMin (const btQuadWord &other)
void setRotation (const btVector3 &axis, const btScalar &angle)
SIMD_FORCE_INLINE void setValue (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w)
SIMD_FORCE_INLINE void setValue (const btScalar &x, const btScalar &y, const btScalar &z)
SIMD_FORCE_INLINE void setW (btScalar w)
SIMD_FORCE_INLINE void setX (btScalar x)
SIMD_FORCE_INLINE void setY (btScalar y)
SIMD_FORCE_INLINE void setZ (btScalar z)
btQuaternion slerp (const btQuaternion &q, const btScalar &t) const
SIMD_FORCE_INLINE const btScalar & w () const
SIMD_FORCE_INLINE const btScalar & x () const
SIMD_FORCE_INLINE const btScalar & y () const
SIMD_FORCE_INLINE const btScalar & z () const

Protected Attributes

btScalar m_unusedW
btScalar m_x
btScalar m_y
btScalar m_z

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

Generated by  Doxygen 1.6.0   Back to index