Ocular Engine
Ocular::Editor::SceneTreeItem Class Reference
Inheritance diagram for Ocular::Editor::SceneTreeItem:

Public Member Functions

 SceneTreeItem (SceneTree *parent, Core::SceneObject *object)
 
 SceneTreeItem (SceneTreeItem *parent, Core::SceneObject *object)
 
virtual ~SceneTreeItem ()
 
void update (bool recursive=true)
 
Core::SceneObjectgetObject () const
 
Core::UUID const & getUUID () const
 

Protected Member Functions

void buildItem ()
 

Protected Attributes

Core::SceneObjectm_Object
 
Core::UUID m_ObjectUUID
 

Constructor & Destructor Documentation

Ocular::Editor::SceneTreeItem::SceneTreeItem ( SceneTree parent,
Core::SceneObject object 
)

Constructor for a top-level tree item.

Parameters
[in]parentParent tree to add this item to
[in]objectSceneObject that this item represents
Ocular::Editor::SceneTreeItem::SceneTreeItem ( SceneTreeItem parent,
Core::SceneObject object 
)

Constructor for a child tree item.

Parameters
[in]parentParent item to add this item to
[in]objectSceneObject that this item represents
Ocular::Editor::SceneTreeItem::~SceneTreeItem ( )
virtual

Destructor

Member Function Documentation

void Ocular::Editor::SceneTreeItem::buildItem ( )
protected

Builds the item based off of the SceneObject

Core::SceneObject * Ocular::Editor::SceneTreeItem::getObject ( ) const
Returns
The object that is represented by this item.
Core::UUID const & Ocular::Editor::SceneTreeItem::getUUID ( ) const
Returns
The UUID of the object that is represented by this item.

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