Mondschein Engine  0.3.0
Public Member Functions | List of all members
mondschein::scene::Scenenode Class Reference

This class implements the base class for all scene nodes. More...

#include <scenenode.h>

Inheritance diagram for mondschein::scene::Scenenode:
mondschein::scene::Camera mondschein::scene::Light mondschein::scene::Material mondschein::scene::Mesh mondschein::scene::Pose mondschein::scene::Texture

Public Member Functions

virtual void set_renderables (const std::map< std::string, renderer::Renderable_c > &_r)
 Set the renderable objects. More...
 
virtual std::map< std::string,
renderer::Renderable_c > 
get_renderables () const
 Get the renderable objects. More...
 
virtual void set_id (const std::string &_id)
 Set the scenenode id. More...
 
virtual std::string get_id () const
 Get the scenenode id. More...
 

Detailed Description

This class implements the base class for all scene nodes.

The Scenenode class is the base class for all scene nodes used in the Mondschein Engine. Any class inheriting from this interface can be used in any Mondschein Engine scene graph.

Definition at line 36 of file scenenode.h.

Member Function Documentation

std::string Scenenode::get_id ( ) const
virtual

Get the scenenode id.

Returns
the scenenode id

This member function returns the current scenenode id.

Definition at line 69 of file scenenode.cpp.

std::map< std::string, renderer::Renderable_c > Scenenode::get_renderables ( ) const
virtual

Get the renderable objects.

Returns
the renderable objects of *this

Definition at line 58 of file scenenode.cpp.

void Scenenode::set_id ( const std::string &  _id)
virtual

Set the scenenode id.

Parameters
_idthe scenenode id

This member function sets the scenenode id to _id.

Definition at line 63 of file scenenode.cpp.

void Scenenode::set_renderables ( const std::map< std::string, renderer::Renderable_c > &  _r)
virtual

Set the renderable objects.

Parameters
_rthe renderable objects

Definition at line 52 of file scenenode.cpp.


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