Geant4-11
|
#include <G4ModelColourMap.hh>
Public Member Functions | |
G4ModelColourMap () | |
const std::map< T, G4Colour > & | GetBasicMap () const |
bool | GetColour (const T &, G4Colour &) const |
G4Colour & | operator[] (const T &quantity) |
void | Print (std::ostream &ostr) const |
void | Set (const T &, const G4Colour &) |
void | Set (const T &, const G4String &) |
virtual | ~G4ModelColourMap () |
Private Attributes | |
std::map< T, G4Colour > | fMap |
Definition at line 40 of file G4ModelColourMap.hh.
G4ModelColourMap< T >::G4ModelColourMap |
Definition at line 70 of file G4ModelColourMap.hh.
|
virtual |
Definition at line 73 of file G4ModelColourMap.hh.
const std::map< T, G4Colour > & G4ModelColourMap< T >::GetBasicMap |
Definition at line 104 of file G4ModelColourMap.hh.
Referenced by G4TrajectoryDrawByEncounteredVolume::Draw().
bool G4ModelColourMap< T >::GetColour | ( | const T & | quantity, |
G4Colour & | colour | ||
) | const |
Definition at line 109 of file G4ModelColourMap.hh.
Referenced by G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByEncounteredVolume::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), and G4TrajectoryDrawByParticleID::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 123 of file G4ModelColourMap.hh.
References G4endl.
Referenced by G4TrajectoryDrawByCharge::Print(), G4TrajectoryDrawByEncounteredVolume::Print(), G4TrajectoryDrawByOriginVolume::Print(), and G4TrajectoryDrawByParticleID::Print().
void G4ModelColourMap< T >::Set | ( | const T & | quantity, |
const G4Colour & | colour | ||
) |
Definition at line 98 of file G4ModelColourMap.hh.
Referenced by G4TrajectoryDrawByCharge::Set(), G4TrajectoryDrawByOriginVolume::Set(), G4TrajectoryDrawByParticleID::Set(), and G4TrajectoryDrawByEncounteredVolume::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.