#include <math_rotation.h>
Public Types | |
typedef value_traits_ | value_traits |
Convinience typedef to make value traits accesible for all template functions using Vector3 types. | |
typedef value_type_ | value_type |
typedef Matrix3x3< value_type > | matrix3x3_type |
typedef Vector3< value_type > | vector3_type |
typedef Quaternion< value_type > | quaternion_type |
Public Member Functions | |
value_type & | angle () |
value_type const & | angle () const |
vector3_type & | axis () |
vector3_type const & | axis () const |
Rotation () | |
Rotation (quaternion_type const &q) | |
Rotation (matrix3x3_type const &R) | |
~Rotation () | |
Rotation & | operator= (Rotation const &R) |
Rotation & | operator= (quaternion_type const &q) |
Rotation & | operator= (matrix3x3_type const &M) |
Protected Types | |
typedef OpenTissue::math::ValueTraits < value_type_ > | value_traits_ |
Protected Attributes | |
value_type | m_angle |
The Rotation angle in radians. Default value is zero. | |
vector3_type | m_axis |
The Rotation axe. This should be an unit vector. |
typedef Matrix3x3<value_type> OpenTissue::math::Rotation< value_type_ >::matrix3x3_type |
typedef Quaternion<value_type> OpenTissue::math::Rotation< value_type_ >::quaternion_type |
typedef value_traits_ OpenTissue::math::Rotation< value_type_ >::value_traits |
Convinience typedef to make value traits accesible for all template functions using Vector3 types.
typedef OpenTissue::math::ValueTraits<value_type_> OpenTissue::math::Rotation< value_type_ >::value_traits_ [protected] |
typedef value_type_ OpenTissue::math::Rotation< value_type_ >::value_type |
typedef Vector3<value_type> OpenTissue::math::Rotation< value_type_ >::vector3_type |
OpenTissue::math::Rotation< value_type_ >::Rotation | ( | ) | [inline] |
OpenTissue::math::Rotation< value_type_ >::Rotation | ( | quaternion_type const & | q | ) | [inline, explicit] |
OpenTissue::math::Rotation< value_type_ >::Rotation | ( | matrix3x3_type const & | R | ) | [inline, explicit] |
OpenTissue::math::Rotation< value_type_ >::~Rotation | ( | ) | [inline] |
value_type& OpenTissue::math::Rotation< value_type_ >::angle | ( | ) | [inline] |
value_type const& OpenTissue::math::Rotation< value_type_ >::angle | ( | ) | const [inline] |
vector3_type const& OpenTissue::math::Rotation< value_type_ >::axis | ( | ) | const [inline] |
vector3_type& OpenTissue::math::Rotation< value_type_ >::axis | ( | ) | [inline] |
Rotation& OpenTissue::math::Rotation< value_type_ >::operator= | ( | matrix3x3_type const & | M | ) | [inline] |
Rotation& OpenTissue::math::Rotation< value_type_ >::operator= | ( | Rotation< value_type_ > const & | R | ) | [inline] |
Rotation& OpenTissue::math::Rotation< value_type_ >::operator= | ( | quaternion_type const & | q | ) | [inline] |
value_type OpenTissue::math::Rotation< value_type_ >::m_angle [protected] |
The Rotation angle in radians. Default value is zero.
vector3_type OpenTissue::math::Rotation< value_type_ >::m_axis [protected] |
The Rotation axe. This should be an unit vector.