40 fAnnotation(annotation),
41 fAnnotationSize(annotationSize),
42 fDirection(direction),
43 fAutoPlacing(autoPlacing),
44 fXmid(xmid), fYmid(ymid), fZmid(zmid) {}
50 "An annotated line in the specified direction with tick marks at the"
51 "\nend. If autoPlacing is true it is required to be centred at the"
52 "\nfront, right, bottom corner of the world space, comfortably outside"
53 "\nthe existing bounding box/sphere so that existing objects do not"
54 "\nobscure it. Otherwise it is required to be drawn with mid-point at"
55 "\n(xmid, ymid, zmid)."
57 "\nThe auto placing algorithm might be:"
58 "\n x = xmin + (1 + comfort) * (xmax - xmin);"
59 "\n y = ymin - comfort * (ymax - ymin);"
60 "\n z = zmin + (1 + comfort) * (zmax - zmin);"
61 "\n if direction == x then (x - length,y,z) to (x,y,z);"
62 "\n if direction == y then (x,y,z) to (x,y + length,z);"
63 "\n if direction == z then (x,y,z - length) to (x,y,z);"
G4Scale(G4double length, const G4String &annotation="", Direction direction=x, G4bool autoPlacing=true, G4double xmid=0., G4double ymid=0., G4double zmid=0., G4double annotationSize=12.)
static const G4String & GetGuidanceString()
static const G4String GuidanceString