00001
00002
00003 #ifdef G4VIS_USE
00004
00005 #include "musrVisManager.hh"
00006
00007
00008
00009
00010 #include "G4ASCIITree.hh"
00011 #include "G4DAWNFILE.hh"
00012 #include "G4GAGTree.hh"
00013 #include "G4HepRepFile.hh"
00014 #include "G4HepRep.hh"
00015 #include "G4RayTracer.hh"
00016 #include "G4VRML1File.hh"
00017 #include "G4VRML2File.hh"
00018
00019
00020
00021 #ifdef G4VIS_USE_DAWN
00022 #include "G4FukuiRenderer.hh"
00023 #endif
00024
00025 #ifdef G4VIS_USE_OPENGLX
00026 #include "G4OpenGLImmediateX.hh"
00027 #include "G4OpenGLStoredX.hh"
00028 #endif
00029
00030 #ifdef G4VIS_USE_OPENGLWIN32
00031 #include "G4OpenGLImmediateWin32.hh"
00032 #include "G4OpenGLStoredWin32.hh"
00033 #endif
00034
00035 #ifdef G4VIS_USE_OPENGLXM
00036 #include "G4OpenGLImmediateXm.hh"
00037 #include "G4OpenGLStoredXm.hh"
00038 #endif
00039
00040 #ifdef G4VIS_USE_OIX
00041 #include "G4OpenInventorX.hh"
00042 #endif
00043
00044 #ifdef G4VIS_USE_OIWIN32
00045 #include "G4OpenInventorWin32.hh"
00046 #endif
00047
00048 #ifdef G4VIS_USE_VRML
00049 #include "G4VRML1.hh"
00050 #include "G4VRML2.hh"
00051 #endif
00052
00053
00054
00055 musrVisManager::musrVisManager () {}
00056
00057
00058
00059 void musrVisManager::RegisterGraphicsSystems () {
00060
00061
00062 RegisterGraphicsSystem (new G4ASCIITree);
00063 RegisterGraphicsSystem (new G4DAWNFILE);
00064 RegisterGraphicsSystem (new G4GAGTree);
00065 RegisterGraphicsSystem (new G4HepRepFile);
00066 RegisterGraphicsSystem (new G4HepRep);
00067 RegisterGraphicsSystem (new G4RayTracer);
00068 RegisterGraphicsSystem (new G4VRML1File);
00069 RegisterGraphicsSystem (new G4VRML2File);
00070
00071
00072
00073 #ifdef G4VIS_USE_DAWN
00074 RegisterGraphicsSystem (new G4FukuiRenderer);
00075 #endif
00076
00077 #ifdef G4VIS_USE_OPENGLX
00078 RegisterGraphicsSystem (new G4OpenGLImmediateX);
00079 RegisterGraphicsSystem (new G4OpenGLStoredX);
00080 #endif
00081
00082 #ifdef G4VIS_USE_OPENGLWIN32
00083 RegisterGraphicsSystem (new G4OpenGLImmediateWin32);
00084 RegisterGraphicsSystem (new G4OpenGLStoredWin32);
00085 #endif
00086
00087 #ifdef G4VIS_USE_OPENGLXM
00088 RegisterGraphicsSystem (new G4OpenGLImmediateXm);
00089 RegisterGraphicsSystem (new G4OpenGLStoredXm);
00090 #endif
00091
00092 #ifdef G4VIS_USE_OIX
00093 RegisterGraphicsSystem (new G4OpenInventorX);
00094 #endif
00095
00096 #ifdef G4VIS_USE_OIWIN32
00097 RegisterGraphicsSystem (new G4OpenInventorWin32);
00098 #endif
00099
00100 #ifdef G4VIS_USE_VRML
00101 RegisterGraphicsSystem (new G4VRML1);
00102 RegisterGraphicsSystem (new G4VRML2);
00103 #endif
00104
00105 if (fVerbose > 0) {
00106 G4cout <<
00107 "\nYou have successfully chosen to use the following graphics systems."
00108 << G4endl;
00109 PrintAvailableGraphicsSystems ();
00110 }
00111 }
00112
00113 #endif
00114
00115