_Matrix3< Type > Class Template Reference

#include <_Matrix3.h>

List of all members.

Public Member Functions

 _Matrix3 ()
 _Matrix3 (Type s)
 _Matrix3 (Type m00, Type m01=0, Type m02=0, Type m10=0, Type m11=0, Type m12=0, Type m20=0, Type m21=0, Type m22=0)
 _Matrix3 (const _Matrix3< double > &m)
 _Matrix3 (const _Matrix3< float > &m)
 _Matrix3 (const Type v[9])
void add (Type d)
void add (Type d, const _Matrix3< Type > &m)
void add (const _Matrix3< Type > &m)
void add (const _Matrix3< Type > &m, const _Matrix3< Type > &m1)
Type determinant (void) const
bool epsilonEquals (const _Matrix3< Type > &m, Type d) const
bool equals (const _Matrix3< Type > &m) const
void getColumn (int column, _Vector3< Type > &v) const
void getColumn (int column, Type ad[]) const
Type getElement (int row, int column) const
void getRow (int row, _Vector3< Type > &v) const
void getRow (int row, Type ad[3]) const
void get (float ad[9]) const
void get (double ad[9]) const
Type getScale () const
void getScaleRotate (double ad[3], double ad1[9]) const
void invert ()
void invert (const _Matrix3< Type > &m)
void mul (Type d)
void mul (Type d, const _Matrix3< Type > &m)
void mul (const _Matrix3< Type > &m)
void mul (const _Matrix3< Type > &m, const _Matrix3< Type > &m1)
void mulNormalize (const _Matrix3< Type > &m)
void mulNormalize (const _Matrix3< Type > &m, const _Matrix3< Type > &m1)
void mulTransposeBoth (const _Matrix3< Type > m, const _Matrix3< Type > &m1)
void mulTransposeLeft (const _Matrix3< Type > &m, const _Matrix3< Type > &m1)
void mulTransposeRight (const _Matrix3< Type > &m, const _Matrix3< Type > &m1)
void negate ()
void negate (const _Matrix3< Type > &m)
void normalize ()
void normalize (const _Matrix3< Type > &m)
void normalizeCP ()
void normalizeCP (const _Matrix3< Type > &m)
void rotX (Type angle)
void rotY (Type angle)
void rotZ (Type angle)
void set (Type mm00, Type mm01, Type mm02, Type mm10, Type mm11, Type mm12, Type mm20, Type mm21, Type mm22)
void set (Type d)
void set (const _Matrix3< double > &m)
void set (const _Matrix3< float > &m)
void set (const _Quat4< double > &q)
void set (const _Quat4< float > &q)
void set (const double at[9])
void set (const float at[9])
void setColumn (int column, Type x, Type y, Type z)
void setColumn (int column, const _Vector3< Type > &at)
void setColumn (int column, const Type v[3])
void setElement (int row, int column, Type value)
void setIdentity ()
void setRow (int row, Type x, Type y, Type z)
void setRow (int row, const _Vector3< Type > &v)
void setRow (int row, const Type v[])
void setScale (Type d)
void setZero ()
void sub (const _Matrix3< Type > &m)
void sub (const _Matrix3< Type > &m, const _Matrix3< Type > &m1)
void set (const _Vector3< Type > &v)
void swapRow (int row1, int row2)
void swapColumn (int col1, int col2)
void transform (_Tuple3< Type > &t) const
void transform (const _Tuple3< Type > &t, _Tuple3< Type > &t1) const
void transpose (void)
void transpose (const _Matrix3< Type > &m)
 operator const Type * () const
Type & operator() (int row, int column) const
template<>
const double EPS
template<>
const double ERR_EPS
template<>
const float EPS
template<>
const float ERR_EPS

Static Public Member Functions

static void compute_svd (double ad[], double ad1[], double ad2[], bool flag)
static Type determinant2x2 (Type a, Type b, Type c, Type d)
static Type determinant3x3 (Type a1, Type a2, Type a3, Type b1, Type b2, Type b3, Type c1, Type c2, Type c3)

Public Attributes

Type m00
Type m01
Type m02
Type m10
Type m11
Type m12
Type m20
Type m21
Type m22

Static Public Attributes

static const Type EPS
static const Type ERR_EPS

Private Member Functions

void setAxisAngle (Type x, Type y, Type z, Type angle)
void setQuat (Type x, Type y, Type z, Type w)


Detailed Description

