Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunStitchPanel.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
2 
27 #ifndef RUN_STITCH_FRAME_H
28 #define RUN_STITCH_FRAME_H
29 
30 #include <hugin_shared.h>
31 #include <vector>
32 #include <set>
33 #include <functional>
34 #include <utility>
35 #include <string>
36 
37 #include <panodata/Panorama.h>
38 
40 
41 class WXIMPEX RunStitchPanel: public wxPanel
42 {
43 public:
44  explicit RunStitchPanel(wxWindow * parent);
45 
46  bool StitchProject(const wxString& scriptFile, const wxString& outname, const wxString& userDefinedOutput = wxEmptyString);
47  bool DetectProject(const wxString& scriptFile, const wxString& userDefinedAssistant = wxEmptyString);
48  void CancelStitch();
49  bool IsPaused();
50  void SetOverwrite(bool over = true);
51  void PauseStitch();
52  void ContinueStitch();
53  long GetPid();
56  bool SaveLog(const wxString &filename);
57 
58 private:
59  bool m_paused;
61  wxString m_currentPTOfn;
62  wxArrayString m_tempFiles;
63  wxString m_oldCwd;
64  void OnProcessTerminate(wxProcessEvent & event);
65 
67 };
68 
69 #endif
wxArrayString m_tempFiles
#define WXIMPEX
Definition: hugin_shared.h:40
wxString m_currentPTOfn
MyExecPanel * m_execPanel
wxString m_oldCwd