Ignore:
Timestamp:
May 14, 2008, 6:44:55 PM (16 years ago)
Author:
garnier
Message:

r834@wl-72126: garnier | 2008-05-14 18:44:52 +0200
SPINNING ok

Location:
trunk/geant4/visualization/OpenGL/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh

    r797 r798  
    105105#endif
    106106  void G4keyPressEvent (QKeyEvent * event);
    107   void rotateScene(int, int);
    108   void moveScene(int, int, int,bool);
     107  void rotateQtScene(float, float);
     108  void rotateQtCamera(float, float);
     109  void moveScene(float, float, float,bool);
    109110
    110111
     
    146147
    147148  mouseActions fMouseAction; // 1: rotate 2:move 3:pick 4:shortcuts
    148   QPoint fLastPos;
    149   /** delta X of move event */
    150   G4double fDeltaPosX;
    151   /** delta Y of move event */
    152   G4double fDeltaPosY;
     149  QPoint fLastPos1;
     150  QPoint fLastPos2;
     151  QPoint fLastPos3;
    153152  /** delta of scene rotation. This delta is put in degree */
    154153  G4double fDeltaRotation;
     
    187186  QTime *fLastEventTime;
    188187  int fSpinningDelay;
     188  int fLaunchSpinDelay;
    189189
    190190private slots :
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLViewer.hh

    r754 r798  
    6767  virtual void CreateFontLists () {}
    6868  virtual void print();
     69  void rotateScene (G4double dx, G4double dy,G4double delta);
    6970//////////////////////////////Vectored PostScript production functions///
    7071  void printBuffer(GLint, GLfloat*);
Note: See TracChangeset for help on using the changeset viewer.