#include <Quaternion.hpp>
Public Member Functions | |
Quaternion< BaseVecT > | copy () |
void | fromAxis (ValueType *vec, ValueType angle) |
void | fromAxis (BaseVecT axis, ValueType angle) |
void | fromEuler (ValueType pitch, ValueType yaw, ValueType roll) |
void | getAxisAngle (BaseVecT *axis, ValueType *angle) |
Quaternion< BaseVecT > | getConjugate () |
void | getMatrix (ValueType *m) |
Matrix4< BaseVecT > | getMatrix () |
void | normalize () |
Quaternion< BaseVecT > | operator* (Quaternion< BaseVecT > rq) |
BaseVecT | operator* (BaseVecT vec) |
BaseVecT | operator* (BaseVecT *vec) |
void | printDebugInfo () |
void | printMatrix () |
Quaternion () | |
Quaternion (const Quaternion< BaseVecT > &o) | |
Quaternion (BaseVecT vec, ValueType angle) | |
Quaternion (ValueType pitch, ValueType yaw, ValueType roll) | |
Quaternion (ValueType x, ValueType y, ValueType z, ValueType w) | |
Quaternion (ValueType *vec, 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 | ( | ValueType * | vec, |
ValueType | angle | ||
) |
void lvr2::Quaternion< BaseVecT >::fromAxis | ( | BaseVecT | axis, |
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 | ( | ) |
void lvr2::Quaternion< BaseVecT >::getMatrix | ( | ValueType * | m | ) |
Matrix4<BaseVecT> lvr2::Quaternion< BaseVecT >::getMatrix | ( | ) |
void lvr2::Quaternion< BaseVecT >::normalize | ( | ) |
Quaternion<BaseVecT> lvr2::Quaternion< BaseVecT >::operator* | ( | Quaternion< BaseVecT > | rq | ) |
BaseVecT lvr2::Quaternion< BaseVecT >::operator* | ( | BaseVecT | vec | ) |
BaseVecT lvr2::Quaternion< BaseVecT >::operator* | ( | BaseVecT * | vec | ) |
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.