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