Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ZFXMath::TMatrix3x3< T > Class Template Reference

TMatrix3x3. More...

#include <Matrix3x3.h>

List of all members.

Public Member Functions

 TMatrix3x3 (const T &val)
 TMatrix3x3 (const T &_11, const T &_12, const T &_13, const T &_21, const T &_22, const T &_23, const T &_31, const T &_32, const T &_33)
 TMatrix3x3 (const T &sx, const T &sy, const T &sz=(T) 1.0)
 TMatrix3x3 (const T *_m)
 TMatrix3x3 (const TMatrix3x3 &_m)
 TMatrix3x3 (const T &rad, const T &scale, const TVector2D< T > &p)
 TMatrix3x3 (const TVector3D< T > &v1, const TVector3D< T > &v2, const TVector3D< T > &v3)
 operator T * ()
 Cast to an Array of T.
 operator const T * () const
operator() (const int i, const int j) const
 Const accessors by index (row, column).
T & operator() (const int i, const int j)
 Non-const accessors by index (row, column).
TMatrix3x3 operator+ (const TMatrix3x3 &_m) const
TMatrix3x3 operator- (const TMatrix3x3 &_m) const
TMatrix3x3 operator * (const TMatrix3x3 &_m) const
TMatrix3x3 operator * (const T &s) const
TMatrix3x3operator+= (const TMatrix3x3 &_m)
TMatrix3x3operator-= (const TMatrix3x3 &_m)
TMatrix3x3operator *= (const TMatrix3x3 &_m)
TMatrix3x3operator *= (const T &s)
TMatrix3x3Scale (const T &s)
 scales the matrix
TMatrix3x3Scale (const T &sx, const T &sy, const T &sz=(T) 1.0)
 scales the matrix
TMatrix3x3Scale (const TVector3D< T > &sv)
 scales the matrix
TMatrix3x3Translate (const TVector2D< T > &p)
 Translates the matrix by p.
TMatrix3x3Translate (const T &x, const T &y)
 Translates the matrix by P(x,y).
TMatrix3x3 Multiply (const TMatrix3x3 &_m) const
 Multiplies two matrices.
TMatrix3x3RotateX (const T &rad)
 Rotates the matrix around X.
TMatrix3x3RotateY (const T &rad)
 Rotates the matrix around Y.
TMatrix3x3RotateZ (const T &rad)
 Rotates the matrix around Z.
TMatrix3x3Rotate2D (const T &rad)
 Rotates the matrix in 2D-Space.
TMatrix3x3 Transpose () const
 returns the transposed matrix
TMatrix3x3 Negate () const
 returns the negated matrix
TMatrix3x3 GetSwitchedHand () const
 switches between left handed and right handed and vice versa

Static Public Member Functions

TMatrix3x3 Zero ()
TMatrix3x3 Identity ()
TMatrix3x3 Translation (const TVector2D< T > &p)
 Creates a matrix which translates by p.
TMatrix3x3 Translation (const T &x, const T &y)
 Creates a matrix which translates by P(x,y).
TMatrix3x3 RotationX (const T &rad)
 Creates a matrix which rotates around X.
TMatrix3x3 RotationY (const T &rad)
 Creates a matrix which rotates around Y.
TMatrix3x3 RotationZ (const T &rad)
 Creates a matrix which rotates around Z.
TMatrix3x3 Rotation2D (const T &rad)
 Creates a 2D rotation matrix.

Friends

TVector3D< T > operator * (const TVector3D< T > &v, const TMatrix3x3 &m)


Detailed Description

template<class T>
class ZFXMath::TMatrix3x3< T >

TMatrix3x3: Matrix for 2D or rotation for 3D


The documentation for this class was generated from the following file:
Generated on Thu Nov 25 04:02:58 2004 for ZFX-Math Library by doxygen 1.3.8