FDsimG4VisExecutive.hh
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 2nd February 2005 (based on MyVisManager, 24th January 1998).
31 //
32 // Class description
33 //
34 // Concrete Visualization Manager that implements the virtual
35 // functions RegisterGraphicsSystems and RegisterModelFactories. This
36 // is executed when you Initialise() or Initialize() the vis manager.
37 // It exploits C-pre-processor variables G4VIS_USE_DAWN, etc., which
38 // are set by the GNUmakefiles if environment variables of the same
39 // name are set.
40 //
41 // Include this file and write code to instantiate G4VisExecutive just
42 // once as beginning of operations. Before you compile, set
43 // appropriate environment variables. If you change your environment
44 // you must force recompilation (the make files will not detect the
45 // need to do this). Typically, your main program file will contain:
46 //
47 // #ifdef G4VIS_USE
48 // #include "G4VisExecutive.hh"
49 // #endif
50 // ...
51 // int main() {
52 // ...
53 // #ifdef G4VIS_USE
54 // // Instantiate and initialise Visualization Manager.
55 // G4VisManager* visManager = new G4VisExecutive;
56 // // visManager -> SetVerboseLevel (verbosityString);
57 // // visManager -> RegisterGraphicsSystem (new G4XXX);
58 // visManager -> Initialize ();
59 // #endif
60 // ...
61 // #ifdef G4VIS_USE
62 // G4cout << "Deleting vis manager..." << G4endl;
63 // delete visManager;
64 // G4cout << "Vis manager deleted." << G4endl;
65 // #endif
66 //
67 // The implementation is included as an .icc file because - for those
68 // graphics systems that need external libraries - only those
69 // systems that have been selected by the flags may be instantiated
70 // without causing unresolved references (only the user knows which
71 // libraries are available on his/her computer). It also ensures
72 // that libraries can be linked in the right order, without circular
73 // dependencies. (Note that some graphics systems, notable those
74 // that write files for off-line viewing, do not suffer these
75 // restrictions and are always registered.) Additional graphics
76 // systems, XXX say, can be individually registered before
77 // invocation of Initialise() with RegisterGraphicsSystem(new XXX).
78 //
79 // Alternatively, you can implement an empty function here and just
80 // register the systems you want in your main(), e.g.:
81 // G4VisManager* visManager = new G4VisExecutive;
82 // visManager -> RegisterGraphicsSystem (new MyGraphicsSystem);
83 //
84 // See class description of G4VisManager for more details.
85 
86 #ifndef G4VISEXECUTIVE_HH
87 #define G4VISEXECUTIVE_HH
88 
89 #include "G4VisManager.hh"
90 
91 namespace TelescopeSimulatorLX {
92 
93 class FDsimG4VisExecutive: public G4VisManager {
94 
95 public: // With description
96 
98 
99 private:
100 
102  void RegisterModelFactories();
103 
104 };
105 
106 }
107 
108 #endif

, generated on Tue Sep 26 2023.