39 fDaughtersInvisible (false),
41 fLineStyle (unbroken),
43 fForceDrawingStyle (false),
44 fForcedStyle (wireframe),
45 fForceAuxEdgeVisible (false),
46 fForcedAuxEdgeVisible(false),
47 fForcedLineSegmentsPerCircle (0),
48 fStartTime (-fVeryLongTime),
49 fEndTime (fVeryLongTime),
55 fVisible (visibility),
56 fDaughtersInvisible (false),
58 fLineStyle (unbroken),
60 fForceDrawingStyle (false),
61 fForcedStyle (wireframe),
62 fForceAuxEdgeVisible (false),
63 fForcedAuxEdgeVisible(false),
64 fForcedLineSegmentsPerCircle (0),
65 fStartTime (-fVeryLongTime),
66 fEndTime (fVeryLongTime),
73 fDaughtersInvisible (false),
75 fLineStyle (unbroken),
77 fForceDrawingStyle (false),
78 fForcedStyle (wireframe),
79 fForceAuxEdgeVisible (false),
80 fForcedAuxEdgeVisible(false),
81 fForcedLineSegmentsPerCircle (0),
82 fStartTime (-fVeryLongTime),
83 fEndTime (fVeryLongTime),
90 fVisible (visibility),
91 fDaughtersInvisible (false),
93 fLineStyle (unbroken),
95 fForceDrawingStyle (false),
96 fForcedStyle (wireframe),
97 fForceAuxEdgeVisible (false),
98 fForcedAuxEdgeVisible(false),
99 fForcedLineSegmentsPerCircle (0),
100 fStartTime (-fVeryLongTime),
101 fEndTime (fVeryLongTime),
107 fVisible (va.fVisible),
108 fDaughtersInvisible (va.fDaughtersInvisible),
109 fColour (va.fColour),
110 fLineStyle (va.fLineStyle),
111 fLineWidth (va.fLineWidth),
112 fForceDrawingStyle (va.fForceDrawingStyle),
113 fForcedStyle (va.fForcedStyle),
114 fForceAuxEdgeVisible (va.fForceAuxEdgeVisible),
115 fForcedAuxEdgeVisible(va.fForcedAuxEdgeVisible),
116 fForcedLineSegmentsPerCircle (va.fForcedLineSegmentsPerCircle),
117 fStartTime (va.fStartTime),
118 fEndTime (va.fEndTime),
122 fAttValues (va.fAttValues),
125 fAttDefs (va.fAttDefs)
133 if (&rhs ==
this)
return *
this;
202 return new std::vector<G4AttValue>(*fAttValues);
207 if (nSegments > 0 && nSegments < nSegmentsMin) {
208 nSegments = nSegmentsMin;
210 "G4VisAttributes::SetForcedLineSegmentsPerCircle: attempt to set the"
211 "\nnumber of line segements per circle < " << nSegmentsMin
212 <<
"; forced to " << nSegments <<
G4endl;
219 os <<
"G4VisAttributes: ";
221 os <<
"visible, daughters ";
223 os <<
"visible, colour: " << a.
fColour;
224 os <<
"\n linestyle: ";
227 os <<
"solid";
break;
229 os <<
"dashed";
break;
231 default: os <<
"unrecognised";
break;
235 os <<
"\n drawing style: ";
240 os <<
"wireframe";
break;
242 os <<
"solid";
break;
243 default: os <<
"unrecognised";
break;
249 os <<
", auxiliary edge visibility: ";
259 os <<
"\n line segments per circle: ";
266 os <<
"\n G4AttValue pointer is ";
271 os <<
", G4AttDef pointer is ";
ForcedDrawingStyle fForcedStyle
void SetForceAuxEdgeVisible(G4bool=true)
std::vector< ExP01TrackerHit * > a
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
ForcedDrawingStyle GetForcedDrawingStyle() const
G4bool fForceDrawingStyle
G4int fForcedLineSegmentsPerCircle
G4bool fForcedAuxEdgeVisible
static const G4VisAttributes & GetInvisible()
G4bool fForceAuxEdgeVisible
static G4int GetMinLineSegmentsPerCircle()
G4bool IsForcedAuxEdgeVisible() const
G4bool operator!=(const G4VisAttributes &a) const
void SetForceLineSegmentsPerCircle(G4int nSegments)
const std::vector< G4AttValue > * CreateAttValues() const
static constexpr G4int fMinLineSegmentsPerCircle
const std::map< G4String, G4AttDef > * fAttDefs
G4bool operator==(const G4VisAttributes &a) const
G4VisAttributes & operator=(const G4VisAttributes &)
void SetForceSolid(G4bool=true)
G4GLOB_DLL std::ostream G4cout
void SetForceWireframe(G4bool=true)
const std::vector< G4AttValue > * fAttValues
G4bool fDaughtersInvisible
static const G4VisAttributes Invisible