#include <G4VisCommandsSceneAdd.hh>
Definition at line 295 of file G4VisCommandsSceneAdd.hh.
◆ G4VisCommandSceneAddLogo2D() [1/2]
G4VisCommandSceneAddLogo2D::G4VisCommandSceneAddLogo2D |
( |
| ) |
|
Definition at line 1635 of file G4VisCommandsSceneAdd.cc.
1638 fpCommand -> SetGuidance (
"Adds 2D logo to current scene.");
1640 parameter =
new G4UIparameter (
"size",
'i', omitable =
true);
1641 parameter -> SetGuidance (
"Screen size of text in pixels.");
1642 parameter -> SetDefaultValue (48);
1644 parameter =
new G4UIparameter (
"x-position",
'd', omitable =
true);
1645 parameter -> SetGuidance (
"x screen position in range -1 < x < 1.");
1646 parameter -> SetDefaultValue (-0.9);
1648 parameter =
new G4UIparameter (
"y-position",
'd', omitable =
true);
1649 parameter -> SetGuidance (
"y screen position in range -1 < y < 1.");
1650 parameter -> SetDefaultValue (-0.9);
1652 parameter =
new G4UIparameter (
"layout",
's', omitable =
true);
1653 parameter -> SetGuidance (
"Layout, i.e., adjustment: left|centre|right.");
1654 parameter -> SetDefaultValue (
"left");
◆ ~G4VisCommandSceneAddLogo2D()
G4VisCommandSceneAddLogo2D::~G4VisCommandSceneAddLogo2D |
( |
| ) |
|
|
virtual |
◆ G4VisCommandSceneAddLogo2D() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 1666 of file G4VisCommandsSceneAdd.cc.
1674 G4cerr <<
"ERROR: No current scene. Please create one." <<
G4endl;
1682 std::istringstream is(newValue);
1683 is >> size >> x >> y >> layoutString;
1689 Logo2D* logo2D =
new Logo2D(
fpVisManager, size, x, y, layout);
1695 const G4String& currentSceneName = pScene -> GetName ();
1696 G4bool successful = pScene -> AddRunDurationModel (model, warn);
1699 G4cout <<
"2D logo has been added to scene \"" 1700 << currentSceneName <<
"\"." void SetGlobalTag(const G4String &)
G4Scene * GetCurrentScene() const
void UpdateVisManagerScene(const G4String &sceneName="")
static void G4VisCommandsSceneAddUnsuccessful(G4VisManager::Verbosity verbosity)
G4GLOB_DLL std::ostream G4cout
void SetType(const G4String &)
static Verbosity GetVerbosity()
void SetGlobalDescription(const G4String &)
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
◆ fpCommand
The documentation for this class was generated from the following files: