MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoSceneSetupHelper.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2014, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef SO_SCENE_SETUP_HELPER_H
14
#define SO_SCENE_SETUP_HELPER_H
15
16
#include "
InventorGUIWrapperDllInit.h
"
17
18
class
SoQtSceneHandler;
19
class
SoQtViewerProxy
;
20
class
SoQtViewerProxyNode
;
21
class
SoInteractionController;
22
class
SoNode;
23
class
SoSeparator;
24
27
class
INVENTORGUIWRAPPER_API
SoSceneSetupHelper
28
{
29
public
:
31
SoSceneSetupHelper
(SoQtSceneHandler*
sceneHandler
,
SoQtViewerProxy
* viewerProxy);
33
virtual
~SoSceneSetupHelper
();
34
36
SoQtSceneHandler*
sceneHandler
()
const
;
37
SoQtViewerProxyNode
*
viewerProxyNode
()
const
;
38
SoInteractionController*
interactionController
()
const
;
39
41
void
setSceneGraph
(SoNode* scene);
42
43
private
:
44
SoQtSceneHandler* _sceneHandler;
45
46
SoSeparator* _rootScene;
47
SoQtViewerProxyNode
* _viewerProxyNode;
48
SoInteractionController* _interactionController;
49
};
50
51
52
#endif
// __SoSceneSetupHelper_H
InventorGUIWrapperDllInit.h
INVENTORGUIWRAPPER_API
#define INVENTORGUIWRAPPER_API
Definition
InventorGUIWrapperDllInit.h:20
SoQtViewerProxyNode
Definition
SoQtViewerProxy.h:177
SoQtViewerProxy
Definition
SoQtViewerProxy.h:29
SoSceneSetupHelper::interactionController
SoInteractionController * interactionController() const
SoSceneSetupHelper::sceneHandler
SoQtSceneHandler * sceneHandler() const
Access methods.
SoSceneSetupHelper::~SoSceneSetupHelper
virtual ~SoSceneSetupHelper()
The destructor frees the created nodes and unsets the scene.
SoSceneSetupHelper::SoSceneSetupHelper
SoSceneSetupHelper(SoQtSceneHandler *sceneHandler, SoQtViewerProxy *viewerProxy)
The constructor performs the basic setup.
SoSceneSetupHelper::viewerProxyNode
SoQtViewerProxyNode * viewerProxyNode() const
SoSceneSetupHelper::setSceneGraph
void setSceneGraph(SoNode *scene)
Use this to set the actual scene graph on the SoQtSceneHandler.
MeVis
Foundation
Sources
MLInventorGUIBinding
SoSceneSetupHelper.h
Generated by
1.18.0