72 fType =
"G4AxesModel";
74 fGlobalDescription = fType +
": " + description;
76 (x0, x0+length, y0, y0+length, z0, z0+length);
80 if (colourString ==
"auto") autoColour =
true;
84 ed <<
"Colour \"" << colourString
85 <<
"\" not found. Defaulting to white and opaque.";
87 (
"G4AxesModel::G4AxesModel",
100 (x0, y0, z0, x0+length, y0, z0, arrowWidth,
101 xColour,
"x-axis: " + description);
102 if (withAnnotation) {
105 text->
SetOffset(0.5*textSize,0.5*textSize);
113 text->
SetOffset(-1.5*textSize,-1.5*textSize);
124 (x0, y0, z0, x0, y0+length, z0, arrowWidth,
125 yColour,
"y-axis: " + description);
126 if (withAnnotation) {
129 text->
SetOffset(0.5*textSize,0.5*textSize);
137 text->
SetOffset(-1.5*textSize,-1.5*textSize);
148 (x0, y0, z0, x0, y0, z0+length, arrowWidth,
149 zColour,
"z-axis: " + description);
150 if (withAnnotation) {
153 text->
SetOffset(0.5*textSize,0.5*textSize);
161 text->
SetOffset(-1.5*textSize,-1.5*textSize);