12# include "G4Svc/G4SvcVisManager.h"
17# include "G4FukuiRenderer.hh"
20# ifdef G4VIS_USE_DAWNFILE
21# include "G4DAWNFILE.hh"
24# ifdef G4VIS_USE_OPACS
29# ifdef G4VIS_USE_OPENGLX
30# include "G4OpenGLImmediateX.hh"
31# include "G4OpenGLStoredX.hh"
34# ifdef G4VIS_USE_OPENGLWIN32
35# include "G4OpenGLImmediateWin32.hh"
36# include "G4OpenGLStoredWin32.hh"
39# ifdef G4VIS_USE_OPENGLXM
40# include "G4OpenGLImmediateXm.hh"
41# include "G4OpenGLStoredXm.hh"
45# include "G4OpenInventorX.hh"
48# ifdef G4VIS_USE_OIWIN32
49# include "G4OpenInventorWin32.hh"
57# ifdef G4VIS_USE_VRMLFILE
58# include "G4VRML1File.hh"
59# include "G4VRML2File.hh"
64G4SvcVisManager::G4SvcVisManager() {}
68void G4SvcVisManager::RegisterGraphicsSystems() {
71 RegisterGraphicsSystem(
new G4FukuiRenderer() );
74# ifdef G4VIS_USE_DAWNFILE
75 RegisterGraphicsSystem(
new G4DAWNFILE );
78# ifdef G4VIS_USE_OPACS
79 RegisterGraphicsSystem(
new G4Wo );
80 RegisterGraphicsSystem(
new G4Xo );
83# ifdef G4VIS_USE_OPENGLX
84 RegisterGraphicsSystem(
new G4OpenGLImmediateX );
85 RegisterGraphicsSystem(
new G4OpenGLStoredX );
88# ifdef G4VIS_USE_OPENGLWIN32
89 RegisterGraphicsSystem(
new G4OpenGLImmediateWin32 );
90 RegisterGraphicsSystem(
new G4OpenGLStoredWin32 );
93# ifdef G4VIS_USE_OPENGLXM
94 RegisterGraphicsSystem(
new G4OpenGLImmediateXm );
95 RegisterGraphicsSystem(
new G4OpenGLStoredXm );
99 RegisterGraphicsSystem(
new G4OpenInventorX );
102# ifdef G4VIS_USE_OIWIN32
103 RegisterGraphicsSystem(
new G4OpenInventorWin32 );
106# ifdef G4VIS_USE_VRML
107 RegisterGraphicsSystem(
new G4VRML1 );
108 RegisterGraphicsSystem(
new G4VRML2 );
111# ifdef G4VIS_USE_VRMLFILE
112 RegisterGraphicsSystem(
new G4VRML1File );
113 RegisterGraphicsSystem(
new G4VRML2File );
118 G4cout <<
"\nYou have successfully chosen to use the following graphics systems."