19 #ifndef OST_GFX_SCENE_OBSERVER_HH
20 #define OST_GFX_SCENE_OBSERVER_HH
26 #include <boost/shared_ptr.hpp>
33 namespace ost {
namespace gfx {
virtual void NodeAdded(const GfxNodeP &node)
Called when a new node has been added to the scene.
virtual void SelectionChanged(const GfxObjP &obj, const mol::EntityView &sel)
Called when selection of an object changed.
boost::shared_ptr< GfxObj > GfxObjP
virtual void SelectionModeChanged(int sel_mode)
Called when the selection mode changed.
Interface for observing graphical objects.
virtual void NodeRemoved(const GfxNodeP &node)
Called when an object is removed from the scene.
virtual void NodeChanged(const GfxNodeP &node)
Called when an object is updated.
virtual void RenderModeChanged(const GfxNodeP &node)
Called when the render mode of a node changed.
virtual void NodeTransformed(const GfxNodeP &node)
Called when a nodes transform changes.
boost::shared_ptr< GfxNode > GfxNodeP