44G4VViewer (sceneHandler, sceneHandler.IncrementViewCount (),
name) {
61 glDepthFunc (GL_LEQUAL);
62 glDepthMask (GL_TRUE);
96 if (!kernelVisitWasNeeded) {
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);
void KernelVisitDecision()
G4OpenGLStoredWin32Viewer(G4OpenGLStoredSceneHandler &scene, const G4String &name="")
void FinishView()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
virtual void CreateFontLists()
unsigned int getWinHeight() const
unsigned int getWinWidth() const
virtual void CreateMainWindow()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
void CreateGLWin32Context()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
const G4ViewParameters & GetViewParameters() const
CutawayMode GetCutawayMode() const
DrawingStyle GetDrawingStyle() const
const char * name(G4int ptype)