29#include "wx/msw/wrapwin.h"
34#include "hugin_config.h"
40#if defined MAC_SELF_CONTAINED_BUNDLE
43 #include <CoreFoundation/CFBundle.h>
49 wxXmlResource::Get()->LoadDialog(
this,
parent,
"cpdetector_dialog");
223 m_check_option->SetLabel(
_(
"Only work on image pairs without control points."));
248#ifdef MAC_SELF_CONTAINED_BUNDLE
259 _(
"Executables (*.exe,*.vbs,*.cmd, *.bat)|*.exe;*.vbs;*.cmd;*.bat"),
@ CPDetector_AutoPanoSiftMultiRow
@ CPDetector_AutoPanoSiftMultiRowStack
@ CPDetector_AutoPanoSiftPreAlign
declaration of CPDetectorDialog class, which are for storing and changing settings of different autop...
class for storing settings of different control point generators
wxTextCtrl * m_edit_args_matcher
wxTextCtrl * m_edit_prog_descriptor
bool ShowFileDialog(wxString &prog)
shows file dialog
void OnSelectPathMatcher(wxCommandEvent &e)
select program for feature matcher with file open dialog
void OnTypeChange(wxCommandEvent &e)
update dialog, when other cp detector type is changed
wxTextCtrl * m_edit_args_cleanup
virtual ~CPDetectorDialog()
destructor, saves position and size
void OnSelectPathDescriptor(wxCommandEvent &e)
select program for feature descriptor with file open dialog
wxStaticText * m_label_args_cleanup
wxChoice * m_cpdetector_type
void OnStepChanging(wxChoicebookEvent &e)
block selection of two step detector for autopano setting
void UpdateSettings(CPDetectorConfig *cpdet_config, int index)
return inputed settings
void OnSelectPath(wxCommandEvent &e)
select program with file open dialog
wxChoicebook * m_choice_step
wxTextCtrl * m_edit_args_stack
void UpdateFields(CPDetectorConfig *cpdet_config, int index)
updates edit fields with values from settings
void OnOk(wxCommandEvent &e)
check inputs
wxCheckBox * m_check_option
wxTextCtrl * m_edit_prog_stack
CPDetectorDialog(wxWindow *parent)
constructor
wxTextCtrl * m_edit_prog_matcher
wxTextCtrl * m_edit_args_descriptor
void OnSelectPathStack(wxCommandEvent &e)
select program for stack with file open dialog
const bool IsCleanupPossible()
const bool ContainsStacks()
functions for interaction with the hugin configuration file
int HuginMessageBox(const wxString &message, const wxString &caption, int style, wxWindow *parent)
void StoreFramePosition(wxTopLevelWindow *frame, const wxString &basename, const bool ignoreMaximize)
void RestoreFramePosition(wxTopLevelWindow *frame, const wxString &basename, const bool ignoreMaximize)
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.