#include <rotation_matrix.h>
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) |
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.
_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.
_RotationMatrix< N, Base >::_RotationMatrix | ( | const _Matrix< N, N, Base > & | m | ) | [protected] |
Definition at line 26 of file include/hogman_minimal/math/rotation_matrix.hpp.
_RotationMatrix< N, Base >::_RotationMatrix | ( | ) |
Constructs a rotation matrix represeting the zero rotation
_RotationMatrix< N, Base >::_RotationMatrix | ( | const _Matrix< N, N, Base > & | m | ) | [protected] |
_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.
_RotationMatrix<N,Base> _RotationMatrix< N, Base >::inverse | ( | ) | const |
returns the rotated inverse
Reimplemented from _Matrix< N, N, 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.
_RotationMatrix<N,Base> _RotationMatrix< N, Base >::operator* | ( | const _RotationMatrix< N, Base > & | m | ) | const |
returns the composition of rotations
_Vector<N,Base> _RotationMatrix< N, Base >::operator* | ( | const _Vector< N, Base > & | v | ) | const |
returns the rotated vector
_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.
_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.
_RotationMatrix<N,Base>& _RotationMatrix< N, Base >::operator*= | ( | const _RotationMatrix< N, Base > & | m | ) |
applies to this rotation matrix the rotation passed as argument
static const int _RotationMatrix< N, Base >::Dimension = N [static] |
Definition at line 33 of file include/hogman_minimal/math/rotation_matrix.h.