65  (x0,y0,
z0,length,arrowWidth,
 
   66   colourString,description,withAnnotation,textSize,
 
   76  const G4String& colourString = 
"auto";
 
   78  G4bool withAnnotation = 
true;
 
   81  (x0,y0,
z0,length,arrowWidth,
 
   82   colourString,description,withAnnotation,textSize,
 
  110    (x0, x0+length, y0, y0+length, 
z0, 
z0+length);
 
  113  G4bool autoColour = 
false;
 
  114  if (colourString == 
"auto") autoColour = 
true;
 
  118      ed << 
"Colour \"" << colourString
 
  119     << 
"\" not found.  Defaulting to white and opaque.";
 
  121    (
"G4AxesModel::G4AxesModel",
 
  130  G4int lineSegmentsPerCircle = 6;
 
  135    (x0, y0, 
z0, x0+length, y0, 
z0, arrowWidth,
 
  136     xColour, 
"x-axis: " + description,
 
  138  if (withAnnotation) {
 
  141    text->
SetOffset(0.5*textSize,0.5*textSize);
 
  149    text->
SetOffset(-1.5*textSize,-1.5*textSize);
 
  160    (x0, y0, 
z0, x0, y0+length, 
z0, arrowWidth,
 
  161     yColour, 
"y-axis: " + description,
 
  163  if (withAnnotation) {
 
  166    text->
SetOffset(0.5*textSize,0.5*textSize);
 
  174    text->
SetOffset(-1.5*textSize,-1.5*textSize);
 
  185    (x0, y0, 
z0, x0, y0, 
z0+length, arrowWidth,
 
  186     zColour, 
"z-axis: " + description,
 
  188  if (withAnnotation) {
 
  191    text->
SetOffset(0.5*textSize,0.5*textSize);
 
  199    text->
SetOffset(-1.5*textSize,-1.5*textSize);
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
HepGeom::Point3D< G4double > G4Point3D
void Construct(G4double x0, G4double y0, G4double z0, G4double length, G4double arrowWidth, const G4String &colourString, const G4String &description, G4bool withAnnotation, G4double textSize, const G4Transform3D &transform)
G4AxesModel(G4double x0, G4double y0, G4double z0, G4double length, G4double arrowWidth=1., const G4String &colourString="auto", const G4String &description="", G4bool withAnnotation=true, G4double textSize=10., const G4Transform3D &transform=G4Transform3D())
G4VModel * fZAnnotationModel
void DescribeYourselfTo(G4VGraphicsScene &) override
G4VModel * fYAnnotationModel
G4VModel * fXAnnotationModel
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 *)