#include <G4VisCommandsSceneAdd.hh>
Definition at line 46 of file G4VisCommandsSceneAdd.hh.
◆ G4VisCommandSceneAddArrow() [1/2]
G4VisCommandSceneAddArrow::G4VisCommandSceneAddArrow |
( |
| ) |
|
Definition at line 96 of file G4VisCommandsSceneAdd.cc.
98 fpCommand -> SetGuidance (
"Adds arrow to current scene.");
113 parameter =
new G4UIparameter (
"unit",
's', omitable =
true);
void SetParameter(G4UIparameter *const newParameter)
void SetDefaultValue(const char *theDefaultValue)
◆ ~G4VisCommandSceneAddArrow()
G4VisCommandSceneAddArrow::~G4VisCommandSceneAddArrow |
( |
| ) |
|
|
virtual |
◆ G4VisCommandSceneAddArrow() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 126 of file G4VisCommandsSceneAdd.cc.
134 G4cerr <<
"ERROR: No current scene. Please create one." <<
G4endl;
141 std::istringstream is(newValue);
142 is >> x1 >> y1 >> z1 >> x2 >> y2 >> z2 >> unitString;
144 x1 *= unit; y1 *= unit; z1 *= unit;
145 x2 *= unit; y2 *= unit; z2 *= unit;
153 (x1, y1, z1, x2, y2, z2,
156 const G4String& currentSceneName = pScene -> GetName ();
157 G4bool successful = pScene -> AddRunDurationModel (model, warn);
160 G4cout <<
"Arrow has been added to scene \"" 161 << currentSceneName <<
"\"."
static G4Colour fCurrentColour
G4Scene * GetCurrentScene() const
void UpdateVisManagerScene(const G4String &sceneName="")
G4double GetExtentRadius() const
static void G4VisCommandsSceneAddUnsuccessful(G4VisManager::Verbosity verbosity)
G4GLOB_DLL std::ostream G4cout
const G4VisExtent & GetExtent() const
static G4double ValueOf(const char *unitName)
static G4double fCurrentLineWidth
static Verbosity GetVerbosity()
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
◆ fpCommand
The documentation for this class was generated from the following files: