VGM Version 5.3
|
The map between VGM and Geant4 solids. More...
#include <SolidMap.h>
Public Types | |
typedef std::map< VGM::ISolid *, G4VSolid * > | G4SolidMap |
typedef G4SolidMap::const_iterator | G4SolidMapCIterator |
typedef std::map< G4VSolid *, VGM::ISolid * > | VgmSolidMap |
typedef VgmSolidMap::const_iterator | VgmSolidMapCIterator |
Public Member Functions | |
SolidMap () | |
virtual | ~SolidMap () |
void | AddSolid (VGM::ISolid *, G4VSolid *) |
G4VSolid * | GetSolid (VGM::ISolid *iSolid) const |
VGM::ISolid * | GetSolid (G4VSolid *solid) const |
Static Public Member Functions | |
static SolidMap * | Instance () |
The map between VGM and Geant4 solids.
Definition at line 35 of file SolidMap.h.
std::map<VGM::ISolid*, G4VSolid*> Geant4GM::SolidMap::G4SolidMap |
Definition at line 38 of file SolidMap.h.
G4SolidMap::const_iterator Geant4GM::SolidMap::G4SolidMapCIterator |
Definition at line 39 of file SolidMap.h.
std::map<G4VSolid*, VGM::ISolid*> Geant4GM::SolidMap::VgmSolidMap |
Definition at line 41 of file SolidMap.h.
VgmSolidMap::const_iterator Geant4GM::SolidMap::VgmSolidMapCIterator |
Definition at line 42 of file SolidMap.h.
Geant4GM::SolidMap::SolidMap | ( | ) |
Standard default constructor
Definition at line 38 of file SolidMap.cxx.
|
virtual |
Definition at line 52 of file SolidMap.cxx.
|
static |
Singleton access function.
Definition at line 28 of file SolidMap.cxx.
void Geant4GM::SolidMap::AddSolid | ( | VGM::ISolid * | iSolid, |
G4VSolid * | g4Solid ) |
Add the specified pair in the map
Definition at line 59 of file SolidMap.cxx.
G4VSolid * Geant4GM::SolidMap::GetSolid | ( | VGM::ISolid * | iSolid | ) | const |
Find the G4 solid corresponding to a specified VGM solid
Definition at line 68 of file SolidMap.cxx.
VGM::ISolid * Geant4GM::SolidMap::GetSolid | ( | G4VSolid * | solid | ) | const |
Find the VGM solid corresponding to a specified G4 solid
Definition at line 80 of file SolidMap.cxx.