38 fVisible (va.fVisible),
39 fDaughtersInvisible (va.fDaughtersInvisible),
41 fLineStyle (va.fLineStyle),
42 fLineWidth (va.fLineWidth),
43 fForceDrawingStyle (va.fForceDrawingStyle),
44 fForcedStyle (va.fForcedStyle),
45 fForceAuxEdgeVisible (va.fForceAuxEdgeVisible),
46 fForcedLineSegmentsPerCircle (va.fForcedLineSegmentsPerCircle),
47 fStartTime (va.fStartTime),
48 fEndTime (va.fEndTime),
52 fAttValues (va.fAttValues),
55 fAttDefs (va.fAttDefs)
129 if (&rhs ==
this)
return *
this;
161 return new std::vector<G4AttValue>(*fAttValues);
166 if (nSegments > 0 && nSegments < nSegmentsMin) {
167 nSegments = nSegmentsMin;
169 "G4VisAttributes::SetForcedLineSegmentsPerCircle: attempt to set the" 170 "\nnumber of line segements per circle < " << nSegmentsMin
171 <<
"; forced to " << nSegments <<
G4endl;
178 os <<
"G4VisAttributes: ";
180 os <<
"visible, daughters ";
182 os <<
"visible, colour: " << a.
fColour;
183 os <<
"\n linestyle: ";
186 os <<
"solid";
break;
188 os <<
"dashed";
break;
190 default: os <<
"unrecognised";
break;
194 os <<
"\n drawing style: ";
199 os <<
"wireframe";
break;
201 os <<
"solid";
break;
202 default: os <<
"unrecognised";
break;
208 os <<
", auxiliary edge visibility: ";
213 os <<
"\n line segments per circle: ";
220 os <<
"\n G4AttValue pointer is ";
225 os <<
", G4AttDef pointer is ";
const std::map< G4String, G4AttDef > * fAttDefs
G4bool operator!=(const G4VisAttributes &a) const
ForcedDrawingStyle fForcedStyle
G4VisAttributes & operator=(const G4VisAttributes &)
G4GLOB_DLL std::ostream G4cout
static G4int GetMinLineSegmentsPerCircle()
const std::vector< G4AttValue > * CreateAttValues() const
const std::vector< G4AttValue > * fAttValues
G4bool fDaughtersInvisible
G4bool fForceAuxEdgeVisible
static const G4VisAttributes Invisible
G4bool fForceDrawingStyle
friend std::ostream & operator<<(std::ostream &os, const G4VisAttributes &a)
G4bool operator==(const G4VisAttributes &a) const
G4int fForcedLineSegmentsPerCircle
static const G4VisAttributes & GetInvisible()
void SetForceLineSegmentsPerCircle(G4int nSegments)