Public Member Functions

sp::dim::matrix3< T > Class Template Reference

#include <spDimensionMatrix3.hpp>

List of all members.

Public Member Functions

 matrix3 ()
 matrix3 (const T(&Other)[9])
 matrix3 (const matrix3< T > &Other)
 matrix3 (T m1n1, T m2n1, T m3n1, T m1n2, T m2n2, T m3n2, T m1n3, T m2n3, T m3n3)
 ~matrix3 ()
const T & operator() (s32 row, s32 col) const
T & operator() (s32 row, s32 col)
const T operator[] (u32 i) const
T & operator[] (u32 i)
bool operator== (const matrix3< T > &other)
bool operator!= (const matrix3< T > &other)
matrix3< T > & operator= (const T(&other)[9])
matrix3< T > & operator= (const matrix3< T > &other)
matrix3< T > & operator= (T Scalar)
matrix3< T > operator+ (const matrix3< T > &mltMatrix) const
matrix3< T > & operator+= (const matrix3< T > &mltMatrix)
matrix3< T > operator- (const matrix3< T > &mltMatrix) const
matrix3< T > & operator-= (const matrix3< T > &mltMatrix)
matrix3< T > operator* (const matrix3< T > &mltMatrix) const
matrix3< T > operator* (const T &Scalar) const
matrix3< T > & operator*= (const matrix3< T > &mltMatrix)
matrix3< T > & operator*= (T Scalar)
vector3d< T > operator* (const vector3d< T > &Vector) const
point2d< T > operator* (const point2d< T > &Vector) const
triangle3d< T > operator* (const triangle3d< T > &Triangle) const
triangle3d< T > operator* (const triangle3d< T, vector3d< T > * > &Triangle) const
plane3d< T > operator* (const plane3d< T > &Plane) const
vector3d< T > vecRotate (const vector3d< T > &Vector) const
vector3d< T > vecRotateInverse (const vector3d< T > &Vector) const
void clear ()
matrix3< T > & reset ()
void multiplySingleMatrix (const T(&other)[3])
void matrixLookAt (const vector3d< T > &Position, const vector3d< T > &LookAt, const vector3d< T > &upVector)
bool getInverse (matrix3< T > &InverseMat) const
bool setInverse ()
matrix3< T > getInverse () const
matrix3< T > & scale (const vector3d< T > &Vector)
matrix3< T > & rotate (const T &Angle, vector3d< T > Rotation)
matrix3< T > & rotateX (const T &Angle)
matrix3< T > & rotateY (const T &Angle)
matrix3< T > & rotateZ (const T &Angle)
void rotateYXZ (const vector3df &Rotation)
void rotateZXY (const vector3df &Rotation)
void setRotation (vector3df Rotation, bool UseDegrees=true)
void setInverseRotation (vector3df Rotation, bool UseDegrees=true)
void setTextureRotation (const T &Degree)
vector3d< T > getRow (s32 Position) const
vector3d< T > getColumn (s32 Position) const
void setScale (const vector3d< T > &Scale)
vector3d< T > getScale () const
vector3d< T > getRotation () const
matrix3< T > getTransposed () const
void getTransposed (matrix3< T > &other) const
matrix3< T > interpolate (const matrix3< T > &other, f32 seek) const
bool isIdentity () const
const T * getArray () const
T * getArray ()
template<typename B >
matrix3< B > cast () const

template<typename T>
class sp::dim::matrix3< T >


Constructor & Destructor Documentation

template<typename T>
sp::dim::matrix3< T >::matrix3 (  )  [inline]
template<typename T>
sp::dim::matrix3< T >::matrix3 ( const T(&)  Other[9]  )  [inline]
template<typename T>
sp::dim::matrix3< T >::matrix3 ( const matrix3< T > &  Other  )  [inline]
template<typename T>
sp::dim::matrix3< T >::matrix3 ( m1n1,
m2n1,
m3n1,
m1n2,
m2n2,
m3n2,
m1n3,
m2n3,
m3n3 
) [inline]
template<typename T>
sp::dim::matrix3< T >::~matrix3 (  )  [inline]

Member Function Documentation

