MATRIX4X4 Class Reference

#include <MATRIX4X4.h>

List of all members.

Public Member Functions

 MATRIX4X4 ()
 MATRIX4X4 (float e0, float e1, float e2, float e3, float e4, float e5, float e6, float e7, float e8, float e9, float e10, float e11, float e12, float e13, float e14, float e15)
 MATRIX4X4 (const float *rhs)
 MATRIX4X4 (const MATRIX4X4 &rhs)
 ~MATRIX4X4 ()
void SetEntry (int position, float value)
float GetEntry (int position) const
VECTOR4D GetRow (int position) const
VECTOR4D GetColumn (int position) const
void LoadIdentity (void)
void LoadZero (void)
MATRIX4X4 operator+ (const MATRIX4X4 &rhs) const
MATRIX4X4 operator- (const MATRIX4X4 &rhs) const
MATRIX4X4 operator* (const MATRIX4X4 &rhs) const
MATRIX4X4 operator* (const float rhs) const
MATRIX4X4 operator/ (const float rhs) const
bool operator== (const MATRIX4X4 &rhs) const
bool operator!= (const MATRIX4X4 &rhs) const
void operator+= (const MATRIX4X4 &rhs)
void operator-= (const MATRIX4X4 &rhs)
void operator*= (const MATRIX4X4 &rhs)
void operator*= (const float rhs)
void operator/= (const float rhs)
MATRIX4X4 operator- (void) const
MATRIX4X4 operator+ (void) const
VECTOR4D operator* (const VECTOR4D rhs) const
void RotateVector3D (VECTOR3D &rhs) const
void InverseRotateVector3D (VECTOR3D &rhs) const
VECTOR3D GetRotatedVector3D (const VECTOR3D &rhs) const
VECTOR3D GetInverseRotatedVector3D (const VECTOR3D &rhs) const
void TranslateVector3D (VECTOR3D &rhs) const
void InverseTranslateVector3D (VECTOR3D &rhs) const
VECTOR3D GetTranslatedVector3D (const VECTOR3D &rhs) const
VECTOR3D GetInverseTranslatedVector3D (const VECTOR3D &rhs) const
void Invert (void)
MATRIX4X4 GetInverse (void) const
void Transpose (void)
MATRIX4X4 GetTranspose (void) const
void InvertTranspose (void)
MATRIX4X4 GetInverseTranspose (void) const
void AffineInvert (void)
MATRIX4X4 GetAffineInverse (void) const
void AffineInvertTranspose (void)
MATRIX4X4 GetAffineInverseTranspose (void) const
void SetTranslation (const VECTOR3D &translation)
void SetScale (const VECTOR3D &scaleFactor)
void SetUniformScale (const float scaleFactor)
void SetRotationAxis (const double angle, const VECTOR3D &axis)
void SetRotationX (const double angle)
void SetRotationY (const double angle)
void SetRotationZ (const double angle)
void SetRotationEuler (const double angleX, const double angleY, const double angleZ)
void SetPerspective (float left, float right, float bottom, float top, float n, float f)
void SetPerspective (float fovy, float aspect, float n, float f)
void SetOrtho (float left, float right, float bottom, float top, float n, float f)
void SetTranslationPart (const VECTOR3D &translation)
void SetRotationPartEuler (const double angleX, const double angleY, const double angleZ)
void SetRotationPartEuler (const VECTOR3D &rotations)
 operator float * () const
 operator const float * () const

Public Attributes

float entries [16]

Friends

MATRIX4X4 operator* (float scaleFactor, const MATRIX4X4 &rhs)


Constructor & Destructor Documentation

MATRIX4X4::MATRIX4X4 (  )  [inline]

Here is the call graph for this function:

MATRIX4X4::MATRIX4X4 ( float  e0,
float  e1,
float  e2,
float  e3,
float  e4,
float  e5,
float  e6,
float  e7,
float  e8,
float  e9,
float  e10,
float  e11,
float  e12,
float  e13,
float  e14,
float  e15 
)

MATRIX4X4::MATRIX4X4 ( const float *  rhs  ) 

MATRIX4X4::MATRIX4X4 ( const MATRIX4X4 rhs  ) 

MATRIX4X4::~MATRIX4X4 (  )  [inline]


Member Function Documentation

void MATRIX4X4::SetEntry ( int  position,
float  value 
)

float MATRIX4X4::GetEntry ( int  position  )  const

VECTOR4D MATRIX4X4::GetRow ( int  position  )  const

VECTOR4D MATRIX4X4::GetColumn ( int  position  )  const

void MATRIX4X4::LoadIdentity ( void   ) 

void MATRIX4X4::LoadZero ( void   ) 

MATRIX4X4 MATRIX4X4::operator+ ( const MATRIX4X4 rhs  )  const

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::operator- ( const MATRIX4X4 rhs  )  const

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::operator* ( const MATRIX4X4 rhs  )  const

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::operator* ( const float  rhs  )  const

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::operator/ ( const float  rhs  )  const

