OpenWalnut  1.4.0
Public Member Functions | Protected Member Functions | Private Attributes
WGEScene Class Reference

Class for managing the OpenSceneGraph root node. More...

#include <WGEScene.h>

+ Inheritance diagram for WGEScene:

List of all members.

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()).

Detailed Description

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.


Constructor & Destructor Documentation

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().


Member Function Documentation

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.

Returns:
true if reset to bbox is requested

Definition at line 42 of file WGEScene.cpp.

References firstHomePositionRequest.


Member Data Documentation

Indicates whether we still have the first request for home position (isHomePositionRequested()).

Definition at line 59 of file WGEScene.h.

Referenced by isHomePositionRequested().


The documentation for this class was generated from the following files: