31#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
53 G4VSceneHandler* pScene =
new G4OpenGLImmediateSceneHandler (*
this, name);
60 pView =
new G4OpenGLImmediateQtViewer
61 ((G4OpenGLImmediateSceneHandler&) scene, name);
63 if (pView -> GetViewId () < 0) {
64 G4cerr <<
"G4OpenGLImmediateQt::CreateViewer: error flagged by negative"
65 " view id in G4OpenGLImmediateQtViewer creation."
66 "\n Destroying view and returning null pointer."
73 G4cerr <<
"G4OpenGLImmediateQt::CreateViewer: null pointer on"
74 " new G4OpenGLImmediateQtViewer." <<
G4endl;
G4String G4VisFeaturesOfOpenGLIQt()
G4GLOB_DLL std::ostream G4cerr
static G4OpenGLViewerMessenger * GetInstance()