FDsimG4VisExecutive.cc
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // GEANT4 tag $Name: geant4-09-01-patch-02 $
28 //
29 //
30 // John Allison 24th January 1998.
31 
32 #ifndef G4VISEXECUTIVE_ICC
33 #define G4VISEXECUTIVE_ICC
34 
35 // Supported drivers...
36 
37 // Not needing external packages or libraries...
38 #include "G4ASCIITree.hh"
39 #include "G4DAWNFILE.hh"
40 //#include "G4HepRep.hh"
41 //#include "G4HepRepFile.hh"
42 #include "G4RayTracer.hh"
43 #include "G4HitFilterFactories.hh"
44 #include "G4TrajectoryFilterFactories.hh"
45 #include "G4TrajectoryModelFactories.hh"
46 #include "G4VRML1File.hh"
47 #include "G4VRML2File.hh"
48 
49 #include "FDsimG4VisExecutive.hh"
50 
51 using namespace TelescopeSimulatorLX;
52 
54 
56 {
57 
58  // Graphics Systems not needing external packages or libraries...
59  RegisterGraphicsSystem (new G4ASCIITree);
60  RegisterGraphicsSystem (new G4DAWNFILE);
61  // RegisterGraphicsSystem (new G4HepRep);
62  // RegisterGraphicsSystem (new G4HepRepFile);
63  RegisterGraphicsSystem (new G4RayTracer);
64  RegisterGraphicsSystem (new G4VRML1File);
65  RegisterGraphicsSystem (new G4VRML2File);
66 }
67 
68 void
70 {
71  // Trajectory draw models
72  RegisterModelFactory(new G4TrajectoryGenericDrawerFactory());
73  RegisterModelFactory(new G4TrajectoryDrawByChargeFactory());
74  RegisterModelFactory(new G4TrajectoryDrawByParticleIDFactory());
75  RegisterModelFactory(new G4TrajectoryDrawByOriginVolumeFactory());
76  RegisterModelFactory(new G4TrajectoryDrawByAttributeFactory());
77 
78  // Trajectory filter models
79  RegisterModelFactory(new G4TrajectoryChargeFilterFactory());
80  RegisterModelFactory(new G4TrajectoryParticleFilterFactory());
81  RegisterModelFactory(new G4TrajectoryOriginVolumeFilterFactory());
82  RegisterModelFactory(new G4TrajectoryAttributeFilterFactory());
83 
84  // Hit filter models
85  RegisterModelFactory(new G4HitAttributeFilterFactory());
86 }
87 
88 #endif

, generated on Tue Sep 26 2023.