39 #ifdef G4MULTITHREADED 
   59   fpCommand -> SetGuidance(
"Abort review of kept events.");
 
   60   fpCommand -> SetParameterName(
"abort", omitable=
true);
 
   75   G4cout << 
"Type \"continue\" to complete the abort." << 
G4endl;
 
   84   fpCommand -> SetGuidance(
"Enables/disables visualization system.");
 
   85   fpCommand -> SetParameterName(
"enabled", omitable=
true);
 
   89   fpCommand1 -> SetGuidance(
"Disables visualization system.");
 
  116   fpCommand -> SetGuidance(
"Initialise visualisation manager.");
 
  135   fpCommand -> SetGuidance(
"Lists visualization parameters.");
 
  136   fpCommand -> SetParameterName(
"verbosity", omitable=
true);
 
  137   fpCommand -> SetDefaultValue(
"warnings");
 
  152   G4String& verbosityString = newValue;
 
  165   UImanager->
ApplyCommand(
"/vis/scene/list ! " + newValue);
 
  166   UImanager->
ApplyCommand(
"/vis/viewer/list ! " + newValue);
 
  169   "\nAttributes available for modeling and filtering with" 
  170   "\n  \"/vis/modeling/trajectories/create/drawByAttribute\" and" 
  171   "\n  \"/vis/filtering/trajectories/create/attributeFilter\" commands" 
  187   "\nGeometry attributes available for touchables by picking:\n";
 
  193   "\nTo get more information, \"/vis/list all\" or use individual commands" 
  194   "\n  such as (use \"ls\" or \"help\"):" 
  195   "\n    /vis/scene/list all all" 
  196   "\n    /vis/viewer/list all all" 
  197   "\n    /vis/modeling/trajectories/list" 
  198   "\n    /vis/filtering/trajectories/list" 
  209   fpCommand -> SetGuidance(
"Review kept events.");
 
  211     (
"If a macro file is specified, it is executed for each event.");
 
  213   "If a macro file is not specified, each event is drawn to the current" 
  214   "\nviewer.  After each event, the session is paused.  The user may issue" 
  215   "\nany allowed command.  Then enter \"cont[inue]\" to continue to the next" 
  217   "\nUseful commands might be:" 
  218   "\n  \"/vis/viewer/...\" to change the view (zoom, set/viewpoint,...)." 
  219   "\n  \"/vis/oglx/printEPS\" to get hard copy." 
  220   "\n  \"/vis/open\" to get alternative viewer." 
  221   "\n  \"/vis/abortReviewKeptEvents\", then \"cont[inue]\", to abort.");
 
  222   fpCommand -> SetParameterName(
"macro-file-name", omitable=
true);
 
  238   static bool reviewing = 
false;
 
  241       "\"/vis/reviewKeptEvents\" not allowed within an already started review." 
  242       "\n  No action taken." 
  251 #ifdef G4MULTITHREADED 
  256   const std::vector<const G4Event*>* events = run? run->
GetEventVector(): 0;
 
  257   size_t nKeptEvents = events? events->size(): 0;
 
  262         "ERROR: G4VisCommandReviewKeptEvents::SetNewValue: No kept events," 
  263         "\n  or kept events not accessible." 
  273   "ERROR: No current viewer - \"/vis/viewer/list\" to see possibilities." 
  282       G4cerr << 
