33#ifdef G4VIS_BUILD_OPENGLXM_DRIVER
52 G4OpenGLXmViewerMessenger::GetInstance();
58 G4VSceneHandler* pScene =
new G4OpenGLImmediateSceneHandler (*
this, name);
65 new G4OpenGLImmediateXmViewer ((G4OpenGLImmediateSceneHandler&) scene, name);
67 if (pView -> GetViewId () < 0) {
68 G4cerr <<
"G4OpenGLImmediateXm::CreateViewer: error flagged by"
69 " negative view id in G4OpenGLImmediateXmViewer creation."
70 "\n Destroying view and returning null pointer." <<
G4endl;
76 G4cerr <<
"G4OpenGLImmediateXm::CreateViewer: null pointer on"
77 " new G4OpenGLImmediateXmViewer." <<
G4endl;
G4String G4VisFeaturesOfOpenGLIXm()
G4DLLIMPORT std::ostream G4cerr
static G4OpenGLViewerMessenger * GetInstance()