Maratis Engine
Public Member Functions | Public Attributes | Friends

MMatrix4x4 Class Reference

#include <MMatrix4x4.h>

List of all members.

Public Member Functions

 MMatrix4x4 (void)
 MMatrix4x4 (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)
 MMatrix4x4 (const float *value)
 MMatrix4x4 (const MMatrix4x4 &mat)
 ~MMatrix4x4 (void)
MMatrix4x4 operator+ (const MMatrix4x4 &mat) const
MMatrix4x4 operator- (const MMatrix4x4 &mat) const
MMatrix4x4 operator* (const MMatrix4x4 &mat) const
MMatrix4x4 operator* (const float value) const
MMatrix4x4 operator/ (const float value) const
void operator+= (const MMatrix4x4 &mat)
void operator-= (const MMatrix4x4 &mat)
void operator*= (const MMatrix4x4 &mat)
void operator*= (const float value)
void operator/= (const float value)
bool operator== (const MMatrix4x4 &mat) const
bool operator!= (const MMatrix4x4 &mat) const
MMatrix4x4 operator- (void) const
MMatrix4x4 operator+ (void) const
MVector4 operator* (const MVector4 mat) const
MVector3 operator* (const MVector3 mat) const
float & operator() (int col, int row)
 operator float * () const
 operator const float * () const
void loadIdentity (void)
void loadZero (void)
void invert (void)
void transpose (void)
void affineInvert (void)
void invertTranspose (void)
void affineInvertTranspose (void)
void scale (const MVector3 &scaleFactor)
void rotate (const MVector3 &axis, const float angle)
void translate (const MVector3 translate)
void setEntry (int position, float value)
void setScale (const MVector3 &scaleFactor)
void setUniformScale (const float size)
void setTranslation (const MVector3 &translation)
void setTranslationPart (const MVector3 &translation)
void setRotationAxis (const float angle, const MVector3 &axis)
void setRotationX (const float angle)
void setRotationY (const float angle)
void setRotationZ (const float angle)
void setRotationEuler (const float angleX, const float angleY, const float angleZ)
void setRotationPartEuler (const float angleX, const float angleY, const float angleZ)
void setRotationPartEuler (const MVector3 &rotations)
float getEntry (int position) const
MVector3 getRotatedVector3 (const MVector3 &vec) const
MVector3 getInverseRotatedVector3 (const MVector3 &vec) const
MVector3 getTranslatedVector3 (const MVector3 &vec) const
MVector3 getInversetranslatedVector3 (const MVector3 &vec) const
MVector3 getTranslationPart (void)
MVector3 getEulerAngles (void) const
MVector4 getRow (int position) const
MVector4 getColumn (int position) const
MMatrix4x4 getInverse (void) const
MMatrix4x4 getTranspose (void) const
MMatrix4x4 getInversetranspose (void) const
MMatrix4x4 getAffineInverse (void) const
MMatrix4x4 getAffineInverseTranspose (void) const
void rotateVector3 (MVector3 &vec) const
void inverseRotateVector3 (MVector3 &vec) const
void translateVector3 (MVector3 &vec) const
void inversetranslateVector3 (MVector3 &vec) const

Public Attributes

float entries [16]

Friends

MMatrix4x4 operator* (float factor, const MMatrix4x4 &mat)

Constructor & Destructor Documentation

MMatrix4x4::MMatrix4x4 ( void  ) [inline]
MMatrix4x4::MMatrix4x4 ( 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 
)
MMatrix4x4::MMatrix4x4 ( const float *  value)
MMatrix4x4::MMatrix4x4 ( const MMatrix4x4 mat)
MMatrix4x4::~MMatrix4x4 ( void  ) [inline]

Member Function Documentation

