Matrix3D< T > Class Template Reference

#include <rimPhysicsMatrix3D.h>

List of all members.

Public Member Functions

 Matrix3D ()
 Matrix3D (const Vector3D< T > &column1, const Vector3D< T > &column2, const Vector3D< T > &column3)
 Matrix3D (T a, T b, T c, T d, T e, T f, T g, T h, T i)
 Matrix3D (T *array)
 Matrix3D (const Matrix3D< T > &matrix)
const T * toArrayColumnMajorShallow () const
T * toArrayColumnMajor () const
T * toArrayRowMajor () const
get (int columnIndex, int rowIndex) const
const Vector3D< T > & getColumn (int columnIndex) const
Vector3D< T > getRow (int row) const
void set (int columnIndex, int rowIndex, T value) const
void setColumn (int columnIndex, const Vector3D< T > &newColumn)
void setRow (int rowIndex, const Vector3D< T > &newRow)
Vector3D< T > getDiagonal () const
getDeterminant () const
Matrix3D< T > invert () const
Matrix3D< T > orthonormalize () const
Matrix3D< T > transpose () const
Matrix3D< T > operator- () const
Matrix3D< T > operator+ () const
Matrix3D< T > operator+ (const Matrix3D< T > &matrix) const
Matrix3D< T > operator+ (const T &value) const
Matrix3D< T > operator- (const Matrix3D< T > &matrix) const
Matrix3D< T > operator- (const T &value) const
Matrix3D< T > operator * (const Matrix3D< T > &matrix) const
Vector3D< T > operator * (const Vector3D< T > &vector) const
Matrix3D< T > operator * (const T &value) const
Matrix3D< T > operator/ (const T &value) const
Matrix3D< T > & operator-= (const Matrix3D< T > &matrix)
Matrix3D< T > & operator+= (const Matrix3D< T > &matrix)
Matrix3D< T > & operator+= (const T &value)
Matrix3D< T > & operator-= (const T &value)
Matrix3D< T > & operator *= (const T &value)
Matrix3D< T > & operator/= (const T &value)

Static Public Member Functions

static Matrix3D< T > rotationX (T a)
static Matrix3D< T > rotationY (T b)
static Matrix3D< T > rotationZ (T c)
static Matrix3D< T > rotationXDegrees (T a)
static Matrix3D< T > rotationYDegrees (T b)
static Matrix3D< T > rotationZDegrees (T c)

Public Attributes

Vector3D< T > x
Vector3D< T > y
Vector3D< T > z

Static Public Attributes

static const Matrix3D< T > ZERO
static const Matrix3D< T > INDENTITY

template<typename T>
class Matrix3D< T >


Constructor & Destructor Documentation

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

template<typename T>
Matrix3D< T >::Matrix3D ( const Vector3D< T > &  column1,
const Vector3D< T > &  column2,
const Vector3D< T > &  column3 
) [inline]

template<typename T>
Matrix3D< T >::Matrix3D ( a,
b,
c,
d,
e,
f,
g,
h,
i 
) [inline]

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

template<typename T>
Matrix3D< T >::Matrix3D ( const Matrix3D< T > &  matrix  )  [inline]


Member Function Documentation

template<typename T>
static Matrix3D<T> Matrix3D< T >::rotationX ( a  )  [inline, static]

template<typename T>
static Matrix3D<T> Matrix3D< T >::rotationY ( b  )  [inline, static]

template<typename T>
static Matrix3D<T> Matrix3D< T >::rotationZ ( c  )  [inline, static]

template<typename T>
static Matrix3D<T> Matrix3D< T >::rotationXDegrees ( a  )  [inline, static]

template<typename T>
static Matrix3D<T> Matrix3D< T >::rotationYDegrees ( b  )  [inline, static]

template<typename T>
static Matrix3D<T> Matrix3D< T >::rotationZDegrees ( c  )  [inline, static]

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

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

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

template<typename T>
T Matrix3D< T >::get ( int  columnIndex,
int  rowIndex 
) const [inline]

template<typename T>
const Vector3D<T>& Matrix3D< T >::getColumn ( int  columnIndex  )  const [inline]

template<typename T>
Vector3D<T> Matrix3D< T >::getRow ( int  row  )  const [inline]

template<typename T>
void Matrix3D< T >::set ( int  columnIndex,
int  rowIndex,
value 
) const [inline]

template<typename T>
void Matrix3D< T >::setColumn ( int  columnIndex,
const Vector3D< T > &  newColumn 
) [inline]

template<typename T>
void Matrix3D< T >::setRow ( int  rowIndex,
const Vector3D< T > &  newRow 
) [inline]

template<typename T>
Vector3D<T> Matrix3D< T >::getDiagonal (  )  const [inline]

template<typename T>
T Matrix3D< T >::getDeterminant (  )  const [inline]

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

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

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

template<typename T>
Matrix3D<T> Matrix3D< T >::operator- (  )  const [inline]

template<typename T>
Matrix3D<T> Matrix3D< T >::operator+ (  )  const [inline]

template<typename T>
Matrix3D<T> Matrix3D< T >::operator+ ( const Matrix3D< T > &  matrix  )  const [inline]

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

template<typename T>
Matrix3D<T> Matrix3D< T >::operator- ( const Matrix3D< T > &  matrix  )  const [inline]

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

template<typename T>
Matrix3D<T> Matrix3D< T >::operator * ( const Matrix3D< T > &  matrix  )  const [inline]

template<typename T>
Vector3D<T> Matrix3D< T >::operator * ( const Vector3D< T > &  vector  )  const [inline]

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

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

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

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

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

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

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

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


Member Data Documentation

template<typename T>
Vector3D<T> Matrix3D< T >::x

template<typename T>
Vector3D<T> Matrix3D< T >::y

template<typename T>
Vector3D<T> Matrix3D< T >::z

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

template<typename T>
const Matrix3D< T > Matrix3D< 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