Public Member Functions | Protected Attributes | List of all members
ion::Scene::ISceneObject Class Referenceabstract

#include <ISceneObject.h>

Inheritance diagram for ion::Scene::ISceneObject:
Inheritance graph
[legend]
Collaboration diagram for ion::Scene::ISceneObject:
Collaboration graph
[legend]

Public Member Functions

virtual ~ISceneObject ()
 Destructor. More...
 
virtual bool IsVisible () const
 Check if visible. More...
 
virtual bool IsLoaded (CRenderPass const *RenderPass) const
 Check if loaded. More...
 
virtual void TriggerReload ()
 Trigger a reload at next draw. More...
 
virtual void SetVisible (bool const isVisible)
 Set visibility. More...
 
virtual void SetDebugName (string const &DebugName)
 Debug name mutator. More...
 
virtual string const & GetDebugName () const
 Debug name accessor. More...
 
virtual STransformation3 const & GetTransformation () const
 Transformation accessor. More...
 
virtual void SetTransformation (glm::mat4 const &transformation)
 Transformation mutator. More...
 
virtual void SetTranslation (vec3f const &translation)
 Translation mutator. More...
 
virtual void SetPosition (vec3f const &translation)
 See SetTranslation (duplicate method) More...
 
virtual void SetRotation (vec3f const &rotation)
 Rotation mutator (euler angles) More...
 
virtual void SetRotation (glm::mat4 const &matrix)
 Rotatiom mutator (rotation matrix) More...
 
virtual void SetScale (vec3f const &scale)
 Scale mutator. More...
 
virtual vec3f GetRotation () const
 Rotation acessor (euler angles) More...
 
virtual vec3f GetTranslation () const
 Translation accessor. More...
 
virtual vec3f GetPosition () const
 Position accessor. More...
 
virtual vec3f GetScale () const
 Scale accessor. More...
 
void SetRotationOrder (ERotationOrder const RotationOrder)
 
ERotationOrder GetRotationOrder () const
 
void SetTransformationOrder (ETransformationOrder const TransformationOrder)
 
ETransformationOrder GetTransformationOrder () const
 
virtual void Load (CRenderPass *RenderPass)=0
 
virtual void Draw (CRenderPass *RenderPass)=0
 

Protected Attributes

STransformation3 Transformation
 
bool Visible = true
 Whether or not to draw this object. More...
 
map< CRenderPass const *, bool > Loaded
 Whether this object has been loaded yet. More...
 
string DebugName = ""
 

Constructor & Destructor Documentation

ion::Scene::ISceneObject::~ISceneObject ( )
virtual

Destructor.

Member Function Documentation

virtual void ion::Scene::ISceneObject::Draw ( CRenderPass RenderPass)
pure virtual
string const & ion::Scene::ISceneObject::GetDebugName ( ) const
virtual

Debug name accessor.

vec3f ion::Scene::ISceneObject::GetPosition ( ) const
virtual

Position accessor.

vec3f ion::Scene::ISceneObject::GetRotation ( ) const
virtual

Rotation acessor (euler angles)

ERotationOrder ion::Scene::ISceneObject::GetRotationOrder ( ) const
vec3f ion::Scene::ISceneObject::GetScale ( ) const
virtual

Scale accessor.

STransformation3 const & ion::Scene::ISceneObject::GetTransformation ( ) const
virtual

Transformation accessor.

ETransformationOrder ion::Scene::ISceneObject::GetTransformationOrder ( ) const
vec3f ion::Scene::ISceneObject::GetTranslation ( ) const
virtual

Translation accessor.

bool ion::Scene::ISceneObject::IsLoaded ( CRenderPass const *  RenderPass) const
virtual

Check if loaded.

bool ion::Scene::ISceneObject::IsVisible ( ) const
virtual

Check if visible.

virtual void ion::Scene::ISceneObject::Load ( CRenderPass RenderPass)
pure virtual
void ion::Scene::ISceneObject::SetDebugName ( string const &  DebugName)
virtual

Debug name mutator.

void ion::Scene::ISceneObject::SetPosition ( vec3f const &  translation)
virtual

See SetTranslation (duplicate method)

void ion::Scene::ISceneObject::SetRotation ( vec3f const &  rotation)
virtual

Rotation mutator (euler angles)

void ion::Scene::ISceneObject::SetRotation ( glm::mat4 const &  matrix)
virtual

Rotatiom mutator (rotation matrix)

void ion::Scene::ISceneObject::SetRotationOrder ( ERotationOrder const  RotationOrder)
void ion::Scene::ISceneObject::SetScale ( vec3f const &  scale)
virtual

Scale mutator.

void ion::Scene::ISceneObject::SetTransformation ( glm::mat4 const &  transformation)
virtual

Transformation mutator.

void ion::Scene::ISceneObject::SetTransformationOrder ( ETransformationOrder const  TransformationOrder)
void ion::Scene::ISceneObject::SetTranslation ( vec3f const &  translation)
virtual

Translation mutator.

void ion::Scene::ISceneObject::SetVisible ( bool const  isVisible)
virtual

Set visibility.

void ion::Scene::ISceneObject::TriggerReload ( )
virtual

Trigger a reload at next draw.

Member Data Documentation

string ion::Scene::ISceneObject::DebugName = ""
protected
map<CRenderPass const *, bool> ion::Scene::ISceneObject::Loaded
protected

Whether this object has been loaded yet.

STransformation3 ion::Scene::ISceneObject::Transformation
protected
bool ion::Scene::ISceneObject::Visible = true
protected

Whether or not to draw this object.


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