|
Hugin trunk 0.1
|
#include <RunStitchFrame.h>

Public Member Functions | |
| RunStitchFrame (wxWindow *parent, const wxString &title, const wxPoint &pos, const wxSize &size) | |
| 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 | |
| int | GetProcessId () |
| Returns process ID of running process. | |
| int | GetProjectId () |
| Gets project id from batch. | |
| void | SetProcessId (int pid) |
| Sets process ID of running process (if running process from outside) | |
| void | SetProjectId (int id) |
| Sets project id from batch. | |
| bool | SaveLog (const wxString &filename) |
| save the content of the window into a given log file | |
| void | OnCancel (wxCommandEvent &event) |
| Cancels project execution - kills process. | |
| RunStitchFrame (wxWindow *parent, const wxString &title, const wxPoint &pos, const wxSize &size) | |
| bool | StitchProject (const wxString &scriptFile, const wxString &outname, const wxString &userDefinedOutput, bool doDeleteOnExit) |
| void | OnQuit (wxCommandEvent &event) |
| void | OnAbout (wxCommandEvent &event) |
| void | OnProgress (wxCommandEvent &event) |
| void | SetOverwrite (bool doOverwrite) |
| sets, if existing output file should be automatic overwritten | |
Public Attributes | |
| RunStitchPanel * | m_stitchPanel |
Private Member Functions | |
| void | OnProcessTerminate (wxProcessEvent &event) |
| void | OnProcessTerminate (wxProcessEvent &event) |
| void | OnCancel (wxCommandEvent &event) |
Private Attributes | |
| wxEvtHandler * | m_evtParent |
| bool | m_isStitching |
| bool | m_isDetecting |
| int | m_projectId |
| int | m_pid |
| wxString | m_scriptFile |
| bool | m_deleteOnExit |
| wxGauge * | m_progress |
Definition at line 42 of file RunStitchFrame.h.
| RunStitchFrame::RunStitchFrame | ( | wxWindow * | parent, |
| const wxString & | title, | ||
| const wxPoint & | pos, | ||
| const wxSize & | size | ||
| ) |
Definition at line 29 of file RunStitchFrame.cpp.
References m_stitchPanel, OnCancel(), OnProcessTerminate(), and threshold().
| RunStitchFrame::RunStitchFrame | ( | wxWindow * | parent, |
| const wxString & | title, | ||
| const wxPoint & | pos, | ||
| const wxSize & | size | ||
| ) |
| bool RunStitchFrame::DetectProject | ( | wxString | scriptFile, |
| wxString | userDefinedAssistant = wxEmptyString |
||
| ) |
starts assistant of project file
Definition at line 143 of file RunStitchFrame.cpp.
References RunStitchPanel::DetectProject(), m_isDetecting, m_isStitching, m_stitchPanel, and threshold().
| int RunStitchFrame::GetProcessId | ( | ) |
Returns process ID of running process.
Definition at line 51 of file RunStitchFrame.cpp.
References RunStitchPanel::GetPid(), m_pid, m_projectId, and m_stitchPanel.
| int RunStitchFrame::GetProjectId | ( | ) |
Gets project id from batch.
Definition at line 63 of file RunStitchFrame.cpp.
References m_projectId.
| void RunStitchFrame::OnAbout | ( | wxCommandEvent & | event | ) |
Definition at line 159 of file hugin_stitch_project.cpp.
References hugin_utils::GetHuginVersion(), hugin_utils::HuginMessageBox(), and threshold().
| void RunStitchFrame::OnCancel | ( | wxCommandEvent & | event | ) |
Cancels project execution - kills process.
Referenced by RunStitchFrame().
|
private |
|
private |
Definition at line 99 of file RunStitchFrame.cpp.
References DEBUG_TRACE, m_isStitching, m_projectId, and threshold().
Referenced by RunStitchFrame().
|
private |
| void RunStitchFrame::OnProgress | ( | wxCommandEvent & | event | ) |
Definition at line 221 of file hugin_stitch_project.cpp.
References m_progress, and threshold().
| void RunStitchFrame::OnQuit | ( | wxCommandEvent & | event | ) |
Definition at line 164 of file hugin_stitch_project.cpp.
References RunStitchPanel::CancelStitch(), DEBUG_TRACE, m_isStitching, m_stitchPanel, and threshold().
save the content of the window into a given log file
Definition at line 154 of file RunStitchFrame.cpp.
References m_stitchPanel, and RunStitchPanel::SaveLog().
sets, if existing output file should be automatic overwritten
Definition at line 240 of file hugin_stitch_project.cpp.
References m_stitchPanel, RunStitchPanel::SetOverwrite(), and threshold().
Referenced by stitchApp::OnInit().
Sets process ID of running process (if running process from outside)
Definition at line 68 of file RunStitchFrame.cpp.
References RunStitchPanel::GetPid(), m_pid, m_projectId, m_stitchPanel, and threshold().
Sets project id from batch.
Definition at line 80 of file RunStitchFrame.cpp.
References m_projectId.
| bool RunStitchFrame::StitchProject | ( | const wxString & | scriptFile, |
| const wxString & | outname, | ||
| const wxString & | userDefinedOutput, | ||
| bool | doDeleteOnExit | ||
| ) |
Definition at line 229 of file hugin_stitch_project.cpp.
References m_deleteOnExit, m_isStitching, m_scriptFile, m_stitchPanel, RunStitchPanel::StitchProject(), and threshold().
| bool RunStitchFrame::StitchProject | ( | wxString | scriptFile, |
| wxString | outname, | ||
| wxString | userDefinedOutput = wxEmptyString |
||
| ) |
Starts stitching of project file.
Definition at line 132 of file RunStitchFrame.cpp.
References m_isDetecting, m_isStitching, m_stitchPanel, RunStitchPanel::StitchProject(), and threshold().
Referenced by stitchApp::OnInit().
|
private |
Definition at line 71 of file hugin_stitch_project.cpp.
Referenced by StitchProject().
|
private |
Definition at line 71 of file RunStitchFrame.h.
|
private |
Definition at line 73 of file RunStitchFrame.h.
Referenced by DetectProject(), and StitchProject().
|
private |
Definition at line 72 of file RunStitchFrame.h.
Referenced by DetectProject(), OnProcessTerminate(), OnQuit(), StitchProject(), and StitchProject().
|
private |
Definition at line 75 of file RunStitchFrame.h.
Referenced by GetProcessId(), and SetProcessId().
|
private |
Definition at line 72 of file hugin_stitch_project.cpp.
Referenced by OnProgress().
|
private |
Definition at line 74 of file RunStitchFrame.h.
Referenced by GetProcessId(), GetProjectId(), OnProcessTerminate(), SetProcessId(), and SetProjectId().
|
private |
Definition at line 70 of file hugin_stitch_project.cpp.
Referenced by StitchProject().
| RunStitchPanel * RunStitchFrame::m_stitchPanel |
Definition at line 67 of file RunStitchFrame.h.
Referenced by DetectProject(), GetProcessId(), OnQuit(), RunStitchFrame(), SaveLog(), SetOverwrite(), SetProcessId(), StitchProject(), and StitchProject().