Changeset 744 for trunk/geant4/visualization/OpenGL/include
- Timestamp:
- Mar 6, 2008, 3:18:56 PM (16 years ago)
- Location:
- trunk/geant4/visualization/OpenGL/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtMovieDialog.hh
r740 r744 61 61 /** Destroys G4OpenGLQtMovieDialog */ 62 62 ~G4OpenGLQtMovieDialog(); 63 void setStatus(QString); 63 void setRecordingStatus(QString); 64 void setRecordingInfos(QString); 64 65 void setEncodeButtonEnabled(bool); 65 66 … … 72 73 QLabel *fTempFolderStatus; 73 74 QLabel *fSaveFileStatus; 74 QLabel *fGlobalStatus; 75 QLabel *fRecordingStatus; 76 QLabel *fRecordingInfos; 75 77 QPushButton *fButtonEncode; 76 78 -
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r742 r744 78 78 QString setSaveFileName(QString path); 79 79 QString getSaveFileName(); 80 bool getRecordFrames(); 80 enum RECORDING_STEP {WAIT=0,START,PAUSE,CONTINUE,STOP,ENCODE}; 81 RECORDING_STEP getRecordingStep(); 82 bool encodeVideo(); 81 83 82 84 protected: … … 108 110 void savePPMToTemp(); 109 111 bool generateMpegEncoderParameters(); 110 bool fRecordFrames;111 112 int fRecordFrameNumber; 112 113 … … 122 123 QString createTempFolder(); 123 124 QString removeTempFolder(); 124 bool saveVideo(); 125 void startPauseVideo(); 126 void stopVideo(); 127 void setRecordingStatus(RECORDING_STEP); 128 void setRecordingInfos(QString); 129 125 130 126 131 #if QT_VERSION < 0x040000 … … 130 135 #endif 131 136 enum mouseActions {STYLE1,STYLE2,STYLE3,STYLE4}; 137 132 138 mouseActions fMouseAction; // 1: rotate 2:move 3:pick 4:shortcuts 133 139 QPoint fLastPos; … … 168 174 QAction *fDrawingLineSurfaceRemoval; 169 175 G4OpenGLQtMovieDialog* fMovieParametersDialog; 176 RECORDING_STEP fRecordingStep; 170 177 171 178 private slots :
Note: See TracChangeset
for help on using the changeset viewer.