33#ifdef G4VIS_BUILD_OPENGLXM_DRIVER
51 G4OpenGLXmViewerMessenger::GetInstance();
61 new G4OpenGLStoredXmViewer ((G4OpenGLStoredSceneHandler&) scene, name);
63 if (pView -> GetViewId () < 0) {
66 G4cerr <<
"G4OpenGLStoredXm::CreateViewer: error flagged by"
67 " negative view id in G4OpenGLStoredXmViewer creation."
68 "\n Destroying view and returning null pointer." <<
G4endl;
72 G4cerr <<
"G4OpenGLStoredXm::CreateViewer: null pointer on"
73 " new G4OpenGLStoredXmViewer." <<
G4endl;
G4String G4VisFeaturesOfOpenGLSXm()
G4DLLIMPORT std::ostream G4cerr
G4VViewer * CreateViewer(G4VSceneHandler &, const G4String &name="")
G4VSceneHandler * CreateSceneHandler(const G4String &name="")
static G4OpenGLViewerMessenger * GetInstance()