243{
244 os << "G4VisAttributes: ";
245 if (!a.fVisible) os << "in";
246 os << "visible, daughters ";
247 if (a.fDaughtersInvisible) os << "in";
248 os << "visible, colour: " << a.fColour;
249 os << "\n linestyle: ";
250 switch (a.fLineStyle) {
252 os << "solid"; break;
254 os << "dashed"; break;
256 default: os << "unrecognised"; break;
257 }
258 os << ", line width: " << a.fLineWidth;
260 os << "\n drawing style: ";
261 if (a.fForceDrawingStyle) {
262 os << "forced to ";
263 switch (a.fForcedStyle) {
265 os << "wireframe"; break;
267 os << "solid"; break;
268 default: os << "unrecognised"; break;
269 }
270 }
271 else {
272 os << "not forced";
273 }
274 os << ", auxiliary edge visibility: ";
275 if (a.fForceAuxEdgeVisible) {
276 os << "forced to ";
277 if (!a.fForcedAuxEdgeVisible) {
278 os << "not ";
279 }
280 os << "visible";
281 } else {
282 os << "not forced";
283 }
284 os << "\n line segments per circle: ";
285 if (a.fForcedLineSegmentsPerCircle > 0) {
286 os << "forced to " << a.fForcedLineSegmentsPerCircle;
287 } else {
288 os << "not forced.";
289 }
290 os << "\n time range: (" << a.fStartTime << ',' << a.fEndTime << ')';
291 os << "\n G4AttValue pointer is ";
292 if (a.fAttValues) {
293 os << "non-";
294 }
295 os << "zero";
296 os << ", G4AttDef pointer is ";
297 if (a.fAttDefs) {
298 os << "non-";
299 }
300 os << "zero";
301 return os;
302}
static G4int GetMinLineSegmentsPerCircle()