Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ModelingParameters::VisAttributesModifier Class Reference

#include <G4ModelingParameters.hh>

Public Member Functions

 VisAttributesModifier (const G4VisAttributes &visAtts, VisAttributesSignifier signifier, const PVNameCopyNoPath &path)
 
 VisAttributesModifier (const G4VisAttributes &visAtts, VisAttributesSignifier signifier, const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &path)
 
const G4VisAttributesGetVisAttributes () const
 
VisAttributesSignifier GetVisAttributesSignifier () const
 
const PVNameCopyNoPathGetPVNameCopyNoPath () const
 

Detailed Description

Definition at line 89 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

◆ VisAttributesModifier() [1/2]

G4ModelingParameters::VisAttributesModifier::VisAttributesModifier ( const G4VisAttributes visAtts,
VisAttributesSignifier  signifier,
const PVNameCopyNoPath path 
)
inline

Definition at line 91 of file G4ModelingParameters.hh.

94 :
95 fVisAtts(visAtts), fSignifier(signifier), fPVNameCopyNoPath(path) {}

◆ VisAttributesModifier() [2/2]

G4ModelingParameters::VisAttributesModifier::VisAttributesModifier ( const G4VisAttributes visAtts,
G4ModelingParameters::VisAttributesSignifier  signifier,
const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &  path 
)

Definition at line 90 of file G4ModelingParameters.cc.

93 :
94fVisAtts(visAtts), fSignifier(signifier)
95{
97 typedef std::vector<PVNodeID> PVPath;
98 typedef PVPath::const_iterator PVPathConstIterator;
99 PVPathConstIterator i;
100 for (i = path.begin();
101 i != path.end();
102 ++i) {
103 fPVNameCopyNoPath.push_back
104 (PVNameCopyNo
105 (i->GetPhysicalVolume()->GetName(),
106 i->GetCopyNo()));
107 }
108}
G4PhysicalVolumeModel::G4PhysicalVolumeNodeID PVNodeID
std::vector< PVNodeID > PVPath

Member Function Documentation

◆ GetPVNameCopyNoPath()

const PVNameCopyNoPath & G4ModelingParameters::VisAttributesModifier::GetPVNameCopyNoPath ( ) const
inline

Definition at line 104 of file G4ModelingParameters.hh.

105 {return fPVNameCopyNoPath;}

◆ GetVisAttributes()

const G4VisAttributes & G4ModelingParameters::VisAttributesModifier::GetVisAttributes ( ) const
inline

Definition at line 100 of file G4ModelingParameters.hh.

101 {return fVisAtts;}

◆ GetVisAttributesSignifier()

VisAttributesSignifier G4ModelingParameters::VisAttributesModifier::GetVisAttributesSignifier ( ) const
inline

Definition at line 102 of file G4ModelingParameters.hh.

103 {return fSignifier;}

The documentation for this class was generated from the following files: