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

OpenCAL::Utils::Matrix33 Class Reference

#include <Matrix33.h>

Collaboration diagram for OpenCAL::Utils::Matrix33:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Matrix33 (float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)
 Matrix33 (const Matrix33 &source)
const float * get () const
float get (int index) const
float get (int row, int col) const
void set (float *values)
void set (int index, float value)
void set (int row, int col, float value)
void operator= (const Matrix33 &m)
Matrix33 operator * (const Matrix33 &m) const
Matrix33 operator * (float factor) const
Vector3 operator * (const Vector3 &v) const
Matrix33 operator+ (const Matrix33 &m) const
Matrix33 operator- () const
void operator *= (float factor)
bool operator== (const Matrix33 &m) const
bool operator!= (const Matrix33 &m) const
void rotateX (float angle)
void rotateY (float angle)
void rotateZ (float angle)
void identity ()
void clear ()
void transpose ()
Matrix33 transposed ()
void fill (float value)
void print ()

Static Public Attributes

const Matrix33 zero
const Matrix33 unity

Protected Attributes

float m_values [9]

Friends

Matrix33 operator * (float factor, const Matrix33 &m)
Matrix33 operator/ (float factor, const Matrix33 &m)

Detailed Description

This class represents a 3x3 matrix, with all it's operators and functions. The matrix is represented row-first

Todo:
Optimise (eliminate the for-loops)

Definition at line 31 of file Matrix33.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:37 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8