- Cal3D 0.9 API Reference -

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

CalMatrix Class Reference

The matrix class. More...

#include <matrix.h>

List of all members.

Public Methods

 CalMatrix ()
 Constructs the matrix instance. More...

 CalMatrix (const CalQuaternion &q)
 Quaternion to Matrix Conversion Constructor. More...

 CalMatrix (float weight, const CalMatrix &m)
 Matrix Initialization. More...

 ~CalMatrix ()
 Destructs the matrix instance. More...

void operator= (const CalQuaternion &q)
 Quaternion to Matrix Conversion. More...

void operator= (const CalMatrix &m)
 Copying a Matrix. More...

void operator *= (const CalMatrix &m)
 Matrix Multiplication. More...

void operator *= (float factor)
 Matrix Scaling. More...

void blend (float d, const CalMatrix &m)
 Matrix Blending. More...

float det ()
 Matrix determinant. More...


Public Attributes

float dxdx
float dxdy
float dxdz
float dydx
float dydy
float dydz
float dzdx
float dzdy
float dzdz


Detailed Description

The matrix class.


Constructor & Destructor Documentation

CalMatrix::CalMatrix  
 

Constructs the matrix instance.

This function is the default constructor of the matrix instance.

CalMatrix::CalMatrix const CalQuaternion   q
 

Quaternion to Matrix Conversion Constructor.

This function converts a quaternion into a rotation matrix.

CalMatrix::CalMatrix float    factor,
const CalMatrix &    m
 

Matrix Initialization.

This function sets one matrix to a factor times another.

CalMatrix::~CalMatrix  
 

Destructs the matrix instance.

This function is the destructor of the matrix instance.


Member Function Documentation

void CalMatrix::blend float    factor,
const CalMatrix &    m
 

Matrix Blending.

This function adds a weight times another matrix to the current matrix.

float CalMatrix::det  
 

Matrix determinant.

This function compute the determinant of the matrix.

void CalMatrix::operator *= float    factor
 

Matrix Scaling.

This function multiplies every element in the matrix by the factor.

void CalMatrix::operator *= const CalMatrix &    m
 

Matrix Multiplication.

This function multiplies two matrices.

void CalMatrix::operator= const CalMatrix &    m
 

Copying a Matrix.

This function copies one matrix into another.

void CalMatrix::operator= const CalQuaternion   q
 

Quaternion to Matrix Conversion.

This function converts a quaternion into a rotation matrix.


The documentation for this class was generated from the following files:
Generated at Sun Oct 12 18:38:49 2003 by The Cal3D Team with doxygen 1.2.14 © 1997-2001 Dimitri van Heesch