"ERROR: No current scene.  Please create one." << 
G4endl;
 
  301   if (macroFileName.empty()) {
 
  305     for (
size_t i = 0; i < nKeptEvents; ++i) {
 
  306       const G4Event* 
event = (*events)[i];
 
  308         G4cout << 
"Drawing event : " << 
event->GetEventID() <<
 
  309           ".  At EndOfEvent, enter any command, then \"cont[inue]\"..." 
  311         static G4bool first = 
true;
 
  315   "  Useful commands might be:" 
  316   "\n    \"/vis/scene/add/trajectories\" if not already added." 
  317   "\n    \"/vis/viewer/...\" to change the view (zoom, set/viewpoint,...)." 
  318   "\n    \"/vis/oglx/printEPS\" to get hard copy." 
  319   "\n    \"/vis/open\" to get alternative viewer." 
  320   "\n    \"/vis/abortReviewKeptEvents\", then \"cont[inue]\", to abort." 
  351     for (
size_t i = 0; i < nKeptEvents; ++i) {
 
  352       const G4Event* 
event = (*events)[i];
 
  354         G4cout << 
"Drawing event : " << 
event->GetEventID()
 
  355                << 
" with macro file \"" << macroFileName << 
G4endl;
 
  358       UImanager->
ApplyCommand(
"/control/execute " + macroFileName);
 
  379   fpCommand -> SetParameterName(
"verbosity", omitable=
true);
 
  380   fpCommand -> SetDefaultValue(
"warnings");
 
  397   G4cout << 
"Visualization verbosity changed to " 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
virtual ~G4VisCommandEnable()
 
G4UIsession * GetSession() const 
 
void PrintAvailableColours(Verbosity) const 
 
const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
G4UIcmdWithAString * fpCommand
 
virtual void PauseSessionStart(const G4String &Prompt)
 
G4UIcmdWithABool * fpCommand
 
void PrintAvailableUserVisActions(Verbosity) const 
 
void PrintAvailableModels(Verbosity) const 
 
G4String GetCurrentValue(G4UIcommand *command)
 
static G4VVisManager * GetConcreteInstance()
 
virtual ~G4VisCommandList()
 
void PrintAvailableGraphicsSystems(Verbosity) const 
 
void SetNewValue(G4UIcommand *command, G4String newValue)
 
G4UIcmdWithAString * fpCommand
 
G4String GetCurrentValue(G4UIcommand *command)
 
void SetVerboseLevel(G4int)
 
virtual ~G4VisCommandVerbose()
 
void SetRequestedEvent(const G4Event *)
 
const std::vector< const G4Event * > * GetEventVector() const 
 
virtual ~G4VisCommandInitialize()
 
G4bool GetRefreshAtEndOfEvent() const 
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
G4int GetVerboseLevel() const 
 
static std::vector< G4String > VerbosityGuidanceStrings
 
void SetNewValue(G4UIcommand *command, G4String newValue)
 
static Verbosity GetVerbosityValue(const G4String &)
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
const G4Run * GetCurrentRun() const 
 
void SetVerboseLevel(G4int val)
 
G4UIcmdWithABool * fpCommand
 
G4String GetCurrentValue(G4UIcommand *command)
 
static G4UImanager * GetUIpointer()
 
G4GLOB_DLL std::ostream G4cout
 
static G4bool ConvertToBool(const char *st)
 
G4String GetCurrentValue(G4UIcommand *command)
 
static G4MTRunManager * GetMasterRunManager()
 
void SetNewValue(G4UIcommand *command, G4String newValue)
 
G4VisCommandAbortReviewKeptEvents()
 
static G4UIterminal * session
 
G4bool IsMultithreadedApplication()
 
virtual ~G4VisCommandAbortReviewKeptEvents()
 
G4UIcmdWithoutParameter * fpCommand
 
virtual ~G4VisCommandReviewKeptEvents()
 
void SetNewValue(G4UIcommand *command, G4String newValue)
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
static G4RunManager * GetRunManager()
 
static G4String VerbosityString(Verbosity)
 
const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
static Verbosity GetVerbosity()
 
G4UIcmdWithAString * fpCommand
 
G4VViewer * GetCurrentViewer() const 
 
G4bool GetAbortReviewKeptEvents() const 
 
G4String GetCurrentValue(G4UIcommand *command)
 
G4UIcmdWithoutParameter * fpCommand1
 
void SetNewValue(G4UIcommand *command, G4String newValue)
 
void SetNewValue(G4UIcommand *command, G4String newValue)
 
G4VisCommandReviewKeptEvents()
 
G4int ApplyCommand(const char *aCommand)
 
G4Scene * GetCurrentScene() const 
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
void SetRefreshAtEndOfEvent(G4bool)
 
G4GLOB_DLL std::ostream G4cerr
 
void SetAbortReviewKeptEvents(G4bool)
 
static G4VisManager * fpVisManager
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const