00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifdef G4VIS_USE
00018
00019 #include "BDSVisManager.hh"
00020 #include "G4HepRepFile.hh"
00021
00022
00023
00024 #ifdef G4VIS_USE_DAWN
00025 #include "G4FukuiRenderer.hh"
00026 #endif
00027
00028 #ifdef G4VIS_USE_DAWNFILE
00029 #include "G4DAWNFILE.hh"
00030 #endif
00031
00032 #ifdef G4VIS_USE_OPACS
00033 #include "G4Wo.hh"
00034 #include "G4Xo.hh"
00035 #endif
00036
00037 #ifdef G4VIS_USE_OPENGLX
00038 #include "G4OpenGLImmediateX.hh"
00039 #include "G4OpenGLStoredX.hh"
00040 #endif
00041
00042 #ifdef G4VIS_USE_OPENGLWIN32
00043 #include "G4OpenGLImmediateWin32.hh"
00044 #include "G4OpenGLStoredWin32.hh"
00045 #endif
00046
00047 #ifdef G4VIS_USE_OPENGLXM
00048 #include "G4OpenGLImmediateXm.hh"
00049 #include "G4OpenGLStoredXm.hh"
00050 #endif
00051
00052 #ifdef G4VIS_USE_OIX
00053 #include "G4OpenInventorX.hh"
00054 #endif
00055
00056 #ifdef G4VIS_USE_OIWIN32
00057 #include "G4OpenInventorWin32.hh"
00058 #endif
00059
00060 #ifdef G4VIS_USE_VRML
00061 #include "G4VRML1.hh"
00062 #include "G4VRML2.hh"
00063 #endif
00064
00065 #ifdef G4VIS_USE_VRMLFILE
00066 #include "G4VRML1File.hh"
00067 #include "G4VRML2File.hh"
00068 #endif
00069
00070 #ifdef G4VIS_USE_RAYTRACER
00071 #include "G4RayTracer.hh"
00072 #endif
00073
00074
00075
00076 BDSVisManager::BDSVisManager () {}
00077
00078
00079
00080 void BDSVisManager::RegisterGraphicsSystems () {
00081
00082 RegisterGraphicsSystem (new G4HepRepFile);
00083
00084
00085 #ifdef G4VIS_USE_DAWN
00086 RegisterGraphicsSystem (new G4FukuiRenderer);
00087 #endif
00088
00089 #ifdef G4VIS_USE_DAWNFILE
00090 RegisterGraphicsSystem (new G4DAWNFILE);
00091 #endif
00092
00093 #ifdef G4VIS_USE_OPACS
00094 RegisterGraphicsSystem (new G4Wo);
00095 RegisterGraphicsSystem (new G4Xo);
00096 #endif
00097
00098
00099 #ifdef G4VIS_USE_OPENGLX
00100 RegisterGraphicsSystem (new G4OpenGLImmediateX);
00101 RegisterGraphicsSystem (new G4OpenGLStoredX);
00102 #endif
00103
00104
00105 #ifdef G4VIS_USE_OPENGLWIN32
00106 RegisterGraphicsSystem (new G4OpenGLImmediateWin32);
00107 RegisterGraphicsSystem (new G4OpenGLStoredWin32);
00108 #endif
00109
00110 #ifdef G4VIS_USE_OPENGLXM
00111 RegisterGraphicsSystem (new G4OpenGLImmediateXm);
00112 RegisterGraphicsSystem (new G4OpenGLStoredXm);
00113 #endif
00114
00115 #ifdef G4VIS_USE_OIX
00116 RegisterGraphicsSystem (new G4OpenInventorX);
00117 #endif
00118
00119 #ifdef G4VIS_USE_OIWIN32
00120 RegisterGraphicsSystem (new G4OpenInventorWin32);
00121 #endif
00122
00123 #ifdef G4VIS_USE_VRML
00124 RegisterGraphicsSystem (new G4VRML1);
00125 RegisterGraphicsSystem (new G4VRML2);
00126 #endif
00127
00128 #ifdef G4VIS_USE_VRMLFILE
00129 RegisterGraphicsSystem (new G4VRML1File);
00130 RegisterGraphicsSystem (new G4VRML2File);
00131 #endif
00132
00133 #ifdef G4VIS_USE_RAYTRACER
00134 RegisterGraphicsSystem (new G4RayTracer);
00135 #endif
00136
00137
00138
00139
00140
00141
00142
00143
00144 }
00145
00146 #endif
00147
00148
00149
00150 void
00151 BDSVisManager::RegisterModelFactories() {}
00152
00153 BDSVisManager::~BDSVisManager(){}