#include <Quaternion.hpp>
Public Member Functions | |
Quaternion< BaseVecT > | copy () |
void | fromAxis (BaseVecT axis, ValueType angle) |
void | fromAxis (ValueType *vec, ValueType angle) |
void | fromEuler (ValueType pitch, ValueType yaw, ValueType roll) |
void | getAxisAngle (BaseVecT *axis, ValueType *angle) |
Quaternion< BaseVecT > | getConjugate () |
Matrix4< BaseVecT > | getMatrix () |
void | getMatrix (ValueType *m) |
void | normalize () |
BaseVecT | operator* (BaseVecT *vec) |
BaseVecT | operator* (BaseVecT vec) |
Quaternion< BaseVecT > | operator* (Quaternion< BaseVecT > rq) |
void | printDebugInfo () |
void | printMatrix () |
Quaternion () | |
Quaternion (BaseVecT vec, ValueType angle) | |
Quaternion (const Quaternion< BaseVecT > &o) | |
Quaternion (ValueType *vec, ValueType w) | |
Quaternion (ValueType pitch, ValueType yaw, ValueType roll) | |
Quaternion (ValueType x, ValueType y, ValueType z, ValueType w) | |
BaseVecT | toEuler () |
ValueType | W () const |
ValueType | X () const |
ValueType | Y () const |
ValueType | Z () const |
~Quaternion () | |
Private Types | |
using | ValueType = typename BaseVecT::CoordType |
Private Attributes | |
ValueType | w |
ValueType | x |
ValueType | y |
ValueType | z |
Definition at line 64 of file Quaternion.hpp.
|
private |
Definition at line 66 of file Quaternion.hpp.
lvr2::Quaternion< BaseVecT >::Quaternion | ( | ) |
|
inline |
Definition at line 70 of file Quaternion.hpp.
lvr2::Quaternion< BaseVecT >::Quaternion | ( | BaseVecT | vec, |
ValueType | angle | ||
) |
lvr2::Quaternion< BaseVecT >::Quaternion | ( | ValueType | pitch, |
ValueType | yaw, | ||
ValueType | roll | ||
) |
lvr2::Quaternion< BaseVecT >::Quaternion | ( | ValueType | x, |
ValueType | y, | ||
ValueType | z, | ||
ValueType | w | ||
) |
lvr2::Quaternion< BaseVecT >::Quaternion | ( | ValueType * | vec, |
ValueType | w | ||
) |
lvr2::Quaternion< BaseVecT >::~Quaternion | ( | ) |
Quaternion<BaseVecT> lvr2::Quaternion< BaseVecT >::copy | ( | ) |
void lvr2::Quaternion< BaseVecT >::fromAxis | ( | BaseVecT | axis, |
ValueType | angle | ||
) |
void lvr2::Quaternion< BaseVecT >::fromAxis | ( | ValueType * | vec, |
ValueType | angle | ||
) |
void lvr2::Quaternion< BaseVecT >::fromEuler | ( | ValueType | pitch, |
ValueType | yaw, | ||
ValueType | roll | ||
) |
void lvr2::Quaternion< BaseVecT >::getAxisAngle | ( | BaseVecT * | axis, |
ValueType * | angle | ||
) |
Quaternion<BaseVecT> lvr2::Quaternion< BaseVecT >::getConjugate | ( | ) |
Matrix4<BaseVecT> lvr2::Quaternion< BaseVecT >::getMatrix | ( | ) |
void lvr2::Quaternion< BaseVecT >::getMatrix | ( | ValueType * | m | ) |
void lvr2::Quaternion< BaseVecT >::normalize | ( | ) |
BaseVecT lvr2::Quaternion< BaseVecT >::operator* | ( | BaseVecT * | vec | ) |
BaseVecT lvr2::Quaternion< BaseVecT >::operator* | ( | BaseVecT | vec | ) |
Quaternion<BaseVecT> lvr2::Quaternion< BaseVecT >::operator* | ( | Quaternion< BaseVecT > | rq | ) |
void lvr2::Quaternion< BaseVecT >::printDebugInfo | ( | ) |
void lvr2::Quaternion< BaseVecT >::printMatrix | ( | ) |
BaseVecT lvr2::Quaternion< BaseVecT >::toEuler | ( | ) |
|
inline |
Definition at line 94 of file Quaternion.hpp.
|
inline |
Definition at line 91 of file Quaternion.hpp.
|
inline |
Definition at line 92 of file Quaternion.hpp.
|
inline |
Definition at line 93 of file Quaternion.hpp.
|
private |
Definition at line 107 of file Quaternion.hpp.
|
private |
Definition at line 107 of file Quaternion.hpp.
|
private |
Definition at line 107 of file Quaternion.hpp.
|
private |
Definition at line 107 of file Quaternion.hpp.