#include <GteTransform.h>
Public Member Functions | |
Matrix4x4< float > const & | GetHInverse () const |
Matrix4x4< float > const & | GetHMatrix () const |
Matrix4x4< float > const & | GetMatrix () const |
float | GetNorm () const |
Matrix4x4< float > const & | GetRotation () const |
void | GetRotation (Matrix3x3< float > &rotate) const |
void | GetRotation (Quaternion< float > &q) const |
void | GetRotation (AxisAngle< 4, float > &axisAngle) const |
void | GetRotation (EulerAngles< float > &eulerAngles) const |
Vector3< float > | GetScale () const |
Vector4< float > | GetScaleW1 () const |
Vector3< float > | GetTranslation () const |
Vector4< float > | GetTranslationW0 () const |
Vector4< float > | GetTranslationW1 () const |
float | GetUniformScale () const |
Transform | Inverse () const |
bool | IsIdentity () const |
bool | IsRSMatrix () const |
bool | IsUniformScale () const |
void | MakeIdentity () |
void | MakeUnitScale () |
operator Matrix4x4< float > const & () const | |
void | SetMatrix (Matrix4x4< float > const &matrix) |
void | SetRotation (Matrix4x4< float > const &rotate) |
void | SetRotation (Matrix3x3< float > const &rotate) |
void | SetRotation (Quaternion< float > const &q) |
void | SetRotation (AxisAngle< 4, float > const &axisAngle) |
void | SetRotation (EulerAngles< float > const &eulerAngles) |
void | SetScale (float s0, float s1, float s2) |
void | SetScale (Vector3< float > const &scale) |
void | SetScale (Vector4< float > const &scale) |
void | SetTranslation (float x0, float x1, float x2) |
void | SetTranslation (Vector3< float > const &translate) |
void | SetTranslation (Vector4< float > const &translate) |
void | SetUniformScale (float scale) |
Transform () | |
Static Public Attributes | |
static Transform const | IDENTITY |
Private Member Functions | |
void | UpdateHMatrix () |
Static Private Member Functions | |
static void | Invert3x3 (Matrix4x4< float > const &mat, Matrix4x4< float > &invMat) |
Private Attributes | |
Matrix4x4< float > | mHMatrix |
bool | mInverseNeedsUpdate |
Matrix4x4< float > | mInvHMatrix |
bool | mIsIdentity |
bool | mIsRSMatrix |
bool | mIsUniformScale |
Matrix4x4< float > | mMatrix |
Vector4< float > | mScale |
Vector4< float > | mTranslate |
Definition at line 59 of file GteTransform.h.
Transform::Transform | ( | ) |
Definition at line 16 of file GteTransform.cpp.
Matrix4x4< float > const & Transform::GetHInverse | ( | ) | const |
Definition at line 220 of file GteTransform.cpp.
|
inline |
Definition at line 262 of file GteTransform.h.
|
inline |
Definition at line 223 of file GteTransform.h.
float Transform::GetNorm | ( | ) | const |
Definition at line 187 of file GteTransform.cpp.
|
inline |
Definition at line 217 of file GteTransform.h.
Definition at line 132 of file GteTransform.cpp.
void Transform::GetRotation | ( | Quaternion< float > & | q | ) | const |
Definition at line 152 of file GteTransform.cpp.
Definition at line 166 of file GteTransform.cpp.
void Transform::GetRotation | ( | EulerAngles< float > & | eulerAngles | ) | const |
Definition at line 180 of file GteTransform.cpp.
|
inline |
Definition at line 243 of file GteTransform.h.
|
inline |
Definition at line 249 of file GteTransform.h.
|
inline |
Definition at line 228 of file GteTransform.h.
|
inline |
Definition at line 233 of file GteTransform.h.
|
inline |
Definition at line 238 of file GteTransform.h.
|
inline |
Definition at line 255 of file GteTransform.h.
Transform Transform::Inverse | ( | ) | const |
Definition at line 348 of file GteTransform.cpp.
|
staticprivate |
Definition at line 444 of file GteTransform.cpp.
|
inline |
Definition at line 202 of file GteTransform.h.
|
inline |
Definition at line 207 of file GteTransform.h.
|
inline |
Definition at line 212 of file GteTransform.h.
void Transform::MakeIdentity | ( | ) |
Definition at line 30 of file GteTransform.cpp.
void Transform::MakeUnitScale | ( | ) |
Definition at line 41 of file GteTransform.cpp.
|
inline |
Definition at line 197 of file GteTransform.h.
Definition at line 57 of file GteTransform.cpp.
Definition at line 49 of file GteTransform.cpp.
Definition at line 116 of file GteTransform.cpp.
void Transform::SetRotation | ( | Quaternion< float > const & | q | ) |
Definition at line 144 of file GteTransform.cpp.
Definition at line 158 of file GteTransform.cpp.
void Transform::SetRotation | ( | EulerAngles< float > const & | eulerAngles | ) |
Definition at line 172 of file GteTransform.cpp.
void Transform::SetScale | ( | float | s0, |
float | s1, | ||
float | s2 | ||
) |
Definition at line 83 of file GteTransform.cpp.
Definition at line 95 of file GteTransform.cpp.
Definition at line 100 of file GteTransform.cpp.
void Transform::SetTranslation | ( | float | x0, |
float | x1, | ||
float | x2 | ||
) |
Definition at line 66 of file GteTransform.cpp.
Definition at line 73 of file GteTransform.cpp.
Definition at line 78 of file GteTransform.cpp.
void Transform::SetUniformScale | ( | float | scale | ) |
Definition at line 105 of file GteTransform.cpp.
|
private |
Definition at line 377 of file GteTransform.cpp.
|
static |
Definition at line 157 of file GteTransform.h.
|
private |
Definition at line 171 of file GteTransform.h.
|
mutableprivate |
Definition at line 178 of file GteTransform.h.
|
mutableprivate |
Definition at line 172 of file GteTransform.h.
|
private |
Definition at line 177 of file GteTransform.h.
|
private |
Definition at line 177 of file GteTransform.h.
|
private |
Definition at line 177 of file GteTransform.h.
|
private |
Definition at line 174 of file GteTransform.h.
|
private |
Definition at line 176 of file GteTransform.h.
|
private |
Definition at line 175 of file GteTransform.h.