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)
60 fDaughtersInvisible (false),
62 fLineStyle (unbroken),
64 fForceDrawingStyle (false),
65 fForcedStyle (wireframe),
66 fForceAuxEdgeVisible (false),
67 fForcedLineSegmentsPerCircle (0),
75 fVisible (visibility),
76 fDaughtersInvisible (false),
78 fLineStyle (unbroken),
80 fForceDrawingStyle (false),
81 fForcedStyle (wireframe),
82 fForceAuxEdgeVisible (false),
83 fForcedLineSegmentsPerCircle (0),
92 fDaughtersInvisible (false),
94 fLineStyle (unbroken),
96 fForceDrawingStyle (false),
97 fForcedStyle (wireframe),
98 fForceAuxEdgeVisible (false),
99 fForcedLineSegmentsPerCircle (0),
108 fVisible (visibility),
109 fDaughtersInvisible (false),
111 fLineStyle (unbroken),
113 fForceDrawingStyle (false),
114 fForcedStyle (wireframe),
115 fForceAuxEdgeVisible (false),
116 fForcedLineSegmentsPerCircle (0),
129 if (&rhs ==
this)
return *
this;
155 return new std::vector<G4AttValue>(*fAttValues);
160 if (nSegments > 0 && nSegments < nSegmentsMin) {
161 nSegments = nSegmentsMin;
163 "G4VisAttributes::SetForcedLineSegmentsPerCircle: attempt to set the"
164 "\nnumber of line segements per circle < " << nSegmentsMin
165 <<
"; forced to " << nSegments <<
G4endl;
172 os <<
"G4VisAttributes: ";
175 os <<
"visible, daughters ";
177 os <<
"visible, colour: " << a.
fColour;
178 os <<
"\n linestyle: ";
181 os <<
"solid";
break;
183 os <<
"dashed";
break;
185 default: os <<
"unrecognised";
break;
189 os <<
"\n drawing style: ";
194 os <<
"wireframe";
break;
196 os <<
"solid";
break;
197 default: os <<
"unrecognised";
break;
203 os <<
", auxiliary edge visibility: ";
208 os <<
"\n line segments per circle: ";
215 os <<
"\n G4AttValue pointer is ";
220 os <<
", G4AttDef pointer is ";
226 else os <<
" zero G4VisAttributes pointer";
G4bool operator!=(const G4VisAttributes &a) const
const std::map< G4String, G4AttDef > * fAttDefs
std::ostream & operator<<(std::ostream &os, const G4VisAttributes &a)
ForcedDrawingStyle fForcedStyle
G4VisAttributes & operator=(const G4VisAttributes &)
G4GLOB_DLL std::ostream G4cout
static G4int GetMinLineSegmentsPerCircle()
const std::vector< G4AttValue > * fAttValues
const std::vector< G4AttValue > * CreateAttValues() const
G4bool fDaughtersInvisible
G4bool fForceAuxEdgeVisible
static const G4VisAttributes Invisible
G4bool fForceDrawingStyle
G4int fForcedLineSegmentsPerCircle
G4bool operator==(const G4VisAttributes &a) const
void SetForceLineSegmentsPerCircle(G4int nSegments)