#include <G4VTrajectoryModel.hh>
Inheritance diagram for G4VTrajectoryModel:

Public Member Functions | |
| G4VTrajectoryModel (const G4String &name, G4VisTrajContext *fpContext=0) | |
| virtual | ~G4VTrajectoryModel () |
| virtual void | Draw (const G4VTrajectory &trajectory, const G4int &i_mode=0, const G4bool &visible=true) const =0 |
| virtual void | Draw (const G4VTrajectory &trajectory, const G4bool &visible=true) const =0 |
| virtual void | Print (std::ostream &ostr) const =0 |
| G4String | Name () const |
| const G4VisTrajContext & | GetContext () const |
| void | SetVerbose (const G4bool &) |
| G4bool | GetVerbose () const |
Definition at line 44 of file G4VTrajectoryModel.hh.
| G4VTrajectoryModel::G4VTrajectoryModel | ( | const G4String & | name, | |
| G4VisTrajContext * | fpContext = 0 | |||
| ) |
Definition at line 37 of file G4VTrajectoryModel.cc.
00039 :fName(name) 00040 ,fVerbose(false) 00041 ,fpContext(context) 00042 { 00043 // Create context object if none is provided. Model will 00044 // then use default G4VisTrajContext configuration 00045 if (0 == fpContext) fpContext = new G4VisTrajContext(); 00046 }
| G4VTrajectoryModel::~G4VTrajectoryModel | ( | ) | [virtual] |
| virtual void G4VTrajectoryModel::Draw | ( | const G4VTrajectory & | trajectory, | |
| const G4bool & | visible = true | |||
| ) | const [pure virtual] |
| virtual void G4VTrajectoryModel::Draw | ( | const G4VTrajectory & | trajectory, | |
| const G4int & | i_mode = 0, |
|||
| const G4bool & | visible = true | |||
| ) | const [pure virtual] |
Implemented in G4TrajectoryDrawByAttribute, G4TrajectoryDrawByCharge, G4TrajectoryDrawByOriginVolume, G4TrajectoryDrawByParticleID, and G4TrajectoryGenericDrawer.
Referenced by G4VisManager::DispatchToModel().
| const G4VisTrajContext & G4VTrajectoryModel::GetContext | ( | ) | const |
Definition at line 54 of file G4VTrajectoryModel.cc.
Referenced by G4HepRepFileSceneHandler::BeginModeling(), G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByParticleID::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByAttribute::Draw(), G4TrajectoryGenericDrawer::Print(), G4TrajectoryDrawByParticleID::Print(), G4TrajectoryDrawByOriginVolume::Print(), G4TrajectoryDrawByCharge::Print(), and G4TrajectoryDrawByAttribute::Print().
00055 { 00056 // Expect context to exist 00057 assert (0 != fpContext); 00058 return *fpContext; 00059 }
| G4bool G4VTrajectoryModel::GetVerbose | ( | ) | const |
Definition at line 74 of file G4VTrajectoryModel.cc.
Referenced by G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByParticleID::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryDrawByCharge::Draw(), and G4TrajectoryDrawByAttribute::Draw().
| G4String G4VTrajectoryModel::Name | ( | ) | const |
Definition at line 62 of file G4VTrajectoryModel.cc.
Referenced by G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByParticleID::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByAttribute::Draw(), G4TrajectoryGenericDrawer::Print(), G4TrajectoryDrawByParticleID::Print(), G4TrajectoryDrawByOriginVolume::Print(), G4TrajectoryDrawByCharge::Print(), and G4TrajectoryDrawByAttribute::Print().
00063 { 00064 return fName; 00065 }
| virtual void G4VTrajectoryModel::Print | ( | std::ostream & | ostr | ) | const [pure virtual] |
| void G4VTrajectoryModel::SetVerbose | ( | const G4bool & | ) |
1.4.7