nux-0.9.48
|
#include <NuxCore/Math/Matrix4.h>
Public Member Functions | |
Matrix4x4 () | |
~Matrix4x4 () | |
Matrix4x4 (const Matrix4x4 &) | |
Matrix4x4 (T a00, T a01, T a02, T a03, T a10, T a11, T a12, T a13, T a20, T a21, T a22, T a23, T a30, T a31, T a32, T a33) | |
Matrix4x4< T > & | operator= (const Matrix4x4< T > &) |
t_bool | operator== (const Matrix4x4< T > &) |
Matrix4x4< T > | operator* (const Matrix4x4< T > &) const |
Matrix4x4< T > | operator+ (const Matrix4x4< T > &) const |
Matrix4x4< T > | operator- (const Matrix4x4< T > &) const |
Matrix4x4< T > & | operator*= (const Matrix4x4< T > &) const |
Matrix4x4< T > & | operator+= (const Matrix4x4< T > &) const |
Matrix4x4< T > & | operator-= (const Matrix4x4< T > &) const |
Matrix4x4< T > | operator* (const T &) const |
Matrix4x4< T > | operator/ (const T &) const |
Matrix4x4< T > | operator*= (const T &) const |
Matrix4x4< T > | operator/= (const T &) const |
Vector4 | operator* (const Vector4 &) const |
Matrix4x4< T > | operator- () |
T & | operator() (unsigned int i, unsigned int j) |
T | operator() (unsigned int i, unsigned int j) const |
operator T * () | |
operator const T * () const | |
void | Translate (T x, T y, T z) |
void | Translate (const Vector3 &) |
void | Rotate_x (T angle) |
void | Rotate_y (T angle) |
void | Rotate_z (T angle) |
void | Scale (T sx, T sy, T sz) |
T | Trace () const |
T | Determinant () const |
void | Inverse () |
Matrix4x4< T > | GetInverse () const |
void | Transpose () |
void | Scale (T s) |
void | Diagonal (T x, T y, T z, T w=T(1)) |
void | Rotate (T angle, Vector3 axis) |
void | LookAt (const Vector3 &eye, const Vector3 &at, const Vector3 &up) |
void | Orthographic (T l, T r, T b, T t, T n, T f) |
set to an orthographic projection matrix. | |
void | Perspective (T l, T r, T t, T b, T n, T f) |
set to a perspective projection matrix. | |
void | PerspectiveInverse (T l, T r, T t, T b, T n, T f) |
void | Perspective (T FoV, T AspectRatio, T NearPlane, T FarPlane) |
set to a perspective projection matrix specified in terms of field of view and aspect ratio. | |
void | Zero () |
void | Identity () |
Static Public Member Functions | |
static Matrix4x4< T > | IDENTITY () |
static Matrix4x4< T > | ZERO () |
static Matrix4x4< T > | ROTATEX (T angle) |
static Matrix4x4< T > | ROTATEY (T angle) |
static Matrix4x4< T > | ROTATEZ (T angle) |
static Matrix4x4< T > | TRANSLATE (T x, T y, T z) |
static Matrix4x4< T > | SCALE (T x, T y, T z) |
Data Fields | |
T | m [4][4] |
nux::Matrix4x4< T >::Matrix4x4 | ( | ) |
nux::Matrix4x4< T >::~Matrix4x4 | ( | ) |
nux::Matrix4x4< T >::Matrix4x4 | ( | const Matrix4x4< T > & | M | ) |
References nux::Matrix4x4< T >::m.
nux::Matrix4x4< T >::Matrix4x4 | ( | T | a00, |
T | a01, | ||
T | a02, | ||
T | a03, | ||
T | a10, | ||
T | a11, | ||
T | a12, | ||
T | a13, | ||
T | a20, | ||
T | a21, | ||
T | a22, | ||
T | a23, | ||
T | a30, | ||
T | a31, | ||
T | a32, | ||
T | a33 | ||
) |
T nux::Matrix4x4< T >::Determinant | ( | ) | const |
void nux::Matrix4x4< T >::Diagonal | ( | T | x, |
T | y, | ||
T | z, | ||
T | w = T (1) |
||
) |
Matrix4x4< T > nux::Matrix4x4< T >::GetInverse | ( | ) | const |
References nux::Matrix4x4< T >::Inverse().
void nux::Matrix4x4< T >::Identity | ( | ) |
Referenced by nux::Matrix4x4< T >::IDENTITY().
Matrix4x4< T > nux::Matrix4x4< T >::IDENTITY | ( | ) | [static] |
References nux::Matrix4x4< T >::Identity().
void nux::Matrix4x4< T >::Inverse | ( | ) |
References nux::Matrix4x4< T >::m, and NUX_HARDWARE_BREAK.
Referenced by nux::Matrix4x4< T >::GetInverse().
void nux::Matrix4x4< T >::LookAt | ( | const Vector3 & | eye, |
const Vector3 & | at, | ||
const Vector3 & | up | ||
) |
nux::Matrix4x4< T >::operator const T * | ( | ) | const |
nux::Matrix4x4< T >::operator T * | ( | ) |
T & nux::Matrix4x4< T >::operator() | ( | unsigned int | i, |
unsigned int | j | ||
) |
T nux::Matrix4x4< T >::operator() | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Matrix4x4< T > nux::Matrix4x4< T >::operator* | ( | const T & | f | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > nux::Matrix4x4< T >::operator* | ( | const Matrix4x4< T > & | iM | ) | const |
References nux::Matrix4x4< T >::m.
Vector4 nux::Matrix4x4< T >::operator* | ( | const Vector4 & | V | ) | const |
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
Matrix4x4< T > nux::Matrix4x4< T >::operator*= | ( | const T & | f | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > & nux::Matrix4x4< T >::operator*= | ( | const Matrix4x4< T > & | iM | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > nux::Matrix4x4< T >::operator+ | ( | const Matrix4x4< T > & | iM | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > & nux::Matrix4x4< T >::operator+= | ( | const Matrix4x4< T > & | iM | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > nux::Matrix4x4< T >::operator- | ( | const Matrix4x4< T > & | iM | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > nux::Matrix4x4< T >::operator- | ( | ) |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > & nux::Matrix4x4< T >::operator-= | ( | const Matrix4x4< T > & | iM | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > nux::Matrix4x4< T >::operator/ | ( | const T & | f | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > nux::Matrix4x4< T >::operator/= | ( | const T & | f | ) | const |
References nux::Matrix4x4< T >::m.
Matrix4x4< T > & nux::Matrix4x4< T >::operator= | ( | const Matrix4x4< T > & | M | ) |
References nux::Matrix4x4< T >::m.
t_bool nux::Matrix4x4< T >::operator== | ( | const Matrix4x4< T > & | M | ) |
References nux::Matrix4x4< T >::m.
void nux::Matrix4x4< T >::Orthographic | ( | T | l, |
T | r, | ||
T | b, | ||
T | t, | ||
T | n, | ||
T | f | ||
) |
set to an orthographic projection matrix.
void nux::Matrix4x4< T >::Perspective | ( | T | FoV, |
T | AspectRatio, | ||
T | NearPlane, | ||
T | FarPlane | ||
) |
set to a perspective projection matrix specified in terms of field of view and aspect ratio.
void nux::Matrix4x4< T >::Perspective | ( | T | l, |
T | r, | ||
T | t, | ||
T | b, | ||
T | n, | ||
T | f | ||
) |
set to a perspective projection matrix.
void nux::Matrix4x4< T >::PerspectiveInverse | ( | T | l, |
T | r, | ||
T | t, | ||
T | b, | ||
T | n, | ||
T | f | ||
) |
void nux::Matrix4x4< T >::Rotate | ( | T | angle, |
Vector3 | axis | ||
) |
void nux::Matrix4x4< T >::Rotate_x | ( | T | angle | ) |
Referenced by nux::Matrix4x4< T >::ROTATEX().
void nux::Matrix4x4< T >::Rotate_y | ( | T | angle | ) |
Referenced by nux::Matrix4x4< T >::ROTATEY().
void nux::Matrix4x4< T >::Rotate_z | ( | T | angle | ) |
Referenced by nux::Matrix4x4< T >::ROTATEZ().
Matrix4x4< T > nux::Matrix4x4< T >::ROTATEX | ( | T | angle | ) | [static] |
References nux::Matrix4x4< T >::Rotate_x().
Matrix4x4< T > nux::Matrix4x4< T >::ROTATEY | ( | T | angle | ) | [static] |
References nux::Matrix4x4< T >::Rotate_y().
Matrix4x4< T > nux::Matrix4x4< T >::ROTATEZ | ( | T | angle | ) | [static] |
References nux::Matrix4x4< T >::Rotate_z().
Matrix4x4< T > nux::Matrix4x4< T >::SCALE | ( | T | x, |
T | y, | ||
T | z | ||
) | [static] |
References nux::Matrix4x4< T >::Scale().
void nux::Matrix4x4< T >::Scale | ( | T | sx, |
T | sy, | ||
T | sz | ||
) |
Referenced by nux::Matrix4x4< T >::SCALE().
void nux::Matrix4x4< T >::Scale | ( | T | s | ) |
T nux::Matrix4x4< T >::Trace | ( | ) | const |
void nux::Matrix4x4< T >::Translate | ( | const Vector3 & | ) |
Matrix4x4< T > nux::Matrix4x4< T >::TRANSLATE | ( | T | x, |
T | y, | ||
T | z | ||
) | [static] |
References nux::Matrix4x4< T >::Translate().
void nux::Matrix4x4< T >::Translate | ( | T | x, |
T | y, | ||
T | z | ||
) |
Referenced by nux::Matrix4x4< T >::LookAt(), and nux::Matrix4x4< T >::TRANSLATE().
void nux::Matrix4x4< T >::Transpose | ( | ) |
void nux::Matrix4x4< T >::Zero | ( | ) |
Referenced by nux::Matrix4x4< T >::ZERO().
Matrix4x4< T > nux::Matrix4x4< T >::ZERO | ( | ) | [static] |
References nux::Matrix4x4< T >::Zero().
T nux::Matrix4x4< T >::m[4][4] |
Referenced by nux::Matrix4x4< T >::Inverse(), nux::Matrix4x4< T >::LookAt(), nux::Matrix4x4< T >::Matrix4x4(), nux::operator*(), nux::Matrix4x4< T >::operator*(), nux::Matrix4x4< T >::operator*=(), nux::Matrix4x4< T >::operator+(), nux::Matrix4x4< T >::operator+=(), nux::Matrix4x4< T >::operator-(), nux::Matrix4x4< T >::operator-=(), nux::Matrix4x4< T >::operator/(), nux::Matrix4x4< T >::operator/=(), nux::Matrix4x4< T >::operator=(), and nux::Matrix4x4< T >::operator==().