#include <G4VisCommandsScene.hh>
Definition at line 64 of file G4VisCommandsScene.hh.
◆ G4VisCommandSceneCreate() [1/2]
G4VisCommandSceneCreate::G4VisCommandSceneCreate |
( |
| ) |
|
Definition at line 194 of file G4VisCommandsScene.cc.
198 (
"Creates an empty scene.");
200 (
"Invents a name if not supplied. This scene becomes current.");
201 fpCommand -> SetParameterName (
"scene-name", omitable =
true);
G4UIcmdWithAString * fpCommand
◆ ~G4VisCommandSceneCreate()
G4VisCommandSceneCreate::~G4VisCommandSceneCreate |
( |
| ) |
|
|
virtual |
◆ G4VisCommandSceneCreate() [2/2]
◆ GetCurrentValue()
◆ NextName()
G4String G4VisCommandSceneCreate::NextName |
( |
| ) |
|
|
private |
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 218 of file G4VisCommandsScene.cc.
228 if (newName == nextName)
fId++;
231 G4int iScene, nScenes = sceneList.size ();
232 for (iScene = 0; iScene < nScenes; iScene++) {
233 if (sceneList [iScene] -> GetName () == newName)
break;
235 if (iScene < nScenes) {
237 G4cout <<
"WARNING: Scene \"" << newName <<
"\" already exists." 238 <<
"\n New scene not created." 245 sceneList.push_back (pScene);
249 G4cout <<
"New empty scene \"" << newName <<
"\" created." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
static Verbosity GetVerbosity()
static G4VisManager * fpVisManager
◆ fId
G4int G4VisCommandSceneCreate::fId |
|
private |
◆ fpCommand
The documentation for this class was generated from the following files: