LUVis::Matrix Class Reference

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix (void)
 Matrix (float _m_0, float _m_1, float _m_2, float _m_3, float _m_4, float _m_5, float _m_6, float _m_7, float _m_8, float _m_9, float _m_10, float _m_11, float _m_12, float _m_13, float _m_14, float _m_15)
 Matrix (Matrix^other)
 ~Matrix (void)
Matrix operator * (Matrix^other)
void operator *= (Matrix^other)
Matrix operator= (Matrix^other)
void setIdentity ()
 loads the Identity Matrix
Matrix setTranslate (Vector^vecTrans)
float * GetPtrToMatrix ()
void Debug ()
 prints Matix to Console
Matrix setRotateX (float falpha)
Matrix setRotateY (float falpha)
Matrix RotateX (float falpha)
Matrix RotateY (float falpha)
Matrix Rotate (Vector^vecAngle)
Matrix Rotate (float _x, float _y)
Matrix setScale (float fsx, float fsy, float fsz, Vector^vecFixPnt)
Matrix setScale (float fs, Vector^vecFixPnt)
Matrix Scale (float fsx, float fsy, float fsz, Vector^vecFixPnt)
Matrix Scale (float fs, Vector^vecFixPnt)
Matrix setScale (float fsx, float fsy, float fsz)
Matrix setScale (float fs)

Private Attributes

array< float, 2 > m_44
 array where the data is stored


Detailed Description

Matrix Class. Class to handle Matrices.


Constructor & Destructor Documentation

Matrix::Matrix ( void   ) 

Matrix::Matrix ( float  _m_0,
float  _m_1,
float  _m_2,
float  _m_3,
float  _m_4,
float  _m_5,
float  _m_6,
float  _m_7,
float  _m_8,
float  _m_9,
float  _m_10,
float  _m_11,
float  _m_12,
float  _m_13,
float  _m_14,
float  _m_15 
)

Matrix::Matrix ( Matrix other  ) 

Matrix::~Matrix ( void   ) 


Member Function Documentation

void Matrix::Debug (  ) 

prints Matix to Console

float * Matrix::GetPtrToMatrix (  ) 

returns a float* of the Matrix

Returns:
float*

Matrix Matrix::operator * ( Matrix other  ) 

* operator

Parameters:
other Matrix to multiply

void Matrix::operator *= ( Matrix other  ) 

*= operator

Parameters:
other Matrix to multiply

Matrix Matrix::operator= ( Matrix other  ) 

= operator

Parameters:
other Matrix to override

Matrix Matrix::Rotate ( float  _x,
float  _y 
)

rotates the Matrix around the X and Y axis

Parameters:
_x rotationangle for X axis
_y rotationangle for Y axis
Returns:
Matrix

Matrix Matrix::Rotate ( Vector vecAngle  ) 

rotates the Matrix around the vector vecangle

Parameters:
falpha rotationangle
Returns:
Matrix

Matrix Matrix::RotateX ( float  falpha  ) 

sets the rotation matrix around the Y axis with a spec angle falpha

Parameters:
falpha rotationangle
Returns:
Matrix

Matrix Matrix::RotateY ( float  falpha  ) 

rotates the Matrix around the Y axis with a spec angle falpha

Parameters:
falpha rotationangle
Returns:
Matrix

Matrix Matrix::Scale ( float  fs,
Vector vecFixPnt 
)

scales the Matrix

Parameters:
fs uniform scale factor for X Y & Z axis
vecFixPnt for scaling
Returns:
Matrix

Matrix Matrix::Scale ( float  fsx,
float  fsy,
float  fsz,
Vector vecFixPnt 
)

scales the Matrix

Parameters:
fsx scale factor for X axis
fsx scale factor for Y axis
fsz scale factor for z axis
vecFixPnt for scaling
Returns:
Matrix

void Matrix::setIdentity (  ) 

loads the Identity Matrix

Matrix Matrix::setRotateX ( float  falpha  ) 

sets the rotation matrix around the X axis with a spec angle falpha

Parameters:
falpha rotationangle
Returns:
Matrix

Matrix Matrix::setRotateY ( float  falpha  ) 

rotates the Matrix around the X axis with a spec angle falpha

Parameters:
falpha rotationangle
Returns:
Matrix

Matrix Matrix::setScale ( float  fs  ) 

sets the scale-Matrix

Parameters:
fs uniform scale factor for X Y & Z axis
Returns:
Matrix

Matrix Matrix::setScale ( float  fsx,
float  fsy,
float  fsz 
)

sets the scalematrix

Parameters:
fsx scale factor for X axis
fsx scale factor for Y axis
fsz scale factor for z axis
Returns:
Matrix

Matrix Matrix::setScale ( float  fs,
Vector vecFixPnt 
)

sets the scalematrix

Parameters:
fs uniform scale factor for X Y & Z axis
vecFixPnt for scaling
Returns:
Matrix

Matrix Matrix::setScale ( float  fsx,
float  fsy,
float  fsz,
Vector vecFixPnt 
)

sets the scalematrix

Parameters:
fsx scale factor for X axis
fsx scale factor for Y axis
fsz scale factor for z axis
vecFixPnt for scaling
Returns:
Matrix

Matrix Matrix::setTranslate ( Vector vecTrans  ) 

Translates the Matrix with an spec Vector

Parameters:
vecTrans 3d Vector to translate


Member Data Documentation

array<float,2> LUVis::Matrix::m_44 [private]

array where the data is stored


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 16:23:54 2007 by  doxygen 1.4.7