#include <G4AxesModel.hh>
Definition at line 45 of file G4AxesModel.hh.
Definition at line 58 of file G4AxesModel.cc.
73 fType =
"G4AxesModel";
77 (x0, x0+length, y0, y0+length,
z0,
z0+length);
81 if (colourString ==
"auto") autoColour =
true;
85 ed <<
"Colour \"" << colourString
86 <<
"\" not found. Defaulting to white and opaque.";
88 (
"G4AxesModel::G4AxesModel",
101 (x0, y0,
z0, x0+length, y0,
z0, arrowWidth,
102 xColour,
"x-axis: " + description);
103 if (withAnnotation) {
106 text->
SetOffset(0.5*textSize,0.5*textSize);
114 text->
SetOffset(-1.5*textSize,-1.5*textSize);
125 (x0, y0,
z0, x0, y0+length,
z0, arrowWidth,
126 yColour,
"y-axis: " + description);
127 if (withAnnotation) {
130 text->
SetOffset(0.5*textSize,0.5*textSize);
138 text->
SetOffset(-1.5*textSize,-1.5*textSize);
149 (x0, y0,
z0, x0, y0,
z0+length, arrowWidth,
150 zColour,
"z-axis: " + description);
151 if (withAnnotation) {
154 text->
SetOffset(0.5*textSize,0.5*textSize);
162 text->
SetOffset(-1.5*textSize,-1.5*textSize);
std::ostringstream G4ExceptionDescription
static G4bool GetColour(const G4String &key, G4Colour &result)
HepGeom::Point3D< G4double > G4Point3D
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4String fGlobalDescription
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetVisAttributes(const G4VisAttributes *)
void SetOffset(double dx, double dy)
void SetScreenSize(G4double)
G4AxesModel::~G4AxesModel |
( |
| ) |
|
|
virtual |
Definition at line 44 of file G4AxesModel.cc.
46 delete fZAnnotationModel;
49 delete fYAnnotationModel;
52 delete fXAnnotationModel;
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/visualization/modeling/include/G4AxesModel.hh
- source/geant4.10.03.p03/source/visualization/modeling/src/G4AxesModel.cc