G4VVisCommandScene Class Reference

#include <G4VisCommandsScene.hh>

Inheritance diagram for G4VVisCommandScene:

G4VVisCommand G4UImessenger G4VisCommandSceneActivateModel G4VisCommandSceneAddArrow G4VisCommandSceneAddArrow2D G4VisCommandSceneAddAxes G4VisCommandSceneAddDate G4VisCommandSceneAddDigis G4VisCommandSceneAddEventID G4VisCommandSceneAddFrame G4VisCommandSceneAddGhosts G4VisCommandSceneAddHits G4VisCommandSceneAddLine G4VisCommandSceneAddLine2D G4VisCommandSceneAddLogicalVolume G4VisCommandSceneAddLogo G4VisCommandSceneAddLogo2D G4VisCommandSceneAddPSHits G4VisCommandSceneAddScale G4VisCommandSceneAddText G4VisCommandSceneAddText2D G4VisCommandSceneAddTrajectories G4VisCommandSceneAddUserAction G4VisCommandSceneAddVolume G4VisCommandSceneCreate G4VisCommandSceneEndOfEventAction G4VisCommandSceneEndOfRunAction G4VisCommandSceneList G4VisCommandSceneNotifyHandlers G4VisCommandSceneSelect

Public Member Functions

 G4VVisCommandScene ()
virtual ~G4VVisCommandScene ()

Protected Member Functions

G4String CurrentSceneName ()

Detailed Description

Definition at line 40 of file G4VisCommandsScene.hh.


Constructor & Destructor Documentation

G4VVisCommandScene::G4VVisCommandScene (  ) 

Definition at line 45 of file G4VisCommandsScene.cc.

00045 {}

G4VVisCommandScene::~G4VVisCommandScene (  )  [virtual]

Definition at line 47 of file G4VisCommandsScene.cc.

00047 {}


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:58 2013 for Geant4 by  doxygen 1.4.7