// SEMVisExecutive.icc // Supported drivers... // Not needing external packages or libraries... #include "G4ASCIITree.hh" #include "G4DAWNFILE.hh" #ifndef WIN32 #include "G4HepRep.hh" #include "G4HepRepFile.hh" #endif #include "G4RayTracer.hh" #include "G4VRML1File.hh" #include "SEMVRML2File.hh" // Needing external packages or libraries... #ifdef G4VIS_USE_DAWN #include "G4FukuiRenderer.hh" #endif #ifdef G4VIS_USE_OPENGLX #include "G4OpenGLImmediateX.hh" #include "G4OpenGLStoredX.hh" #endif #ifdef G4VIS_USE_OPENGLWIN32 #include "G4OpenGLImmediateWin32.hh" #include "G4OpenGLStoredWin32.hh" #endif #ifdef G4VIS_USE_OPENGLXM #include "G4OpenGLImmediateXm.hh" #include "G4OpenGLStoredXm.hh" #endif #ifdef G4VIS_USE_OIX #include "G4OpenInventorX.hh" #endif #ifdef G4VIS_USE_OIWIN32 #include "G4OpenInventorWin32.hh" #endif #ifdef G4VIS_USE_VRML #include "G4VRML1.hh" #include "G4VRML2.hh" #endif SEMVisExecutive::SEMVisExecutive () {} void SEMVisExecutive::RegisterGraphicsSystems () { // Graphics Systems not needing external packages or libraries... RegisterGraphicsSystem (new G4ASCIITree); RegisterGraphicsSystem (new G4DAWNFILE); #ifndef WIN32 RegisterGraphicsSystem (new G4HepRep); RegisterGraphicsSystem (new G4HepRepFile); #endif RegisterGraphicsSystem (new G4RayTracer); RegisterGraphicsSystem (new G4VRML1File); RegisterGraphicsSystem (new SEMVRML2File); // Graphics systems needing external packages or libraries... #ifdef G4VIS_USE_DAWN RegisterGraphicsSystem (new G4FukuiRenderer); #endif #ifdef G4VIS_USE_OPENGLX RegisterGraphicsSystem (new G4OpenGLImmediateX); RegisterGraphicsSystem (new G4OpenGLStoredX); #endif #ifdef G4VIS_USE_OPENGLWIN32 RegisterGraphicsSystem (new G4OpenGLImmediateWin32); RegisterGraphicsSystem (new G4OpenGLStoredWin32); #endif #ifdef G4VIS_USE_OPENGLXM RegisterGraphicsSystem (new G4OpenGLImmediateXm); RegisterGraphicsSystem (new G4OpenGLStoredXm); #endif #ifdef G4VIS_USE_OIX RegisterGraphicsSystem (new G4OpenInventorX); #endif #ifdef G4VIS_USE_OIWIN32 RegisterGraphicsSystem (new G4OpenInventorWin32); #endif #ifdef G4VIS_USE_VRML RegisterGraphicsSystem (new G4VRML1); RegisterGraphicsSystem (new G4VRML2); #endif }