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