Wm4::Matrix4< Real > Class Template Reference

#include <Wm4Matrix4.h>

List of all members.

Public Member Functions

Matrix4 Adjoint () const
Real Determinant () const
Vector4< Real > GetColumn (int iCol) const
void GetColumnMajor (Real *afCMajor) const
Vector4< Real > GetRow (int iRow) const
Matrix4 Inverse () const
void MakeIdentity ()
void MakeObliqueProjection (const Vector3< Real > &rkNormal, const Vector3< Real > &rkPoint, const Vector3< Real > &rkDirection)
void MakePerspectiveProjection (const Vector3< Real > &rkNormal, const Vector3< Real > &rkPoint, const Vector3< Real > &rkEye)
void MakeReflection (const Vector3< Real > &rkNormal, const Vector3< Real > &rkPoint)
void MakeZero ()
 Matrix4 (const Real afEntry[16], bool bRowMajor)
 Matrix4 (Real fM00, Real fM01, Real fM02, Real fM03, Real fM10, Real fM11, Real fM12, Real fM13, Real fM20, Real fM21, Real fM22, Real fM23, Real fM30, Real fM31, Real fM32, Real fM33)
 Matrix4 (const Matrix4 &rkM)
 Matrix4 (bool bZero=true)
 operator const Real * () const
 operator Real * ()
bool operator!= (const Matrix4 &rkM) const
Real & operator() (int iRow, int iCol)
Real operator() (int iRow, int iCol) const
Vector4< Real > operator* (const Vector4< Real > &rkV) const
Matrix4 operator* (Real fScalar) const
Matrix4 operator* (const Matrix4 &rkM) const
Matrix4operator*= (Real fScalar)
Matrix4 operator+ (const Matrix4 &rkM) const
Matrix4operator+= (const Matrix4 &rkM)
Matrix4 operator- () const
Matrix4 operator- (const Matrix4 &rkM) const
Matrix4operator-= (const Matrix4 &rkM)
Matrix4 operator/ (Real fScalar) const
Matrix4operator/= (Real fScalar)
bool operator< (const Matrix4 &rkM) const
bool operator<= (const Matrix4 &rkM) const
Matrix4operator= (const Matrix4 &rkM)
bool operator== (const Matrix4 &rkM) const
bool operator> (const Matrix4 &rkM) const
bool operator>= (const Matrix4 &rkM) const
Real * operator[] (int iRow)
const Real * operator[] (int iRow) const
Real QForm (const Vector4< Real > &rkU, const Vector4< Real > &rkV) const
void SetColumn (int iCol, const Vector4< Real > &rkV)
void SetRow (int iRow, const Vector4< Real > &rkV)
Matrix4 TimesTranspose (const Matrix4 &rkM) const
Matrix4 Transpose () const
Matrix4 TransposeTimes (const Matrix4 &rkM) const

Static Public Attributes

static const Matrix4 IDENTITY
static const Matrix4 ZERO

Detailed Description

template<class Real>
class Wm4::Matrix4< Real >

Definition at line 47 of file Wm4Matrix4.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::Matrix4< Real >::Matrix4 ( bool  bZero = true  )  [inline]
template<class Real >
Wm4::Matrix4< Real >::Matrix4 ( const Matrix4< Real > &  rkM  )  [inline]

Definition at line 34 of file Wm4Matrix4.inl.

template<class Real >
Wm4::Matrix4< Real >::Matrix4 ( Real  fM00,
Real  fM01,
Real  fM02,
Real  fM03,
Real  fM10,
Real  fM11,
Real  fM12,
Real  fM13,
Real  fM20,
Real  fM21,
Real  fM22,
Real  fM23,
Real  fM30,
Real  fM31,
Real  fM32,
Real  fM33 
) [inline]

Definition at line 55 of file Wm4Matrix4.inl.

template<class Real >
Wm4::Matrix4< Real >::Matrix4 ( const Real  afEntry[16],
bool  bRowMajor 
) [inline]

Definition at line 78 of file Wm4Matrix4.inl.


Member Function Documentation

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::Adjoint (  )  const [inline]

Definition at line 945 of file Wm4Matrix4.inl.

template<class Real >
Real Wm4::Matrix4< Real >::Determinant (  )  const [inline]

Definition at line 980 of file Wm4Matrix4.inl.

template<class Real >
Vector4< Real > Wm4::Matrix4< Real >::GetColumn ( int  iCol  )  const [inline]

Definition at line 226 of file Wm4Matrix4.inl.

template<class Real >
void Wm4::Matrix4< Real >::GetColumnMajor ( Real *  afCMajor  )  const [inline]

Definition at line 233 of file Wm4Matrix4.inl.

template<class Real >
Vector4< Real > Wm4::Matrix4< Real >::GetRow ( int  iRow  )  const [inline]

Definition at line 209 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::Inverse (  )  const [inline]

Definition at line 868 of file Wm4Matrix4.inl.

template<class Real >
void Wm4::Matrix4< Real >::MakeIdentity (  )  [inline]

Definition at line 178 of file Wm4Matrix4.inl.

Referenced by Wm4::Matrix4< Real >::Matrix4().

template<class Real >
void Wm4::Matrix4< Real >::MakeObliqueProjection ( const Vector3< Real > &  rkNormal,
const Vector3< Real > &  rkPoint,
const Vector3< Real > &  rkDirection 
) [inline]

