Public Types | Public Member Functions
RotationBase< Derived, _Dim > Class Template Reference

Common base class for compact rotation representations. More...

List of all members.

Public Types

enum  { Dim }
typedef Matrix< Scalar, Dim, Dim > RotationMatrixType
typedef ei_traits< Derived >
::Scalar 
Scalar

Public Member Functions

const Derived & derived () const
Derived & derived ()
Derived inverse () const
Transform< Scalar, Dim > operator* (const Translation< Scalar, Dim > &t) const
RotationMatrixType operator* (const Scaling< Scalar, Dim > &s) const
Transform< Scalar, Dim > operator* (const Transform< Scalar, Dim > &t) const
RotationMatrixType toRotationMatrix () const

Detailed Description

template<typename Derived, int _Dim>
class Eigen::RotationBase< Derived, _Dim >

Common base class for compact rotation representations.

Parameters:
Derivedis the derived type, i.e., a rotation type
_Dimthe dimension of the space

Member Typedef Documentation

typedef Matrix<Scalar,Dim,Dim> RotationMatrixType

corresponding linear transformation matrix type

typedef ei_traits<Derived>::Scalar Scalar

the scalar type of the coefficients

Reimplemented in Quaternion< _Scalar >, AngleAxis< _Scalar >, and Rotation2D< _Scalar >.


Member Function Documentation

Derived inverse ( ) const
inline
Returns:
the inverse rotation

Reimplemented in Quaternion< _Scalar >, AngleAxis< _Scalar >, and Rotation2D< _Scalar >.

Transform<Scalar,Dim> operator* ( const Translation< Scalar, Dim > &  t) const
inline
Returns:
the concatenation of the rotation *this with a translation t
RotationMatrixType operator* ( const Scaling< Scalar, Dim > &  s) const
inline
Returns:
the concatenation of the rotation *this with a scaling s
Transform<Scalar,Dim> operator* ( const Transform< Scalar, Dim > &  t) const
inline
Returns:
the concatenation of the rotation *this with an affine transformation t
RotationMatrixType toRotationMatrix ( ) const
inline
Returns:
an equivalent rotation matrix

Reimplemented in Quaternion< _Scalar >, AngleAxis< _Scalar >, and Rotation2D< _Scalar >.


The documentation for this class was generated from the following file: