Geant4 Cross Reference |
1 // << 2 // ******************************************* 1 // ******************************************************************** 3 // * License and Disclaimer << 2 // * DISCLAIMER * 4 // * 3 // * * 5 // * The Geant4 software is copyright of th << 4 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 5 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 6 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 7 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 8 // * * 11 // * Neither the authors of this software syst 9 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 10 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 11 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 12 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 13 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 14 // * * 18 // * This code implementation is the result << 15 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 16 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 17 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 18 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 19 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 20 // ******************************************************************** 25 // 21 // >> 22 // $Id: G4TrajectoryDrawerUtils.hh,v 1.2 2005/11/21 05:44:44 tinslay Exp $ >> 23 // GEANT4 tag $Name: geant4-08-00 $ 26 // 24 // 27 // Jane Tinslay, John Allison, Joseph Perl Nov 25 // Jane Tinslay, John Allison, Joseph Perl November 2005 28 // 26 // 29 // Class Description 27 // Class Description 30 // Simple trajectory model drawing utility fun 28 // Simple trajectory model drawing utility functions 31 // Class Description - End: 29 // Class Description - End: 32 30 33 #ifndef G4TRAJECTORYDRAWERUTILS 31 #ifndef G4TRAJECTORYDRAWERUTILS 34 #define G4TRAJECTORYDRAWERUTILS 32 #define G4TRAJECTORYDRAWERUTILS 35 33 36 #include "globals.hh" << 37 << 38 class G4Colour; << 39 class G4Polyline; 34 class G4Polyline; 40 class G4Polymarker; 35 class G4Polymarker; 41 class G4VisTrajContext; << 42 class G4VTrajectory; 36 class G4VTrajectory; 43 37 44 namespace G4TrajectoryDrawerUtils { 38 namespace G4TrajectoryDrawerUtils { 45 39 46 void GetPoints(const G4VTrajectory& traj, G4 40 void GetPoints(const G4VTrajectory& traj, G4Polyline& trajectoryLine, 47 G4Polymarker& auxiliaryPoints, G4Polymark 41 G4Polymarker& auxiliaryPoints, G4Polymarker& stepPoints); 48 << 49 // Draw trajectory line and points using G4V << 50 void DrawLineAndPoints(const G4VTrajectory& << 51 42 52 } 43 } 53 44 54 #endif 45 #endif 55 46