Ignore:
Timestamp:
Mar 10, 2008, 2:17:54 PM (18 years ago)
Author:
garnier
Message:

avancement sur le encode

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

Legend:

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

    r747 r750  
    7575  QLabel *fRecordingInfos;
    7676  QPushButton *fButtonEncode;
     77  QPushButton *fButtonApply;
    7778
    7879  bool checkEncoderParameters(QString);
     
    8889  void selectSaveFileNameAction();
    8990  void encode();
     91  void resetRecording();
    9092};
    9193
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh

    r749 r750  
    5757class QMouseEvent;
    5858class QKeyEvent;
     59class QProcess;
    5960
    6061class G4OpenGLSceneHandler;
     
    8182  bool isStopped();
    8283  bool isReadyToEncode();
    83   bool encodeVideo();
     84  void resetRecording();
     85  void encodeVideo();
    8486  bool generateMpegEncoderParameters();
    8587
     
    115117private:
    116118  enum mouseActions {STYLE1,STYLE2,STYLE3,STYLE4};
    117   enum RECORDING_STEP {WAIT,START,PAUSE,CONTINUE,STOP,READY_TO_ENCODE,ENCODE};
     119  enum RECORDING_STEP {WAIT,START,PAUSE,CONTINUE,STOP,READY_TO_ENCODE,ENCODE,FAILED,SUCCESS};
    118120
    119121  void createPopupMenu();
     
    202204  void toggleAux(bool);
    203205  void toggleFullScreen(bool);
     206  void processFinished(int);
     207  void processStdout();
    204208  // Only use for Qt>4.0
    205209  //  void dialogClosed();
Note: See TracChangeset for help on using the changeset viewer.