Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Matrix Class Reference

#include <Matrix.h>

Collaboration diagram for Matrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Matrix ()
 Matrix (const Matrix &m)
 Matrix (const float v)
 Matrix (const float *v)
 ~Matrix ()
MatrixMakeIdentity (void)
MatrixMakeRotate (Vector &axis, float a)
MatrixMakeRotateX (float a)
MatrixMakeRotateY (float a)
MatrixMakeRotateZ (float a)
MatrixMakeTranslate (float x, float y, float z)
MatrixMakeScale (float x, float y, float z)
MatrixMakeShearXY (float s)
MatrixMakeShearXZ (float s)
MatrixMakeShearYX (float s)
MatrixMakeShearYZ (float s)
MatrixMakeShearZX (float s)
MatrixMakeShearZY (float s)
MatrixMakeReflectX (void)
MatrixMakeReflectY (void)
MatrixMakeReflectZ (void)
MatrixMakePerspective (float d)
MatrixMakePerspectiveKeepZ (float d)
Matrixoperator= (const Matrix &m)
Matrixoperator= (const float &v)
Matrixoperator= (const float *v)
floatoperator[] (unsigned int index)
floatGetData (void)
Matrix operator+ (Matrix &m)
Matrix operator- (Matrix &m)
Matrix operator * (Matrix &m)
Vector operator * (Vector &v)
Matrix operator * (float s)
Matrixoperator+= (Matrix &m)
Matrixoperator-= (Matrix &m)
Matrixoperator *= (const Matrix &m)
Matrixoperator *= (float s)
bool operator== (const Matrix &m) const
bool operator!= (const Matrix &m) const

Private Attributes

float val [16]

Friends

class Vector
Matrix operator * (float s, Matrix &m)

Constructor & Destructor Documentation

Matrix::Matrix  ) 
 

Definition at line 8 of file Matrix.cpp.

References val.

Matrix::Matrix const Matrix m  ) 
 

Definition at line 15 of file Matrix.cpp.

References val.

Matrix::Matrix const float  v  ) 
 

Definition at line 22 of file Matrix.cpp.

References val.

Matrix::Matrix const float v  ) 
 

Definition at line 29 of file Matrix.cpp.

References val.

Matrix::~Matrix  ) 
 

Definition at line 36 of file Matrix.cpp.


Member Function Documentation

float * Matrix::GetData void   ) 
 

Definition at line 238 of file Matrix.cpp.

Matrix & Matrix::MakeIdentity void   ) 
 

Definition at line 41 of file Matrix.cpp.

References val.

Referenced by MakePerspective(), MakePerspectiveKeepZ(), MakeReflectX(), MakeReflectY(), MakeReflectZ(), MakeRotateX(), MakeRotateY(), MakeRotateZ(), MakeScale(), MakeShearXY(), MakeShearXZ(), MakeShearYX(), MakeShearYZ(), MakeShearZX(), MakeShearZY(), and MakeTranslate().

Matrix & Matrix::MakePerspective float  d  ) 
 

Definition at line 187 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakePerspectiveKeepZ float  d  ) 
 

Definition at line 195 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeReflectX void   ) 
 

Definition at line 166 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeReflectY void   ) 
 

Definition at line 173 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeReflectZ void   ) 
 

Definition at line 180 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix& Matrix::MakeRotate Vector axis,
float  a
 

Matrix & Matrix::MakeRotateX float  a  ) 
 

Definition at line 82 of file Matrix.cpp.

References MakeIdentity(), PI_OVER_180, and val.

Here is the call graph for this function:

Matrix & Matrix::MakeRotateY float  a  ) 
 

Definition at line 90 of file Matrix.cpp.

References MakeIdentity(), PI_OVER_180, and val.

Here is the call graph for this function:

Matrix & Matrix::MakeRotateZ float  a  ) 
 

Definition at line 98 of file Matrix.cpp.

References MakeIdentity(), PI_OVER_180, and val.

Here is the call graph for this function:

Matrix & Matrix::MakeScale float  x,
float  y,
float  z
 

Definition at line 115 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeShearXY float  s  ) 
 

Definition at line 124 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeShearXZ float  s  ) 
 

Definition at line 131 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeShearYX float  s  ) 
 

Definition at line 138 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeShearYZ float  s  ) 
 

Definition at line 145 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeShearZX float  s  ) 
 

Definition at line 152 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeShearZY float  s  ) 
 

Definition at line 159 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix & Matrix::MakeTranslate float  x,
float  y,
float  z
 

Definition at line 106 of file Matrix.cpp.

References MakeIdentity(), and val.

Here is the call graph for this function:

Matrix Matrix::operator * float  s  ) 
 

Definition at line 286 of file Matrix.cpp.

References val.

Vector Matrix::operator * Vector v  ) 
 

Matrix Matrix::operator * Matrix m  ) 
 

Definition at line 262 of file Matrix.cpp.

References val.

Matrix & Matrix::operator *= float  s  ) 
 

Definition at line 332 of file Matrix.cpp.

References val.

Matrix & Matrix::operator *= const Matrix m  ) 
 

Definition at line 320 of file Matrix.cpp.

References val.

bool Matrix::operator!= const Matrix m  )  const
 

Definition at line 349 of file Matrix.cpp.

References operator==().

Here is the call graph for this function:

Matrix Matrix::operator+ Matrix m  ) 
 

Definition at line 244 of file Matrix.cpp.

References val.

Matrix & Matrix::operator+= Matrix m  ) 
 

Definition at line 304 of file Matrix.cpp.

References val.

Matrix Matrix::operator- Matrix m  ) 
 

Definition at line 253 of file Matrix.cpp.

References val.

Matrix & Matrix::operator-= Matrix m  ) 
 

Definition at line 312 of file Matrix.cpp.

References val.

Matrix & Matrix::operator= const float v  ) 
 

Definition at line 222 of file Matrix.cpp.

References val.

Matrix & Matrix::operator= const float v  ) 
 

Definition at line 214 of file Matrix.cpp.

References val.

Matrix & Matrix::operator= const Matrix m  ) 
 

Definition at line 203 of file Matrix.cpp.

References val.

Referenced by linalg::Vector::operator=().

bool Matrix::operator== const Matrix m  )  const
 

Definition at line 340 of file Matrix.cpp.

References val.

Referenced by operator!=().

float * Matrix::operator[] unsigned int  index  ) 
 

Definition at line 230 of file Matrix.cpp.

References val.


Friends And Related Function Documentation

Matrix operator * float  s,
Matrix m
[friend]
 

Definition at line 295 of file Matrix.cpp.

friend class Vector [friend]
 

Definition at line 18 of file Matrix.h.


Member Data Documentation

float Matrix::val[16] [private]
 

Definition at line 91 of file Matrix.h.

Referenced by MakeIdentity(), MakePerspective(), MakePerspectiveKeepZ(), MakeReflectX(), MakeReflectY(), MakeReflectZ(), MakeRotateX(), MakeRotateY(), MakeRotateZ(), MakeScale(), MakeShearXY(), MakeShearXZ(), MakeShearYX(), MakeShearYZ(), MakeShearZX(), MakeShearZY(), MakeTranslate(), Matrix(), Vector::operator *(), operator *(), operator *(), Vector::operator *=(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), and operator[]().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:20:57 2004 for vuVolume by  doxygen 1.3.9.1