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