bool MATRIX4X4::operator== ( const MATRIX4X4 rhs  )  const

bool MATRIX4X4::operator!= ( const MATRIX4X4 rhs  )  const

void MATRIX4X4::operator+= ( const MATRIX4X4 rhs  ) 

void MATRIX4X4::operator-= ( const MATRIX4X4 rhs  ) 

void MATRIX4X4::operator*= ( const MATRIX4X4 rhs  ) 

void MATRIX4X4::operator*= ( const float  rhs  ) 

void MATRIX4X4::operator/= ( const float  rhs  ) 

MATRIX4X4 MATRIX4X4::operator- ( void   )  const

MATRIX4X4 MATRIX4X4::operator+ ( void   )  const [inline]

VECTOR4D MATRIX4X4::operator* ( const VECTOR4D  rhs  )  const

void MATRIX4X4::RotateVector3D ( VECTOR3D rhs  )  const [inline]

Here is the call graph for this function:

void MATRIX4X4::InverseRotateVector3D ( VECTOR3D rhs  )  const [inline]

Here is the call graph for this function:

VECTOR3D MATRIX4X4::GetRotatedVector3D ( const VECTOR3D rhs  )  const

VECTOR3D MATRIX4X4::GetInverseRotatedVector3D ( const VECTOR3D rhs  )  const

void MATRIX4X4::TranslateVector3D ( VECTOR3D rhs  )  const [inline]

Here is the call graph for this function:

void MATRIX4X4::InverseTranslateVector3D ( VECTOR3D rhs  )  const [inline]

Here is the call graph for this function:

VECTOR3D MATRIX4X4::GetTranslatedVector3D ( const VECTOR3D rhs  )  const

VECTOR3D MATRIX4X4::GetInverseTranslatedVector3D ( const VECTOR3D rhs  )  const

void MATRIX4X4::Invert ( void   ) 

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::GetInverse ( void   )  const

Here is the call graph for this function:

void MATRIX4X4::Transpose ( void   ) 

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::GetTranspose ( void   )  const

Here is the call graph for this function:

void MATRIX4X4::InvertTranspose ( void   ) 

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::GetInverseTranspose ( void   )  const

Here is the call graph for this function:

void MATRIX4X4::AffineInvert ( void   ) 

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::GetAffineInverse ( void   )  const

Here is the call graph for this function:

void MATRIX4X4::AffineInvertTranspose ( void   ) 

Here is the call graph for this function:

MATRIX4X4 MATRIX4X4::GetAffineInverseTranspose ( void   )  const

Here is the call graph for this function:

void MATRIX4X4::SetTranslation ( const VECTOR3D translation  ) 

Here is the call graph for this function:

void MATRIX4X4::SetScale ( const VECTOR3D scaleFactor  ) 

Here is the call graph for this function:

void MATRIX4X4::SetUniformScale ( const float  scaleFactor  ) 

Here is the call graph for this function:

void MATRIX4X4::SetRotationAxis ( const double  angle,
const VECTOR3D axis 
)

Here is the call graph for this function:

void MATRIX4X4::SetRotationX ( const double  angle  ) 

Here is the call graph for this function:

void MATRIX4X4::SetRotationY ( const double  angle  ) 

Here is the call graph for this function:

void MATRIX4X4::SetRotationZ ( const double  angle  ) 

Here is the call graph for this function:

void MATRIX4X4::SetRotationEuler ( const double  angleX,
const double  angleY,
const double  angleZ 
)

Here is the call graph for this function:

void MATRIX4X4::SetPerspective ( float  left,
float  right,
float  bottom,
float  top,
float  n,
float  f 
)

Here is the call graph for this function:

void MATRIX4X4::SetPerspective ( float  fovy,
float  aspect,
float  n,
float  f 
)

Here is the call graph for this function:

void MATRIX4X4::SetOrtho ( float  left,
float  right,
float  bottom,
float  top,
float  n,
float  f 
)

Here is the call graph for this function:

void MATRIX4X4::SetTranslationPart ( const VECTOR3D translation  ) 

void MATRIX4X4::SetRotationPartEuler ( const double  angleX,
const double  angleY,
const double  angleZ 
)

void MATRIX4X4::SetRotationPartEuler ( const VECTOR3D rotations  )  [inline]

Here is the call graph for this function:

MATRIX4X4::operator float * (  )  const [inline]

MATRIX4X4::operator const float * (  )  const [inline]


Friends And Related Function Documentation

MATRIX4X4 operator* ( float  scaleFactor,
const MATRIX4X4 rhs 
) [friend]


Member Data Documentation

float MATRIX4X4::entries[16]


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

Generated on Thu Mar 19 19:35:28 2009 for CubicVR by  doxygen 1.5.6