#include <Matrix.h>
Public Member Functions | |
| Matrix () | |
| Matrix (const float &fElement0, const float &fElement4, const float &fElement8, const float &fElement12, const float &fElement1, const float &fElement5, const float &fElement9, const float &fElement13, const float &fElement2, const float &fElement6, const float &fElement10, const float &fElement14, const float &fElement3, const float &fElement7, const float &fElement11, const float &fElement15) | |
| Matrix (const Vector &vecOne, const Vector &vecTwo, const Vector &vecThree, const Vector &vecFour=Vector(0.0f, 0.0f, 0.0f)) | |
| Matrix (const float *pElements) | |
| Matrix (const float vfElements[4][4]) | |
| Matrix (const Quaternion &quaRotation) | |
| ~Matrix () | |
| void | Set (const float *pElements) |
| void | clearMatrix () |
| const float * | Get () const |
| void | Set (const unsigned int i, const unsigned int j, const float &fValue) |
| const float & | Get (const unsigned int i, const unsigned int j) const |
| const float & | Get (const unsigned int i) const |
| void | SetRow (const unsigned int i, const float vfValues[4]) |
| void | SetColumn (const unsigned int i, const float vfValues[4]) |
| void | SetRow (const unsigned int i, const Vector &vecVector) |
| void | SetColumn (const unsigned int i, const Vector &vecVector) |
| float & | operator() (const unsigned int i, const unsigned int j) |
| const float & | operator() (const unsigned int i, const unsigned int j) const |
| void | SetTranslation (const Vector &vecTranslation) |
| const Vector | GetTranslation () const |
| const Quaternion | GetRotation () const |
| const Matrix | GetTranslated (const Vector &vecTranslation) const |
| void | translate (const Vector &vecTranslation) |
| const Matrix | GetScaled (const Vector &vecScale) const |
| void | scale (const Vector &vecScale) |
| const Matrix | GetRotated (const Quaternion &quaRotation) const |
| void | rotate (const Quaternion &quaRotation) |
| const Matrix | GetInverse () const |
| void | invert () |
| const Matrix | GetTransposed () const |
| void | transpose () |
| const Vector | GetRotated (const Vector &vecOther) const |
| const bool | operator== (const Matrix &matOther) const |
| const bool | operator!= (const Matrix &matOther) const |
| const Matrix | operator * (const Matrix &matOther) const |
| const Matrix & | operator *= (const Matrix &matOther) |
| const Vector | operator * (const Vector &vecOther) const |
Definition at line 7 of file Matrix.h.
| Matrix::Matrix | ( | ) | [inline] |
Definition at line 12 of file Matrix.h.
Referenced by GetRotated(), GetScaled(), GetTranslated(), GetTransposed(), and operator *().
| Matrix::Matrix | ( | const float & | fElement0, | |
| const float & | fElement4, | |||
| const float & | fElement8, | |||
| const float & | fElement12, | |||
| const float & | fElement1, | |||
| const float & | fElement5, | |||
| const float & | fElement9, | |||
| const float & | fElement13, | |||
| const float & | fElement2, | |||
| const float & | fElement6, | |||
| const float & | fElement10, | |||
| const float & | fElement14, | |||
| const float & | fElement3, | |||
| const float & | fElement7, | |||
| const float & | fElement11, | |||
| const float & | fElement15 | |||
| ) | [inline] |
| Matrix::Matrix | ( | const Vector & | vecOne, | |
| const Vector & | vecTwo, | |||
| const Vector & | vecThree, | |||
| const Vector & | vecFour = Vector(0.0f,0.0f,0.0f) | |||
| ) | [inline] |
Definition at line 34 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), and Vector::GetZ().

| Matrix::Matrix | ( | const Quaternion & | quaRotation | ) | [inline] |
| void Matrix::Set | ( | const float * | pElements | ) | [inline] |
| const float* Matrix::Get | ( | ) | const [inline] |
| void Matrix::Set | ( | const unsigned int | i, | |
| const unsigned int | j, | |||
| const float & | fValue | |||
| ) | [inline] |
| const float& Matrix::Get | ( | const unsigned int | i, | |
| const unsigned int | j | |||
| ) | const [inline] |
| const float& Matrix::Get | ( | const unsigned int | i | ) | const [inline] |
| void Matrix::SetRow | ( | const unsigned int | i, | |
| const float | vfValues[4] | |||
| ) | [inline] |
| void Matrix::SetColumn | ( | const unsigned int | i, | |
| const float | vfValues[4] | |||
| ) | [inline] |
| void Matrix::SetRow | ( | const unsigned int | i, | |
| const Vector & | vecVector | |||
| ) | [inline] |
Definition at line 114 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), and Vector::GetZ().

| void Matrix::SetColumn | ( | const unsigned int | i, | |
| const Vector & | vecVector | |||
| ) | [inline] |
Definition at line 121 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), and Vector::GetZ().

| float& Matrix::operator() | ( | const unsigned int | i, | |
| const unsigned int | j | |||
| ) | [inline] |
| const float& Matrix::operator() | ( | const unsigned int | i, | |
| const unsigned int | j | |||
| ) | const [inline] |
| void Matrix::SetTranslation | ( | const Vector & | vecTranslation | ) | [inline] |
Definition at line 138 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), and Vector::GetZ().

| const Quaternion Matrix::GetRotation | ( | ) | const [inline] |
Definition at line 198 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), Vector::GetZ(), and Matrix().
Referenced by translate().

| void Matrix::translate | ( | const Vector & | vecTranslation | ) | [inline] |
Definition at line 203 of file Matrix.h.
References GetTranslated().

Definition at line 208 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), Vector::GetZ(), and Matrix().
Referenced by scale().

| void Matrix::scale | ( | const Vector & | vecScale | ) | [inline] |
Definition at line 213 of file Matrix.h.
References GetScaled().

| const Matrix Matrix::GetRotated | ( | const Quaternion & | quaRotation | ) | const [inline] |
Definition at line 218 of file Matrix.h.
References Quaternion::GetScalar(), Quaternion::GetVector(), Vector::GetX(), Vector::GetY(), Vector::GetZ(), and Matrix().
Referenced by rotate().

| void Matrix::rotate | ( | const Quaternion & | quaRotation | ) | [inline] |
Definition at line 233 of file Matrix.h.
References GetRotated().
Referenced by Matrix().

| const Matrix Matrix::GetInverse | ( | ) | const [inline] |
Definition at line 238 of file Matrix.h.
References m_vfElements, and m_vfElements44.
Referenced by invert().
| void Matrix::invert | ( | ) | [inline] |
Definition at line 323 of file Matrix.h.
References GetInverse().

| const Matrix Matrix::GetTransposed | ( | ) | const [inline] |
Definition at line 328 of file Matrix.h.
References Matrix().
Referenced by transpose().

| void Matrix::transpose | ( | ) | [inline] |
Definition at line 337 of file Matrix.h.
References GetTransposed().

Definition at line 342 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), and Vector::GetZ().

| const bool Matrix::operator== | ( | const Matrix & | matOther | ) | const [inline] |
| const bool Matrix::operator!= | ( | const Matrix & | matOther | ) | const [inline] |
Definition at line 366 of file Matrix.h.
References m_vfElements, m_vfElements16, and Matrix().

Definition at line 396 of file Matrix.h.
References Vector::GetX(), Vector::GetY(), and Vector::GetZ().

| float Matrix::m_vfElements16[16] |
| float Matrix::m_vfElements44[4][4] |
1.5.4