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