wQuaternion Class Reference
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
|
inline |
constructor
Definition at line 81 of file wquaternion.h.
|
inline |
constructor
Definition at line 88 of file wquaternion.h.
|
inline |
constructor
Definition at line 134 of file wquaternion.h.
|
inline |
constructor
Definition at line 142 of file wquaternion.h.
The documentation for this class was generated from the following file:
- worldsim/include/wquaternion.h