#include "globals.hh"
#include "G4VisExtent.hh"
#include "G4VisAttributes.hh"
#include "G4PhysicalVolumeModel.hh"
#include <vector>
#include <utility>
#include "G4ModelingParameters.icc"
Go to the source code of this file.
◆ operator<<() [1/3]
Definition at line 152 of file G4ModelingParameters.cc.
154 os <<
"Modeling parameters (warning ";
155 if (mp.fWarning) os <<
"true";
160 os <<
"\n Default vis. attributes: ";
164 os <<
"\n Current requested drawing style: ";
165 switch (mp.fDrawingStyle) {
167 os <<
"wireframe";
break;
169 os <<
"hidden line removal (hlr)";
break;
171 os <<
"surface (hsr)";
break;
173 os <<
"surface and edges (hlhsr)";
break;
174 default: os <<
"unrecognised";
break;
177 os <<
"\n Culling: ";
178 if (mp.fCulling) os <<
"on";
181 os <<
"\n Culling invisible objects: ";
182 if (mp.fCullInvisible) os <<
"on";
185 os <<
"\n Density culling: ";
186 if (mp.fDensityCulling) {
187 os <<
"on - invisible if density less than " 188 << mp.fVisibleDensity / (1. *
g /
cm3) <<
" g cm^-3";
192 os <<
"\n Culling daughters covered by opaque mothers: ";
193 if (mp.fCullCovered) os <<
"on";
196 os <<
"\n Explode factor: " << mp.fExplodeFactor
197 <<
" about centre: " << mp.fExplodeCentre;
199 os <<
"\n No. of sides used in circle polygon approximation: " 202 os <<
"\n Section (DCUT) shape (G4VSolid) pointer: ";
203 if (!mp.fpSectionSolid) os <<
"non-";
206 os <<
"\n Cutaway (DCUT) shape (G4VSolid) pointer: ";
207 if (!mp.fpCutawaySolid) os <<
"non-";
210 os <<
"\n Event pointer: " << mp.fpEvent;
212 os <<
"\n Vis attributes modifiers: ";
213 const std::vector<G4ModelingParameters::VisAttributesModifier>& vams =
214 mp.fVisAttributesModifiers;
◆ operator<<() [2/3]
Definition at line 312 of file G4ModelingParameters.cc.
316 for (i = path.begin(); i != path.end(); ++i) {
317 if (i != path.begin()) {
320 os << i->GetName() <<
':' << i->GetCopyNo();
PVNameCopyNoPath::const_iterator PVNameCopyNoPathConstIterator
◆ operator<<() [3/3]
Definition at line 326 of file G4ModelingParameters.cc.
329 std::vector<G4ModelingParameters::VisAttributesModifier>::const_iterator
331 for (iModifier = vams.begin();
332 iModifier != vams.end();
335 iModifier->GetPVNameCopyNoPath();
336 os <<
'\n' << vamPath;
339 switch (iModifier->GetVisAttributesSignifier()) {
341 os <<
" visibility ";
349 os <<
" daughtersInvisible ";
357 os <<
" colour " <<
c;
378 os <<
" forceWireframe ";
388 os <<
" forceSolid ";
397 os <<
" forceAuxEdgeVisible ";
405 os <<
" lineSegmentsPerCircle "
ForcedDrawingStyle GetForcedDrawingStyle() const
G4bool IsForceAuxEdgeVisible() const
G4bool IsForceDrawingStyle() const
G4bool IsDaughtersInvisible() const
std::vector< PVNameCopyNo > PVNameCopyNoPath
G4double GetLineWidth() const
LineStyle GetLineStyle() const
G4int GetForcedLineSegmentsPerCircle() const
const G4Colour & GetColour() const