Public Member Functions | Protected Attributes | List of all members
ion::STransformation3 Class Reference

Describes a 3D transformation as a composed translation, rotation, and scale. More...

#include <STransformation3.h>

Collaboration diagram for ion::STransformation3:
Collaboration graph
[legend]

Public Member Functions

 STransformation3 ()
 
 operator glm::mat4 () const
 
glm::mat4 const operator() () const
 
glm::mat4 const GetGLMMat4 () const
 
glm::mat4 const Get () const
 
void Update ()
 
void SetRotation (glm::mat4 const &rotation)
 
void SetRotation (vec3f const &rotation)
 
vec3f GetRotation () const
 
void SetScale (vec3f const &scale)
 
vec3f GetScale () const
 
void SetTranslation (vec3f const &translation)
 
vec3f GetTranslation () const
 
void Set (glm::mat4 const &Transformation)
 
void SetRotationOrder (ERotationOrder const RotationOrder)
 
ERotationOrder GetRotationOrder () const
 
void SetOrder (ETransformationOrder const TransformationOrder)
 
ETransformationOrder GetOrder () const
 

Protected Attributes

vec3f TranslationVector
 
vec3f RotationVector
 
vec3f ScaleVector = 1
 
glm::mat4 Translation
 
glm::mat4 Rotation
 
glm::mat4 Scale
 
glm::mat4 Transformation
 
bool UseExplicitRotation = false
 
bool UseExplicitTransformation = false
 
ERotationOrder RotationOrder = ERotationOrder::ZYX
 
ETransformationOrder TransformationOrder = ETransformationOrder::ScaleRotationTranslation
 

Detailed Description

Describes a 3D transformation as a composed translation, rotation, and scale.

Constructor & Destructor Documentation

ion::STransformation3::STransformation3 ( )
inline

Member Function Documentation

glm::mat4 const ion::STransformation3::Get ( ) const
inline
glm::mat4 const ion::STransformation3::GetGLMMat4 ( ) const
inline
ETransformationOrder ion::STransformation3::GetOrder ( ) const
inline
vec3f ion::STransformation3::GetRotation ( ) const
inline
ERotationOrder ion::STransformation3::GetRotationOrder ( ) const
inline
vec3f ion::STransformation3::GetScale ( ) const
inline
vec3f ion::STransformation3::GetTranslation ( ) const
inline
ion::STransformation3::operator glm::mat4 ( ) const
inline
glm::mat4 const ion::STransformation3::operator() ( ) const
inline
void ion::STransformation3::Set ( glm::mat4 const &  Transformation)
inline
void ion::STransformation3::SetOrder ( ETransformationOrder const  TransformationOrder)
inline
void ion::STransformation3::SetRotation ( glm::mat4 const &  rotation)
inline
void ion::STransformation3::SetRotation ( vec3f const &  rotation)
inline
void ion::STransformation3::SetRotationOrder ( ERotationOrder const  RotationOrder)
inline
void ion::STransformation3::SetScale ( vec3f const &  scale)
inline
void ion::STransformation3::SetTranslation ( vec3f const &  translation)
inline
void ion::STransformation3::Update ( )
inline

Member Data Documentation

glm::mat4 ion::STransformation3::Rotation
protected
ERotationOrder ion::STransformation3::RotationOrder = ERotationOrder::ZYX
protected
vec3f ion::STransformation3::RotationVector
protected
glm::mat4 ion::STransformation3::Scale
protected
vec3f ion::STransformation3::ScaleVector = 1
protected
glm::mat4 ion::STransformation3::Transformation
protected
ETransformationOrder ion::STransformation3::TransformationOrder = ETransformationOrder::ScaleRotationTranslation
protected
glm::mat4 ion::STransformation3::Translation
protected
vec3f ion::STransformation3::TranslationVector
protected
bool ion::STransformation3::UseExplicitRotation = false
protected
bool ion::STransformation3::UseExplicitTransformation = false
protected

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