#include <G4VisCommandsViewer.hh>
Definition at line 284 of file G4VisCommandsViewer.hh.
G4VisCommandViewerScale::G4VisCommandViewerScale |
( |
| ) |
|
Definition at line 1744 of file G4VisCommandsViewer.cc.
1748 G4bool omitable, currentAsDefault;
1751 (
"/vis/viewer/scale",
this);
1752 fpCommandScale -> SetGuidance (
"Incremental (non-uniform) scaling.");
1753 fpCommandScale -> SetGuidance
1754 (
"Multiplies components of current scaling by components of this factor."
1755 "\n Scales (x,y,z) by corresponding components of the resulting factor.");
1756 fpCommandScale -> SetGuidance
1758 fpCommandScale -> SetParameterName
1759 (
"x-scale-multiplier",
"y-scale-multiplier",
"z-scale-multiplier",
1760 omitable=
true, currentAsDefault=
true);
1763 (
"/vis/viewer/scaleTo",
this);
1764 fpCommandScaleTo -> SetGuidance (
"Absolute (non-uniform) scaling.");
1765 fpCommandScaleTo -> SetGuidance
1766 (
"Scales (x,y,z) by corresponding components of this factor.");
1767 fpCommandScaleTo -> SetParameterName
1768 (
"x-scale-factor",
"y-scale-factor",
"z-scale-factor",
1769 omitable=
true, currentAsDefault=
true);
G4VisCommandViewerScale::~G4VisCommandViewerScale |
( |
| ) |
|
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 1777 of file G4VisCommandsViewer.cc.
1779 if (command == fpCommandScale) {
1782 else if (command == fpCommandScaleTo) {
1785 return currentValue;
CLHEP::Hep3Vector G4ThreeVector
static G4String ConvertToString(G4bool boolVal)
Reimplemented from G4UImessenger.
Definition at line 1788 of file G4VisCommandsViewer.cc.
1795 if (!currentViewer) {
1798 "ERROR: G4VisCommandsViewerScale::SetNewValue: no current viewer."
1806 if (command == fpCommandScale) {
1810 else if (command == fpCommandScaleTo) {
void SetScaleFactor(const G4Vector3D &scaleFactor)
const G4ViewParameters & GetViewParameters() const
void SetViewParameters(G4VViewer *, const G4ViewParameters &)
G4GLOB_DLL std::ostream G4cout
static G4ThreeVector GetNew3VectorValue(const char *paramString)
const G4Vector3D & GetScaleFactor() const
static Verbosity GetVerbosity()
G4VViewer * GetCurrentViewer() const
void MultiplyScaleFactor(const G4Vector3D &scaleFactorMultiplier)
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
The documentation for this class was generated from the following files: