#include <G4VisCommandsViewer.hh>
Definition at line 197 of file G4VisCommandsViewer.hh.
◆ G4VisCommandViewerPan() [1/2]
G4VisCommandViewerPan::G4VisCommandViewerPan |
( |
| ) |
|
Definition at line 1013 of file G4VisCommandsViewer.cc.
1022 (
"/vis/viewer/pan",
this);
1024 (
"Incremental pan.");
1026 (
"Moves the camera incrementally right and up by these amounts (as seen" 1027 "\nfrom viewpoint direction).");
1029 parameter =
new G4UIparameter(
"right-increment",
'd', omitable =
true);
1030 parameter -> SetCurrentAsDefault (
true);
1032 parameter =
new G4UIparameter(
"up-increment",
'd', omitable =
true);
1033 parameter -> SetCurrentAsDefault (
true);
1035 parameter =
new G4UIparameter (
"unit",
's', omitable =
true);
1036 parameter -> SetDefaultValue (
"m");
1040 (
"/vis/viewer/panTo",
this);
1042 (
"Pan to specific coordinate.");
1044 (
"Places the camera in this position right and up relative to standard" 1045 "\ntarget point (as seen from viewpoint direction).");
1046 parameter =
new G4UIparameter(
"right",
'd', omitable =
true);
1047 parameter -> SetCurrentAsDefault (
true);
1050 parameter -> SetCurrentAsDefault (
true);
1052 parameter =
new G4UIparameter (
"unit",
's', omitable =
true);
1053 parameter -> SetDefaultValue (
"m");
G4UIcommand * fpCommandPan
G4UIcommand * fpCommandPanTo
G4double fPanIncrementRight
◆ ~G4VisCommandViewerPan()
G4VisCommandViewerPan::~G4VisCommandViewerPan |
( |
| ) |
|
|
virtual |
◆ G4VisCommandViewerPan() [2/2]
◆ GetCurrentValue()
Reimplemented from G4UImessenger.
Definition at line 1062 of file G4VisCommandsViewer.cc.
1070 return currentValue;
G4UIcommand * fpCommandPan
G4UIcommand * fpCommandPanTo
static G4String ConvertToString(G4double x, G4double y, const char *unitName)
G4double fPanIncrementRight
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 1073 of file G4VisCommandsViewer.cc.
1080 if (!currentViewer) {
1083 "ERROR: G4VisCommandsViewerPan::SetNewValue: no current viewer." void IncrementPan(G4double right, G4double up)
G4VViewer * GetCurrentViewer() const
void SetPan(G4double right, G4double up)
G4UIcommand * fpCommandPan
void SetViewParameters(G4VViewer *, const G4ViewParameters &)
G4GLOB_DLL std::ostream G4cout
const G4Point3D & GetCurrentTargetPoint() const
G4UIcommand * fpCommandPanTo
static Verbosity GetVerbosity()
const G4ViewParameters & GetViewParameters() const
static void ConvertToDoublePair(const G4String ¶mString, G4double &xval, G4double &yval)
G4double fPanIncrementRight
G4GLOB_DLL std::ostream G4cerr
static G4VisManager * fpVisManager
◆ fPanIncrementRight
G4double G4VisCommandViewerPan::fPanIncrementRight |
|
private |
◆ fPanIncrementUp
G4double G4VisCommandViewerPan::fPanIncrementUp |
|
private |
◆ fPanToRight
G4double G4VisCommandViewerPan::fPanToRight |
|
private |
◆ fPanToUp
G4double G4VisCommandViewerPan::fPanToUp |
|
private |
◆ fpCommandPan
◆ fpCommandPanTo
The documentation for this class was generated from the following files: