LDMX Software
|
Global store of G4VisAttributes created from GDML data. More...
#include <VisAttributesStore.h>
Public Types | |
typedef std::map< std::string, G4VisAttributes * > | VisAttributesMap |
Map of name to vis attributes. | |
Public Member Functions | |
~VisAttributesStore () | |
Destructor. | |
G4VisAttributes * | getVisAttributes (const std::string &name) |
Get vis attributes by name. | |
void | addVisAttributes (const std::string &name, G4VisAttributes *visAttributes) |
Register a vis attributes by name. | |
Static Public Member Functions | |
static VisAttributesStore * | getInstance () |
Get the global instance of the store. | |
Private Attributes | |
VisAttributesMap | visAttributesMap_ |
The map of names to vis attributes. | |
Global store of G4VisAttributes created from GDML data.
Definition at line 19 of file VisAttributesStore.h.
typedef std::map<std::string, G4VisAttributes*> simcore::VisAttributesStore::VisAttributesMap |
Map of name to vis attributes.
Definition at line 24 of file VisAttributesStore.h.
|
inline |
Destructor.
Cleans up G4VisAttributes
Definition at line 40 of file VisAttributesStore.h.
References visAttributesMap_.
|
inline |
Register a vis attributes by name.
name | The name of the vis attributes. |
visAttributes | The vis attributes to register. |
Definition at line 67 of file VisAttributesStore.h.
References visAttributesMap_.
Referenced by simcore::geo::AuxInfoReader::createVisAttributes().
|
inlinestatic |
Get the global instance of the store.
Definition at line 30 of file VisAttributesStore.h.
Referenced by simcore::geo::AuxInfoReader::assignAuxInfoToVolumes(), and simcore::geo::AuxInfoReader::createVisAttributes().
|
inline |
Get vis attributes by name.
name | The name of the vis attributes. |
Definition at line 52 of file VisAttributesStore.h.
References visAttributesMap_.
Referenced by simcore::geo::AuxInfoReader::assignAuxInfoToVolumes().
|
private |
The map of names to vis attributes.
Definition at line 76 of file VisAttributesStore.h.
Referenced by addVisAttributes(), getVisAttributes(), and ~VisAttributesStore().