BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/BesSim/BesSim/BesVisManager.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * DISCLAIMER *
4// * *
5// * The following disclaimer summarizes all the specific disclaimers *
6// * of contributors to this software. The specific disclaimers,which *
7// * govern, are listed with their locations in: *
8// * http://cern.ch/geant4/license *
9// * *
10// * Neither the authors of this software system, nor their employing *
11// * institutes,nor the agencies providing financial support for this *
12// * work make any representation or warranty, express or implied, *
13// * regarding this software system or assume any liability for its *
14// * use. *
15// * *
16// * This code implementation is the intellectual property of the *
17// * GEANT4 collaboration. *
18// * By copying, distributing or modifying the Program (or any work *
19// * based on the Program) you indicate your acceptance of this *
20// * statement, and all its terms. *
21// ********************************************************************
22//
23//
24// $Id: BesVisManager.hh,v 1.4 2015/03/17 05:50:57 sunss Exp $
25// GEANT4 tag $Name: BesSim-00-01-24 $
26//
27//
28
29//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
30//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
31
32// Example Visualization Manager implementing virtual function
33// RegisterGraphicsSystems. Exploits C-pre-processor variables
34// G4VIS_USE_DAWN, etc., which are set by the GNUmakefiles if
35// environment variables of the same name are set.
36
37// So all you have to do is set environment variables and compile and
38// instantiate this in your main().
39
40// Alternatively, you can implement an empty function here and just
41// register the systems you want in your main(), e.g.:
42// G4VisManager* myVisManager = new MyVisManager;
43// myVisManager -> RegisterGraphicsSystem (new MyGraphicsSystem);
44
45//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46
47#ifndef BesVisManager_h
48#define BesVisManager_h 1
49
50#ifdef G4VIS_USE
51
52#include "G4VisManager.hh"
53
54//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
55
56class BesVisManager: public G4VisManager {
57
58public:
59
60 BesVisManager ();
61
62private:
63
64 void RegisterGraphicsSystems ();
65
66};
67
68//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
69
70#endif
71
72#endif
73
74
75
76
77
78
79
80
81