- Timestamp:
- May 14, 2008, 6:44:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r797 r798 105 105 #endif 106 106 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); 109 110 110 111 … … 146 147 147 148 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; 153 152 /** delta of scene rotation. This delta is put in degree */ 154 153 G4double fDeltaRotation; … … 187 186 QTime *fLastEventTime; 188 187 int fSpinningDelay; 188 int fLaunchSpinDelay; 189 189 190 190 private slots :
Note: See TracChangeset
for help on using the changeset viewer.