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