#include <euler.h>
Public Member Functions | |
EulerAngles () | |
EulerAngles (const Matrix &R) | |
EulerAngles (const TYPE alpha, const TYPE beta, const TYPE gamma) | |
void | from (const Matrix &R) |
after Computing Euler angles from a rotation matrix (Gregory G. Slabaugh) | |
Vector | getVector () const |
TYPE | norm () const |
operator Matrix () const | |
EulerAngles | operator+ (const EulerAngles &o) const |
EulerAngles | operator- (const EulerAngles &o) const |
Matrix | toRotMat () const |
Private Types | |
typedef Eigen::Matrix< TYPE, 3, 3 > | Matrix |
typedef Eigen::Matrix< TYPE, 3, 1 > | Vector |
Private Attributes | |
TYPE | alpha_ |
TYPE | beta_ |
TYPE | gamma_ |
Friends | |
template<typename TTYPE > | |
EulerAngles< TTYPE > | operator* (const TTYPE m, const EulerAngles< TTYPE > &o) |
template<typename TTYPE > | |
std::ostream & | operator<< (std::ostream &os, const EulerAngles< TTYPE > &o) |
converts rotation matrix to Euler angles and back
typedef Eigen::Matrix<TYPE,3,3> DOF6::EulerAngles< TYPE >::Matrix [private] |
typedef Eigen::Matrix<TYPE,3,1> DOF6::EulerAngles< TYPE >::Vector [private] |
DOF6::EulerAngles< TYPE >::EulerAngles | ( | ) | [inline] |
DOF6::EulerAngles< TYPE >::EulerAngles | ( | const Matrix & | R | ) | [inline] |
DOF6::EulerAngles< TYPE >::EulerAngles | ( | const TYPE | alpha, |
const TYPE | beta, | ||
const TYPE | gamma | ||
) | [inline] |
void DOF6::EulerAngles< TYPE >::from | ( | const Matrix & | R | ) | [inline] |
Vector DOF6::EulerAngles< TYPE >::getVector | ( | ) | const [inline] |
TYPE DOF6::EulerAngles< TYPE >::norm | ( | ) | const [inline] |
DOF6::EulerAngles< TYPE >::operator Matrix | ( | ) | const [inline] |
EulerAngles DOF6::EulerAngles< TYPE >::operator+ | ( | const EulerAngles< TYPE > & | o | ) | const [inline] |
EulerAngles DOF6::EulerAngles< TYPE >::operator- | ( | const EulerAngles< TYPE > & | o | ) | const [inline] |
Matrix DOF6::EulerAngles< TYPE >::toRotMat | ( | ) | const [inline] |
EulerAngles<TTYPE> operator* | ( | const TTYPE | m, |
const EulerAngles< TTYPE > & | o | ||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | os, |
const EulerAngles< TTYPE > & | o | ||
) | [friend] |
TYPE DOF6::EulerAngles< TYPE >::alpha_ [private] |
TYPE DOF6::EulerAngles< TYPE >::beta_ [private] |
TYPE DOF6::EulerAngles< TYPE >::gamma_ [private] |