math::Matrix Class Reference

The Matrix Class. More...

#include <Matrix.h>

Inheritance diagram for math::Matrix:

Inheritance graph
[legend]
Collaboration diagram for math::Matrix:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Matrix ()
 Matrix (const Matrix &in)
 ~Matrix ()
void reset ()
void loadIdentity ()
void setRotation (float32 ang, const Vector3f &dir)
void rotate (float32 ang, const Vector3f &dir)
void lerp (const Matrix &matrix1, const Matrix &matrix2, float32 interValue)
void operator= (const Matrix &in)
Matrix operator* (const Matrix &in) const
const char * toString ()

Public Attributes

float32 m [4][4]
 matrix elements


Detailed Description

The Matrix Class.

Constructor & Destructor Documentation

math::Matrix::Matrix (  ) 

Constructor

math::Matrix::Matrix ( const Matrix in  ) 

Copy-Constructor

Parameters:
in Matrix reference

math::Matrix::~Matrix (  ) 

Destructor


Member Function Documentation

void math::Matrix::reset (  ) 

Reset all elements

void math::Matrix::loadIdentity (  ) 

Load the identity matrix

void math::Matrix::setRotation ( float32  ang,
const Vector3f dir 
)

Set the matrix as the rotation matrix of angle given by 'ang' around direction 'dir'

Parameters:
ang Angle
dir Direction

void math::Matrix::rotate ( float32  ang,
const Vector3f dir 
)

Multiply the matrix by another with rotation given by 'ang' around direction 'dir'

Parameters:
and Angle
dir Direction

void math::Matrix::lerp ( const Matrix matrix1,
const Matrix matrix2,
float32  interValue 
)

Interpolate between two rotation matrices using quaternions

Parameters:
matrix1 The first matrix
matrix2 The second matrix
interValue Interpolation value

void math::Matrix::operator= ( const Matrix in  ) 

Atribuition operator

Parameters:
in Matrix reference

Matrix math::Matrix::operator* ( const Matrix in  )  const

Multiplication operator

Parameters:
in The matrix reference

const char* math::Matrix::toString (  )  [inline, virtual]

See also:
Object::toString()

Implements Object.


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

Generated on Mon Mar 3 10:53:10 2008 for Aika by  doxygen 1.5.5