Neo
0.5.0
Developer Documentation
|
#include <Matrix4x4.h>
Public Member Functions | |
Matrix4x4 (void) | |
Matrix4x4 (float e0, float e1, float e2, float e3, float e4, float e5, float e6, float e7, float e8, float e9, float e10, float e11, float e12, float e13, float e14, float e15) | |
Matrix4x4 (const float *value) | |
Matrix4x4 (const Matrix4x4 &mat) | |
~Matrix4x4 (void) | |
Matrix4x4 | operator+ (const Matrix4x4 &mat) const |
Matrix4x4 | operator- (const Matrix4x4 &mat) const |
Matrix4x4 | operator* (const Matrix4x4 &mat) const |
Matrix4x4 | operator* (const float value) const |
Matrix4x4 | operator/ (const float value) const |
void | operator+= (const Matrix4x4 &mat) |
void | operator-= (const Matrix4x4 &mat) |
void | operator*= (const Matrix4x4 &mat) |
void | operator*= (const float value) |
void | operator/= (const float value) |
bool | operator== (const Matrix4x4 &mat) const |
bool | operator!= (const Matrix4x4 &mat) const |
Matrix4x4 | operator- (void) const |
Matrix4x4 | operator+ (void) const |
Vector4 | operator* (const Vector4 mat) const |
Vector3 | operator* (const Vector3 mat) const |
float & | operator() (int col, int row) |
operator float * () const | |
operator const float * () const | |
void | loadIdentity (void) |
void | loadZero (void) |
void | invert (void) |
void | transpose (void) |
void | affineInvert (void) |
void | invertTranspose (void) |
void | affineInvertTranspose (void) |
void | scale (const Vector3 &scaleFactor) |
void | rotate (const Vector3 &axis, const float angle) |
void | translate (const Vector3 translate) |
void | setEntry (int position, float value) |
void | setScale (const Vector3 &scaleFactor) |
void | setUniformScale (const float size) |
void | setTranslation (const Vector3 &translation) |
void | setTranslationPart (const Vector3 &translation) |
void | setRotationAxis (const float angle, const Vector3 &axis) |
void | setRotationX (const float angle) |
void | setRotationY (const float angle) |
void | setRotationZ (const float angle) |
void | setRotationEuler (const float angleX, const float angleY, const float angleZ) |
void | setRotationPartEuler (const float angleX, const float angleY, const float angleZ) |
void | setRotationPartEuler (const Vector3 &rotations) |
float | getEntry (int position) const |
Vector3 | getRotatedVector3 (const Vector3 &vec) const |
Vector3 | getInverseRotatedVector3 (const Vector3 &vec) const |
Vector3 | getTranslatedVector3 (const Vector3 &vec) const |
Vector3 | getInversetranslatedVector3 (const Vector3 &vec) const |
Vector3 | getTranslationPart (void) const |
Vector3 | getEulerAngles (void) const |
Vector3 | getScale (void) const |
Vector4 | getRow (int position) const |
Vector4 | getColumn (int position) const |
Matrix4x4 | getInverse (void) const |
Matrix4x4 | getTranspose (void) const |
Matrix4x4 | getInversetranspose (void) const |
Matrix4x4 | getAffineInverse (void) const |
Matrix4x4 | getAffineInverseTranspose (void) const |
void | rotateVector3 (Vector3 &vec) const |
void | inverseRotateVector3 (Vector3 &vec) const |
void | translateVector3 (Vector3 &vec) const |
void | inversetranslateVector3 (Vector3 &vec) const |
Public Attributes | |
float | entries [16] |
Friends | |
Matrix4x4 | operator* (float factor, const Matrix4x4 &mat) |
|
inline |
Neo::Matrix4x4::Matrix4x4 | ( | float | e0, |
float | e1, | ||
float | e2, | ||
float | e3, | ||
float | e4, | ||
float | e5, | ||
float | e6, | ||
float | e7, | ||
float | e8, | ||
float | e9, | ||
float | e10, | ||
float | e11, | ||
float | e12, | ||
float | e13, | ||
float | e14, | ||
float | e15 | ||
) |
Neo::Matrix4x4::Matrix4x4 | ( | const float * | value | ) |
Neo::Matrix4x4::Matrix4x4 | ( | const Matrix4x4 & | mat | ) |
|
inline |
void Neo::Matrix4x4::affineInvert | ( | void | ) |
void Neo::Matrix4x4::affineInvertTranspose | ( | void | ) |
Matrix4x4 Neo::Matrix4x4::getAffineInverse | ( | void | ) | const |
Matrix4x4 Neo::Matrix4x4::getAffineInverseTranspose | ( | void | ) | const |
Vector4 Neo::Matrix4x4::getColumn | ( | int | position | ) | const |
float Neo::Matrix4x4::getEntry | ( | int | position | ) | const |
Vector3 Neo::Matrix4x4::getEulerAngles | ( | void | ) | const |
Matrix4x4 Neo::Matrix4x4::getInverse | ( | void | ) | const |
Matrix4x4 Neo::Matrix4x4::getInversetranspose | ( | void | ) | const |
Vector4 Neo::Matrix4x4::getRow | ( | int | position | ) | const |
Vector3 Neo::Matrix4x4::getScale | ( | void | ) | const |
|
inline |
Matrix4x4 Neo::Matrix4x4::getTranspose | ( | void | ) | const |
|
inline |
|
inline |
void Neo::Matrix4x4::invert | ( | void | ) |
void Neo::Matrix4x4::invertTranspose | ( | void | ) |
void Neo::Matrix4x4::loadIdentity | ( | void | ) |
void Neo::Matrix4x4::loadZero | ( | void | ) |
|
inline |
|
inline |
bool Neo::Matrix4x4::operator!= | ( | const Matrix4x4 & | mat | ) | const |
|
inline |
Matrix4x4 Neo::Matrix4x4::operator* | ( | const float | value | ) | const |
void Neo::Matrix4x4::operator*= | ( | const Matrix4x4 & | mat | ) |
void Neo::Matrix4x4::operator*= | ( | const float | value | ) |
|
inline |
void Neo::Matrix4x4::operator+= | ( | const Matrix4x4 & | mat | ) |
Matrix4x4 Neo::Matrix4x4::operator- | ( | void | ) | const |
void Neo::Matrix4x4::operator-= | ( | const Matrix4x4 & | mat | ) |
Matrix4x4 Neo::Matrix4x4::operator/ | ( | const float | value | ) | const |
void Neo::Matrix4x4::operator/= | ( | const float | value | ) |
bool Neo::Matrix4x4::operator== | ( | const Matrix4x4 & | mat | ) | const |
void Neo::Matrix4x4::rotate | ( | const Vector3 & | axis, |
const float | angle | ||
) |
|
inline |
void Neo::Matrix4x4::scale | ( | const Vector3 & | scaleFactor | ) |
void Neo::Matrix4x4::setEntry | ( | int | position, |
float | value | ||
) |
void Neo::Matrix4x4::setRotationAxis | ( | const float | angle, |
const Vector3 & | axis | ||
) |
void Neo::Matrix4x4::setRotationEuler | ( | const float | angleX, |
const float | angleY, | ||
const float | angleZ | ||
) |
void Neo::Matrix4x4::setRotationPartEuler | ( | const float | angleX, |
const float | angleY, | ||
const float | angleZ | ||
) |
|
inline |
void Neo::Matrix4x4::setRotationX | ( | const float | angle | ) |
void Neo::Matrix4x4::setRotationY | ( | const float | angle | ) |
void Neo::Matrix4x4::setRotationZ | ( | const float | angle | ) |
void Neo::Matrix4x4::setScale | ( | const Vector3 & | scaleFactor | ) |
void Neo::Matrix4x4::setTranslation | ( | const Vector3 & | translation | ) |
void Neo::Matrix4x4::setTranslationPart | ( | const Vector3 & | translation | ) |
void Neo::Matrix4x4::setUniformScale | ( | const float | size | ) |
void Neo::Matrix4x4::translate | ( | const Vector3 | translate | ) |
|
inline |
void Neo::Matrix4x4::transpose | ( | void | ) |
float Neo::Matrix4x4::entries[16] |