![]() |
OGRE
1.11.5
Object-Oriented Graphics Rendering Engine
|
Class encapsulating a standard 4x4 homogeneous matrix. More...
#include <OgreMatrix4.h>
Inheritance diagram for Ogre::TransformBase:Public Member Functions | |
| Real | determinant () const |
| void | extract3x3Matrix (Matrix3 &m3x3) const |
| Quaternion | extractQuaternion () const |
| Vector3 | getTrans () const |
| Extracts the translation transformation part of the matrix. More... | |
| 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... | |
| 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 |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const TransformBase &mat) |
| Function for writing to a stream. More... | |
Class encapsulating a standard 4x4 homogeneous matrix.
[ m[0][0] m[0][1] m[0][2] m[0][3] ] {x}
| m[1][0] m[1][1] m[1][2] m[1][3] | * {y}
| m[2][0] m[2][1] m[2][2] m[2][3] | {z}
[ m[3][0] m[3][1] m[3][2] m[3][3] ] {1}
|
inline |
|
inline |
|
inline |
Assignment from 3x3 matrix.
|
inline |
Extracts the rotation / scaling part of the Matrix as a 3x3 matrix.
|
inline |
|
inline |
|
inline |
Sets the translation transformation part of the matrix.
|
inline |
Extracts the translation transformation part of the matrix.
|
inline |
Sets the scale part of the matrix.
|
inline |
Builds a translation matrix.
| Real Ogre::TransformBase::determinant | ( | ) | const |
| void Ogre::TransformBase::makeTransform | ( | const Vector3 & | position, |
| const Vector3 & | scale, | ||
| const Quaternion & | orientation | ||
| ) |
Building a Affine3 from orientation / scale / position.
| void Ogre::TransformBase::makeInverseTransform | ( | const Vector3 & | position, |
| const Vector3 & | scale, | ||
| const Quaternion & | orientation | ||
| ) |
Building an inverse Affine3 from orientation / scale / position.
|
friend |
Function for writing to a stream.