Public Member Functions | Static Public Attributes | Protected Member Functions
_RotationMatrix< N, Base > Struct Template Reference

#include <rotation_matrix.h>

Inheritance diagram for _RotationMatrix< N, Base >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 _RotationMatrix ()
 _RotationMatrix ()
_RotationMatrix< N, Base > inverse () const
_RotationMatrix< N, Base > inverse () const
_RotationMatrix< N, Base > operator* (const _RotationMatrix< N, Base > &m) const
_RotationMatrix< N, Base > operator* (const _RotationMatrix< N, Base > &m) const
_Vector< N, Base > operator* (const _Vector< N, Base > &v) const
_Vector< N, Base > operator* (const _Vector< N, Base > &v) const
_RotationMatrix< N, Base > & operator*= (const _RotationMatrix< N, Base > &m)
_RotationMatrix< N, Base > & operator*= (const _RotationMatrix< N, Base > &m)

Static Public Attributes

static const int Dimension = N

Protected Member Functions

 _RotationMatrix (const _Matrix< N, N, Base > &m)
 _RotationMatrix (const _Matrix< N, N, Base > &m)

Detailed Description

template<int N, typename Base = double>
struct _RotationMatrix< N, Base >

Implements a generic n-dimensonal rotation matrix. A rotation matrix can be multiplied by another rotation matrix, leading to the composition of the rotations. It can be inverted (which means transposed), resulting in the inverse rotation. It can be miltiplied by a vector, leading to the rotated vector.

Definition at line 32 of file include/hogman_minimal/math/rotation_matrix.h.


Constructor & Destructor Documentation

template<int N, typename Base >
_RotationMatrix< N, Base >::_RotationMatrix ( )

Constructs a rotation matrix represeting the zero rotation

Definition at line 19 of file include/hogman_minimal/math/rotation_matrix.hpp.

template<int N, typename Base>
_RotationMatrix< N, Base >::_RotationMatrix ( const _Matrix< N, N, Base > &  m) [protected]
template<int N, typename Base = double>
_RotationMatrix< N, Base >::_RotationMatrix ( )

Constructs a rotation matrix represeting the zero rotation

template<int N, typename Base = double>
_RotationMatrix< N, Base >::_RotationMatrix ( const _Matrix< N, N, Base > &  m) [protected]

Member Function Documentation

template<int N, typename Base >
_RotationMatrix< N, Base > _RotationMatrix< N, Base >::inverse ( ) const

returns the rotated inverse

Reimplemented from _Matrix< N, N, Base >.

Definition at line 50 of file include/hogman_minimal/math/rotation_matrix.hpp.

template<int N, typename Base = double>
_RotationMatrix<N,Base> _RotationMatrix< N, Base >::inverse ( ) const

returns the rotated inverse

Reimplemented from _Matrix< N, N, Base >.

template<int N, typename Base>
_RotationMatrix< N, Base > _RotationMatrix< N, Base >::operator* ( const _RotationMatrix< N, Base > &  m) const

returns the composition of rotations

Definition at line 38 of file include/hogman_minimal/math/rotation_matrix.hpp.

template<int N, typename Base = double>
_RotationMatrix<N,Base> _RotationMatrix< N, Base >::operator* ( const _RotationMatrix< N, Base > &  m) const

returns the composition of rotations

template<int N, typename Base = double>
_Vector<N,Base> _RotationMatrix< N, Base >::operator* ( const _Vector< N, Base > &  v) const

returns the rotated vector

template<int N, typename Base>
_Vector< N, Base > _RotationMatrix< N, Base >::operator* ( const _Vector< N, Base > &  v) const

returns the rotated vector

Definition at line 45 of file include/hogman_minimal/math/rotation_matrix.hpp.

template<int N, typename Base>
_RotationMatrix< N, Base > & _RotationMatrix< N, Base >::operator*= ( const _RotationMatrix< N, Base > &  m)

applies to this rotation matrix the rotation passed as argument

Definition at line 32 of file include/hogman_minimal/math/rotation_matrix.hpp.

template<int N, typename Base = double>
_RotationMatrix<N,Base>& _RotationMatrix< N, Base >::operator*= ( const _RotationMatrix< N, Base > &  m)

applies to this rotation matrix the rotation passed as argument


Member Data Documentation

template<int N, typename Base = double>
static const int _RotationMatrix< N, Base >::Dimension = N [static]

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


hogman_minimal
Author(s): Maintained by Juergen Sturm
autogenerated on Wed Dec 26 2012 15:36:50