template<typename T>
template<typename B >
matrix3<B> sp::dim::matrix3< T >::cast (  )  const [inline]
template<typename T>
void sp::dim::matrix3< T >::clear (  )  [inline]
template<typename T>
const T* sp::dim::matrix3< T >::getArray (  )  const [inline]
template<typename T>
T* sp::dim::matrix3< T >::getArray (  )  [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::getColumn ( s32  Position  )  const [inline]
template<typename T>
bool sp::dim::matrix3< T >::getInverse ( matrix3< T > &  InverseMat  )  const [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::getInverse (  )  const [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::getRotation (  )  const [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::getRow ( s32  Position  )  const [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::getScale (  )  const [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::getTransposed (  )  const [inline]
template<typename T>
void sp::dim::matrix3< T >::getTransposed ( matrix3< T > &  other  )  const [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::interpolate ( const matrix3< T > &  other,
f32  seek 
) const [inline]
template<typename T>
bool sp::dim::matrix3< T >::isIdentity (  )  const [inline]
template<typename T>
void sp::dim::matrix3< T >::matrixLookAt ( const vector3d< T > &  Position,
const vector3d< T > &  LookAt,
const vector3d< T > &  upVector 
) [inline]
template<typename T>
void sp::dim::matrix3< T >::multiplySingleMatrix ( const T(&)  other[3]  )  [inline]
template<typename T>
bool sp::dim::matrix3< T >::operator!= ( const matrix3< T > &  other  )  [inline]
template<typename T>
T& sp::dim::matrix3< T >::operator() ( s32  row,
s32  col 
) [inline]
template<typename T>
const T& sp::dim::matrix3< T >::operator() ( s32  row,
s32  col 
) const [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::operator* ( const vector3d< T > &  Vector  )  const [inline]
template<typename T>
point2d<T> sp::dim::matrix3< T >::operator* ( const point2d< T > &  Vector  )  const [inline]
template<typename T>
triangle3d<T> sp::dim::matrix3< T >::operator* ( const triangle3d< T > &  Triangle  )  const [inline]
template<typename T>
triangle3d<T> sp::dim::matrix3< T >::operator* ( const triangle3d< T, vector3d< T > * > &  Triangle  )  const [inline]
template<typename T>
plane3d<T> sp::dim::matrix3< T >::operator* ( const plane3d< T > &  Plane  )  const [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::operator* ( const matrix3< T > &  mltMatrix  )  const [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::operator* ( const T &  Scalar  )  const [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator*= ( Scalar  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator*= ( const matrix3< T > &  mltMatrix  )  [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::operator+ ( const matrix3< T > &  mltMatrix  )  const [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator+= ( const matrix3< T > &  mltMatrix  )  [inline]
template<typename T>
matrix3<T> sp::dim::matrix3< T >::operator- ( const matrix3< T > &  mltMatrix  )  const [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator-= ( const matrix3< T > &  mltMatrix  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator= ( const matrix3< T > &  other  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator= ( Scalar  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::operator= ( const T(&)  other[9]  )  [inline]
template<typename T>
bool sp::dim::matrix3< T >::operator== ( const matrix3< T > &  other  )  [inline]
template<typename T>
T& sp::dim::matrix3< T >::operator[] ( u32  i  )  [inline]
template<typename T>
const T sp::dim::matrix3< T >::operator[] ( u32  i  )  const [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::reset (  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::rotate ( const T &  Angle,
vector3d< T >  Rotation 
) [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::rotateX ( const T &  Angle  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::rotateY ( const T &  Angle  )  [inline]
template<typename T>
void sp::dim::matrix3< T >::rotateYXZ ( const vector3df Rotation  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::rotateZ ( const T &  Angle  )  [inline]
template<typename T>
void sp::dim::matrix3< T >::rotateZXY ( const vector3df Rotation  )  [inline]
template<typename T>
matrix3<T>& sp::dim::matrix3< T >::scale ( const vector3d< T > &  Vector  )  [inline]
template<typename T>
bool sp::dim::matrix3< T >::setInverse (  )  [inline]
template<typename T>
void sp::dim::matrix3< T >::setInverseRotation ( vector3df  Rotation,
bool  UseDegrees = true 
) [inline]
template<typename T>
void sp::dim::matrix3< T >::setRotation ( vector3df  Rotation,
bool  UseDegrees = true 
) [inline]
template<typename T>
void sp::dim::matrix3< T >::setScale ( const vector3d< T > &  Scale  )  [inline]
template<typename T>
void sp::dim::matrix3< T >::setTextureRotation ( const T &  Degree  )  [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::vecRotate ( const vector3d< T > &  Vector  )  const [inline]
template<typename T>
vector3d<T> sp::dim::matrix3< T >::vecRotateInverse ( const vector3d< T > &  Vector  )  const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines