44G4VViewer (sceneHandler, sceneHandler.IncrementViewCount (), name) {
61 glDepthFunc (GL_LEQUAL);
62 glDepthMask (GL_TRUE);
96 if (!kernelVisitWasNeeded) {
102 if (
fVP.IsCutaway() &&
125 glGetIntegerv(GL_RENDER_MODE, &renderMode);
126 if (renderMode == GL_RENDER) ::SwapBuffers(
fHDC);
130 while ( ::PeekMessage(&event, NULL, 0, 0, PM_REMOVE) ) {
131 ::TranslateMessage(&event);
132 ::DispatchMessage (&event);
G4OpenGLStoredViewer(G4OpenGLStoredSceneHandler &scene)
void KernelVisitDecision()
G4OpenGLStoredWin32Viewer(G4OpenGLStoredSceneHandler &scene, const G4String &name="")
void FinishView()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
friend class G4OpenGLStoredSceneHandler
virtual void CreateFontLists()
unsigned int getWinHeight() const
unsigned int getWinWidth() const
G4OpenGLViewer(G4OpenGLSceneHandler &scene)
virtual void CreateMainWindow()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
G4OpenGLWin32Viewer(G4OpenGLSceneHandler &scene)
void CreateGLWin32Context()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
const G4ViewParameters & GetViewParameters() const
G4VViewer(G4VSceneHandler &, G4int id, const G4String &name="")
DrawingStyle GetDrawingStyle() const