Ignore:
Timestamp:
May 11, 2009, 11:55:23 AM (17 years ago)
Author:
garnier
Message:

resize en cours de factorisation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/include/G4OpenGLViewer.hh

    r975 r1037  
    6565  void HLRThirdPass ();
    6666  void InitializeGLView ();
    67   void ResizeGLView();
     67  void ResizeGLView(unsigned int, unsigned int);
    6868  void Pick(GLdouble x, GLdouble y);
    6969  virtual void CreateFontLists () {}
     
    7171//////////////////////////////Vectored PostScript production functions///
    7272  void printEPS();
    73   // print EPS file. Depending of fVectoredPs, it will print Vectored or not
    74  
     73  // print EPS file. Depending of fVectoredPs, it will print Vectored or not 
     74
     75  unsigned int getWinWidth();
     76  unsigned int getWinHeight();
    7577  GLdouble getSceneNearWidth();
    7678  GLdouble getSceneFarWidth();
     
    8486  G4OpenGLSceneHandler& fOpenGLSceneHandler;
    8587  G4Colour background;      //the OpenGL clear colour
    86   unsigned int fWinSize_x, fWinSize_y;
    87   // size of the OpenGL frame
    8888  G4bool
    8989    transparency_enabled,   //is alpha blending enabled?
     
    105105  G4float                           fPointSize;
    106106  bool printGl2PS();
     107  void ResizeGLView();
    107108  GLubyte* grabPixels (int inColor,
    108109                       unsigned int width,
     
    113114  bool printVectoredEPS();
    114115  // print vectored EPS files
     116  unsigned int fWinSize_x, fWinSize_y;
     117  // size of the OpenGL frame
    115118};
    116119
Note: See TracChangeset for help on using the changeset viewer.