Geant4-11
|
#include <G4TrajectoryDrawByParticleID.hh>
Public Member Functions | |
virtual void | Draw (const G4VTrajectory &trajectory, const G4bool &visible=true) const |
G4TrajectoryDrawByParticleID (const G4String &name="Unspecified", G4VisTrajContext *context=0) | |
const G4VisTrajContext & | GetContext () const |
G4bool | GetVerbose () const |
G4String | Name () const |
virtual void | Print (std::ostream &ostr) const |
void | Set (const G4String &particle, const G4Colour &colour) |
void | Set (const G4String &particle, const G4String &colour) |
void | SetDefault (const G4Colour &) |
void | SetDefault (const G4String &) |
void | SetVerbose (const G4bool &) |
virtual | ~G4TrajectoryDrawByParticleID () |
Private Attributes | |
G4Colour | fDefault |
G4ModelColourMap< G4String > | fMap |
G4String | fName |
G4VisTrajContext * | fpContext |
G4bool | fVerbose |
Definition at line 43 of file G4TrajectoryDrawByParticleID.hh.
G4TrajectoryDrawByParticleID::G4TrajectoryDrawByParticleID | ( | const G4String & | name = "Unspecified" , |
G4VisTrajContext * | context = 0 |
||
) |
Definition at line 34 of file G4TrajectoryDrawByParticleID.cc.
References Set().
|
virtual |
Definition at line 47 of file G4TrajectoryDrawByParticleID.cc.
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 50 of file G4TrajectoryDrawByParticleID.cc.
References G4TrajectoryDrawerUtils::DrawLineAndPoints(), fDefault, fMap, G4cout, G4endl, G4ModelColourMap< T >::GetColour(), G4VTrajectoryModel::GetContext(), G4VTrajectory::GetParticleName(), G4VTrajectoryModel::GetVerbose(), G4VTrajectoryModel::Name(), G4VisTrajContext::Print(), and G4VisTrajContext::SetLineColour().
|
inherited |
Definition at line 53 of file G4VTrajectoryModel.cc.
References G4VTrajectoryModel::fpContext.
Referenced by G4HepRepFileSceneHandler::BeginModeling(), G4TrajectoryDrawByAttribute::Draw(), G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByEncounteredVolume::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), Draw(), G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByAttribute::Print(), G4TrajectoryDrawByCharge::Print(), G4TrajectoryDrawByEncounteredVolume::Print(), G4TrajectoryDrawByOriginVolume::Print(), Print(), and G4TrajectoryGenericDrawer::Print().
|
inherited |
Definition at line 73 of file G4VTrajectoryModel.cc.
References G4VTrajectoryModel::fVerbose.
Referenced by G4TrajectoryDrawByAttribute::Draw(), G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByEncounteredVolume::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), Draw(), and G4TrajectoryGenericDrawer::Draw().
|
inherited |
Definition at line 61 of file G4VTrajectoryModel.cc.
References G4VTrajectoryModel::fName.
Referenced by G4TrajectoryDrawByAttribute::Draw(), G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByEncounteredVolume::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), Draw(), G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByAttribute::Print(), G4TrajectoryDrawByCharge::Print(), G4TrajectoryDrawByEncounteredVolume::Print(), G4TrajectoryDrawByOriginVolume::Print(), Print(), and G4TrajectoryGenericDrawer::Print().
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 107 of file G4TrajectoryDrawByParticleID.cc.
References fDefault, fMap, G4cout, G4endl, G4VTrajectoryModel::GetContext(), G4VTrajectoryModel::Name(), G4ModelColourMap< T >::Print(), and G4VisTrajContext::Print().
Definition at line 101 of file G4TrajectoryDrawByParticleID.cc.
References fMap.
Definition at line 95 of file G4TrajectoryDrawByParticleID.cc.
References fMap, and G4ModelColourMap< T >::Set().
Referenced by G4TrajectoryDrawByParticleID().
void G4TrajectoryDrawByParticleID::SetDefault | ( | const G4Colour & | colour | ) |
Definition at line 89 of file G4TrajectoryDrawByParticleID.cc.
References fDefault.
void G4TrajectoryDrawByParticleID::SetDefault | ( | const G4String & | colour | ) |
Definition at line 72 of file G4TrajectoryDrawByParticleID.cc.
References G4Exception(), G4Colour::GetColour(), JustWarning, SetDefault(), and G4Colour::White().
Referenced by SetDefault().
|
inherited |
Definition at line 67 of file G4VTrajectoryModel.cc.
References G4VTrajectoryModel::fVerbose.
|
private |
Definition at line 69 of file G4TrajectoryDrawByParticleID.hh.
Referenced by Draw(), Print(), and SetDefault().
|
private |
Definition at line 68 of file G4TrajectoryDrawByParticleID.hh.
|
privateinherited |
Definition at line 75 of file G4VTrajectoryModel.hh.
Referenced by G4VTrajectoryModel::Name().
|
privateinherited |
Definition at line 77 of file G4VTrajectoryModel.hh.
Referenced by G4VTrajectoryModel::G4VTrajectoryModel(), G4VTrajectoryModel::GetContext(), and G4VTrajectoryModel::~G4VTrajectoryModel().
|
privateinherited |
Definition at line 76 of file G4VTrajectoryModel.hh.
Referenced by G4VTrajectoryModel::GetVerbose(), and G4VTrajectoryModel::SetVerbose().