Matrix Class Reference

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix (int h, int w)
 ~Matrix ()
void multiply (Matrix &mIn, Matrix &mOut)
void multiply1_4by4_4 (Matrix &mIn, Matrix &mOut)
void multiply4_4by4_4 (Matrix &mIn, Matrix &mOut)
void multiply (float val)
void add (Matrix &mIn)
void add (Matrix &mIn, int k)
void set (Matrix &mIn)
void set (float *mat)
float * get ()
void loadIdentity (void)
void set (int i, int j, float val)
float get (int i, int j)
int WIDTH ()
int HEIGHT ()

Private Attributes

int width
int height
float * mData


Constructor & Destructor Documentation

Matrix::Matrix ( int  h,
int  w 
)

Matrix::~Matrix (  ) 


Member Function Documentation

void Matrix::multiply ( Matrix mIn,
Matrix mOut 
)

Here is the call graph for this function:

void Matrix::multiply1_4by4_4 ( Matrix mIn,
Matrix mOut 
)

void Matrix::multiply4_4by4_4 ( Matrix mIn,
Matrix mOut 
)

void Matrix::multiply ( float  val  ) 

void Matrix::add ( Matrix mIn  ) 

Here is the call graph for this function:

void Matrix::add ( Matrix mIn,
int  k 
)

Here is the call graph for this function:

void Matrix::set ( Matrix mIn  ) 

Here is the call graph for this function:

void Matrix::set ( float *  mat  ) 

float* Matrix::get (  )  [inline]

void Matrix::loadIdentity ( void   ) 

void Matrix::set ( int  i,
int  j,
float  val 
) [inline]

float Matrix::get ( int  i,
int  j 
) [inline]

int Matrix::WIDTH (  )  [inline]

int Matrix::HEIGHT (  )  [inline]


Member Data Documentation

int Matrix::width [private]

int Matrix::height [private]

float* Matrix::mData [private]


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

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