Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
_Transformation< Rotation > Struct Template Reference

#include <transformation.h>

List of all members.

Public Types

typedef Rotation::BaseType BaseType
typedef Rotation::BaseType BaseType
typedef Rotation RotationType
typedef Rotation RotationType
typedef _Matrix
< Rotation::Dimension+1,
Rotation::Dimension+1,
BaseType
TransformationMatrix
typedef _Matrix
< Rotation::Dimension+1,
Rotation::Dimension+1,
BaseType
TransformationMatrix
typedef _Vector
< Rotation::Dimension+Rotation::Angles,
BaseType
TransformationVector
typedef _Vector
< Rotation::Dimension+Rotation::Angles,
BaseType
TransformationVector
typedef _Vector
< Rotation::Dimension,
BaseType
TranslationType
typedef _Vector
< Rotation::Dimension,
BaseType
TranslationType

Public Member Functions

 _Transformation ()
 _Transformation ()
 _Transformation (const TranslationType &t, const Rotation &r)
 _Transformation (const TranslationType &t, const Rotation &r)
_Transformation< Rotation > inverse () const
_Transformation< Rotation > inverse () const
_Transformation< Rotation > operator* (const _Transformation< Rotation > &t) const
_Transformation< Rotation > operator* (const _Transformation< Rotation > &t) const
TranslationType operator* (const TranslationType &t) const
TranslationType operator* (const TranslationType &t) const
_Transformation< Rotation > & operator*= (const _Transformation< Rotation > &t)
_Transformation< Rotation > & operator*= (const _Transformation< Rotation > &t)
Rotation & rotation ()
Rotation & rotation ()
const Rotation & rotation () const
const Rotation & rotation () const
TransformationMatrix toMatrix () const
TransformationMatrix toMatrix () const
TransformationVector toVector () const
TransformationVector toVector () const
TranslationTypetranslation ()
TranslationTypetranslation ()
const TranslationTypetranslation () const
const TranslationTypetranslation () const

Static Public Member Functions

static _Transformation< Rotation > fromVector (const TransformationVector &v)
static _Transformation< Rotation > fromVector (const TransformationVector &v)

Public Attributes

RotationType _rotation
TranslationType _translation

Detailed Description

template<typename Rotation>
struct _Transformation< Rotation >

Implements an transformation class. A transformation is parametrized by the RotationType. The translation type is inferred by the dimension of the rotation, and it is always a vector. Rotations can be compose with the * operator. The inverse is obtained with the inverse() method. A rotation R can be applied to a vector v by the * operator R*v.

Definition at line 35 of file include/hogman_minimal/math/transformation.h.


Member Typedef Documentation

template<typename Rotation>
typedef Rotation::BaseType _Transformation< Rotation >::BaseType

Definition at line 36 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
typedef Rotation::BaseType _Transformation< Rotation >::BaseType

Definition at line 36 of file src/math/transformation.h.

template<typename Rotation>
typedef Rotation _Transformation< Rotation >::RotationType

Definition at line 37 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
typedef Rotation _Transformation< Rotation >::RotationType

Definition at line 37 of file src/math/transformation.h.

template<typename Rotation>
typedef _Matrix<Rotation::Dimension+1, Rotation::Dimension+1, BaseType> _Transformation< Rotation >::TransformationMatrix

Definition at line 39 of file src/math/transformation.h.

template<typename Rotation>
typedef _Matrix<Rotation::Dimension+1, Rotation::Dimension+1, BaseType> _Transformation< Rotation >::TransformationMatrix

Definition at line 39 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
typedef _Vector<Rotation::Dimension+Rotation::Angles, BaseType> _Transformation< Rotation >::TransformationVector

Definition at line 40 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
typedef _Vector<Rotation::Dimension+Rotation::Angles, BaseType> _Transformation< Rotation >::TransformationVector

Definition at line 40 of file src/math/transformation.h.

template<typename Rotation>
typedef _Vector<Rotation::Dimension, BaseType> _Transformation< Rotation >::TranslationType

Definition at line 38 of file src/math/transformation.h.

template<typename Rotation>
typedef _Vector<Rotation::Dimension, BaseType> _Transformation< Rotation >::TranslationType

Definition at line 38 of file include/hogman_minimal/math/transformation.h.


Constructor & Destructor Documentation

template<typename Rotation>
_Transformation< Rotation >::_Transformation ( ) [inline]

Definition at line 42 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
_Transformation< Rotation >::_Transformation ( const TranslationType t,
const Rotation &  r 
) [inline]

Definition at line 46 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
_Transformation< Rotation >::_Transformation ( ) [inline]

Definition at line 42 of file src/math/transformation.h.

template<typename Rotation>
_Transformation< Rotation >::_Transformation ( const TranslationType t,
const Rotation &  r 
) [inline]

Definition at line 46 of file src/math/transformation.h.


Member Function Documentation

template<typename Rotation>
static _Transformation<Rotation> _Transformation< Rotation >::fromVector ( const TransformationVector v) [inline, static]

Definition at line 99 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
static _Transformation<Rotation> _Transformation< Rotation >::fromVector ( const TransformationVector v) [inline, static]

Definition at line 99 of file src/math/transformation.h.

template<typename Rotation>
_Transformation<Rotation> _Transformation< Rotation >::inverse ( ) const [inline]

Definition at line 69 of file src/math/transformation.h.

template<typename Rotation>
_Transformation<Rotation> _Transformation< Rotation >::inverse ( ) const [inline]

Definition at line 69 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
_Transformation<Rotation> _Transformation< Rotation >::operator* ( const _Transformation< Rotation > &  t) const [inline]

Definition at line 59 of file src/math/transformation.h.

template<typename Rotation>
_Transformation<Rotation> _Transformation< Rotation >::operator* ( const _Transformation< Rotation > &  t) const [inline]

Definition at line 59 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
TranslationType _Transformation< Rotation >::operator* ( const TranslationType t) const [inline]

Definition at line 74 of file src/math/transformation.h.

template<typename Rotation>
TranslationType _Transformation< Rotation >::operator* ( const TranslationType t) const [inline]

Definition at line 74 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
_Transformation<Rotation>& _Transformation< Rotation >::operator*= ( const _Transformation< Rotation > &  t) [inline]

Definition at line 63 of file src/math/transformation.h.

template<typename Rotation>
_Transformation<Rotation>& _Transformation< Rotation >::operator*= ( const _Transformation< Rotation > &  t) [inline]

Definition at line 63 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
Rotation& _Transformation< Rotation >::rotation ( ) [inline]

Definition at line 55 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
Rotation& _Transformation< Rotation >::rotation ( ) [inline]

Definition at line 55 of file src/math/transformation.h.

template<typename Rotation>
const Rotation& _Transformation< Rotation >::rotation ( ) const [inline]

Definition at line 57 of file src/math/transformation.h.

template<typename Rotation>
const Rotation& _Transformation< Rotation >::rotation ( ) const [inline]

Definition at line 57 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
TransformationMatrix _Transformation< Rotation >::toMatrix ( ) const [inline]

Definition at line 78 of file src/math/transformation.h.

template<typename Rotation>
TransformationMatrix _Transformation< Rotation >::toMatrix ( ) const [inline]

Definition at line 78 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
TransformationVector _Transformation< Rotation >::toVector ( ) const [inline]

Definition at line 89 of file src/math/transformation.h.

template<typename Rotation>
TransformationVector _Transformation< Rotation >::toVector ( ) const [inline]

Definition at line 89 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
TranslationType& _Transformation< Rotation >::translation ( ) [inline]

Definition at line 51 of file src/math/transformation.h.

template<typename Rotation>
TranslationType& _Transformation< Rotation >::translation ( ) [inline]

Definition at line 51 of file include/hogman_minimal/math/transformation.h.

template<typename Rotation>
const TranslationType& _Transformation< Rotation >::translation ( ) const [inline]

Definition at line 53 of file src/math/transformation.h.

template<typename Rotation>
const TranslationType& _Transformation< Rotation >::translation ( ) const [inline]

Definition at line 53 of file include/hogman_minimal/math/transformation.h.


Member Data Documentation

template<typename Rotation>
RotationType _Transformation< Rotation >::_rotation
template<typename Rotation>
TranslationType _Transformation< Rotation >::_translation

The documentation for this struct was generated from the following files:


hogman_minimal
Author(s): Maintained by Juergen Sturm
autogenerated on Mon Oct 6 2014 00:07:00