Hugintrunk
0.1
|
#include <RunStitchPanel.h>
Public Member Functions | |
RunStitchPanel (wxWindow *parent) | |
bool | StitchProject (const wxString &scriptFile, const wxString &outname, const wxString &userDefinedOutput=wxEmptyString) |
bool | DetectProject (const wxString &scriptFile, const wxString &userDefinedAssistant=wxEmptyString) |
void | CancelStitch () |
bool | IsPaused () |
void | SetOverwrite (bool over=true) |
void | PauseStitch () |
void | ContinueStitch () |
long | GetPid () |
bool | SaveLog (const wxString &filename) |
save the content of the window into a given log file More... | |
Private Member Functions | |
void | OnProcessTerminate (wxProcessEvent &event) |
Private Attributes | |
bool | m_paused |
bool | m_overwrite |
wxString | m_currentPTOfn |
wxArrayString | m_tempFiles |
wxString | m_oldCwd |
MyExecPanel * | m_execPanel |
Definition at line 41 of file RunStitchPanel.h.
|
explicit |
Definition at line 58 of file RunStitchPanel.cpp.
References m_execPanel, m_overwrite, m_paused, and OnProcessTerminate().
void RunStitchPanel::CancelStitch | ( | ) |
Definition at line 368 of file RunStitchPanel.cpp.
References DEBUG_TRACE, MyExecPanel::KillProcess(), and m_execPanel.
Referenced by RunStitchFrame::OnQuit().
void RunStitchPanel::ContinueStitch | ( | ) |
Definition at line 390 of file RunStitchPanel.cpp.
References MyExecPanel::ContinueProcess(), m_execPanel, and m_paused.
bool RunStitchPanel::DetectProject | ( | const wxString & | scriptFile, |
const wxString & | userDefinedAssistant = wxEmptyString |
||
) |
Definition at line 249 of file RunStitchPanel.cpp.
References MyExecPanel::ExecQueue(), HuginQueue::GetAssistantCommandQueue(), HuginQueue::GetAssistantCommandQueueUserDefined(), HUGIN_CONV_FILENAME, HuginBase::PanoramaMemento::loadPTScript(), m_currentPTOfn, m_execPanel, m_tempFiles, and HuginBase::Panorama::setMemento().
Referenced by RunStitchFrame::DetectProject().
long RunStitchPanel::GetPid | ( | ) |
Definition at line 396 of file RunStitchPanel.cpp.
References MyExecPanel::GetPid(), and m_execPanel.
Referenced by RunStitchFrame::GetProcessId(), and RunStitchFrame::SetProcessId().
bool RunStitchPanel::IsPaused | ( | ) |
Definition at line 374 of file RunStitchPanel.cpp.
References m_paused.
|
private |
Definition at line 334 of file RunStitchPanel.cpp.
References DEBUG_TRACE, m_currentPTOfn, m_oldCwd, and m_tempFiles.
Referenced by RunStitchPanel().
void RunStitchPanel::PauseStitch | ( | ) |
Definition at line 384 of file RunStitchPanel.cpp.
References m_execPanel, m_paused, and MyExecPanel::PauseProcess().
bool RunStitchPanel::SaveLog | ( | const wxString & | filename | ) |
save the content of the window into a given log file
Definition at line 401 of file RunStitchPanel.cpp.
References m_execPanel, and MyExecPanel::SaveLog().
Referenced by RunStitchFrame::SaveLog().
void RunStitchPanel::SetOverwrite | ( | bool | over = true | ) |
Definition at line 379 of file RunStitchPanel.cpp.
References m_overwrite.
Referenced by Batch::OnStitch(), and RunStitchFrame::SetOverwrite().
bool RunStitchPanel::StitchProject | ( | const wxString & | scriptFile, |
const wxString & | outname, | ||
const wxString & | userDefinedOutput = wxEmptyString |
||
) |
Definition at line 91 of file RunStitchPanel.cpp.
References MyExecPanel::AddString(), DEBUG_DEBUG, DEBUG_TRACE, HuginBase::PanoramaOptions::enblendOptions, HuginBase::PanoramaOptions::enfuseOptions, MyExecPanel::ExecQueue(), HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getOptions(), HuginQueue::GetStitchingCommandQueue(), HuginQueue::GetStitchingCommandQueueUserOutput(), HUGIN_CONV_FILENAME, HUGIN_ENBLEND_ARGS, HUGIN_ENFUSE_ARGS, HUGIN_NONA_USEGPU, HuginBase::PanoramaMemento::loadPTScript(), m_currentPTOfn, m_execPanel, m_oldCwd, m_overwrite, m_tempFiles, HuginBase::PanoramaOptions::outputFormat, HuginBase::PanoramaOptions::remapUsingGPU, HuginBase::Panorama::setMemento(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::TIFF_m, HuginBase::PanoramaOptions::tiff_saveROI, and HuginBase::Panorama::WritePTOFile().
Referenced by RunStitchFrame::StitchProject().
|
private |
Definition at line 61 of file RunStitchPanel.h.
Referenced by DetectProject(), OnProcessTerminate(), and StitchProject().
|
private |
Definition at line 66 of file RunStitchPanel.h.
Referenced by CancelStitch(), ContinueStitch(), DetectProject(), GetPid(), PauseStitch(), RunStitchPanel(), SaveLog(), and StitchProject().
|
private |
Definition at line 63 of file RunStitchPanel.h.
Referenced by OnProcessTerminate(), and StitchProject().
|
private |
Definition at line 60 of file RunStitchPanel.h.
Referenced by RunStitchPanel(), SetOverwrite(), and StitchProject().
|
private |
Definition at line 59 of file RunStitchPanel.h.
Referenced by ContinueStitch(), IsPaused(), PauseStitch(), and RunStitchPanel().
|
private |
Definition at line 62 of file RunStitchPanel.h.
Referenced by DetectProject(), OnProcessTerminate(), and StitchProject().