Changeset 955
- Timestamp:
- Mar 31, 2009, 12:31:23 PM (16 years ago)
- Location:
- trunk/source/visualization/OpenGL/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc
r915 r955 231 231 * It was think to build a rubberband on the zoom area, but never work fine 232 232 */ 233 void G4OpenGLImmediateQtViewer::mouseDoubleClickEvent(QMouseEvent * event)233 void G4OpenGLImmediateQtViewer::mouseDoubleClickEvent(QMouseEvent *) 234 234 { 235 235 G4MouseDoubleClickEvent(); 236 236 } 237 237 238 void G4OpenGLImmediateQtViewer::mouseReleaseEvent(QMouseEvent * event)238 void G4OpenGLImmediateQtViewer::mouseReleaseEvent(QMouseEvent *) 239 239 { 240 240 G4MouseReleaseEvent(); -
trunk/source/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc
r951 r955 26 26 // 27 27 // $Id: G4OpenGLQtExportDialog.cc,v 1.9 2008/10/24 14:17:10 lgarnier Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc
r951 r955 26 26 // 27 27 // $Id: G4OpenGLQtMovieDialog.cc,v 1.8 2008/10/24 13:49:19 lgarnier Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r945 r955 1634 1634 */ 1635 1635 void G4OpenGLQtViewer::rescaleImage( 1636 int aWidth1637 ,int aHeight1636 int /*aWidth*/ 1637 ,int /*aHeight*/ 1638 1638 ){ 1639 1639 // GLfloat* feedback_buffer; -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc
r944 r955 267 267 * It was think to build a rubberband on the zoom area, but never work fine 268 268 */ 269 void G4OpenGLStoredQtViewer::mouseDoubleClickEvent(QMouseEvent * event)269 void G4OpenGLStoredQtViewer::mouseDoubleClickEvent(QMouseEvent *) 270 270 { 271 271 G4MouseDoubleClickEvent(); 272 272 } 273 273 274 void G4OpenGLStoredQtViewer::mouseReleaseEvent(QMouseEvent * event)274 void G4OpenGLStoredQtViewer::mouseReleaseEvent(QMouseEvent *) 275 275 { 276 276 G4MouseReleaseEvent(); -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredSceneHandler.cc
r948 r955 195 195 if (fReadyForTransients || !fMemoryForDisplayLists) { 196 196 glPopMatrix(); 197 #ifdef G4DEBUG_VIS_OGL 198 printf("G4OpenGLStoredSceneHandler::AddPrimitivePostamble glFlush\n"); 199 #endif 197 200 glFlush (); 198 201 glDrawBuffer (GL_BACK); -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredWin32Viewer.cc
r906 r955 109 109 DrawDisplayLists (); 110 110 FinishView (); 111 } else { // ADD TO AVOID KernelVisit=1 and nothing to display 112 DrawDisplayLists (); 113 FinishView (); 111 114 } 112 115 } -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredXViewer.cc
r948 r955 101 101 HaloingFirstPass (); 102 102 DrawDisplayLists (); 103 #ifdef G4DEBUG_VIS_OGL 104 printf("G4OpenGLStoredXViewer::DrawView flush \n"); 105 #endif 103 106 glFlush (); 104 107 … … 129 132 DrawDisplayLists (); 130 133 FinishView (); 134 } else { // ADD TO AVOID KernelVisit=1 and nothing to display 135 DrawDisplayLists (); 136 FinishView (); 131 137 } 132 138 } … … 141 147 //be propogated before progressing. 142 148 149 #ifdef G4DEBUG_VIS_OGL 150 printf("G4OpenGLStoredXViewer::FinishView flush \n"); 151 #endif 143 152 glFlush (); //FIXME 144 153 -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredXmViewer.cc
r948 r955 103 103 HaloingFirstPass (); 104 104 DrawDisplayLists (); 105 #ifdef G4DEBUG_VIS_OGL 106 printf("G4OpenGLStoredXmViewer::DrawView () flush\n"); 107 #endif 105 108 glFlush (); 106 109 … … 112 115 } else { 113 116 117 #ifdef G4DEBUG_VIS_OGL 118 printf("G4OpenGLStoredXmViewer::DrawView not hlr \n"); 119 #endif 114 120 // If kernel visit was needed, drawing and FinishView will already 115 121 // have been done, so... … … 121 127 FinishView (); 122 128 } else { 129 #ifdef G4DEBUG_VIS_OGL 130 printf("G4OpenGLStoredXmViewer::ComputeView Need kernel Visit \n"); 131 #endif 123 132 // However, union cutaways are implemented in DrawDisplayLists, so make 124 133 // an extra pass... … … 128 137 DrawDisplayLists (); 129 138 FinishView (); 139 } else { // ADD TO AVOID KernelVisit=1 and nothing to display 140 DrawDisplayLists (); 141 FinishView (); 130 142 } 131 143 } … … 140 152 //be propogated before progressing. 141 153 154 #ifdef G4DEBUG_VIS_OGL 155 printf("G4OpenGLStoredXmViewer::FinishView () flush \n"); 156 #endif 142 157 glFlush (); //FIXME 143 158 -
trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc
r950 r955 126 126 glClear (GL_DEPTH_BUFFER_BIT); 127 127 glClear (GL_STENCIL_BUFFER_BIT); 128 #ifdef G4DEBUG_VIS_OGL 129 printf("G4OpenGLViewer::ClearView flush\n"); 130 #endif 128 131 glFlush (); 129 132 } -
trunk/source/visualization/OpenGL/src/G4OpenGLXViewer.cc
r951 r955 666 666 } 667 667 // //be propagated before progressing. 668 #ifdef G4DEBUG_VIS_OGL 669 printf("G4OpenGLXViewer::GrabPixelX flush\n"); 670 #endif 668 671 glFlush (); 669 672
Note: See TracChangeset
for help on using the changeset viewer.