32 #ifdef G4VIS_BUILD_OPENGLWT_DRIVER
46 #include <Wt/WContainerWidget>
59 G4VSceneHandler* pScene =
new G4OpenGLImmediateSceneHandler (*
this, name);
65 #ifdef G4DEBUG_VIS_OGL
66 printf(
"G4OpenGLImmediateWt::CreateViewer \n");
80 fWGLContainer =
new Wt::WContainerWidget();
82 pView =
new G4OpenGLImmediateWtViewer
83 ((G4OpenGLImmediateSceneHandler&) scene, fWGLContainer, name);
85 if (pView -> GetViewId () < 0) {
86 G4cerr <<
"G4OpenGLImmediateWt::CreateViewer: error flagged by negative"
87 " view id in G4OpenGLImmediateWtViewer creation."
88 "\n Destroying view and returning null pointer."
95 G4cerr <<
"G4OpenGLImmediateWt::CreateViewer: null pointer on"
96 " new G4OpenGLImmediateWtViewer." <<
G4endl;
98 #ifdef G4DEBUG_VIS_OGL
99 printf(
"G4OpenGLImmediateWt::CreateViewer END \n");
static G4OpenGLViewerMessenger * GetInstance()
G4String G4VisFeaturesOfOpenGLIWt()
printf("%d Experimental points found\n", nlines)
G4GLOB_DLL std::ostream G4cerr