#include <G4VisCommandsScene.hh>
Inheritance diagram for G4VVisCommandScene:
Public Member Functions | |
G4VVisCommandScene () | |
virtual | ~G4VVisCommandScene () |
Protected Member Functions | |
G4String | CurrentSceneName () |
Definition at line 40 of file G4VisCommandsScene.hh.
G4VVisCommandScene::G4VVisCommandScene | ( | ) |
G4VVisCommandScene::~G4VVisCommandScene | ( | ) | [virtual] |
G4String G4VVisCommandScene::CurrentSceneName | ( | ) | [protected] |
Definition at line 49 of file G4VisCommandsScene.cc.
References G4VVisCommand::fpVisManager.
Referenced by G4VisCommandSceneNotifyHandlers::GetCurrentValue().
00049 { 00050 const G4Scene* pScene = fpVisManager -> GetCurrentScene (); 00051 G4String currentSceneName = "none"; 00052 if (pScene) currentSceneName = pScene -> GetName (); 00053 return currentSceneName; 00054 }