- Timestamp:
- May 20, 2010, 11:49:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/modeling/src/G4TrajectoryGenericDrawer.cc
r954 r1258 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4TrajectoryGenericDrawer.cc,v 1. 2 2006/06/29 21:33:16 gunterExp $26 // $Id: G4TrajectoryGenericDrawer.cc,v 1.3 2010/05/11 11:31:31 allison Exp $ 27 27 // GEANT4 tag $Name: $ 28 28 // … … 57 57 58 58 void 59 G4TrajectoryGenericDrawer::Draw(const G4VTrajectory& traj, const G4bool& visible) const 60 { 61 G4VisTrajContext myContext(GetContext()); 62 myContext.SetVisible(visible); 63 64 if (GetVerbose()) { 65 G4cout<<"G4TrajectoryGenericDrawer named "<<Name(); 66 G4cout<<", drawing trajectory with configuration: "<<G4endl; 67 myContext.Print(G4cout); 68 } 69 70 G4TrajectoryDrawerUtils::DrawLineAndPoints(traj, myContext); 71 } 72 73 void 59 74 G4TrajectoryGenericDrawer::Print(std::ostream& ostr) const 60 75 {
Note: See TracChangeset
for help on using the changeset viewer.