Public Types | Public Member Functions | Protected Types | Protected Attributes

OpenTissue::math::Rotation< value_type_ > Class Template Reference

#include <math_rotation.h>

List of all members.

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_typematrix3x3_type
typedef Vector3< value_typevector3_type
typedef Quaternion< value_typequaternion_type

Public Member Functions

value_typeangle ()
value_type const & angle () const
vector3_typeaxis ()
vector3_type const & axis () const
 Rotation ()
 Rotation (quaternion_type const &q)
 Rotation (matrix3x3_type const &R)
 ~Rotation ()
Rotationoperator= (Rotation const &R)
Rotationoperator= (quaternion_type const &q)
Rotationoperator= (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.

template<typename value_type_>
class OpenTissue::math::Rotation< value_type_ >


Member Typedef Documentation

template<typename value_type_>
typedef Matrix3x3<value_type> OpenTissue::math::Rotation< value_type_ >::matrix3x3_type
template<typename value_type_>
typedef Quaternion<value_type> OpenTissue::math::Rotation< value_type_ >::quaternion_type
template<typename value_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.

template<typename value_type_>
typedef OpenTissue::math::ValueTraits<value_type_> OpenTissue::math::Rotation< value_type_ >::value_traits_ [protected]
template<typename value_type_>
typedef value_type_ OpenTissue::math::Rotation< value_type_ >::value_type
template<typename value_type_>
typedef Vector3<value_type> OpenTissue::math::Rotation< value_type_ >::vector3_type

Constructor & Destructor Documentation

template<typename value_type_>
OpenTissue::math::Rotation< value_type_ >::Rotation (  )  [inline]
template<typename value_type_>
OpenTissue::math::Rotation< value_type_ >::Rotation ( quaternion_type const &  q  )  [inline, explicit]
template<typename value_type_>
OpenTissue::math::Rotation< value_type_ >::Rotation ( matrix3x3_type const &  R  )  [inline, explicit]
template<typename value_type_>
OpenTissue::math::Rotation< value_type_ >::~Rotation (  )  [inline]

Member Function Documentation

template<typename value_type_>
value_type& OpenTissue::math::Rotation< value_type_ >::angle (  )  [inline]
template<typename value_type_>
value_type const& OpenTissue::math::Rotation< value_type_ >::angle (  )  const [inline]
template<typename value_type_>
vector3_type const& OpenTissue::math::Rotation< value_type_ >::axis (  )  const [inline]
template<typename value_type_>
vector3_type& OpenTissue::math::Rotation< value_type_ >::axis (  )  [inline]
template<typename value_type_>
Rotation& OpenTissue::math::Rotation< value_type_ >::operator= ( matrix3x3_type const &  M  )  [inline]
template<typename value_type_>
Rotation& OpenTissue::math::Rotation< value_type_ >::operator= ( Rotation< value_type_ > const &  R  )  [inline]
template<typename value_type_>
Rotation& OpenTissue::math::Rotation< value_type_ >::operator= ( quaternion_type const &  q  )  [inline]

Member Data Documentation

template<typename value_type_>
value_type OpenTissue::math::Rotation< value_type_ >::m_angle [protected]

The Rotation angle in radians. Default value is zero.

template<typename value_type_>
vector3_type OpenTissue::math::Rotation< value_type_ >::m_axis [protected]

The Rotation axe. This should be an unit vector.


The documentation for this class was generated from the following file: