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

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

#include <math_matrix3x3.h>

List of all members.

Public Types

typedef value_traits_ value_traits
 Convience typedef to make value traits accesible for all template functions using Vector3 types.
typedef value_type_ value_type
 Typedef is required for compliance with many other libraries and data containers!
typedef Vector3< value_typevector3_type
typedef Quaternion< value_typequaternion_type
typedef size_t index_type

Public Member Functions

 Matrix3x3 ()
 ~Matrix3x3 ()
 Matrix3x3 (value_type const &m00, value_type const &m01, value_type const &m02, value_type const &m10, value_type const &m11, value_type const &m12, value_type const &m20, value_type const &m21, value_type const &m22)
 Matrix3x3 (vector3_type const &row0, vector3_type const &row1, vector3_type const &row2)
 Matrix3x3 (quaternion_type const &q)
 Matrix3x3 (Matrix3x3 const &M)
value_typeoperator() (index_type i, index_type j)
value_type const & operator() (index_type i, index_type j) const
vector3_typeoperator[] (index_type i)
vector3_type const & operator[] (index_type i) const
Matrix3x3operator= (Matrix3x3 const &cpy)
bool operator== (Matrix3x3 const &cmp) const
bool operator!= (Matrix3x3 const &cmp) const
Matrix3x3 operator+ (Matrix3x3 const &m) const
Matrix3x3 operator- (Matrix3x3 const &m) const
Matrix3x3operator+= (Matrix3x3 const &m)
Matrix3x3operator-= (Matrix3x3 const &m)
Matrix3x3operator*= (value_type const &s)
Matrix3x3operator/= (value_type const &s)
vector3_type operator* (vector3_type const &v) const
Matrix3x3 operator- () const
size_t size1 () const
size_t size2 () const
Matrix3x3operator= (quaternion_type const &q)
void clear ()
vector3_type column (index_type i) const
void set_column (index_type i, vector3_type const &column)
vector3_typerow (index_type i)
vector3_type const & row (index_type i) const

Protected Types

typedef math::ValueTraits
< value_type_ > 
value_traits_

Protected Attributes

vector3_type m_row0
 The 1st row of the matrix.
vector3_type m_row1
 The 2nd row of the matrix.
vector3_type m_row2
 The 3rd row of the matrix.

Friends

Matrix3x3 fabs (Matrix3x3 const &A)

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


Member Typedef Documentation

template<typename value_type_>
typedef size_t OpenTissue::math::Matrix3x3< value_type_ >::index_type
template<typename value_type_>
typedef Quaternion<value_type> OpenTissue::math::Matrix3x3< value_type_ >::quaternion_type
template<typename value_type_>
typedef value_traits_ OpenTissue::math::Matrix3x3< value_type_ >::value_traits

Convience typedef to make value traits accesible for all template functions using Vector3 types.

template<typename value_type_>
typedef math::ValueTraits<value_type_> OpenTissue::math::Matrix3x3< value_type_ >::value_traits_ [protected]
template<typename value_type_>
typedef value_type_ OpenTissue::math::Matrix3x3< value_type_ >::value_type

Typedef is required for compliance with many other libraries and data containers!

template<typename value_type_>
typedef Vector3<value_type> OpenTissue::math::Matrix3x3< value_type_ >::vector3_type

Constructor & Destructor Documentation

template<typename value_type_>
OpenTissue::math::Matrix3x3< value_type_ >::Matrix3x3 (  )  [inline]
template<typename value_type_>
OpenTissue::math::Matrix3x3< value_type_ >::~Matrix3x3 (  )  [inline]
template<typename value_type_>
OpenTissue::math::Matrix3x3< value_type_ >::Matrix3x3 ( value_type const &  m00,
value_type const &  m01,
value_type const &  m02,
value_type const &  m10,
value_type const &  m11,
value_type const &  m12,
value_type const &  m20,
value_type const &  m21,
value_type const &  m22 
) [inline, explicit]
template<typename value_type_>
OpenTissue::math::Matrix3x3< value_type_ >::Matrix3x3 ( vector3_type const &  row0,
vector3_type const &  row1,
vector3_type const &  row2 
) [inline, explicit]
template<typename value_type_>
OpenTissue::math::Matrix3x3< value_type_ >::Matrix3x3 ( quaternion_type const &  q  )  [inline, explicit]
template<typename value_type_>
OpenTissue::math::Matrix3x3< value_type_ >::Matrix3x3 ( Matrix3x3< value_type_ > const &  M  )  [inline]

