Ignore:
Timestamp:
May 20, 2010, 11:49:26 AM (14 years ago)
Author:
garnier
Message:

cvs update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/modeling/src/G4TrajectoryGenericDrawer.cc

    r954 r1258  
    2424// ********************************************************************
    2525//
    26 // $Id: G4TrajectoryGenericDrawer.cc,v 1.2 2006/06/29 21:33:16 gunter Exp $
     26// $Id: G4TrajectoryGenericDrawer.cc,v 1.3 2010/05/11 11:31:31 allison Exp $
    2727// GEANT4 tag $Name:  $
    2828//
     
    5757
    5858void
     59G4TrajectoryGenericDrawer::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
     73void
    5974G4TrajectoryGenericDrawer::Print(std::ostream& ostr) const
    6075{
Note: See TracChangeset for help on using the changeset viewer.