42 :
G4VViewer (sceneHandler, sceneHandler.IncrementViewCount (), name),
52 G4cerr <<
"G4OpenGLStoredXmViewer::G4OpenGLStoredXmViewer -"
53 " G4OpenGLXmViewer couldn't get a visual." <<
G4endl;
69 glDrawBuffer (GL_BACK);
74 printf(
"G4OpenGLStoredXmViewer::DrawView \n");
93 printf(
"G4OpenGLStoredXmViewer::DrawView () flush\n");
104#ifdef G4DEBUG_VIS_OGL
105 printf(
"G4OpenGLStoredXmViewer::DrawView not hlr \n");
109 if (!kernelVisitWasNeeded) {
110#ifdef G4DEBUG_VIS_OGL
111 printf(
"G4OpenGLStoredXmViewer::ComputeView Don't need kernel Visit \n");
116#ifdef G4DEBUG_VIS_OGL
117 printf(
"G4OpenGLStoredXmViewer::ComputeView Need kernel Visit \n");
132#ifdef G4DEBUG_VIS_OGL
133 printf(
"G4OpenGLStoredXmViewer::DrawView ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n");
143#ifdef G4DEBUG_VIS_OGL
144 printf(
"G4OpenGLStoredXmViewer::FinishView () flush \n");
149 glGetIntegerv(GL_RENDER_MODE, &renderMode);
150 if (renderMode == GL_RENDER) glXSwapBuffers (
dpy,
win);
G4GLOB_DLL std::ostream G4cerr
void KernelVisitDecision()
virtual ~G4OpenGLStoredXmViewer()
G4OpenGLStoredXmViewer(G4OpenGLStoredSceneHandler &scene, const G4String &name="")
virtual void CreateFontLists()
void CreateGLXContext(XVisualInfo *vi)
virtual void CreateMainWindow()
const G4ViewParameters & GetViewParameters() const
CutawayMode GetCutawayMode() const
DrawingStyle GetDrawingStyle() const