Matrix4D< T > Class Template Reference

#include <rimPhysicsMatrix4D.h>

List of all members.

Public Member Functions

 Matrix4D ()
 Matrix4D (const Vector4D< T > &col1, const Vector4D< T > &col2, const Vector4D< T > &col3, const Vector4D< T > &col4)
 Matrix4D (T a, T b, T c, T d, T e, T f, T g, T h, T i, T j, T k, T l, T m, T n, T o, T p)
 Matrix4D (T *array)
const T * toArrayColumnMajorShallow () const
T * toArrayColumnMajor () const
T * toArrayRowMajor () const
const Vector4D< T > & getColumn (int column) const
void loadIdentity ()
void zero ()
determinant () const
Matrix4D< T > invert () const
Matrix4D< T > orthonormalize () const
Matrix4D< T > transpose () const
Vector4D< T > getDiagonal () const
Matrix4D< T > & operator-= (const Matrix4D< T > &matrix2)
Matrix4D< T > & operator+= (const Matrix4D< T > &matrix2)
Matrix4D< T > & operator+= (const T &value)
Matrix4D< T > & operator-= (const T &value)
Matrix4D< T > & operator *= (const T &value)
Matrix4D< T > & operator/= (const T &value)

Public Attributes

Vector4D< T > x
Vector4D< T > y
Vector4D< T > z
Vector4D< T > w

Static Public Attributes

static const Matrix4D< T > ZERO
static const Matrix4D< T > INDENTITY

template<typename T>
class Matrix4D< T >


Constructor & Destructor Documentation

template<typename T>
Matrix4D< T >::Matrix4D (  )  [inline]

template<typename T>
Matrix4D< T >::Matrix4D ( const Vector4D< T > &  col1,
const Vector4D< T > &  col2,
const Vector4D< T > &  col3,
const Vector4D< T > &  col4 
) [inline]

template<typename T>
Matrix4D< T >::Matrix4D ( a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p 
) [inline]

template<typename T>
Matrix4D< T >::Matrix4D ( T *  array  )  [inline]


Member Function Documentation

template<typename T>
const T* Matrix4D< T >::toArrayColumnMajorShallow (  )  const [inline]

template<typename T>
T* Matrix4D< T >::toArrayColumnMajor (  )  const [inline]

template<typename T>
T* Matrix4D< T >::toArrayRowMajor (  )  const [inline]

template<typename T>
const Vector4D<T>& Matrix4D< T >::getColumn ( int  column  )  const [inline]

template<typename T>
void Matrix4D< T >::loadIdentity (  )  [inline]

template<typename T>
void Matrix4D< T >::zero (  )  [inline]

template<typename T>
T Matrix4D< T >::determinant (  )  const [inline]

template<typename T>
Matrix4D<T> Matrix4D< T >::invert (  )  const [inline]

template<typename T>
Matrix4D<T> Matrix4D< T >::orthonormalize (  )  const [inline]

template<typename T>
Matrix4D<T> Matrix4D< T >::transpose (  )  const [inline]

template<typename T>
Vector4D<T> Matrix4D< T >::getDiagonal (  )  const [inline]

template<typename T>
Matrix4D<T>& Matrix4D< T >::operator-= ( const Matrix4D< T > &  matrix2  )  [inline]

template<typename T>
Matrix4D<T>& Matrix4D< T >::operator+= ( const Matrix4D< T > &  matrix2  )  [inline]

template<typename T>
Matrix4D<T>& Matrix4D< T >::operator+= ( const T &  value  )  [inline]

template<typename T>
Matrix4D<T>& Matrix4D< T >::operator-= ( const T &  value  )  [inline]

template<typename T>
Matrix4D<T>& Matrix4D< T >::operator *= ( const T &  value  )  [inline]

template<typename T>
Matrix4D<T>& Matrix4D< T >::operator/= ( const T &  value  )  [inline]


Member Data Documentation

template<typename T>
Vector4D<T> Matrix4D< T >::x

template<typename T>
Vector4D<T> Matrix4D< T >::y

template<typename T>
Vector4D<T> Matrix4D< T >::z

template<typename T>
Vector4D<T> Matrix4D< T >::w

template<typename T>
const Matrix4D< T > Matrix4D< T >::ZERO [inline, static]

template<typename T>
const Matrix4D< T > Matrix4D< T >::INDENTITY [inline, static]


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:20 2008 for Rim Physics by  doxygen 1.5.4