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 {
Interface for observing graphical objects.
virtual void RenderModeChanged(const GfxNodeP &node)
Called when the render mode of a node changed.
virtual void NodeAdded(const GfxNodeP &node)
Called when a new node has been added to the scene.
virtual void NodeRemoved(const GfxNodeP &node)
Called when an object is removed from the scene.
virtual void SelectionChanged(const GfxObjP &obj, const mol::EntityView &sel)
Called when selection of an object changed.
virtual void SelectionModeChanged(int sel_mode)
Called when the selection mode changed.
virtual void NodeChanged(const GfxNodeP &node)
Called when an object is updated.
virtual void NodeTransformed(const GfxNodeP &node)
Called when a nodes transform changes.
boost::shared_ptr< GfxNode > GfxNodeP
boost::shared_ptr< GfxObj > GfxObjP