template<class Type>
class _Matrix3< Type >

Definition at line 30 of file _Matrix3.h.


Constructor & Destructor Documentation

template<class Type>
_Matrix3< Type >::_Matrix3  )  [inline]
 

template<class Type>
_Matrix3< Type >::_Matrix3 Type  s  )  [inline]
 

template<class Type>
_Matrix3< Type >::_Matrix3 Type  m00,
Type  m01 = 0,
Type  m02 = 0,
Type  m10 = 0,
Type  m11 = 0,
Type  m12 = 0,
Type  m20 = 0,
Type  m21 = 0,
Type  m22 = 0
[inline, explicit]
 

template<class Type>
_Matrix3< Type >::_Matrix3 const _Matrix3< double > &  m  )  [inline]
 

template<class Type>
_Matrix3< Type >::_Matrix3 const _Matrix3< float > &  m  )  [inline]
 

template<class Type>
_Matrix3< Type >::_Matrix3 const Type  v[9]  )  [inline]
 


Member Function Documentation

template<class Type>
void _Matrix3< Type >::add const _Matrix3< Type > &  m,
const _Matrix3< Type > &  m1
 

Definition at line 46 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::add const _Matrix3< Type > &  m  ) 
 

Definition at line 32 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::add Type  d,
const _Matrix3< Type > &  m
 

Definition at line 24 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::add Type  d  ) 
 

Definition at line 10 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
static void _Matrix3< Type >::compute_svd double  ad[],
double  ad1[],
double  ad2[],
bool  flag
[static]
 

Referenced by _Matrix4< Type >::getScaleRotate(), _Matrix3< Type >::mulNormalize(), and _Matrix3< Type >::normalize().

template<class Type>
Type _Matrix3< Type >::determinant void   )  const [inline]
 

Definition at line 92 of file _Matrix3.h.

Referenced by _Matrix3< Type >::invert().

template<class Type>
static Type _Matrix3< Type >::determinant2x2 Type  a,
Type  b,
Type  c,
Type  d
[inline, static]
 

Definition at line 461 of file _Matrix3.h.

template<class Type>
static Type _Matrix3< Type >::determinant3x3 Type  a1,
Type  a2,
Type  a3,
Type  b1,
Type  b2,
Type  b3,
Type  c1,
Type  c2,
Type  c3
[inline, static]
 

Definition at line 465 of file _Matrix3.h.

Referenced by _Matrix4< Type >::adjoint(), _Matrix4< Type >::determinant(), and _Matrix4< Type >::determinant3x3().

template<>
const float _Matrix3< float >::EPS  ) 
 

Definition at line 6 of file _Matrix3.cc.

template<>
const double _Matrix3< double >::EPS  ) 
 

Definition at line 4 of file _Matrix3.cc.

template<class Type>
bool _Matrix3< Type >::epsilonEquals const _Matrix3< Type > &  m,
Type  d
const
 

Definition at line 73 of file _Matrix3.cc.

References Math::epsilonEquals(), _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
bool _Matrix3< Type >::equals const _Matrix3< Type > &  m  )  const
 

Definition at line 87 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<>
const float _Matrix3< float >::ERR_EPS  ) 
 

Definition at line 7 of file _Matrix3.cc.

template<>
const double _Matrix3< double >::ERR_EPS  ) 
 

Definition at line 5 of file _Matrix3.cc.

template<class Type>
void _Matrix3< Type >::get double  ad[9]  )  const [inline]
 

Definition at line 116 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::get float  ad[9]  )  const [inline]
 

Definition at line 104 of file _Matrix3.h.

Referenced by _Matrix3< Type >::normalize().

template<class Type>
void _Matrix3< Type >::getColumn int  column,
Type  ad[]
const
 

Definition at line 113 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::getColumn int  column,
_Vector3< Type > &  v
const
 

Definition at line 95 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Tuple3< Type >::set().

template<class Type>
Type _Matrix3< Type >::getElement int  row,
int  column
const
 

Definition at line 137 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::getRow int  row,
Type  ad[3]
const
 

Definition at line 184 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::getRow int  row,
_Vector3< Type > &  v
const
 

Definition at line 166 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Tuple3< Type >::set().

template<class Type>
Type _Matrix3< Type >::getScale  )  const [inline]
 

Definition at line 128 of file _Matrix3.h.

References Math::max3().

template<class Type>
void _Matrix3< Type >::getScaleRotate double  ad[3],
double  ad1[9]
const [inline]
 

Definition at line 135 of file _Matrix3.h.

Referenced by _Matrix3< Type >::normalize().

template<class Type>
void _Matrix3< Type >::invert const _Matrix3< Type > &  m  ) 
 

Definition at line 208 of file _Matrix3.cc.

References _Matrix3< Type >::determinant(), _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::invert  )  [inline]
 

Definition at line 142 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::mul const _Matrix3< Type > &  m,
const _Matrix3< Type > &  m1
 

Definition at line 266 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::mul const _Matrix3< Type > &  m  )  [inline]
 

Definition at line 151 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::mul Type  d,
const _Matrix3< Type > &  m
 

Definition at line 257 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::mul Type  d  ) 
 

Definition at line 243 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::mulNormalize const _Matrix3< Type > &  m,
const _Matrix3< Type > &  m1
 

Definition at line 295 of file _Matrix3.cc.

References _Matrix3< Type >::compute_svd(), _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::mulNormalize const _Matrix3< Type > &  m  )  [inline]
 

Definition at line 157 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::mulTransposeBoth const _Matrix3< Type >  m,
const _Matrix3< Type > &  m1
 

Definition at line 314 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::mulTransposeLeft const _Matrix3< Type > &  m,
const _Matrix3< Type > &  m1
 

Definition at line 343 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::mulTransposeRight const _Matrix3< Type > &  m,
const _Matrix3< Type > &  m1
 

Definition at line 372 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::negate const _Matrix3< Type > &  m  ) 
 

Definition at line 401 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::negate  )  [inline]
 

Definition at line 166 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::normalize const _Matrix3< Type > &  m  ) 
 

Definition at line 418 of file _Matrix3.cc.

References _Matrix3< Type >::compute_svd(), _Matrix3< Type >::get(), and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::normalize  ) 
 

Definition at line 409 of file _Matrix3.cc.

References _Matrix3< Type >::getScaleRotate(), and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::normalizeCP const _Matrix3< Type > &  m  ) 
 

Definition at line 429 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::normalizeCP  )  [inline]
 

Definition at line 174 of file _Matrix3.h.

template<class Type>
_Matrix3< Type >::operator const Type *  )  const [inline]
 

Definition at line 449 of file _Matrix3.h.

template<class Type>
Type& _Matrix3< Type >::operator() int  row,
int  column
const [inline]
 

Definition at line 453 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::rotX Type  angle  ) 
 

Definition at line 445 of file _Matrix3.cc.

References _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::rotY Type  angle  ) 
 

Definition at line 456 of file _Matrix3.cc.

References _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::rotZ Type  angle  ) 
 

Definition at line 467 of file _Matrix3.cc.

References _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::set const _Vector3< Type > &  v  )  [inline]
 

Definition at line 373 of file _Matrix3.h.

References _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z.

template<class Type>
void _Matrix3< Type >::set const float  at[9]  )  [inline]
 

Definition at line 250 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::set const double  at[9]  )  [inline]
 

Definition at line 244 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::set const _Quat4< float > &  q  )  [inline]
 

Definition at line 240 of file _Matrix3.h.

References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
void _Matrix3< Type >::set const _Quat4< double > &  q  )  [inline]
 

Definition at line 236 of file _Matrix3.h.

References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
void _Matrix3< Type >::set const _Matrix3< float > &  m  )  [inline]
 

Definition at line 214 of file _Matrix3.h.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::set const _Matrix3< double > &  m  )  [inline]
 

Definition at line 208 of file _Matrix3.h.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::set Type  d  )  [inline]
 

Definition at line 191 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::set Type  mm00,
Type  mm01,
Type  mm02,
Type  mm10,
Type  mm11,
Type  mm12,
Type  mm20,
Type  mm21,
Type  mm22
[inline]
 

Definition at line 183 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix4< Type >::get(), _Matrix4< Type >::getRotationScale(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalize(), _Matrix3< Type >::rotX(), _Matrix3< Type >::rotY(), _Matrix3< Type >::rotZ(), _Matrix3< Type >::setAxisAngle(), _Matrix3< Type >::setQuat(), _Matrix3< Type >::sub(), and _Matrix3< Type >::transpose().

template<class Type>
void _Matrix3< Type >::setAxisAngle Type  x,
Type  y,
Type  z,
Type  angle
[private]
 

Definition at line 478 of file _Matrix3.cc.

References Math::epsilonEquals(), _Matrix3< Type >::set(), and _Matrix3< Type >::setIdentity().

template<class Type>
void _Matrix3< Type >::setColumn int  column,
const Type  v[3]
[inline]
 

Definition at line 300 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::setColumn int  column,
const _Vector3< Type > &  at
[inline]
 

Definition at line 278 of file _Matrix3.h.

References _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z.

template<class Type>
void _Matrix3< Type >::setColumn int  column,
Type  x,
Type  y,
Type  z
[inline]
 

Definition at line 256 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::setElement int  row,
int  column,
Type  value
[inline]
 

Definition at line 322 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::setIdentity  )  [inline]
 

Definition at line 348 of file _Matrix3.h.

Referenced by _Matrix3< Type >::setAxisAngle().

template<class Type>
void _Matrix3< Type >::setQuat Type  x,
Type  y,
Type  z,
Type  w
[private]
 

Definition at line 501 of file _Matrix3.cc.

References _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::setRow int  row,
const Type  v[]
 

template<class Type>
void _Matrix3< Type >::setRow int  row,
const _Vector3< Type > &  v
 

Definition at line 563 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z.

template<class Type>
void _Matrix3< Type >::setRow int  row,
Type  x,
Type  y,
Type  z
 

Definition at line 515 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::setScale Type  d  )  [inline]
 

Definition at line 356 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::setZero  )  [inline]
 

Definition at line 365 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::sub const _Matrix3< Type > &  m,
const _Matrix3< Type > &  m1
 

Definition at line 601 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set().

template<class Type>
void _Matrix3< Type >::sub const _Matrix3< Type > &  m  ) 
 

Definition at line 587 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _Matrix3< Type >::swapColumn int  col1,
int  col2
[inline]
 

Definition at line 406 of file _Matrix3.h.

References Math::swap().

template<class Type>
void _Matrix3< Type >::swapRow int  row1,
int  row2
[inline]
 

Definition at line 380 of file _Matrix3.h.

References Math::swap().

template<class Type>
void _Matrix3< Type >::transform const _Tuple3< Type > &  t,
_Tuple3< Type > &  t1
const
 

Definition at line 609 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z.

template<class Type>
void _Matrix3< Type >::transform _Tuple3< Type > &  t  )  const [inline]
 

Definition at line 435 of file _Matrix3.h.

template<class Type>
void _Matrix3< Type >::transpose const _Matrix3< Type > &  m  ) 
 

Definition at line 618 of file _Matrix3.cc.

References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, _Matrix3< Type >::set(), and _Matrix3< Type >::transpose().

template<class Type>
void _Matrix3< Type >::transpose void   )  [inline]
 

Definition at line 441 of file _Matrix3.h.

References Math::swap().

Referenced by _Matrix3< Type >::transpose().


Member Data Documentation

template<class Type>
const Type _Matrix3< Type >::EPS [static]
 

Definition at line 32 of file _Matrix3.h.

template<class Type>
const Type _Matrix3< Type >::ERR_EPS [static]
 

Definition at line 33 of file _Matrix3.h.

template<class Type>
Type _Matrix3< Type >::m00
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m01
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m02
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m10
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m11
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m12
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m20
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m21
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().

template<class Type>
Type _Matrix3< Type >::m22
 

Definition at line 35 of file _Matrix3.h.

Referenced by _Matrix3< Type >::add(), _Matrix3< Type >::epsilonEquals(), _Matrix3< Type >::equals(), _Matrix3< Type >::getColumn(), _Matrix3< Type >::getElement(), _Matrix3< Type >::getRow(), _Matrix3< Type >::invert(), _Matrix3< Type >::mul(), _Matrix3< Type >::mulNormalize(), _Matrix3< Type >::mulTransposeBoth(), _Matrix3< Type >::mulTransposeLeft(), _Matrix3< Type >::mulTransposeRight(), _Matrix3< Type >::negate(), _Matrix3< Type >::normalizeCP(), _Matrix4< Type >::set(), _Matrix3< Type >::set(), _AxisAngle4< Type >::set(), _Matrix4< Type >::setRotation(), _Matrix4< Type >::setRotationScale(), _Matrix3< Type >::setRow(), _Matrix3< Type >::sub(), _Matrix3< Type >::transform(), and _Matrix3< Type >::transpose().


The documentation for this class was generated from the following files:
Generated on Thu Sep 29 13:39:45 2005 for vecmath by  doxygen 1.4.4