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

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

Definition at line 92 of file G4ModelingParameters.hh.

00094                                     :
00095       fVisAtts(visAtts), fSignifier(signifier), fPVNameCopyNoPath(path) {}
    VisAttributesModifier

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

Definition at line 91 of file G4ModelingParameters.cc.

00093                                                                     :
00094 fVisAtts(visAtts), fSignifier(signifier)
00095 {
00096   typedef G4PhysicalVolumeModel::G4PhysicalVolumeNodeID PVNodeID;
00097   typedef std::vector<PVNodeID> PVPath;
00098   typedef PVPath::const_iterator PVPathConstIterator;
00099   PVPathConstIterator i;
00100   for (i = path.begin();
00101        i != path.end();
00102        ++i) {
00103     fPVNameCopyNoPath.push_back
00104     (PVNameCopyNo
00105      (i->GetPhysicalVolume()->GetName(),
00106       i->GetCopyNo()));
00107   }
00108 }


Member Function Documentation

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

Definition at line 104 of file G4ModelingParameters.hh.

00105       {return fPVNameCopyNoPath;}

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

Definition at line 100 of file G4ModelingParameters.hh.

00101       {return fVisAtts;}

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

Definition at line 102 of file G4ModelingParameters.hh.

00103       {return fSignifier;}


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:30 2013 for Geant4 by  doxygen 1.4.7