OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
Transform specialization for projective - encapsulating a 4x4 Matrix. More...
#include <OgreMatrix4.h>
Public Member Functions | |
Matrix4 () | |
Do NOT initialize the matrix for efficiency. More... | |
Matrix4 (Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23, Real m30, Real m31, Real m32, Real m33) | |
Matrix4 (const Real *arr) | |
Matrix4 (const Matrix3 &m3x3) | |
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling 3x3 matrix. More... | |
Matrix4 (const Quaternion &rot) | |
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling Quaternion. More... | |
Matrix4 | adjoint () const |
Matrix4 | concatenate (const Matrix4 &m2) const |
Real | determinant () const |
void | extract3x3Matrix (Matrix3 &m3x3) const |
Quaternion | extractQuaternion () const |
Vector3 | getTrans () const |
Extracts the translation transformation part of the matrix. More... | |
Matrix4 | inverse () const |
Matrix3 | linear () const |
Extracts the rotation / scaling part of the Matrix as a 3x3 matrix. More... | |
void | makeInverseTransform (const Vector3 &position, const Vector3 &scale, const Quaternion &orientation) |
Building an inverse Affine3 from orientation / scale / position. More... | |
void | makeTrans (const Vector3 &v) |
Builds a translation matrix. More... | |
void | makeTrans (Real tx, Real ty, Real tz) |
void | makeTransform (const Vector3 &position, const Vector3 &scale, const Quaternion &orientation) |
Building a Affine3 from orientation / scale / position. More... | |
bool | operator!= (const Matrix4 &m2) const |
Tests 2 matrices for inequality. More... | |
Matrix4 | operator* (Real scalar) const |
Matrix4 & | operator= (const Matrix3 &mat3) |
bool | operator== (const Matrix4 &m2) const |
Tests 2 matrices for equality. More... | |
Real * | operator[] (size_t iRow) |
const Real * | operator[] (size_t iRow) const |
void | set3x3Matrix (const Matrix3 &mat3) |
Assignment from 3x3 matrix. More... | |
void | setScale (const Vector3 &v) |
Sets the scale part of the matrix. More... | |
void | setTrans (const Vector3 &v) |
Sets the translation transformation part of the matrix. More... | |
Matrix4 | transpose () const |
Static Public Attributes | |
static const Matrix4 | CLIPSPACE2DTOIMAGESPACE |
Useful little matrix which takes 2D clipspace {-1, 1} to {0,1} and inverts the Y. More... | |
static const Matrix4 | IDENTITY |
static const Matrix4 | ZERO |
Transform specialization for projective - encapsulating a 4x4 Matrix.
|
inline |
Do NOT initialize the matrix for efficiency.
|
inline |
|
inline |
|
inline |
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling 3x3 matrix.
|
inline |
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling Quaternion.
References Ogre::Quaternion::ToRotationMatrix().
|
inline |
Tests 2 matrices for equality.
|
inline |
Tests 2 matrices for inequality.
Matrix4 Ogre::Matrix4::adjoint | ( | ) | const |
Matrix4 Ogre::Matrix4::inverse | ( | ) | const |
Referenced by Ogre::operator*().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Assignment from 3x3 matrix.
|
inlineinherited |
Extracts the rotation / scaling part of the Matrix as a 3x3 matrix.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Sets the translation transformation part of the matrix.
|
inlineinherited |
Extracts the translation transformation part of the matrix.
Referenced by Ogre::Affine3::operator const Matrix4 &().
|
inlineinherited |
Sets the scale part of the matrix.
|
inlineinherited |
Builds a translation matrix.
|
inherited |
|
inherited |
Building a Affine3 from orientation / scale / position.
|
inherited |
Building an inverse Affine3 from orientation / scale / position.
|
static |
|
static |
Referenced by Ogre::Frustum::isCustomViewMatrixEnabled().
|
static |
Useful little matrix which takes 2D clipspace {-1, 1} to {0,1} and inverts the Y.