Geant4.10
|
#include <G4TrajectoryDrawByParticleID.hh>
Public Member Functions | |
G4TrajectoryDrawByParticleID (const G4String &name="Unspecified", G4VisTrajContext *context=0) | |
virtual | ~G4TrajectoryDrawByParticleID () |
virtual void | Draw (const G4VTrajectory &trajectory, const G4bool &visible=true) const |
virtual void | Print (std::ostream &ostr) const |
void | SetDefault (const G4String &) |
void | SetDefault (const G4Colour &) |
void | Set (const G4String &particle, const G4String &colour) |
void | Set (const G4String &particle, const G4Colour &colour) |
![]() | |
G4VTrajectoryModel (const G4String &name, G4VisTrajContext *fpContext=0) | |
virtual | ~G4VTrajectoryModel () |
G4String | Name () const |
const G4VisTrajContext & | GetContext () const |
void | SetVerbose (const G4bool &) |
G4bool | GetVerbose () const |
Definition at line 44 of file G4TrajectoryDrawByParticleID.hh.
G4TrajectoryDrawByParticleID::G4TrajectoryDrawByParticleID | ( | const G4String & | name = "Unspecified" , |
G4VisTrajContext * | context = 0 |
||
) |
Definition at line 35 of file G4TrajectoryDrawByParticleID.cc.
References Set().
|
virtual |
Definition at line 48 of file G4TrajectoryDrawByParticleID.cc.
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 51 of file G4TrajectoryDrawByParticleID.cc.
References G4TrajectoryDrawerUtils::DrawLineAndPoints(), G4cout, G4endl, G4ModelColourMap< T >::GetColour(), G4VTrajectoryModel::GetContext(), G4VTrajectory::GetParticleName(), G4VTrajectoryModel::GetVerbose(), G4VTrajectoryModel::Name(), G4VisTrajContext::Print(), G4VisTrajContext::SetLineColour(), and G4VisTrajContext::SetVisible().
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 109 of file G4TrajectoryDrawByParticleID.cc.
References G4cout, G4endl, G4VTrajectoryModel::GetContext(), G4VTrajectoryModel::Name(), G4VisTrajContext::Print(), and G4ModelColourMap< T >::Print().
Definition at line 97 of file G4TrajectoryDrawByParticleID.cc.
References G4ModelColourMap< T >::Set().
Referenced by G4TrajectoryDrawByParticleID().
Definition at line 103 of file G4TrajectoryDrawByParticleID.cc.
Definition at line 74 of file G4TrajectoryDrawByParticleID.cc.
References G4Exception(), G4Colour::GetColour(), JustWarning, and G4Colour::White().
Definition at line 91 of file G4TrajectoryDrawByParticleID.cc.