Hugin trunk 0.1
Loading...
Searching...
No Matches
RunStitchFrame.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
2
27#ifndef RUNSTITCHFRAME_H
28#define RUNSTITCHFRAME_H
29#include "base_wx/platform.h"
30#include "panoinc_WX.h"
31
32#include <wx/wfstream.h>
33
35#include "base_wx/huginConfig.h"
36
37// somewhere SetDesc gets defined.. this breaks wx/cmdline.h on OSX
38#ifdef SetDesc
39#undef SetDesc
40#endif
41
42class RunStitchFrame: public wxFrame
43{
44public:
45 //Constructor
46 RunStitchFrame(wxWindow* parent, const wxString& title, const wxPoint& pos, const wxSize& size); //ProjectArray projList, wxListBox *projListBox);
47
53 int GetProcessId();
55 int GetProjectId();
57 void SetProcessId(int pid);
59 void SetProjectId(int id);
62 bool SaveLog(const wxString& filename);
63
64
66 void OnCancel(wxCommandEvent& event);
68
69private:
70
71 wxEvtHandler* m_evtParent;
75 int m_pid;
76 //Called in GUI application when process terminates
78};
79
80// event ID's for RunStitchPanel
81enum
82{
85};
86
87#endif //RUNSTITCHFRAME_H
@ ID_Quit
@ ID_About
int GetProcessId()
Returns process ID of running process.
void OnCancel(wxCommandEvent &event)
Cancels project execution - kills process.
void SetProjectId(int id)
Sets project id from batch.
void OnProcessTerminate(wxProcessEvent &event)
wxEvtHandler * m_evtParent
RunStitchPanel * m_stitchPanel
int GetProjectId()
Gets project id from batch.
void SetProcessId(int pid)
Sets process ID of running process (if running process from outside)
bool SaveLog(const wxString &filename)
save the content of the window into a given log file
bool StitchProject(wxString scriptFile, wxString outname, wxString userDefinedOutput=wxEmptyString)
Starts stitching of project file.
bool DetectProject(wxString scriptFile, wxString userDefinedAssistant=wxEmptyString)
starts assistant of project file
implementation of huginApp Class
functions for interaction with the hugin configuration file
include file for the hugin project
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41