38fDaughtersInvisible (false),
42fForceDrawingStyle (false),
43fForcedStyle (wireframe),
44fForcedNumberOfCloudPoints (0),
45fForceAuxEdgeVisible (false),
46fForcedAuxEdgeVisible(false),
47fForcedLineSegmentsPerCircle (0),
48fStartTime (-fVeryLongTime),
49fEndTime (fVeryLongTime),
56fDaughtersInvisible (false),
60fForceDrawingStyle (false),
61fForcedStyle (wireframe),
62fForcedNumberOfCloudPoints (0),
63fForceAuxEdgeVisible (false),
64fForcedAuxEdgeVisible(false),
65fForcedLineSegmentsPerCircle (0),
66fStartTime (-fVeryLongTime),
67fEndTime (fVeryLongTime),
74fDaughtersInvisible (false),
78fForceDrawingStyle (false),
79fForcedStyle (wireframe),
80fForcedNumberOfCloudPoints (0),
81fForceAuxEdgeVisible (false),
82fForcedAuxEdgeVisible(false),
83fForcedLineSegmentsPerCircle (0),
84fStartTime (-fVeryLongTime),
85fEndTime (fVeryLongTime),
93fDaughtersInvisible (false),
97fForceDrawingStyle (false),
98fForcedStyle (wireframe),
99fForcedNumberOfCloudPoints (0),
100fForceAuxEdgeVisible (false),
101fForcedAuxEdgeVisible(false),
102fForcedLineSegmentsPerCircle (0),
103fStartTime (-fVeryLongTime),
104fEndTime (fVeryLongTime),
110fVisible (va.fVisible),
111fDaughtersInvisible (va.fDaughtersInvisible),
113fLineStyle (va.fLineStyle),
114fLineWidth (va.fLineWidth),
115fForceDrawingStyle (va.fForceDrawingStyle),
116fForcedStyle (va.fForcedStyle),
117fForcedNumberOfCloudPoints (va.fForcedNumberOfCloudPoints),
118fForceAuxEdgeVisible (va.fForceAuxEdgeVisible),
119fForcedAuxEdgeVisible(va.fForcedAuxEdgeVisible),
120fForcedLineSegmentsPerCircle (va.fForcedLineSegmentsPerCircle),
121fStartTime (va.fStartTime),
122fEndTime (va.fEndTime),
126fAttValues (va.fAttValues),
129fAttDefs (va.fAttDefs)
137 if (&rhs ==
this)
return *
this;
197 "G4VisAttributes::SetForceNumberOfCloudPoints: number of cloud points"
199 "\n This means the viewer default will be used, typically controlled by"
200 "\n \"/vis/viewer/set/numberOfCloudPoints\""
223 return new std::vector<G4AttValue>(*
fAttValues);
228 if (nSegments > 0 && nSegments < nSegmentsMin) {
229 nSegments = nSegmentsMin;
231 "G4VisAttributes::SetForcedLineSegmentsPerCircle: attempt to set the"
232 "\nnumber of line segments per circle < " << nSegmentsMin
233 <<
"; forced to " << nSegments <<
G4endl;
240 os <<
"G4VisAttributes: ";
242 os <<
"visible, daughters ";
244 os <<
"visible, colour: " << a.
fColour;
245 os <<
"\n linestyle: ";
248 os <<
"solid";
break;
250 os <<
"dashed";
break;
252 default: os <<
"unrecognised";
break;
256 os <<
"\n drawing style: ";
261 os <<
"wireframe";
break;
263 os <<
"solid";
break;
264 default: os <<
"unrecognised";
break;
270 os <<
", auxiliary edge visibility: ";
280 os <<
"\n line segments per circle: ";
287 os <<
"\n G4AttValue pointer is ";
292 os <<
", G4AttDef pointer is ";
G4GLOB_DLL std::ostream G4cout
const std::vector< G4AttValue > * fAttValues
void SetForceAuxEdgeVisible(G4bool=true)
void SetForceCloud(G4bool=true)
G4int fForcedLineSegmentsPerCircle
G4bool fForceDrawingStyle
ForcedDrawingStyle fForcedStyle
void SetForceWireframe(G4bool=true)
const std::vector< G4AttValue > * CreateAttValues() const
static constexpr G4int fMinLineSegmentsPerCircle
G4bool IsForcedAuxEdgeVisible() const
G4int fForcedNumberOfCloudPoints
static const G4VisAttributes & GetInvisible()
G4bool operator!=(const G4VisAttributes &a) const
G4bool fDaughtersInvisible
ForcedDrawingStyle GetForcedDrawingStyle() const
static G4int GetMinLineSegmentsPerCircle()
G4bool fForcedAuxEdgeVisible
const std::map< G4String, G4AttDef > * fAttDefs
void SetForceSolid(G4bool=true)
G4bool fForceAuxEdgeVisible
void SetForceLineSegmentsPerCircle(G4int nSegments)
G4VisAttributes & operator=(const G4VisAttributes &)
G4bool operator==(const G4VisAttributes &a) const
void SetForceNumberOfCloudPoints(G4int nPoints)
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)