Geant4
10.00.p02
|
#include <G4ModelColourMap.hh>
Public Member Functions | |
G4ModelColourMap () | |
virtual | ~G4ModelColourMap () |
void | Set (const T &, const G4Colour &) |
void | Set (const T &, const G4String &) |
G4Colour & | operator[] (const T &quantity) |
bool | GetColour (const T &, G4Colour &) const |
void | Print (std::ostream &ostr) const |
Private Attributes | |
std::map< T, G4Colour > | fMap |
Definition at line 41 of file G4ModelColourMap.hh.
G4ModelColourMap< T >::G4ModelColourMap | ( | ) |
Definition at line 70 of file G4ModelColourMap.hh.
|
virtual |
Definition at line 73 of file G4ModelColourMap.hh.
bool G4ModelColourMap< T >::GetColour | ( | const T & | quantity, |
G4Colour & | colour | ||
) | const |
Definition at line 105 of file G4ModelColourMap.hh.
Referenced by G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryDrawByParticleID::Draw(), and G4TrajectoryDrawByCharge::Draw().
G4Colour & G4ModelColourMap< T >::operator[] | ( | const T & | quantity | ) |
Definition at line 67 of file G4ModelColourMap.hh.
void G4ModelColourMap< T >::Print | ( | std::ostream & | ostr | ) | const |
Definition at line 119 of file G4ModelColourMap.hh.
References G4endl.
Referenced by G4TrajectoryDrawByOriginVolume::Print(), G4TrajectoryDrawByParticleID::Print(), and G4TrajectoryDrawByCharge::Print().
void G4ModelColourMap< T >::Set | ( | const T & | quantity, |
const G4Colour & | colour | ||
) |
Definition at line 98 of file G4ModelColourMap.hh.
Referenced by G4TrajectoryDrawByOriginVolume::Set(), G4TrajectoryDrawByParticleID::Set(), and G4TrajectoryDrawByCharge::Set().
void G4ModelColourMap< T >::Set | ( | const T & | quantity, |
const G4String & | colour | ||
) |
Definition at line 77 of file G4ModelColourMap.hh.
References G4Exception(), G4Colour::GetColour(), JustWarning, and G4ArrayOps::Set().
|
private |
Definition at line 61 of file G4ModelColourMap.hh.