#include <nemath.h>
Collaboration diagram for Matrix:
Public Member Functions | |
Matrix () | |
Matrix (const Matrix &rkMatrix) | |
Matrix (const float afComponents[]) | |
Matrix (const Quaternion &rkQuat) | |
Matrix (const Quaternion &rkQuat, const Vector3d &rkTranslation) | |
Matrix (const Vector3d &rkVector) | |
Matrix & | Reset () |
Matrix & | Set (float afComponents[]) |
Matrix & | Set (const Quaternion &rkQuat, const Vector3d &rkTranslation) |
Matrix & | Set (const Vector3d &rkVector) |
Matrix & | SetRotation (const Quaternion &rkQuat) |
Matrix & | SetTranslation (const Vector3d &rkTranslation) |
Matrix & | Transpose () |
Matrix & | TransposeTo (Matrix *pkMatrix) |
Vector3d | GetColumn (int iColumn) const |
Matrix & | operator= (const Matrix &rkMatrix) |
Matrix & | operator= (const Quaternion &rkQuat) |
Matrix | operator * (const Matrix &rkMatrix) const |
Matrix & | operator *= (const Matrix &rkMatrix) |
Matrix | operator * (float fScale) const |
Matrix & | operator *= (float fScale) |
Matrix | operator- (const Matrix &rkMatrix) const |
Matrix & | operator-= (const Matrix &rkMatrix) |
Matrix | operator+ (const Matrix &rkMatrix) const |
Matrix & | operator+= (const Matrix &rkMatrix) |
Vector3d | operator * (const Vector3d &rkVector) const |
bool | operator== (const Matrix &rkMatrix) const |
bool | operator!= (const Matrix &rkMatrix) const |
float * | operator[] (int iRow) |
operator float * () | |
const float * | operator[] (int iRow) const |
operator const float * () const | |
bool | operator< (const Matrix &rkMatrix) const |
Public Attributes | |
float | m_aafMatrix [4][4] |
Static Public Attributes | |
const NE_STATIC Matrix | IDENTITY |
Static Private Attributes | |
const NE_STATIC float | g_afIdentityMatrix [16] |
|
Reset components to identity matrix |
|
Set components
|
|
Set components
|
|
Build rotation matrix from quaternion
|
|
Build transformation matrix from rotation and translation
|
|
Create a cross-product matrix M from vector, such that M * a = rkVector x a
|
|
Reset components to identity matrix
|
|
Set components
|
|
Build transformation matrix from rotation and translation
|
|
Create a cross-product matrix M from vector, such that M * a = rkVector x a
|
|
Set rotation part of matrix from quaternion (does not touch translation part)
|
|
Set translation part of matrix from vector (does not touch rotation part)
|
|
Transpose matrix (modifies this matrix!)
|
|
Transpose matrix and store in given matrix (does not store in temporary space, DO NOT pass this as argument)
|
|
Column access
|
|
Assignment
|
|
Assignment from quaternion, build rotation matrix (resets translations!)
|
|
Matrix multiplication
|
|
Matrix multiplication and assignment
|
|
Scale matrix by scalar
|
|
Scale matrix by scalar
|
|
Matrix subtraction
|
|
Matrix subtraction and assignment
|
|
Matrix addition
|
|
Matrix addition and assignment
|
|
Multiplication with vector (transform vector)
|
|
Compare with epsilon tolerance
|
|
Compare with epsilon tolerance
|
|
Row access
|
|
Conversion to float pointer |
|
Row access
|
|
Conversion to float pointer |
|
Dummy operator for Win32 std::vector DLL exports |
|
Identity matrix array |
|
Components |
|
Identity matrix |