Changeset 1293 for trunk/source/tracking/src/G4VTrajectory.cc
- Timestamp:
- Jun 2, 2010, 10:23:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/tracking/src/G4VTrajectory.cc
r1228 r1293 25 25 // 26 26 // 27 // $Id: G4VTrajectory.cc,v 1.1 2 2006/10/16 13:45:01allison Exp $28 // GEANT4 tag $Name: geant4-09-03 $27 // $Id: G4VTrajectory.cc,v 1.15 2010/05/29 21:31:03 allison Exp $ 28 // GEANT4 tag $Name: tracking-V09-03-03 $ 29 29 // 30 30 // --------------------------------------------------------------- … … 116 116 } 117 117 118 void G4VTrajectory::DrawTrajectory() const 119 { 120 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance(); 121 122 if (0 != pVVisManager) { 123 pVVisManager->DispatchToModel(*this); 124 } 125 } 126 118 127 void G4VTrajectory::DrawTrajectory(G4int i_mode) const 119 128 { 120 129 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance(); 130 131 static G4bool warnedAboutIMode = false; 132 if (!warnedAboutIMode) { 133 G4Exception 134 ("G4VTrajectory::DrawTrajectory", 135 "", 136 JustWarning, 137 "WARNING: DEPRECATED: The use of i_mode argument in DrawTrajectory" 138 "\n is deprecated and will be removed at the next major release."); 139 warnedAboutIMode = true; 140 } 121 141 122 142 if (0 != pVVisManager) {
Note: See TracChangeset
for help on using the changeset viewer.