LBNEVisManager.hh
Go to the documentation of this file.
1 //
2 // $Id: LBNEVisManager.hh,v 1.1 2011/07/13 16:20:52 loiacono Exp $
3 // GEANT4 tag $Name: $
4 //
5 //
6 
7 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
8 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
9 
10 // Example Visualization Manager implementing virtual function
11 // RegisterGraphicsSystems. Exploits C-pre-processor variables
12 // G4VIS_USE_DAWN, etc., which are set by the GNUmakefiles if
13 // environment variables of the same name are set.
14 
15 // So all you have to do is set environment variables and compile and
16 // instantiate this in your main().
17 
18 // Alternatively, you can implement an empty function here and just
19 // register the systems you want in your main(), e.g.:
20 // G4VisManager* myVisManager = new MyVisManager;
21 // myVisManager -> RegisterGraphicsSystem (new MyGraphicsSystem);
22 
23 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
24 
25 #ifndef LBNEVisManager_h
26 #define LBNEVisManager_h 1
27 
28 #ifdef G4VIS_USE
29 
30 #include "G4VisManager.hh"
31 
32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
33 
34 class LBNEVisManager: public G4VisManager
35 {
36 
37 public:
38 
39  LBNEVisManager ();
40 
41 private:
42 
43  void RegisterGraphicsSystems ();
44  void RegisterModelFactories();
45 
46 };
47 
48 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
49 
50 #endif
51 
52 #endif