Member Function Documentation

template<typename value_type_>
void OpenTissue::math::Matrix3x3< value_type_ >::clear (  )  [inline]
template<typename value_type_>
vector3_type OpenTissue::math::Matrix3x3< value_type_ >::column ( index_type  i  )  const [inline]
template<typename value_type_>
bool OpenTissue::math::Matrix3x3< value_type_ >::operator!= ( Matrix3x3< value_type_ > const &  cmp  )  const [inline]
template<typename value_type_>
value_type const& OpenTissue::math::Matrix3x3< value_type_ >::operator() ( index_type  i,
index_type  j 
) const [inline]
template<typename value_type_>
value_type& OpenTissue::math::Matrix3x3< value_type_ >::operator() ( index_type  i,
index_type  j 
) [inline]
template<typename value_type_>
vector3_type OpenTissue::math::Matrix3x3< value_type_ >::operator* ( vector3_type const &  v  )  const [inline]
template<typename value_type_>
Matrix3x3& OpenTissue::math::Matrix3x3< value_type_ >::operator*= ( value_type const &  s  )  [inline]
template<typename value_type_>
Matrix3x3 OpenTissue::math::Matrix3x3< value_type_ >::operator+ ( Matrix3x3< value_type_ > const &  m  )  const [inline]
template<typename value_type_>
Matrix3x3& OpenTissue::math::Matrix3x3< value_type_ >::operator+= ( Matrix3x3< value_type_ > const &  m  )  [inline]
template<typename value_type_>
Matrix3x3 OpenTissue::math::Matrix3x3< value_type_ >::operator- ( Matrix3x3< value_type_ > const &  m  )  const [inline]
template<typename value_type_>
Matrix3x3 OpenTissue::math::Matrix3x3< value_type_ >::operator- (  )  const [inline]
template<typename value_type_>
Matrix3x3& OpenTissue::math::Matrix3x3< value_type_ >::operator-= ( Matrix3x3< value_type_ > const &  m  )  [inline]
template<typename value_type_>
Matrix3x3& OpenTissue::math::Matrix3x3< value_type_ >::operator/= ( value_type const &  s  )  [inline]
template<typename value_type_>
Matrix3x3& OpenTissue::math::Matrix3x3< value_type_ >::operator= ( quaternion_type const &  q  )  [inline]

Assigns this quaternion to a matrix. This method performs a conversion of a quaternion that represents a rotation into the correponding rotationmatrix.

Parameters:
q A reference to a quaternion. This is the quaternion that represents a rotation.
template<typename value_type_>
Matrix3x3& OpenTissue::math::Matrix3x3< value_type_ >::operator= ( Matrix3x3< value_type_ > const &  cpy  )  [inline]
template<typename value_type_>
bool OpenTissue::math::Matrix3x3< value_type_ >::operator== ( Matrix3x3< value_type_ > const &  cmp  )  const [inline]
template<typename value_type_>
vector3_type const& OpenTissue::math::Matrix3x3< value_type_ >::operator[] ( index_type  i  )  const [inline]
template<typename value_type_>
vector3_type& OpenTissue::math::Matrix3x3< value_type_ >::operator[] ( index_type  i  )  [inline]
template<typename value_type_>
vector3_type& OpenTissue::math::Matrix3x3< value_type_ >::row ( index_type  i  )  [inline]
template<typename value_type_>
vector3_type const& OpenTissue::math::Matrix3x3< value_type_ >::row ( index_type  i  )  const [inline]
template<typename value_type_>
void OpenTissue::math::Matrix3x3< value_type_ >::set_column ( index_type  i,
vector3_type const &  column 
) [inline]
template<typename value_type_>
size_t OpenTissue::math::Matrix3x3< value_type_ >::size1 (  )  const [inline]
template<typename value_type_>
size_t OpenTissue::math::Matrix3x3< value_type_ >::size2 (  )  const [inline]

Friends And Related Function Documentation

template<typename value_type_>
Matrix3x3 fabs ( Matrix3x3< value_type_ > const &  A  )  [friend]

Member Data Documentation

template<typename value_type_>
vector3_type OpenTissue::math::Matrix3x3< value_type_ >::m_row0 [protected]

The 1st row of the matrix.

template<typename value_type_>
vector3_type OpenTissue::math::Matrix3x3< value_type_ >::m_row1 [protected]

The 2nd row of the matrix.

template<typename value_type_>
vector3_type OpenTissue::math::Matrix3x3< value_type_ >::m_row2 [protected]

The 3rd row of the matrix.


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