Definition at line 1006 of file Wm4Matrix4.inl.

References Wm4::Vector3< Real >::Dot().

template<class Real >
void Wm4::Matrix4< Real >::MakePerspectiveProjection ( const Vector3< Real > &  rkNormal,
const Vector3< Real > &  rkPoint,
const Vector3< Real > &  rkEye 
) [inline]

Definition at line 1050 of file Wm4Matrix4.inl.

References Wm4::Vector3< Real >::Dot().

template<class Real >
void Wm4::Matrix4< Real >::MakeReflection ( const Vector3< Real > &  rkNormal,
const Vector3< Real > &  rkPoint 
) [inline]

Definition at line 1085 of file Wm4Matrix4.inl.

References Wm4::Vector3< Real >::Dot().

template<class Real >
void Wm4::Matrix4< Real >::MakeZero (  )  [inline]

Definition at line 157 of file Wm4Matrix4.inl.

Referenced by Wm4::Matrix4< Real >::Matrix4().

template<class Real >
Wm4::Matrix4< Real >::operator const Real * (  )  const [inline]

Definition at line 121 of file Wm4Matrix4.inl.

template<class Real >
Wm4::Matrix4< Real >::operator Real * (  )  [inline]

Definition at line 127 of file Wm4Matrix4.inl.

template<class Real >
bool Wm4::Matrix4< Real >::operator!= ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 288 of file Wm4Matrix4.inl.

template<class Real >
Real & Wm4::Matrix4< Real >::operator() ( int  iRow,
int  iCol 
) [inline]

Definition at line 151 of file Wm4Matrix4.inl.

template<class Real >
Real Wm4::Matrix4< Real >::operator() ( int  iRow,
int  iCol 
) const [inline]

Definition at line 145 of file Wm4Matrix4.inl.

template<class Real >
Vector4< Real > Wm4::Matrix4< Real >::operator* ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 649 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::operator* ( Real  fScalar  )  const [inline]

Definition at line 447 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::operator* ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 362 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > & Wm4::Matrix4< Real >::operator*= ( Real  fScalar  )  [inline]

Definition at line 579 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::operator+ ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 318 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > & Wm4::Matrix4< Real >::operator+= ( const Matrix4< Real > &  rkM  )  [inline]

Definition at line 535 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::operator- ( void   )  const [inline]

Definition at line 513 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::operator- ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 340 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > & Wm4::Matrix4< Real >::operator-= ( const Matrix4< Real > &  rkM  )  [inline]

Definition at line 557 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::operator/ ( Real  fScalar  )  const [inline]

Definition at line 469 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > & Wm4::Matrix4< Real >::operator/= ( Real  fScalar  )  [inline]

Definition at line 601 of file Wm4Matrix4.inl.

template<class Real >
bool Wm4::Matrix4< Real >::operator< ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 294 of file Wm4Matrix4.inl.

template<class Real >
bool Wm4::Matrix4< Real >::operator<= ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 300 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > & Wm4::Matrix4< Real >::operator= ( const Matrix4< Real > &  rkM  )  [inline]

Definition at line 254 of file Wm4Matrix4.inl.

template<class Real >
bool Wm4::Matrix4< Real >::operator== ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 282 of file Wm4Matrix4.inl.

template<class Real >
bool Wm4::Matrix4< Real >::operator> ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 306 of file Wm4Matrix4.inl.

template<class Real >
bool Wm4::Matrix4< Real >::operator>= ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 312 of file Wm4Matrix4.inl.

template<class Real >
Real * Wm4::Matrix4< Real >::operator[] ( int  iRow  )  [inline]

Definition at line 139 of file Wm4Matrix4.inl.

template<class Real >
const Real * Wm4::Matrix4< Real >::operator[] ( int  iRow  )  const [inline]

Definition at line 133 of file Wm4Matrix4.inl.

template<class Real >
Real Wm4::Matrix4< Real >::QForm ( const Vector4< Real > &  rkU,
const Vector4< Real > &  rkV 
) const [inline]

Definition at line 999 of file Wm4Matrix4.inl.

References Wm4::Vector4< Real >::Dot().

template<class Real >
void Wm4::Matrix4< Real >::SetColumn ( int  iCol,
const Vector4< Real > &  rkV 
) [inline]

Definition at line 217 of file Wm4Matrix4.inl.

template<class Real >
void Wm4::Matrix4< Real >::SetRow ( int  iRow,
const Vector4< Real > &  rkV 
) [inline]

Definition at line 199 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::TimesTranspose ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 782 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::Transpose (  )  const [inline]

Definition at line 674 of file Wm4Matrix4.inl.

template<class Real >
Matrix4< Real > Wm4::Matrix4< Real >::TransposeTimes ( const Matrix4< Real > &  rkM  )  const [inline]

Definition at line 696 of file Wm4Matrix4.inl.


Member Data Documentation

template<class Real>
const Matrix4 Wm4::Matrix4< Real >::IDENTITY [static]

Definition at line 137 of file Wm4Matrix4.h.

template<class Real>
const Matrix4 Wm4::Matrix4< Real >::ZERO [static]

Definition at line 136 of file Wm4Matrix4.h.


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

Generated on Wed Nov 23 19:02:50 2011 for FreeCAD by  doxygen 1.6.1