Public Member Functions

Matrix Class Reference

4x4 Matrix class More...

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix (const float &fElement0, const float &fElement4, const float &fElement8, const float &fElement12, const float &fElement1, const float &fElement5, const float &fElement9, const float &fElement13, const float &fElement2, const float &fElement6, const float &fElement10, const float &fElement14, const float &fElement3, const float &fElement7, const float &fElement11, const float &fElement15)
 Matrix (const Vector &vecOne, const Vector &vecTwo, const Vector &vecThree, const Vector &vecFour=Vector(0.0f, 0.0f, 0.0f))
 Matrix (const float *pElements)
 Matrix (const float vfElements[4][4])
 Matrix (const Quaternion &quaRotation)
void Set (const float *pElements)
void clearMatrix ()
const float * Get () const
void CopyToArray (float *array4x4)
void Set (const unsigned int i, const unsigned int j, const float &fValue)
const float & Get (const unsigned int i, const unsigned int j) const
const float & Get (const unsigned int i) const
void SetRow (const unsigned int i, const float vfValues[4])
void SetColumn (const unsigned int i, const float vfValues[4])
void SetRow (const unsigned int i, const Vector &vecVector)
void SetColumn (const unsigned int i, const Vector &vecVector)
float & operator() (const unsigned int i, const unsigned int j)
const float & operator() (const unsigned int i, const unsigned int j) const
void SetTranslation (const Vector &vecTranslation)
const Vector GetTranslation () const
const Quaternion GetRotation () const
const Matrix GetTranslated (const Vector &vecTranslation) const
void translate (const Vector &vecTranslation)
const Matrix GetScaled (const Vector &vecScale) const
void scale (const Vector &vecScale)
const Matrix GetRotated (const Quaternion &quaRotation) const
void rotate (const Quaternion &quaRotation)
const Matrix GetInverse () const
void invert ()
const Matrix GetTransposed () const
void transpose ()
const Vector GetRotated (const Vector &vecOther) const
const bool operator== (const Matrix &matOther) const
const bool operator!= (const Matrix &matOther) const
const Matrix operator* (const Matrix &matOther) const
const Matrixoperator*= (const Matrix &matOther)
const Vector operator* (const Vector &vecOther) const

Detailed Description

4x4 Matrix class

Definition at line 14 of file Matrix.h.


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