RunStitchPanel Class Reference

#include <RunStitchPanel.h>

List of all members.

Public Member Functions

 RunStitchPanel (wxWindow *parent)
bool StitchProject (wxString scriptFile, wxString outname, HuginBase::PanoramaMakefilelibExport::PTPrograms progs)
bool DetectProject (wxString scriptFile, HuginBase::AssistantMakefilelibExport::AssistantPrograms progs)
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
wxString m_currentMakefn
MyExecPanelm_execPanel


Constructor & Destructor Documentation

RunStitchPanel::RunStitchPanel wxWindow *  parent  ) 
 

Definition at line 69 of file RunStitchPanel.cpp.


Member Function Documentation

void RunStitchPanel::CancelStitch  ) 
 

Definition at line 410 of file RunStitchPanel.cpp.

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

void RunStitchPanel::ContinueStitch  ) 
 

Definition at line 432 of file RunStitchPanel.cpp.

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

Referenced by Batch::PauseBatch().

bool RunStitchPanel::DetectProject wxString  scriptFile,
HuginBase::AssistantMakefilelibExport::AssistantPrograms  progs
 

Definition at line 304 of file RunStitchPanel.cpp.

References cerr, HuginBase::AssistantMakefilelibExport::createMakefile(), MyExecPanel::ExecWithRedirect(), getGNUMakeCmd(), HUGIN_ASS_AUTO_CPCLEAN, HUGIN_ASS_LINEFIND, HUGIN_ASS_PANO_DOWNSIZE_FACTOR, HUGIN_CELESTE_AUTO, HUGIN_CELESTE_FILTER, HUGIN_CELESTE_THRESHOLD, HUGIN_CONV_FILENAME, PT::PanoramaMemento::loadPTScript(), m_currentMakefn, m_currentPTOfn, m_execPanel, makefile::path, hugin_utils::roundi(), HuginBase::Panorama::setMemento(), and hugin_utils::wxQuoteFilename().

Referenced by RunStitchFrame::DetectProject().

long RunStitchPanel::GetPid  ) 
 

Definition at line 438 of file RunStitchPanel.cpp.

References MyExecPanel::GetPid(), and m_execPanel.

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

bool RunStitchPanel::IsPaused  ) 
 

Definition at line 416 of file RunStitchPanel.cpp.

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

Definition at line 385 of file RunStitchPanel.cpp.

References DEBUG_TRACE, m_currentMakefn, and m_currentPTOfn.

void RunStitchPanel::PauseStitch  ) 
 

Definition at line 426 of file RunStitchPanel.cpp.

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

Referenced by Batch::PauseBatch().

bool RunStitchPanel::SaveLog const wxString &  filename  ) 
 

save the content of the window into a given log file

Returns:
true if log was saved successful

Definition at line 443 of file RunStitchPanel.cpp.

References m_execPanel, and MyExecPanel::SaveLog().

Referenced by RunStitchFrame::SaveLog().

void RunStitchPanel::SetOverwrite bool  over = true  ) 
 

Definition at line 421 of file RunStitchPanel.cpp.

References m_overwrite.

Referenced by Batch::OnStitch(), and RunStitchFrame::SetOverwrite().

bool RunStitchPanel::StitchProject wxString  scriptFile,
wxString  outname,
HuginBase::PanoramaMakefilelibExport::PTPrograms  progs
 

Definition at line 135 of file RunStitchPanel.cpp.

References cerr, HuginBase::PanoramaMakefilelibExport::createMakefile(), DEBUG_DEBUG, DEBUG_TRACE, HuginBase::PanoramaOptions::enblendOptions, HuginBase::PanoramaOptions::enfuseOptions, MyExecPanel::ExecWithRedirect(), fill_set(), HuginBase::Panorama::getActiveImages(), getGNUMakeCmd(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), HUGIN_CONV_FILENAME, HUGIN_ENBLEND_ARGS, HUGIN_ENFUSE_ARGS, HUGIN_NONA_USEGPU, PT::PanoramaMemento::loadPTScript(), m_currentMakefn, m_currentPTOfn, m_execPanel, m_overwrite, HuginBase::PanoramaOptions::outputFormat, HuginBase::Panorama::printPanoramaScript(), HuginBase::PanoramaOptions::remapUsingGPU, HuginBase::Panorama::setMemento(), HuginBase::Panorama::setOptions(), hugin_utils::wxQuoteFilename(), and hugin_utils::wxQuoteString().

Referenced by RunStitchFrame::StitchProject().


Member Data Documentation

wxString RunStitchPanel::m_currentMakefn [private]
 

Definition at line 83 of file RunStitchPanel.h.

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

wxString RunStitchPanel::m_currentPTOfn [private]
 

Definition at line 82 of file RunStitchPanel.h.

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

MyExecPanel* RunStitchPanel::m_execPanel [private]
 

Definition at line 86 of file RunStitchPanel.h.

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

bool RunStitchPanel::m_overwrite [private]
 

Definition at line 81 of file RunStitchPanel.h.

Referenced by SetOverwrite(), and StitchProject().

bool RunStitchPanel::m_paused [private]
 

Definition at line 80 of file RunStitchPanel.h.

Referenced by ContinueStitch(), and PauseStitch().


The documentation for this class was generated from the following files:
Generated on Tue Sep 2 01:25:51 2014 for Hugintrunk by  doxygen 1.3.9.1