OpenStructure
|
#include <scene_observer.hh>
Inherited by GLWin, SceneWinModel, SequenceViewer, and SceneObserverImpl.
Public Member Functions | |
virtual | ~SceneObserver () |
virtual void | NodeAdded (const GfxNodeP &node) |
virtual void | NodeRemoved (const GfxNodeP &node) |
virtual void | NodeChanged (const GfxNodeP &node) |
virtual void | SelectionModeChanged (int sel_mode) |
virtual void | SelectionChanged (const GfxObjP &obj, const mol::EntityView &sel) |
virtual void | NodeTransformed (const GfxNodeP &node) |
virtual void | RenderModeChanged (const GfxNodeP &node) |
Interface for observing graphical objects.
Similar to the EntityObserver, SceneObserver defines an interface for objects interested in changes of the Scene. The interface provides callbacks for different state changes. All these callbacks are invoked after the state has changed.
Definition at line 41 of file scene_observer.hh.
|
inlinevirtual |
Definition at line 43 of file scene_observer.hh.
|
inlinevirtual |
Called when a new node has been added to the scene.
Reimplemented in SceneWinModel.
Definition at line 46 of file scene_observer.hh.
|
inlinevirtual |
Called when an object is updated.
Definition at line 52 of file scene_observer.hh.
|
inlinevirtual |
Called when an object is removed from the scene.
Reimplemented in SceneWinModel.
Definition at line 49 of file scene_observer.hh.
|
inlinevirtual |
Called when a nodes transform changes.
Definition at line 62 of file scene_observer.hh.
|
inlinevirtual |
Called when the render mode of a node changed.
Reimplemented in SceneWinModel.
Definition at line 65 of file scene_observer.hh.
|
inlinevirtual |
Called when selection of an object changed.
Reimplemented in SceneWinModel, and SequenceViewer.
Definition at line 58 of file scene_observer.hh.
|
inlinevirtual |
Called when the selection mode changed.
Definition at line 55 of file scene_observer.hh.