#include <G4VisCommandsSceneHandler.hh>
◆ G4VisCommandSceneHandlerList()
G4VisCommandSceneHandlerList::G4VisCommandSceneHandlerList |
( |
| ) |
|
Definition at line 362 of file G4VisCommandsSceneHandler.cc.
365 fpCommand -> SetGuidance (
"Lists scene handler(s).");
367 (
"\"help /vis/verbose\" for definition of verbosity.");
369 parameter =
new G4UIparameter(
"scene-handler-name",
's', omitable =
true);
370 parameter -> SetDefaultValue (
"all");
372 parameter =
new G4UIparameter (
"verbosity",
's', omitable =
true);
373 parameter -> SetDefaultValue (
"warnings");
◆ ~G4VisCommandSceneHandlerList()
G4VisCommandSceneHandlerList::~G4VisCommandSceneHandlerList |
( |
| ) |
|
◆ GetCurrentValue()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 385 of file G4VisCommandsSceneHandler.cc.
388 std::istringstream is (newValue);
389 is >> name >> verbosityString;
395 if (currentSceneHandler) currentName = currentSceneHandler->
GetName();
399 for (
size_t iSH = 0; iSH < list.size (); iSH++) {
400 const G4String& iName = list [iSH] -> GetName ();
402 if (name != iName)
continue;
405 if (iName == currentName) {
411 G4cout <<
" scene handler \"" << list [iSH] -> GetName () <<
"\"" 412 <<
" (" << list [iSH] -> GetGraphicsSystem () -> GetName () <<
")";
414 G4cout <<
"\n " << *(list [iSH]);
419 G4cout <<
"No scene handlers found";
421 G4cout <<
" of name \"" << name <<
"\"";
const G4String & GetName() const
static Verbosity GetVerbosityValue(const G4String &)
G4GLOB_DLL std::ostream G4cout
static G4VisManager * fpVisManager
◆ fpCommand
The documentation for this class was generated from the following files: