Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
gte::Transform Class Reference

#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
 

Detailed Description

Definition at line 59 of file GteTransform.h.

Constructor & Destructor Documentation

Transform::Transform ( )

Definition at line 16 of file GteTransform.cpp.

Member Function Documentation

Matrix4x4< float > const & Transform::GetHInverse ( ) const

Definition at line 220 of file GteTransform.cpp.

Matrix4x4< float > const & gte::Transform::GetHMatrix ( ) const
inline

Definition at line 262 of file GteTransform.h.

Matrix4x4< float > const & gte::Transform::GetMatrix ( ) const
inline

Definition at line 223 of file GteTransform.h.

float Transform::GetNorm ( ) const

Definition at line 187 of file GteTransform.cpp.

Matrix4x4< float > const & gte::Transform::GetRotation ( ) const
inline

Definition at line 217 of file GteTransform.h.

void Transform::GetRotation ( Matrix3x3< float > &  rotate) const

Definition at line 132 of file GteTransform.cpp.

void Transform::GetRotation ( Quaternion< float > &  q) const

Definition at line 152 of file GteTransform.cpp.

void Transform::GetRotation ( AxisAngle< 4, float > &  axisAngle) const

Definition at line 166 of file GteTransform.cpp.

void Transform::GetRotation ( EulerAngles< float > &  eulerAngles) const

Definition at line 180 of file GteTransform.cpp.

Vector3< float > gte::Transform::GetScale ( ) const
inline

Definition at line 243 of file GteTransform.h.

Vector4< float > gte::Transform::GetScaleW1 ( ) const
inline

Definition at line 249 of file GteTransform.h.

Vector3< float > gte::Transform::GetTranslation ( ) const
inline

Definition at line 228 of file GteTransform.h.

Vector4< float > gte::Transform::GetTranslationW0 ( ) const
inline

Definition at line 233 of file GteTransform.h.

Vector4< float > gte::Transform::GetTranslationW1 ( ) const
inline

Definition at line 238 of file GteTransform.h.

float gte::Transform::GetUniformScale ( ) const
inline

Definition at line 255 of file GteTransform.h.

Transform Transform::Inverse ( ) const

Definition at line 348 of file GteTransform.cpp.

void Transform::Invert3x3 ( Matrix4x4< float > const &  mat,
Matrix4x4< float > &  invMat 
)
staticprivate

Definition at line 444 of file GteTransform.cpp.

bool gte::Transform::IsIdentity ( ) const
inline

Definition at line 202 of file GteTransform.h.

bool gte::Transform::IsRSMatrix ( ) const
inline

Definition at line 207 of file GteTransform.h.

bool gte::Transform::IsUniformScale ( ) const
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.

gte::Transform::operator Matrix4x4< float > const & ( ) const
inline

Definition at line 197 of file GteTransform.h.

void Transform::SetMatrix ( Matrix4x4< float > const &  matrix)

Definition at line 57 of file GteTransform.cpp.

void Transform::SetRotation ( Matrix4x4< float > const &  rotate)

Definition at line 49 of file GteTransform.cpp.

void Transform::SetRotation ( Matrix3x3< float > const &  rotate)

Definition at line 116 of file GteTransform.cpp.

void Transform::SetRotation ( Quaternion< float > const &  q)

Definition at line 144 of file GteTransform.cpp.

void Transform::SetRotation ( AxisAngle< 4, float > const &  axisAngle)

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.

void Transform::SetScale ( Vector3< float > const &  scale)

Definition at line 95 of file GteTransform.cpp.

void Transform::SetScale ( Vector4< float > const &  scale)

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.

void Transform::SetTranslation ( Vector3< float > const &  translate)

Definition at line 73 of file GteTransform.cpp.

void Transform::SetTranslation ( Vector4< float > const &  translate)

Definition at line 78 of file GteTransform.cpp.

void Transform::SetUniformScale ( float  scale)

Definition at line 105 of file GteTransform.cpp.

void Transform::UpdateHMatrix ( )
private

Definition at line 377 of file GteTransform.cpp.

Member Data Documentation

Transform const Transform::IDENTITY
static

Definition at line 157 of file GteTransform.h.

Matrix4x4<float> gte::Transform::mHMatrix
private

Definition at line 171 of file GteTransform.h.

bool gte::Transform::mInverseNeedsUpdate
mutableprivate

Definition at line 178 of file GteTransform.h.

Matrix4x4<float> gte::Transform::mInvHMatrix
mutableprivate

Definition at line 172 of file GteTransform.h.

bool gte::Transform::mIsIdentity
private

Definition at line 177 of file GteTransform.h.

bool gte::Transform::mIsRSMatrix
private

Definition at line 177 of file GteTransform.h.

bool gte::Transform::mIsUniformScale
private

Definition at line 177 of file GteTransform.h.

Matrix4x4<float> gte::Transform::mMatrix
private

Definition at line 174 of file GteTransform.h.

Vector4<float> gte::Transform::mScale
private

Definition at line 176 of file GteTransform.h.

Vector4<float> gte::Transform::mTranslate
private

Definition at line 175 of file GteTransform.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:07