#include <G4VisCommandsViewer.hh>
Definition at line 57 of file G4VisCommandsViewer.hh.
◆ G4VisCommandViewerAddCutawayPlane() [1/2]
G4VisCommandViewerAddCutawayPlane::G4VisCommandViewerAddCutawayPlane |
( |
| ) |
|
Definition at line 78 of file G4VisCommandsViewer.cc.
82 (
"Add cutaway plane to current viewer.");
85 parameter -> SetDefaultValue (0);
86 parameter -> SetGuidance (
"Coordinate of point on the plane.");
89 parameter -> SetDefaultValue (0);
90 parameter -> SetGuidance (
"Coordinate of point on the plane.");
93 parameter -> SetDefaultValue (0);
94 parameter -> SetGuidance (
"Coordinate of point on the plane.");
97 parameter -> SetDefaultValue (
"m");
98 parameter -> SetGuidance (
"Unit of point on the plane.");
101 parameter -> SetDefaultValue (1);
102 parameter -> SetGuidance (
"Component of plane normal.");
105 parameter -> SetDefaultValue (0);
106 parameter -> SetGuidance (
"Component of plane normal.");
109 parameter -> SetDefaultValue (0);
110 parameter -> SetGuidance (
"Component of plane normal.");
void SetParameter(G4UIparameter *const newParameter)
◆ ~G4VisCommandViewerAddCutawayPlane()
G4VisCommandViewerAddCutawayPlane::~G4VisCommandViewerAddCutawayPlane |
( |
| ) |
|
|
virtual |
◆ G4VisCommandViewerAddCutawayPlane() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
void G4VisCommandViewerAddCutawayPlane::SetNewValue |
( |
G4UIcommand * |
command, |
|
|
G4String |
newValue |
|
) |
| |
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 122 of file G4VisCommandsViewer.cc.
130 "ERROR: No current viewer - \"/vis/viewer/list\" to see possibilities." 138 std::istringstream is (newValue);
139 is >> x >> y >> z >> unit >> nx >> ny >> nz;
141 x *= F; y *= F; z *= F;
146 G4cout <<
"Cutaway planes for viewer \"" << viewer->
GetName() <<
"\" now:";
148 for (
size_t i = 0; i < cutaways.size(); ++i)
149 G4cout <<
"\n " << i <<
": " << cutaways[i];
void AddCutawayPlane(const G4Plane3D &cutawayPlane)
void SetViewParameters(G4VViewer *, const G4ViewParameters &)
HepGeom::Point3D< G4double > G4Point3D
const G4Planes & GetCutawayPlanes() const
G4GLOB_DLL std::ostream G4cout
std::vector< G4Plane3D > G4Planes
static G4double ValueOf(const char *unitName)
static Verbosity GetVerbosity()
const G4ViewParameters & GetViewParameters() const
const G4String & GetName() const
HepGeom::Plane3D< G4double > G4Plane3D
G4GLOB_DLL std::ostream G4cerr
HepGeom::Normal3D< G4double > G4Normal3D
static G4VisManager * fpVisManager
◆ fpCommand
G4UIcommand* G4VisCommandViewerAddCutawayPlane::fpCommand |
|
private |
The documentation for this class was generated from the following files: