Ignore:
Timestamp:
Mar 31, 2009, 12:31:23 PM (15 years ago)
Author:
garnier
Message:

prepartion du tag

Location:
trunk/source/visualization/OpenGL/src
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc

    r915 r955  
    231231 * It was think to build a rubberband on the zoom area, but never work fine
    232232 */
    233 void G4OpenGLImmediateQtViewer::mouseDoubleClickEvent(QMouseEvent *event)
     233void G4OpenGLImmediateQtViewer::mouseDoubleClickEvent(QMouseEvent *)
    234234{
    235235  G4MouseDoubleClickEvent();
    236236}
    237237
    238 void G4OpenGLImmediateQtViewer::mouseReleaseEvent(QMouseEvent *event)
     238void G4OpenGLImmediateQtViewer::mouseReleaseEvent(QMouseEvent *)
    239239{
    240240  G4MouseReleaseEvent();
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc

    r951 r955  
    2626//
    2727// $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: $
    2929//
    3030//
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc

    r951 r955  
    2626//
    2727// $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: $
    2929//
    3030//
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r945 r955  
    16341634*/
    16351635void G4OpenGLQtViewer::rescaleImage(
    1636  int aWidth
    1637 ,int aHeight
     1636 int /*aWidth*/
     1637,int /*aHeight*/
    16381638){
    16391639  //  GLfloat* feedback_buffer;
  • trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc

    r944 r955  
    267267 * It was think to build a rubberband on the zoom area, but never work fine
    268268 */
    269 void G4OpenGLStoredQtViewer::mouseDoubleClickEvent(QMouseEvent *event)
     269void G4OpenGLStoredQtViewer::mouseDoubleClickEvent(QMouseEvent *)
    270270{
    271271  G4MouseDoubleClickEvent();
    272272}
    273273
    274 void G4OpenGLStoredQtViewer::mouseReleaseEvent(QMouseEvent *event)
     274void G4OpenGLStoredQtViewer::mouseReleaseEvent(QMouseEvent *)
    275275{
    276276  G4MouseReleaseEvent();
  • trunk/source/visualization/OpenGL/src/G4OpenGLStoredSceneHandler.cc

    r948 r955  
    195195  if (fReadyForTransients || !fMemoryForDisplayLists) {
    196196    glPopMatrix();
     197#ifdef G4DEBUG_VIS_OGL
     198    printf("G4OpenGLStoredSceneHandler::AddPrimitivePostamble glFlush\n");
     199#endif
    197200    glFlush ();
    198201    glDrawBuffer (GL_BACK);
  • trunk/source/visualization/OpenGL/src/G4OpenGLStoredWin32Viewer.cc

    r906 r955  
    109109        DrawDisplayLists ();
    110110        FinishView ();
     111      } else { // ADD TO AVOID KernelVisit=1 and nothing to display
     112        DrawDisplayLists ();
     113        FinishView ();
    111114      }
    112115    }
  • trunk/source/visualization/OpenGL/src/G4OpenGLStoredXViewer.cc

    r948 r955  
    101101    HaloingFirstPass ();
    102102    DrawDisplayLists ();
     103#ifdef G4DEBUG_VIS_OGL
     104  printf("G4OpenGLStoredXViewer::DrawView flush \n");
     105#endif
    103106    glFlush ();
    104107
     
    129132        DrawDisplayLists ();
    130133        FinishView ();
     134      } else { // ADD TO AVOID KernelVisit=1 and nothing to display
     135        DrawDisplayLists ();
     136        FinishView ();
    131137      }
    132138    }
     
    141147                //be propogated before progressing.
    142148
     149#ifdef G4DEBUG_VIS_OGL
     150  printf("G4OpenGLStoredXViewer::FinishView flush \n");
     151#endif
    143152  glFlush (); //FIXME
    144153
  • trunk/source/visualization/OpenGL/src/G4OpenGLStoredXmViewer.cc

    r948 r955  
    103103    HaloingFirstPass ();
    104104    DrawDisplayLists ();
     105#ifdef G4DEBUG_VIS_OGL
     106    printf("G4OpenGLStoredXmViewer::DrawView () flush\n");
     107#endif
    105108    glFlush ();
    106109
     
    112115  } else {
    113116
     117#ifdef G4DEBUG_VIS_OGL
     118    printf("G4OpenGLStoredXmViewer::DrawView not hlr \n");
     119#endif
    114120    // If kernel visit was needed, drawing and FinishView will already
    115121    // have been done, so...
     
    121127      FinishView ();
    122128    } else {
     129#ifdef G4DEBUG_VIS_OGL
     130      printf("G4OpenGLStoredXmViewer::ComputeView Need kernel Visit \n");
     131#endif
    123132    // However, union cutaways are implemented in DrawDisplayLists, so make
    124133    // an extra pass...
     
    128137        DrawDisplayLists ();
    129138        FinishView ();
     139      } else { // ADD TO AVOID KernelVisit=1 and nothing to display
     140        DrawDisplayLists ();
     141        FinishView ();
    130142      }
    131143    }
     
    140152                //be propogated before progressing.
    141153
     154#ifdef G4DEBUG_VIS_OGL
     155  printf("G4OpenGLStoredXmViewer::FinishView () flush \n");
     156#endif
    142157  glFlush (); //FIXME
    143158
  • trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc

    r950 r955  
    126126  glClear (GL_DEPTH_BUFFER_BIT);
    127127  glClear (GL_STENCIL_BUFFER_BIT);
     128#ifdef G4DEBUG_VIS_OGL
     129  printf("G4OpenGLViewer::ClearView flush\n");
     130#endif
    128131  glFlush ();
    129132}
  • trunk/source/visualization/OpenGL/src/G4OpenGLXViewer.cc

    r951 r955  
    666666  }
    667667  //                 //be propagated before progressing.
     668#ifdef G4DEBUG_VIS_OGL
     669  printf("G4OpenGLXViewer::GrabPixelX flush\n");
     670#endif
    668671  glFlush ();
    669672
Note: See TracChangeset for help on using the changeset viewer.