103 event.SetEventObject(
this );
104 event.m_exitcode = 1;
107 this->
GetParent()->GetEventHandler()->ProcessEvent( event );
114 if (
event.GetExitCode() != 0)
116 event.SetEventObject(
this );
118 this->
GetParent()->GetEventHandler()->ProcessEvent( event );
123 event.SetEventObject(
this );
126 this->
GetParent()->GetEventHandler()->ProcessEvent( event );
Stitch a pto project file, with GUI output etc.
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.
RunStitchFrame(wxWindow *parent, const wxString &title, const wxPoint &pos, const wxSize &size)
void OnProcessTerminate(wxProcessEvent &event)
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
bool DetectProject(const wxString &scriptFile, const wxString &userDefinedAssistant=wxEmptyString)
bool SaveLog(const wxString &filename)
save the content of the window into a given log file
bool StitchProject(const wxString &scriptFile, const wxString &outname, const wxString &userDefinedOutput=wxEmptyString)
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.