Darc Library
2012.11
|
#include <cr_quaternion.h>
Public Member Functions | |
GE_Quaternion () | |
GE_Quaternion (const Real &_r, const Real &_i, const Real &_j, const Real &_k) | |
void | norm () |
GE_Quaternion | getConjugate () const |
GE_Quaternion | operator* (const GE_Quaternion &rq) const |
Public Attributes | |
Real | m_r |
Real | m_i |
Real | m_j |
Real | m_k |
Quaternion class.
Default constructor.
darc::core::GE_Quaternion::GE_Quaternion | ( | const Real & | _r, |
const Real & | _i, | ||
const Real & | _j, | ||
const Real & | _k | ||
) | [inline] |
GE_Quaternion darc::core::GE_Quaternion::getConjugate | ( | ) | const [inline] |
void darc::core::GE_Quaternion::norm | ( | ) | [inline] |
Constructs a rotation quaternion.
_v | Normalized rotation axis. Normalizes quaternion if necessary. |
GE_Quaternion darc::core::GE_Quaternion::operator* | ( | const GE_Quaternion & | rq | ) | const [inline] |
Operator "Quaternion multiplication".