#include <G4VisCommandsViewer.hh>
Definition at line 69 of file G4VisCommandsViewer.hh.
◆ G4VisCommandViewerChangeCutawayPlane() [1/2]
G4VisCommandViewerChangeCutawayPlane::G4VisCommandViewerChangeCutawayPlane |
( |
| ) |
|
Definition at line 158 of file G4VisCommandsViewer.cc.
161 fpCommand -> SetGuidance(
"Change cutaway plane.");
164 parameter -> SetGuidance (
"Index of plane: 0, 1, 2.");
167 parameter -> SetDefaultValue (0);
168 parameter -> SetGuidance (
"Coordinate of point on the plane.");
171 parameter -> SetDefaultValue (0);
172 parameter -> SetGuidance (
"Coordinate of point on the plane.");
175 parameter -> SetDefaultValue (0);
176 parameter -> SetGuidance (
"Coordinate of point on the plane.");
179 parameter -> SetDefaultValue (
"m");
180 parameter -> SetGuidance (
"Unit of point on the plane.");
183 parameter -> SetDefaultValue (1);
184 parameter -> SetGuidance (
"Component of plane normal.");
187 parameter -> SetDefaultValue (0);
188 parameter -> SetGuidance (
"Component of plane normal.");
191 parameter -> SetDefaultValue (0);
192 parameter -> SetGuidance (
"Component of plane normal.");
void SetParameter(G4UIparameter *const newParameter)
◆ ~G4VisCommandViewerChangeCutawayPlane()
G4VisCommandViewerChangeCutawayPlane::~G4VisCommandViewerChangeCutawayPlane |
( |
| ) |
|
|
virtual |
◆ G4VisCommandViewerChangeCutawayPlane() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
void G4VisCommandViewerChangeCutawayPlane::SetNewValue |
( |
G4UIcommand * |
command, |
|
|
G4String |
newValue |
|
) |
| |
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 204 of file G4VisCommandsViewer.cc.
212 "ERROR: No current viewer - \"/vis/viewer/list\" to see possibilities." 221 std::istringstream is (newValue);
222 is >> index >> x >> y >> z >> unit >> nx >> ny >> nz;
224 x *= F; y *= F; z *= F;
230 G4cout <<
"Cutaway planes for viewer \"" << viewer->
GetName() <<
"\" now:";
232 for (
size_t i = 0; i < cutaways.size(); ++i)
233 G4cout <<
"\n " << i <<
": " << cutaways[i];
void SetViewParameters(G4VViewer *, const G4ViewParameters &)
HepGeom::Point3D< G4double > G4Point3D
const G4Planes & GetCutawayPlanes() const
G4GLOB_DLL std::ostream G4cout
void ChangeCutawayPlane(size_t index, const G4Plane3D &cutawayPlane)
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* G4VisCommandViewerChangeCutawayPlane::fpCommand |
|
private |
The documentation for this class was generated from the following files: