Ignore:
Timestamp:
Oct 1, 2008, 5:12:18 PM (16 years ago)
Author:
garnier
Message:

movie parameters imrovments

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

Legend:

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

    r754 r857  
    7474  QLabel *fRecordingStatus;
    7575  QLabel *fRecordingInfos;
    76   QPushButton *fButtonEncode;
    77   QPushButton *fButtonApply;
    78 
    79   bool checkEncoderParameters(QString);
    80   bool checkTempFolderParameters(QString);
    81   bool checkSaveFileNameParameters(QString);
     76  QPushButton *fButtonStopFinishClose;
     77  QPushButton *fButtonSave;
     78  QPushButton *fButtonStartPause;
    8279
    8380public slots :
    8481  void checkAllParameters();
     82  void stopFinishClose();
     83  void save();
     84  bool checkEncoderSwParameters();
     85  bool checkSaveFileNameParameters();
     86  bool checkTempFolderParameters();
    8587
    8688private slots :
     
    8890  void selectTempPathAction();
    8991  void selectSaveFileNameAction();
    90   void encode();
    9192  void resetRecording();
    9293  void enabledApplyButton();
  • trunk/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh

    r850 r857  
    8383  bool isRecording();
    8484  bool isStopped();
     85  bool isPaused();
     86  bool isEncoding();
     87  bool isWaiting();
     88  bool isFailed();
     89  void setWaiting();
     90  bool isBadEncoder();
     91  bool isBadOutput();
     92  bool isBadTmp();
     93  bool isSuccess();
     94  void setBadTmp();
     95  void setBadOutput();
     96  void setBadEncoder();
    8597  bool isReadyToEncode();
    8698  void resetRecording();
    8799  void encodeVideo();
     100  void stopVideo();
     101  void saveVideo();
    88102  bool generateMpegEncoderParameters();
    89103  void displayRecordingStatus();
     
    129143private:
    130144  enum mouseActions {STYLE1,STYLE2,STYLE3,STYLE4};
    131   enum RECORDING_STEP {WAIT,START,PAUSE,CONTINUE,STOP,READY_TO_ENCODE,ENCODING,FAILED,SUCCESS};
     145  enum RECORDING_STEP {WAIT,START,PAUSE,CONTINUE,STOP,READY_TO_ENCODE,ENCODING,FAILED,SUCCESS,BAD_ENCODER,BAD_OUTPUT,BAD_TMP,SAVE};
    132146
    133147  void createPopupMenu();
     
    141155  QString createTempFolder();
    142156  QString removeTempFolder();
    143   void startPauseVideo();
    144   void stopVideo();
    145157  void setRecordingStatus(RECORDING_STEP);
    146158  void setRecordingInfos(QString);
     
    203215 void moveZ(int);
    204216
     217public slots :
     218  void startPauseVideo();
     219
    205220private slots :
    206221  void actionMouseRotate();
Note: See TracChangeset for help on using the changeset viewer.