RunStitchPanel.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00002 
00027 #ifndef RUN_STITCH_FRAME_H
00028 #define RUN_STITCH_FRAME_H
00029 
00030 #include <hugin_shared.h>
00031 #include <vector>
00032 #include <set>
00033 #include <functional>
00034 #include <utility>
00035 #include <string>
00036 
00037 #include <panodata/Panorama.h>
00038 
00039 #include "MyExternalCmdExecDialog.h"
00040 
00041 class WXIMPEX RunStitchPanel: public wxPanel
00042 {
00043 public:
00044     explicit RunStitchPanel(wxWindow * parent);
00045 
00046     bool StitchProject(const wxString& scriptFile, const wxString& outname, const wxString& userDefinedOutput = wxEmptyString);
00047     bool DetectProject(const wxString& scriptFile);
00048     void CancelStitch();
00049         bool IsPaused();
00050         void SetOverwrite(bool over = true);
00051         void PauseStitch();
00052         void ContinueStitch();
00053         long GetPid();
00056     bool SaveLog(const wxString &filename);
00057 
00058 private:
00059         bool m_paused;
00060         bool m_overwrite;
00061     wxString m_currentPTOfn;
00062     wxArrayString m_tempFiles;
00063     wxString m_oldCwd;
00064     void OnProcessTerminate(wxProcessEvent & event);
00065 
00066     MyExecPanel * m_execPanel;
00067 
00068     DECLARE_EVENT_TABLE()
00069 };
00070 
00071 #endif

Generated on 28 Aug 2015 for Hugintrunk by  doxygen 1.4.7