Common base class for compact rotation representations. More...
#include <RotationBase.h>
Public Types | |
enum | { Dim = _Dim } |
typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
typedef ei_traits< Derived > ::Scalar | Scalar |
Public Member Functions | |
Derived & | derived () |
const Derived & | derived () const |
Derived | inverse () const |
Transform< Scalar, Dim > | operator* (const Transform< Scalar, Dim > &t) const |
RotationMatrixType | operator* (const Scaling< Scalar, Dim > &s) const |
Transform< Scalar, Dim > | operator* (const Translation< Scalar, Dim > &t) const |
RotationMatrixType | toRotationMatrix () const |
Common base class for compact rotation representations.
Derived | is the derived type, i.e., a rotation type | |
_Dim | the dimension of the space |
Definition at line 39 of file RotationBase.h.
typedef Matrix<Scalar,Dim,Dim> RotationBase< Derived, _Dim >::RotationMatrixType |
corresponding linear transformation matrix type
Definition at line 47 of file RotationBase.h.
typedef ei_traits<Derived>::Scalar RotationBase< Derived, _Dim >::Scalar |
the scalar type of the coefficients
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, and Rotation2D< _Scalar >.
Definition at line 44 of file RotationBase.h.
anonymous enum |
Definition at line 42 of file RotationBase.h.
Derived& RotationBase< Derived, _Dim >::derived | ( | ) | [inline] |
Definition at line 50 of file RotationBase.h.
const Derived& RotationBase< Derived, _Dim >::derived | ( | ) | const [inline] |
Definition at line 49 of file RotationBase.h.
Derived RotationBase< Derived, _Dim >::inverse | ( | void | ) | const [inline] |
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, and Rotation2D< _Scalar >.
Definition at line 56 of file RotationBase.h.
Transform<Scalar,Dim> RotationBase< Derived, _Dim >::operator* | ( | const Transform< Scalar, Dim > & | t | ) | const [inline] |
*this
with an affine transformation t Definition at line 67 of file RotationBase.h.
RotationMatrixType RotationBase< Derived, _Dim >::operator* | ( | const Scaling< Scalar, Dim > & | s | ) | const [inline] |
*this
with a scaling s Definition at line 63 of file RotationBase.h.
Transform<Scalar,Dim> RotationBase< Derived, _Dim >::operator* | ( | const Translation< Scalar, Dim > & | t | ) | const [inline] |
*this
with a translation t Definition at line 59 of file RotationBase.h.
RotationMatrixType RotationBase< Derived, _Dim >::toRotationMatrix | ( | void | ) | const [inline] |
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, and Rotation2D< _Scalar >.
Definition at line 53 of file RotationBase.h.