OpenWalnut
1.4.0
|
Class for managing the OpenSceneGraph root node. More...
#include <WGEScene.h>
Public Member Functions | |
WGEScene () | |
Default constructor. | |
bool | isHomePositionRequested () |
Indicates whether we want the widget showing the scene to be tranferred to its home position. | |
Protected Member Functions | |
virtual | ~WGEScene () |
Destructor. | |
Private Attributes | |
bool | firstHomePositionRequest |
Indicates whether we still have the first request for home position (isHomePositionRequested()). |
Class for managing the OpenSceneGraph root node.
It can handle new nodes, removing nodes and so on.
Definition at line 35 of file WGEScene.h.
Default constructor.
Definition at line 31 of file WGEScene.cpp.
References WLogger::addLogMessage(), and WLogger::getLogger().
WGEScene::~WGEScene | ( | ) | [protected, virtual] |
Destructor.
Protected. To avoid accidental destruction of these root nodes.
Definition at line 37 of file WGEScene.cpp.
References WLogger::addLogMessage(), and WLogger::getLogger().
bool WGEScene::isHomePositionRequested | ( | ) |
Indicates whether we want the widget showing the scene to be tranferred to its home position.
This is the case if we have the first child added to the scene.
Definition at line 42 of file WGEScene.cpp.
References firstHomePositionRequest.
bool WGEScene::firstHomePositionRequest [private] |
Indicates whether we still have the first request for home position (isHomePositionRequested()).
Definition at line 59 of file WGEScene.h.
Referenced by isHomePositionRequested().