#include <G4ModelingParameters.hh>
|
enum | DrawingStyle { wf,
hlr,
hsr,
hlhsr
} |
|
enum | VisAttributesSignifier {
VASVisibility,
VASDaughtersInvisible,
VASColour,
VASLineStyle,
VASLineWidth,
VASForceWireframe,
VASForceSolid,
VASForceAuxEdgeVisible,
VASForceLineSegmentsPerCircle
} |
|
typedef std::vector< PVNameCopyNo > | PVNameCopyNoPath |
|
typedef PVNameCopyNoPath::const_iterator | PVNameCopyNoPathConstIterator |
|
Definition at line 52 of file G4ModelingParameters.hh.
◆ PVNameCopyNoPath
◆ PVNameCopyNoPathConstIterator
◆ DrawingStyle
◆ VisAttributesSignifier
Enumerator |
---|
VASVisibility | |
VASDaughtersInvisible | |
VASColour | |
VASLineStyle | |
VASLineWidth | |
VASForceWireframe | |
VASForceSolid | |
VASForceAuxEdgeVisible | |
VASForceLineSegmentsPerCircle | |
Definition at line 66 of file G4ModelingParameters.hh.
◆ G4ModelingParameters() [1/2]
G4ModelingParameters::G4ModelingParameters |
( |
| ) |
|
Definition at line 43 of file G4ModelingParameters.cc.
G4VSolid * fpSectionSolid
DrawingStyle fDrawingStyle
const G4VisAttributes * fpDefaultVisAttributes
G4VSolid * fpCutawaySolid
◆ G4ModelingParameters() [2/2]
Definition at line 60 of file G4ModelingParameters.cc.
G4VSolid * fpSectionSolid
DrawingStyle fDrawingStyle
const G4VisAttributes * fpDefaultVisAttributes
G4VSolid * fpCutawaySolid
◆ ~G4ModelingParameters()
G4ModelingParameters::~G4ModelingParameters |
( |
| ) |
|
◆ GetCutawaySolid()
G4VSolid* G4ModelingParameters::GetCutawaySolid |
( |
| ) |
const |
◆ GetDefaultVisAttributes()
const G4VisAttributes* G4ModelingParameters::GetDefaultVisAttributes |
( |
| ) |
const |
◆ GetDrawingStyle()
DrawingStyle G4ModelingParameters::GetDrawingStyle |
( |
| ) |
const |
◆ GetEvent()
const G4Event* G4ModelingParameters::GetEvent |
( |
| ) |
const |
◆ GetExplodeCentre()
const G4Point3D& G4ModelingParameters::GetExplodeCentre |
( |
| ) |
const |
◆ GetExplodeFactor()
G4double G4ModelingParameters::GetExplodeFactor |
( |
| ) |
const |
◆ GetNoOfSides()
G4int G4ModelingParameters::GetNoOfSides |
( |
| ) |
const |
◆ GetSectionSolid()
G4VSolid* G4ModelingParameters::GetSectionSolid |
( |
| ) |
const |
◆ GetVisAttributesModifiers()
◆ GetVisibleDensity()
G4double G4ModelingParameters::GetVisibleDensity |
( |
| ) |
const |
◆ IsCulling()
G4bool G4ModelingParameters::IsCulling |
( |
| ) |
const |
◆ IsCullingCovered()
G4bool G4ModelingParameters::IsCullingCovered |
( |
| ) |
const |
◆ IsCullingInvisible()
G4bool G4ModelingParameters::IsCullingInvisible |
( |
| ) |
const |
◆ IsDensityCulling()
G4bool G4ModelingParameters::IsDensityCulling |
( |
| ) |
const |
◆ IsExplode()
G4bool G4ModelingParameters::IsExplode |
( |
| ) |
const |
◆ IsWarning()
G4bool G4ModelingParameters::IsWarning |
( |
| ) |
const |
◆ operator!=()
Definition at line 225 of file G4ModelingParameters.cc.
G4VSolid * fpSectionSolid
const G4VisAttributes * fpDefaultVisAttributes
std::vector< VisAttributesModifier > fVisAttributesModifiers
G4VSolid * fpCutawaySolid
◆ SetCulling()
void G4ModelingParameters::SetCulling |
( |
G4bool |
| ) |
|
◆ SetCullingCovered()
void G4ModelingParameters::SetCullingCovered |
( |
G4bool |
| ) |
|
◆ SetCullingInvisible()
void G4ModelingParameters::SetCullingInvisible |
( |
G4bool |
| ) |
|
◆ SetCutawaySolid()
void G4ModelingParameters::SetCutawaySolid |
( |
G4VSolid * |
pCutawaySolid | ) |
|
◆ SetDefaultVisAttributes()
void G4ModelingParameters::SetDefaultVisAttributes |
( |
const G4VisAttributes * |
pDefaultVisAttributes | ) |
|
◆ SetDensityCulling()
void G4ModelingParameters::SetDensityCulling |
( |
G4bool |
| ) |
|
◆ SetDrawingStyle()
◆ SetEvent()
void G4ModelingParameters::SetEvent |
( |
const G4Event * |
pEvent | ) |
|
◆ SetExplodeCentre()
void G4ModelingParameters::SetExplodeCentre |
( |
const G4Point3D & |
explodeCentre | ) |
|
◆ SetExplodeFactor()
void G4ModelingParameters::SetExplodeFactor |
( |
G4double |
explodeFactor | ) |
|
◆ SetNoOfSides()
G4int G4ModelingParameters::SetNoOfSides |
( |
G4int |
nSides | ) |
|
Definition at line 127 of file G4ModelingParameters.cc.
129 if (nSides < nSidesMin) {
132 G4cout <<
"G4ModelingParameters::SetNoOfSides: attempt to set the" 133 "\nnumber of sides per circle < " << nSidesMin
134 <<
"; forced to" << nSides <<
G4endl;
const G4VisAttributes * fpDefaultVisAttributes
G4GLOB_DLL std::ostream G4cout
static G4int GetMinLineSegmentsPerCircle()
◆ SetSectionSolid()
void G4ModelingParameters::SetSectionSolid |
( |
G4VSolid * |
pSectionSolid | ) |
|
◆ SetVisAttributesModifiers()
◆ SetVisibleDensity()
void G4ModelingParameters::SetVisibleDensity |
( |
G4double |
visibleDensity | ) |
|
Definition at line 110 of file G4ModelingParameters.cc.
112 if (visibleDensity < 0 &&
fWarning) {
113 G4cout <<
"G4ModelingParameters::SetVisibleDensity: attempt to set negative " 114 "density - ignored." <<
G4endl;
118 G4cout <<
"G4ModelingParameters::SetVisibleDensity: density > " 120 <<
" g / cm3 - did you mean this?"
G4GLOB_DLL std::ostream G4cout
◆ SetWarning()
void G4ModelingParameters::SetWarning |
( |
G4bool |
| ) |
|
◆ operator<< [1/3]
Definition at line 152 of file G4ModelingParameters.cc.
154 os <<
"Modeling parameters (warning ";
160 os <<
"\n Default vis. attributes: ";
164 os <<
"\n Current requested drawing style: ";
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: ";
181 os <<
"\n Culling invisible objects: ";
185 os <<
"\n Density culling: ";
187 os <<
"on - invisible if density less than " 192 os <<
"\n Culling daughters covered by opaque mothers: ";
199 os <<
"\n No. of sides used in circle polygon approximation: " 202 os <<
"\n Section (DCUT) shape (G4VSolid) pointer: ";
206 os <<
"\n Cutaway (DCUT) shape (G4VSolid) pointer: ";
210 os <<
"\n Event pointer: " << mp.
fpEvent;
212 os <<
"\n Vis attributes modifiers: ";
213 const std::vector<G4ModelingParameters::VisAttributesModifier>& vams =
G4VSolid * fpSectionSolid
DrawingStyle fDrawingStyle
const G4VisAttributes * fpDefaultVisAttributes
std::vector< VisAttributesModifier > fVisAttributesModifiers
G4VSolid * fpCutawaySolid
◆ 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
◆ fCullCovered
G4bool G4ModelingParameters::fCullCovered |
|
private |
◆ fCulling
G4bool G4ModelingParameters::fCulling |
|
private |
◆ fCullInvisible
G4bool G4ModelingParameters::fCullInvisible |
|
private |
◆ fDensityCulling
G4bool G4ModelingParameters::fDensityCulling |
|
private |
◆ fDrawingStyle
◆ fExplodeCentre
G4Point3D G4ModelingParameters::fExplodeCentre |
|
private |
◆ fExplodeFactor
G4double G4ModelingParameters::fExplodeFactor |
|
private |
◆ fNoOfSides
G4int G4ModelingParameters::fNoOfSides |
|
private |
◆ fpCutawaySolid
G4VSolid* G4ModelingParameters::fpCutawaySolid |
|
private |
◆ fpDefaultVisAttributes
◆ fpEvent
const G4Event* G4ModelingParameters::fpEvent |
|
private |
◆ fpSectionSolid
G4VSolid* G4ModelingParameters::fpSectionSolid |
|
private |
◆ fVisAttributesModifiers
◆ fVisibleDensity
G4double G4ModelingParameters::fVisibleDensity |
|
private |
◆ fWarning
G4bool G4ModelingParameters::fWarning |
|
private |
The documentation for this class was generated from the following files: