wQuaternion class More...

Public Member Functions

 wQuaternion ()
 constructor
 
 wQuaternion (const wMatrix &matrix)
 constructor
 
 wQuaternion (real q0, real q1, real q2, real q3)
 constructor
 
 wQuaternion (const wVector &unit_Axis, real Angle=0.0)
 constructor
 
wVector calcAverageOmega (const wQuaternion &q1, real dt) const
 
real dotProduct (const wQuaternion &QB) const
 
wVector getEuleroAngles () const
 
wQuaternion inverse () const
 
void normalize ()
 
wQuaternion operator* (const wQuaternion &B) const
 
wQuaternion operator+ (const wQuaternion &B) const
 
wQuaternion operator- (const wQuaternion &B) const
 
wVector rotateVector (const wVector &vector) const
 
void scale (real scale)
 
wQuaternion slerp (const wQuaternion &q1, real t) const
 
wVector unrotateVector (const wVector &vector) const
 

Public Attributes

real q0
 
real q1
 
real q2
 
real q3
 

Detailed Description

wQuaternion class

\

Motivation
Quaternion useful for rotation represenation
Description
Description
Warnings

Definition at line 41 of file wquaternion.h.

Constructor & Destructor Documentation

wQuaternion ( )
inline

constructor

Definition at line 81 of file wquaternion.h.

wQuaternion ( const wMatrix matrix)
inline

constructor

Definition at line 88 of file wquaternion.h.

wQuaternion ( real  q0,
real  q1,
real  q2,
real  q3 
)
inline

constructor

Definition at line 134 of file wquaternion.h.

wQuaternion ( const wVector unit_Axis,
real  Angle = 0.0 
)
inline

constructor

Definition at line 142 of file wquaternion.h.


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