All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
star::TransformComponent Class Referencefinal

#include <TransformComponent.h>

Inheritance diagram for star::TransformComponent:
Inheritance graph
Collaboration diagram for star::TransformComponent:
Collaboration graph

Public Types

enum  TransformChanged : byte { NONE, TRANSLATION, ROTATION, SCALE }

Public Member Functions

 TransformComponent (Object *parent)
 ~TransformComponent (void)
void Update (const Context &context)
void UpdateFrozenObjects (const Context &context)
void Draw ()
void IsChanged (bool isChanged)
void Translate (const vec3 &translation)
void Translate (float x, float y, float z)
void TranslateXY (float x, float y)
void TranslateXZ (float x, float z)
void TranslateX (float x)
void TranslateYZ (float y, float z)
void TranslateY (float y)
void TranslateZ (float z)
void Move (const vec3 &translation)
void Move (float x, float y, float z)
void MoveXY (float x, float y)
void MoveXZ (float x, float z)
void MoveX (float x)
void MoveYZ (float y, float z)
void MoveY (float y)
void MoveZ (float z)
void Rotate (const quat &rotation)
void Scale (const vec3 &scale)
void Scale (float x, float y, float z)
void Scale (float u)
void ScaleXY (float x, float y)
void ScaleXZ (float x, float z)
void ScaleX (float x)
void ScaleYZ (float y, float z)
void ScaleY (float y)
void ScaleZ (float z)
const vec3 & GetWorldPosition ()
const vec3 & GetLocalPosition ()
const quat & GetWorldRotation ()
const quat & GetLocalRotation () const
const vec3 & GetWorldScale ()
const vec3 & GetLocalScale ()
mat4x4 GetWorldMatrix ()
- Public Member Functions inherited from star::BaseComponent
 BaseComponent (void)
 BaseComponent (Object *parent)
virtual ~BaseComponent (void)
void Initialize ()
bool IsInitialized () const
ObjectGetParent () const
void SetParent (Object *parent)
BaseSceneGetGameScene () const
TransformComponentGetTransform () const

Additional Inherited Members

- Protected Attributes inherited from star::BaseComponent
bool m_bInitialized

Member Enumeration Documentation


Constructor & Destructor Documentation

star::TransformComponent::TransformComponent ( star::Object parent)
star::TransformComponent::~TransformComponent ( void  )

Member Function Documentation

void star::TransformComponent::Draw ( )

Implements star::BaseComponent.

const vec3 & star::TransformComponent::GetLocalPosition ( )
const quat & star::TransformComponent::GetLocalRotation ( ) const
const vec3 & star::TransformComponent::GetLocalScale ( )
mat4x4 star::TransformComponent::GetWorldMatrix ( )
const vec3 & star::TransformComponent::GetWorldPosition ( )
const quat & star::TransformComponent::GetWorldRotation ( )
const vec3 & star::TransformComponent::GetWorldScale ( )
void star::TransformComponent::IsChanged ( bool  isChanged)
void star::TransformComponent::Move ( const vec3 &  translation)
void star::TransformComponent::Move ( float  x,
float  y,
float  z 
void star::TransformComponent::MoveX ( float  x)
void star::TransformComponent::MoveXY ( float  x,
float  y 
void star::TransformComponent::MoveXZ ( float  x,
float  z 
void star::TransformComponent::MoveY ( float  y)
void star::TransformComponent::MoveYZ ( float  y,
float  z 
void star::TransformComponent::MoveZ ( float  z)
void star::TransformComponent::Rotate ( const quat &  rotation)
void star::TransformComponent::Scale ( const vec3 &  scale)
void star::TransformComponent::Scale ( float  x,
float  y,
float  z 
void star::TransformComponent::Scale ( float  u)
void star::TransformComponent::ScaleX ( float  x)
void star::TransformComponent::ScaleXY ( float  x,
float  y 
void star::TransformComponent::ScaleXZ ( float  x,
float  z 
void star::TransformComponent::ScaleY ( float  y)
void star::TransformComponent::ScaleYZ ( float  y,
float  z 
void star::TransformComponent::ScaleZ ( float  z)
void star::TransformComponent::Translate ( const vec3 &  translation)
void star::TransformComponent::Translate ( float  x,
float  y,
float  z 
void star::TransformComponent::TranslateX ( float  x)
void star::TransformComponent::TranslateXY ( float  x,
float  y 
void star::TransformComponent::TranslateXZ ( float  x,
float  z 
void star::TransformComponent::TranslateY ( float  y)
void star::TransformComponent::TranslateYZ ( float  y,
float  z 
void star::TransformComponent::TranslateZ ( float  z)
void star::TransformComponent::Update ( const Context context)

Implements star::BaseComponent.

void star::TransformComponent::UpdateFrozenObjects ( const Context context)

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