RotationBase< Derived, _Dim > Class Template Reference

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

#include <RotationBase.h>

List of all members.

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

Detailed Description

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

Common base class for compact rotation representations.

Parameters:
Derived is the derived type, i.e., a rotation type
_Dim the dimension of the space

Definition at line 39 of file RotationBase.h.


Member Typedef Documentation

template<typename Derived, int _Dim>
typedef Matrix<Scalar,Dim,Dim> RotationBase< Derived, _Dim >::RotationMatrixType

corresponding linear transformation matrix type

Definition at line 47 of file RotationBase.h.

template<typename Derived, int _Dim>
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.


Member Enumeration Documentation

template<typename Derived, int _Dim>
anonymous enum
Enumerator:
Dim 

Definition at line 42 of file RotationBase.h.


Member Function Documentation

template<typename Derived, int _Dim>
Derived& RotationBase< Derived, _Dim >::derived (  )  [inline]

Definition at line 50 of file RotationBase.h.

template<typename Derived, int _Dim>
const Derived& RotationBase< Derived, _Dim >::derived (  )  const [inline]

Definition at line 49 of file RotationBase.h.

template<typename Derived, int _Dim>
Derived RotationBase< Derived, _Dim >::inverse ( void   )  const [inline]
Returns:
the inverse rotation

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

Definition at line 56 of file RotationBase.h.

template<typename Derived, int _Dim>
Transform<Scalar,Dim> RotationBase< Derived, _Dim >::operator* ( const Transform< Scalar, Dim > &  t  )  const [inline]
Returns:
the concatenation of the rotation *this with an affine transformation t

Definition at line 67 of file RotationBase.h.

template<typename Derived, int _Dim>
RotationMatrixType RotationBase< Derived, _Dim >::operator* ( const Scaling< Scalar, Dim > &  s  )  const [inline]
Returns:
the concatenation of the rotation *this with a scaling s

Definition at line 63 of file RotationBase.h.

template<typename Derived, int _Dim>
Transform<Scalar,Dim> RotationBase< Derived, _Dim >::operator* ( const Translation< Scalar, Dim > &  t  )  const [inline]
Returns:
the concatenation of the rotation *this with a translation t

Definition at line 59 of file RotationBase.h.

template<typename Derived, int _Dim>
RotationMatrixType RotationBase< Derived, _Dim >::toRotationMatrix ( void   )  const [inline]
Returns:
an equivalent rotation matrix

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

Definition at line 53 of file RotationBase.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:20 2013