#include <G4VisCommandsScene.hh>
Definition at line 91 of file G4VisCommandsScene.hh.
◆ G4VisCommandSceneEndOfRunAction() [1/2]
G4VisCommandSceneEndOfRunAction::G4VisCommandSceneEndOfRunAction |
( |
| ) |
|
Definition at line 397 of file G4VisCommandsScene.cc.
401 (
"Accumulate or refresh the viewer for each new run.");
403 (
"\"accumulate\": viewer accumulates hits, etc., run by run, or");
405 (
"\"refresh\": viewer shows them at end of run or, for direct-screen" 406 "\n viewers, refreshes the screen just before drawing the first" 407 "\n event of the next run.");
408 fpCommand -> SetGuidance (
"The detector remains or is redrawn.");
409 fpCommand -> SetParameterName (
"action", omitable =
true);
410 fpCommand -> SetCandidates (
"accumulate refresh");
411 fpCommand -> SetDefaultValue (
"refresh");
G4UIcmdWithAString * fpCommand
◆ ~G4VisCommandSceneEndOfRunAction()
G4VisCommandSceneEndOfRunAction::~G4VisCommandSceneEndOfRunAction |
( |
| ) |
|
|
virtual |
◆ G4VisCommandSceneEndOfRunAction() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 422 of file G4VisCommandsScene.cc.
428 std::istringstream is (newValue);
434 G4cerr <<
"ERROR: No current scene. Please create one." <<
G4endl;
440 if (!pSceneHandler) {
442 G4cerr <<
"ERROR: No current sceneHandler. Please create one." <<
G4endl;
447 if (action ==
"accumulate") {
451 "ERROR: Cannot accumulate runs unless events accumulate too." 452 "\n Use \"/vis/scene/endOfEventAction accumulate\"." 460 else if (action ==
"refresh") {
467 "ERROR: unrecognised parameter \"" << action <<
"\"." 477 G4cout <<
"End of run action set to \"";
479 else G4cout <<
"accumulate";
G4Scene * GetCurrentScene() const
G4bool GetRefreshAtEndOfEvent() const
G4VSceneHandler * GetCurrentSceneHandler() const
G4GLOB_DLL std::ostream G4cout
void ResetTransientsDrawnFlags()
G4bool GetRefreshAtEndOfRun() const
static Verbosity GetVerbosity()
void SetRefreshAtEndOfRun(G4bool)
void SetMarkForClearingTransientStore(G4bool)
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
◆ fpCommand
The documentation for this class was generated from the following files: