RunStitchPanel Class Reference

#include <RunStitchPanel.h>

List of all members.

Public Member Functions

 RunStitchPanel (wxWindow *parent)
bool StitchProject (const wxString &scriptFile, const wxString &outname, const wxString &userDefinedOutput=wxEmptyString)
bool DetectProject (const wxString &scriptFile)
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

Private Member Functions

void OnProcessTerminate (wxProcessEvent &event)

Private Attributes

bool m_paused
bool m_overwrite
wxString m_currentPTOfn
wxArrayString m_tempFiles
wxString m_oldCwd

Detailed Description

Definition at line 41 of file RunStitchPanel.h.

Constructor & Destructor Documentation

RunStitchPanel::RunStitchPanel ( wxWindow *  parent  )  [explicit]

Definition at line 63 of file RunStitchPanel.cpp.

Member Function Documentation

void RunStitchPanel::CancelStitch (  ) 

Definition at line 354 of file RunStitchPanel.cpp.

References DEBUG_TRACE, MyExecPanel::KillProcess(), and m_execPanel.

void RunStitchPanel::ContinueStitch (  ) 

Definition at line 376 of file RunStitchPanel.cpp.

References MyExecPanel::ContinueProcess(), m_execPanel, and m_paused.

bool RunStitchPanel::DetectProject ( const wxString &  scriptFile  ) 

Definition at line 255 of file RunStitchPanel.cpp.

References cerr, MyExecPanel::ExecQueue(), HuginQueue::GetAssistantCommandQueue(), HUGIN_CONV_FILENAME, HuginBase::PanoramaMemento::loadPTScript(), m_currentPTOfn, m_execPanel, and HuginBase::Panorama::setMemento().

Referenced by RunStitchFrame::DetectProject().

long RunStitchPanel::GetPid (  ) 

Definition at line 382 of file RunStitchPanel.cpp.

References MyExecPanel::GetPid(), and m_execPanel.

Referenced by RunStitchFrame::GetProcessId(), and RunStitchFrame::SetProcessId().

bool RunStitchPanel::IsPaused (  ) 

Definition at line 360 of file RunStitchPanel.cpp.

References m_paused.

void RunStitchPanel::OnProcessTerminate ( wxProcessEvent &  event  )  [private]

Definition at line 320 of file RunStitchPanel.cpp.

References DEBUG_TRACE, m_currentPTOfn, m_oldCwd, and m_tempFiles.

void RunStitchPanel::PauseStitch (  ) 

Definition at line 370 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

true if log was saved successful

Definition at line 387 of file RunStitchPanel.cpp.

References m_execPanel, and MyExecPanel::SaveLog().

Referenced by RunStitchFrame::SaveLog().

void RunStitchPanel::SetOverwrite ( bool  over = true  ) 

Definition at line 365 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 95 of file RunStitchPanel.cpp.

References MyExecPanel::AddString(), cerr, DEBUG_DEBUG, DEBUG_TRACE, HuginBase::PanoramaOptions::enblendOptions, HuginBase::PanoramaOptions::enfuseOptions, MyExecPanel::ExecQueue(), fill_set(), HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptimizeVector(), 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::Panorama::printPanoramaScript(), HuginBase::PanoramaOptions::remapUsingGPU, HuginBase::Panorama::setMemento(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::TIFF_m, and HuginBase::PanoramaOptions::tiff_saveROI.

Referenced by RunStitchFrame::StitchProject().

Member Data Documentation

wxString RunStitchPanel::m_currentPTOfn [private]

Definition at line 61 of file RunStitchPanel.h.

Referenced by DetectProject(), OnProcessTerminate(), and StitchProject().

MyExecPanel* RunStitchPanel::m_execPanel [private]

Definition at line 66 of file RunStitchPanel.h.

Referenced by CancelStitch(), ContinueStitch(), DetectProject(), GetPid(), PauseStitch(), SaveLog(), and StitchProject().

wxString RunStitchPanel::m_oldCwd [private]

Definition at line 63 of file RunStitchPanel.h.

Referenced by OnProcessTerminate(), and StitchProject().

bool RunStitchPanel::m_overwrite [private]

Definition at line 60 of file RunStitchPanel.h.

Referenced by SetOverwrite(), and StitchProject().

bool RunStitchPanel::m_paused [private]

Definition at line 59 of file RunStitchPanel.h.

Referenced by ContinueStitch(), IsPaused(), and PauseStitch().

wxArrayString RunStitchPanel::m_tempFiles [private]

Definition at line 62 of file RunStitchPanel.h.

Referenced by OnProcessTerminate(), and StitchProject().

The documentation for this class was generated from the following files:
Generated on 22 Mar 2018 for Hugintrunk by  doxygen 1.4.7