39 fDaughtersInvisible (false),
41 fLineStyle (unbroken),
43 fForceDrawingStyle (false),
44 fForcedStyle (wireframe),
45 fForceAuxEdgeVisible (false),
46 fForcedAuxEdgeVisible(false),
47 fForcedLineSegmentsPerCircle (0),
55 fVisible (visibility),
56 fDaughtersInvisible (false),
58 fLineStyle (unbroken),
60 fForceDrawingStyle (false),
61 fForcedStyle (wireframe),
62 fForceAuxEdgeVisible (false),
63 fForcedAuxEdgeVisible(false),
64 fForcedLineSegmentsPerCircle (0),
73 fDaughtersInvisible (false),
75 fLineStyle (unbroken),
77 fForceDrawingStyle (false),
78 fForcedStyle (wireframe),
79 fForceAuxEdgeVisible (false),
80 fForcedAuxEdgeVisible(false),
81 fForcedLineSegmentsPerCircle (0),
90 fVisible (visibility),
91 fDaughtersInvisible (false),
93 fLineStyle (unbroken),
95 fForceDrawingStyle (false),
96 fForcedStyle (wireframe),
97 fForceAuxEdgeVisible (false),
98 fForcedAuxEdgeVisible(false),
99 fForcedLineSegmentsPerCircle (0),
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;
200 return new std::vector<G4AttValue>(*fAttValues);
205 if (nSegments > 0 && nSegments < nSegmentsMin) {
206 nSegments = nSegmentsMin;
208 "G4VisAttributes::SetForcedLineSegmentsPerCircle: attempt to set the"
209 "\nnumber of line segements per circle < " << nSegmentsMin
210 <<
"; forced to " << nSegments <<
G4endl;
217 os <<
"G4VisAttributes: ";
219 os <<
"visible, daughters ";
221 os <<
"visible, colour: " << a.
fColour;
222 os <<
"\n linestyle: ";
225 os <<
"solid";
break;
227 os <<
"dashed";
break;
229 default: os <<
"unrecognised";
break;
233 os <<
"\n drawing style: ";
238 os <<
"wireframe";
break;
240 os <<
"solid";
break;
241 default: os <<
"unrecognised";
break;
247 os <<
", auxiliary edge visibility: ";
257 os <<
"\n line segments per circle: ";
264 os <<
"\n G4AttValue pointer is ";
269 os <<
", G4AttDef pointer is ";
G4bool operator!=(const G4VisAttributes &a) const
const std::map< G4String, G4AttDef > * fAttDefs
std::vector< ExP01TrackerHit * > a
std::ostream & operator<<(std::ostream &os, const G4VisAttributes &a)
void SetForceSolid(G4bool=true)
ForcedDrawingStyle fForcedStyle
G4VisAttributes & operator=(const G4VisAttributes &)
G4GLOB_DLL std::ostream G4cout
static G4int GetMinLineSegmentsPerCircle()
G4bool fForcedAuxEdgeVisible
G4bool IsForcedAuxEdgeVisible() const
const std::vector< G4AttValue > * fAttValues
const std::vector< G4AttValue > * CreateAttValues() const
G4bool fDaughtersInvisible
G4bool fForceAuxEdgeVisible
static const G4VisAttributes Invisible
void SetForceAuxEdgeVisible(G4bool=true)
G4bool fForceDrawingStyle
G4int fForcedLineSegmentsPerCircle
static const G4VisAttributes & GetInvisible()
void SetForceWireframe(G4bool=true)
ForcedDrawingStyle GetForcedDrawingStyle() const
G4bool operator==(const G4VisAttributes &a) const
void SetForceLineSegmentsPerCircle(G4int nSegments)