Go to the documentation of this file.
37 #include "../controller/Controller.h"
38 #include "../gui/ScenegraphWidget.h"
39 #include "../gui/MinimapWidget.h"
42 #include <Inventor/nodes/SoSelection.h>
43 #include <Inventor/nodes/SoCamera.h>
55 class ScenegraphWidget;
174 SoSelection* selectionRootNode;
175 SoSeparator* objectRootNode;
std::shared_ptr< SceneSelectionManager > SceneSelectionManagerPtr
std::mutex execute_mutex
Any changes to the scene have to be synchronized.
controller::ControllerWeakPtr getController()
Returns the Controller for this scene.
static ScenePtr create(controller::ControllerPtr controller)
Creates a new instance of the Scene.
std::shared_ptr< PreviewGenerator > PreviewGeneratorPtr
void makeCameraViewAll(SoCamera *camera, const SbViewportRegion ®ion)
Make camera view all.
SceneObjectManagerPtr getObjectManager()
Returns the SceneObjectManager, which handles all objects displayed in scene.
std::shared_ptr< Scene > ScenePtr
std::weak_ptr< Controller > ControllerWeakPtr
PreviewGeneratorPtr getPreviewGenerator()
Returns the PreviewGenerator, which can generate preview images of objects.
SceneSelectionManagerPtr getSelectionManager()
Returns the SelectionManager, which handles all selection actions in scene.
std::shared_ptr< SceneManipulatorManager > SceneManipulatorManagerPtr
std::shared_ptr< Controller > ControllerPtr
SceneGroupManagerPtr getGroupManager()
Returns the SceneGroupManager, which handles all groups saved in scene.
void enterViewerMode()
Switch back to ViewerMode.
void enterEditorMode()
Switch to EditorMode.
SceneManipulatorManagerPtr getManipulatorManager()
Returns the ManipulatorManager, which handles all manipulators and their callbacks.
std::shared_ptr< SceneObjectManager > SceneObjectManagerPtr
std::shared_ptr< SceneGroupManager > SceneGroupManagerPtr
SoSeparator * registerCamera(SoCamera *camera)
Registers a new camera to the scene.