void MMatrix4x4::affineInvert ( void  )
void MMatrix4x4::affineInvertTranspose ( void  )
MMatrix4x4 MMatrix4x4::getAffineInverse ( void  ) const
MMatrix4x4 MMatrix4x4::getAffineInverseTranspose ( void  ) const
MVector4 MMatrix4x4::getColumn ( int  position) const
float MMatrix4x4::getEntry ( int  position) const
MVector3 MMatrix4x4::getEulerAngles ( void  ) const
MMatrix4x4 MMatrix4x4::getInverse ( void  ) const
MVector3 MMatrix4x4::getInverseRotatedVector3 ( const MVector3 vec) const
MVector3 MMatrix4x4::getInversetranslatedVector3 ( const MVector3 vec) const
MMatrix4x4 MMatrix4x4::getInversetranspose ( void  ) const
MVector3 MMatrix4x4::getRotatedVector3 ( const MVector3 vec) const
MVector4 MMatrix4x4::getRow ( int  position) const
MVector3 MMatrix4x4::getTranslatedVector3 ( const MVector3 vec) const
MVector3 MMatrix4x4::getTranslationPart ( void  ) [inline]
MMatrix4x4 MMatrix4x4::getTranspose ( void  ) const
void MMatrix4x4::inverseRotateVector3 ( MVector3 vec) const [inline]
void MMatrix4x4::inversetranslateVector3 ( MVector3 vec) const [inline]
void MMatrix4x4::invert ( void  )
void MMatrix4x4::invertTranspose ( void  )
void MMatrix4x4::loadIdentity ( void  )
void MMatrix4x4::loadZero ( void  )
MMatrix4x4::operator const float * ( ) const [inline]
MMatrix4x4::operator float * ( ) const [inline]
bool MMatrix4x4::operator!= ( const MMatrix4x4 mat) const
float& MMatrix4x4::operator() ( int  col,
int  row 
) [inline]
MVector3 MMatrix4x4::operator* ( const MVector3  mat) const
MMatrix4x4 MMatrix4x4::operator* ( const float  value) const
MMatrix4x4 MMatrix4x4::operator* ( const MMatrix4x4 mat) const
MVector4 MMatrix4x4::operator* ( const MVector4  mat) const
void MMatrix4x4::operator*= ( const MMatrix4x4 mat)
void MMatrix4x4::operator*= ( const float  value)
MMatrix4x4 MMatrix4x4::operator+ ( const MMatrix4x4 mat) const
MMatrix4x4 MMatrix4x4::operator+ ( void  ) const [inline]
void MMatrix4x4::operator+= ( const MMatrix4x4 mat)
MMatrix4x4 MMatrix4x4::operator- ( const MMatrix4x4 mat) const
MMatrix4x4 MMatrix4x4::operator- ( void  ) const
void MMatrix4x4::operator-= ( const MMatrix4x4 mat)
MMatrix4x4 MMatrix4x4::operator/ ( const float  value) const
void MMatrix4x4::operator/= ( const float  value)
bool MMatrix4x4::operator== ( const MMatrix4x4 mat) const
void MMatrix4x4::rotate ( const MVector3 axis,
const float  angle 
)
void MMatrix4x4::rotateVector3 ( MVector3 vec) const [inline]
void MMatrix4x4::scale ( const MVector3 scaleFactor)
void MMatrix4x4::setEntry ( int  position,
float  value 
)
void MMatrix4x4::setRotationAxis ( const float  angle,
const MVector3 axis 
)
void MMatrix4x4::setRotationEuler ( const float  angleX,
const float  angleY,
const float  angleZ 
)
void MMatrix4x4::setRotationPartEuler ( const float  angleX,
const float  angleY,
const float  angleZ 
)
void MMatrix4x4::setRotationPartEuler ( const MVector3 rotations) [inline]
void MMatrix4x4::setRotationX ( const float  angle)
void MMatrix4x4::setRotationY ( const float  angle)
void MMatrix4x4::setRotationZ ( const float  angle)
void MMatrix4x4::setScale ( const MVector3 scaleFactor)
void MMatrix4x4::setTranslation ( const MVector3 translation)
void MMatrix4x4::setTranslationPart ( const MVector3 translation)
void MMatrix4x4::setUniformScale ( const float  size)
void MMatrix4x4::translate ( const MVector3  translate)
void MMatrix4x4::translateVector3 ( MVector3 vec) const [inline]
void MMatrix4x4::transpose ( void  )

Friends And Related Function Documentation

MMatrix4x4 operator* ( float  factor,
const MMatrix4x4 mat 
) [friend]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines