UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::action::mode3d::Element Class Reference

A 3D Element. More...

#include <ugdk/action/3D/element.h>

Inheritance diagram for ugdk::action::mode3d::Element:
Collaboration diagram for ugdk::action::mode3d::Element:

Public Member Functions

 Element (Scene3D &scene, const std::string &name="")
 
virtual ~Element ()
 
Elementoperator= (const Element &)=delete
 
 Element (const Element &)=delete
 
void AddComponent (const std::shared_ptr< Component > &the_component)
 
template<class T >
T * component ()
 
void AttachTo (Element &parent)
 
void AttachTo (Scene3D &scene)
 
void Destroy ()
 
bool marked_for_removal () const
 
Ogre::SceneNode & node ()
 
Scene3Dscene ()
 
std::string name () const
 

Protected Member Functions

virtual void OnAttach ()
 
virtual void OnParentDestroyed ()
 

Detailed Description

A 3D Element.

Represents an Element in the 3D world.

Constructor & Destructor Documentation

ugdk::action::mode3d::Element::Element ( Scene3D scene,
const std::string &  name = "" 
)
virtual ugdk::action::mode3d::Element::~Element ( )
virtual
ugdk::action::mode3d::Element::Element ( const Element )
delete

Member Function Documentation

void ugdk::action::mode3d::Element::AddComponent ( const std::shared_ptr< Component > &  the_component)
void ugdk::action::mode3d::Element::AttachTo ( Element parent)
void ugdk::action::mode3d::Element::AttachTo ( Scene3D scene)
template<class T >
T * ugdk::action::mode3d::Element::component ( )
void ugdk::action::mode3d::Element::Destroy ( )
bool ugdk::action::mode3d::Element::marked_for_removal ( ) const
inline
std::string ugdk::action::mode3d::Element::name ( ) const
inline
Ogre::SceneNode& ugdk::action::mode3d::Element::node ( )
inline
virtual void ugdk::action::mode3d::Element::OnAttach ( )
inlineprotectedvirtual

Reimplemented in ugdk::action::mode3d::Camera.

virtual void ugdk::action::mode3d::Element::OnParentDestroyed ( )
inlineprotectedvirtual

Reimplemented in ugdk::action::mode3d::Camera.

Element& ugdk::action::mode3d::Element::operator= ( const Element )
delete
Scene3D& ugdk::action::mode3d::Element::scene ( )
inline

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