Public Member Functions | Public Attributes

Matrix4x4< Real > Class Template Reference

#include <Mathlib.h>

List of all members.

Public Member Functions

 Matrix4x4 ()
void identity ()
void transpose ()
void invert ()
void setTranslation (const Vector3< Real > &v)
void transform (Vector3< Real > &v) const
void rotate (Vector3< Real > &v) const
void inverseRotate (Vector3< Real > &v) const
void inverseTranslate (Vector3< Real > &v) const
void fromQuaternion (const Quaternion< Real > &q)
void fromEulerAngles (Real x, Real y, Real z)
void toEulerAngles (Real &x, Real &y, Real &z) const
Vector3< Real > rightVector () const
Vector3< Real > upVector () const
Vector3< Real > forwardVector () const
Vector3< Real > translationVector () const
 operator const Real * ()

Public Attributes

union {
   struct {
      Real   _m11
      Real   _m12
      Real   _m13
      Real   _h14
      Real   _m21
      Real   _m22
      Real   _m23
      Real   _h24
      Real   _m31
      Real   _m32
      Real   _m33
      Real   _h34
      Real   _tx
      Real   _ty
      Real   _tz
      Real   _tw
   } 
   Real   _m [16]
}; 

Detailed Description

template<typename Real>
class Matrix4x4< Real >

Definition at line 178 of file Mathlib.h.


Constructor & Destructor Documentation

template<typename Real>
Matrix4x4< Real >::Matrix4x4 (  )  [inline]

Definition at line 184 of file Mathlib.h.


Member Function Documentation

template<typename Real>
void Matrix4x4< Real >::identity (  ) 
template<typename Real>
void Matrix4x4< Real >::transpose (  ) 
template<typename Real>
void Matrix4x4< Real >::invert (  ) 
template<typename Real>
void Matrix4x4< Real >::setTranslation ( const Vector3< Real > &  v  ) 
template<typename Real>
void Matrix4x4< Real >::transform ( Vector3< Real > &  v  )  const
template<typename Real>
void Matrix4x4< Real >::rotate ( Vector3< Real > &  v  )  const
template<typename Real>
void Matrix4x4< Real >::inverseRotate ( Vector3< Real > &  v  )  const
template<typename Real>
void Matrix4x4< Real >::inverseTranslate ( Vector3< Real > &  v  )  const
template<typename Real>
void Matrix4x4< Real >::fromQuaternion ( const Quaternion< Real > &  q  ) 
template<typename Real>
void Matrix4x4< Real >::fromEulerAngles ( Real  x,
Real  y,
Real  z 
)
template<typename Real>
void Matrix4x4< Real >::toEulerAngles ( Real &  x,
Real &  y,
Real &  z 
) const
template<typename Real>
Vector3<Real> Matrix4x4< Real >::rightVector (  )  const
template<typename Real>
Vector3<Real> Matrix4x4< Real >::upVector (  )  const
template<typename Real>
Vector3<Real> Matrix4x4< Real >::forwardVector (  )  const
template<typename Real>
Vector3<Real> Matrix4x4< Real >::translationVector (  )  const
template<typename Real>
Matrix4x4< Real >::operator const Real * (  )  [inline]

Definition at line 219 of file Mathlib.h.


Member Data Documentation

template<typename Real>
Real Matrix4x4< Real >::_m11

Definition at line 232 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m12

Definition at line 232 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m13

Definition at line 232 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_h14

Definition at line 232 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m21

Definition at line 233 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m22

Definition at line 233 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m23

Definition at line 233 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_h24

Definition at line 233 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m31

Definition at line 234 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m32

Definition at line 234 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m33

Definition at line 234 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_h34

Definition at line 234 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_tx

Definition at line 235 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_ty

Definition at line 235 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_tz

Definition at line 235 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_tw

Definition at line 235 of file Mathlib.h.

template<typename Real>
Real Matrix4x4< Real >::_m[16]

Definition at line 240 of file Mathlib.h.

union { ... }

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