62 fType =
"G4AxesModel";
66 (x0, x0+length, y0, y0+length, z0, z0+length);
70 if (colourString ==
"auto") autoColour =
true;
74 ed <<
"Colour \"" << colourString
75 <<
"\" not found. Defaulting to white and opaque.";
77 (
"G4AxesModel::G4AxesModel",
90 (x0, y0, z0, x0+length, y0, z0, arrowWidth,
91 xColour,
"x-axis: " + description);
111 (x0, y0, z0, x0, y0+length, z0, arrowWidth,
112 yColour,
"y-axis: " + description);
113 if (withAnnotation) {
132 (x0, y0, z0, x0, y0, z0+length, arrowWidth,
133 zColour,
"z-axis: " + description);
134 if (withAnnotation) {
HepGeom::Point3D< G4double > G4Point3D
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual void DescribeYourselfTo(G4VGraphicsScene &)
G4AxesModel(G4double x0, G4double y0, G4double z0, G4double length, G4double arrowWidth=1., const G4String &colourString="auto", const G4String &description="", G4bool withAnnotation=true)
static G4bool GetColour(const G4String &key, G4Colour &result)
void SetOffset(double dx, double dy)
void SetScreenSize(G4double)
G4String fGlobalDescription
virtual void DescribeYourselfTo(G4VGraphicsScene &)=0
void SetVisAttributes(const G4VisAttributes *)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::ostringstream G4ExceptionDescription