vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gmMatrix3 Class Reference

#include <gm_mat3.h>

Public Member Functions

 gmMatrix3 ()
 
 gmMatrix3 (const gmMatrix3 &)
 
 gmMatrix3 (double, double, double, double, double, double, double, double, double)
 
double * operator[] (int)
 
const double * operator[] (int) const
 
gmMatrix3assign (double, double, double, double, double, double, double, double, double)
 
gmMatrix3operator= (const gmMatrix3 &)
 
gmMatrix3operator+= (const gmMatrix3 &)
 
gmMatrix3operator-= (const gmMatrix3 &)
 
gmMatrix3operator*= (const gmMatrix3 &)
 
gmMatrix3operator*= (double)
 
gmMatrix3operator/= (double)
 
gmMatrix3 operator+ (const gmMatrix3 &) const
 
gmMatrix3 operator- (const gmMatrix3 &) const
 
gmMatrix3 operator- () const
 
gmMatrix3 operator* (const gmMatrix3 &) const
 
gmMatrix3 operator* (double) const
 
gmMatrix3 operator/ (double) const
 
bool operator== (const gmMatrix3 &) const
 
bool operator!= (const gmMatrix3 &) const
 
gmVector3 operator* (const gmVector3 &) const
 
gmMatrix3 inverse () const
 
gmMatrix3 transpose () const
 
gmMatrix3 adjoint () const
 
double determinant () const
 
bool isSingular () const
 
gmVector2 transform (const gmVector2 &) const
 
void copyTo (float[3][3]) const
 
void copyTo (double[3][3]) const
 

Static Public Member Functions

static gmMatrix3 identity ()
 
static gmMatrix3 scale (double, double)
 
static gmMatrix3 translate (double, double)
 
static gmMatrix3 rotate (double)
 
static gmMatrix3 arb_rotate (gmVector3 &, double)
 

Protected Attributes

double m_ [3][3]
 

Friends

gmMatrix3 operator* (double, const gmMatrix3 &)
 
gmVector3 operator* (const gmVector3 &, const gmMatrix3 &)
 
ostream & operator<< (ostream &, const gmMatrix3 &)
 

Constructor & Destructor Documentation

gmMatrix3::gmMatrix3 ( )
gmMatrix3::gmMatrix3 ( const gmMatrix3 M)
gmMatrix3::gmMatrix3 ( double  a00,
double  a01,
double  a02,
double  a10,
double  a11,
double  a12,
double  a20,
double  a21,
double  a22 
)

Member Function Documentation

gmMatrix3 gmMatrix3::adjoint ( ) const
gmMatrix3 gmMatrix3::arb_rotate ( gmVector3 v,
double  angle 
)
static
gmMatrix3 & gmMatrix3::assign ( double  a00,
double  a01,
double  a02,
double  a10,
double  a11,
double  a12,
double  a20,
double  a21,
double  a22 
)
void gmMatrix3::copyTo ( float  f[3][3]) const
inline
void gmMatrix3::copyTo ( double  f[3][3]) const
inline
double gmMatrix3::determinant ( ) const
gmMatrix3 gmMatrix3::identity ( )
static
gmMatrix3 gmMatrix3::inverse ( ) const
bool gmMatrix3::isSingular ( ) const
bool gmMatrix3::operator!= ( const gmMatrix3 M) const
gmMatrix3 gmMatrix3::operator* ( const gmMatrix3 M) const
gmMatrix3 gmMatrix3::operator* ( double  d) const
gmVector3 gmMatrix3::operator* ( const gmVector3 v) const
gmMatrix3 & gmMatrix3::operator*= ( const gmMatrix3 M)
gmMatrix3 & gmMatrix3::operator*= ( double  d)
gmMatrix3 gmMatrix3::operator+ ( const gmMatrix3 M) const
gmMatrix3 & gmMatrix3::operator+= ( const gmMatrix3 M)
gmMatrix3 gmMatrix3::operator- ( const gmMatrix3 M) const
gmMatrix3 gmMatrix3::operator- ( ) const
gmMatrix3 & gmMatrix3::operator-= ( const gmMatrix3 M)
gmMatrix3 gmMatrix3::operator/ ( double  d) const
gmMatrix3 & gmMatrix3::operator/= ( double  d)
gmMatrix3 & gmMatrix3::operator= ( const gmMatrix3 M)
bool gmMatrix3::operator== ( const gmMatrix3 M) const
double * gmMatrix3::operator[] ( int  i)
inline
const double * gmMatrix3::operator[] ( int  i) const
inline
gmMatrix3 gmMatrix3::rotate ( double  angle)
static
gmMatrix3 gmMatrix3::scale ( double  x,
double  y 
)
static
gmVector2 gmMatrix3::transform ( const gmVector2 v) const
gmMatrix3 gmMatrix3::translate ( double  x,
double  y 
)
static
gmMatrix3 gmMatrix3::transpose ( ) const

Friends And Related Function Documentation

gmMatrix3 operator* ( double  d,
const gmMatrix3 M 
)
friend
gmVector3 operator* ( const gmVector3 v,
const gmMatrix3 M 
)
friend
ostream& operator<< ( ostream &  os,
const gmMatrix3 M 
)
friend

Member Data Documentation

double gmMatrix3::m_[3][3]
protected

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