source: trunk/source/processes/electromagnetic/lowenergy/test/fluoTest/src/XrayFluoVisManager.cc @ 1350

Last change on this file since 1350 was 1350, checked in by garnier, 13 years ago

update to last version 4.9.4

File size: 4.4 KB
Line 
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// $Id: XrayFluoVisManager.cc
28// GEANT4 tag $Name: xray_fluo-V03-02-00
29//
30// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
31//
32// History:
33// -----------
34// 28 Nov 2001 Elena Guardincerri     Created
35//
36// -------------------------------------------------------------------
37
38#ifdef G4VIS_USE
39
40#include "XrayFluoVisManager.hh"
41
42// Supported drivers...
43
44#ifdef G4VIS_USE_DAWN
45#include "G4FukuiRenderer.hh"
46#endif
47
48#ifdef G4VIS_USE_DAWNFILE
49#include "G4DAWNFILE.hh"
50#endif
51
52#ifdef G4VIS_USE_OPACS
53#include "G4Wo.hh"
54#include "G4Xo.hh"
55#endif
56
57#ifdef G4VIS_USE_OPENGLX
58#include "G4OpenGLImmediateX.hh"
59#include "G4OpenGLStoredX.hh"
60#endif
61
62#ifdef G4VIS_USE_OPENGLWIN32
63#include "G4OpenGLImmediateWin32.hh"
64#include "G4OpenGLStoredWin32.hh"
65#endif
66
67#ifdef G4VIS_USE_OPENGLXM
68#include "G4OpenGLImmediateXm.hh"
69#include "G4OpenGLStoredXm.hh"
70#endif
71
72#ifdef G4VIS_USE_OIX
73#include "G4OpenInventorX.hh"
74#endif
75
76#ifdef G4VIS_USE_OIWIN32
77#include "G4OpenInventorWin32.hh"
78#endif
79
80#ifdef G4VIS_USE_VRML
81#include "G4VRML1.hh"
82#include "G4VRML2.hh"
83#endif
84
85#ifdef G4VIS_USE_VRMLFILE
86#include "G4VRML1File.hh"
87#include "G4VRML2File.hh"
88#endif
89
90#ifdef G4VIS_USE_RAYTRACER
91#include "G4RayTracer.hh"
92#endif
93
94//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
95
96XrayFluoVisManager::XrayFluoVisManager () {}
97
98//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
99
100void XrayFluoVisManager::RegisterGraphicsSystems () {
101
102#ifdef G4VIS_USE_DAWN
103  RegisterGraphicsSystem (new G4FukuiRenderer);
104#endif
105
106#ifdef G4VIS_USE_DAWNFILE
107  RegisterGraphicsSystem (new G4DAWNFILE);
108#endif
109
110#ifdef G4VIS_USE_OPACS
111  RegisterGraphicsSystem (new G4Wo);
112  RegisterGraphicsSystem (new G4Xo);
113#endif
114
115#ifdef G4VIS_USE_OPENGLX
116  RegisterGraphicsSystem (new G4OpenGLImmediateX);
117  RegisterGraphicsSystem (new G4OpenGLStoredX);
118#endif
119
120#ifdef G4VIS_USE_OPENGLWIN32
121  RegisterGraphicsSystem (new G4OpenGLImmediateWin32);
122  RegisterGraphicsSystem (new G4OpenGLStoredWin32);
123#endif
124
125#ifdef G4VIS_USE_OPENGLXM
126  RegisterGraphicsSystem (new G4OpenGLImmediateXm);
127  RegisterGraphicsSystem (new G4OpenGLStoredXm);
128#endif
129
130#ifdef G4VIS_USE_OIX
131  RegisterGraphicsSystem (new G4OpenInventorX);
132#endif
133
134#ifdef G4VIS_USE_OIWIN32
135  RegisterGraphicsSystem (new G4OpenInventorWin32);
136#endif
137
138#ifdef G4VIS_USE_VRML
139  RegisterGraphicsSystem (new G4VRML1);
140  RegisterGraphicsSystem (new G4VRML2);
141#endif
142
143#ifdef G4VIS_USE_VRMLFILE
144  RegisterGraphicsSystem (new G4VRML1File);
145  RegisterGraphicsSystem (new G4VRML2File);
146#endif
147
148#ifdef G4VIS_USE_RAYTRACER
149  RegisterGraphicsSystem (new G4RayTracer);
150#endif
151
152  if (fVerbose > 0) {
153    G4cout <<
154      "\nYou have successfully chosen to use the following graphics systems."
155         << G4endl;
156    PrintAvailableGraphicsSystems ();
157  }
158}
159#endif
160
161//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
162
163
164
165
166
167
168
169
Note: See TracBrowser for help on using the repository browser.