#include <CPDetectorDialog.h>
Public Member Functions | |
| CPDetectorDialog (wxWindow *parent) | |
| constructor | |
| virtual | ~CPDetectorDialog () |
| destructor, saves position and size | |
| void | UpdateFields (CPDetectorConfig *cpdet_config, int index) |
| updates edit fields with values from settings | |
| void | UpdateSettings (CPDetectorConfig *cpdet_config, int index) |
| return inputed settings | |
Protected Member Functions | |
| void | OnOk (wxCommandEvent &e) |
| check inputs | |
| void | OnSelectPath (wxCommandEvent &e) |
| select program with file open dialog | |
| void | OnSelectPathDescriptor (wxCommandEvent &e) |
| select program for feature descriptor with file open dialog | |
| void | OnSelectPathMatcher (wxCommandEvent &e) |
| select program for feature matcher with file open dialog | |
| void | OnSelectPathStack (wxCommandEvent &e) |
| select program for stack with file open dialog | |
| void | OnTypeChange (wxCommandEvent &e) |
| update dialog, when other cp detector type is changed | |
| void | OnStepChanging (wxChoicebookEvent &e) |
| block selection of two step detector for autopano setting | |
| bool | ShowFileDialog (wxString &prog) |
| shows file dialog | |
Private Member Functions | |
| void | ChangeType () |
| DECLARE_EVENT_TABLE () | |
Private Attributes | |
| wxTextCtrl * | m_edit_desc |
| wxTextCtrl * | m_edit_prog |
| wxTextCtrl * | m_edit_args |
| wxStaticText * | m_label_args_cleanup |
| wxTextCtrl * | m_edit_args_cleanup |
| wxTextCtrl * | m_edit_prog_descriptor |
| wxTextCtrl * | m_edit_args_descriptor |
| wxTextCtrl * | m_edit_prog_matcher |
| wxTextCtrl * | m_edit_args_matcher |
| wxTextCtrl * | m_edit_prog_stack |
| wxTextCtrl * | m_edit_args_stack |
| wxCheckBox * | m_check_option |
| wxChoice * | m_cpdetector_type |
| wxChoicebook * | m_choice_step |
| bool | twoStepAllowed |
Definition at line 37 of file CPDetectorDialog.h.
|
|
constructor
Definition at line 52 of file CPDetectorDialog.cpp. References RestoreFramePosition(). |
|
|
destructor, saves position and size
Definition at line 83 of file CPDetectorDialog.cpp. References StoreFramePosition(). |
|
|
Definition at line 198 of file CPDetectorDialog.cpp. References CPDetector_AutoPanoSiftMultiRow, CPDetector_AutoPanoSiftMultiRowStack, CPDetector_AutoPanoSiftPreAlign, CPDetectorType, CPDetectorSetting::IsCleanupPossible(), m_check_option, m_choice_step, m_cpdetector_type, m_edit_args_cleanup, m_label_args_cleanup, and twoStepAllowed. Referenced by OnTypeChange(), and UpdateFields(). |
|
|
|
|
|
check inputs
Definition at line 88 of file CPDetectorDialog.cpp. References CPDetectorSetting::ContainsStacks(), CPDetectorType, m_choice_step, m_cpdetector_type, m_edit_args, m_edit_args_descriptor, m_edit_args_matcher, m_edit_args_stack, m_edit_desc, m_edit_prog, m_edit_prog_descriptor, m_edit_prog_matcher, and m_edit_prog_stack. |
|
|
select program with file open dialog
Definition at line 271 of file CPDetectorDialog.cpp. References m_edit_prog, and ShowFileDialog(). |
|
|
select program for feature descriptor with file open dialog
Definition at line 278 of file CPDetectorDialog.cpp. References m_edit_prog_descriptor, and ShowFileDialog(). |
|
|
select program for feature matcher with file open dialog
Definition at line 285 of file CPDetectorDialog.cpp. References m_edit_prog_matcher, and ShowFileDialog(). |
|
|
select program for stack with file open dialog
Definition at line 292 of file CPDetectorDialog.cpp. References m_edit_prog_stack, and ShowFileDialog(). |
|
|
block selection of two step detector for autopano setting
Definition at line 299 of file CPDetectorDialog.cpp. References twoStepAllowed. |
|
|
update dialog, when other cp detector type is changed
Definition at line 193 of file CPDetectorDialog.cpp. References ChangeType(). |
|
|
shows file dialog
Definition at line 243 of file CPDetectorDialog.cpp. References MAC_SELF_CONTAINED_BUNDLE. Referenced by OnSelectPath(), OnSelectPathDescriptor(), OnSelectPathMatcher(), and OnSelectPathStack(). |
|
||||||||||||
|
updates edit fields with values from settings
Definition at line 124 of file CPDetectorDialog.cpp. References ChangeType(), m_check_option, m_choice_step, m_cpdetector_type, m_edit_args, m_edit_args_cleanup, m_edit_args_descriptor, m_edit_args_matcher, m_edit_args_stack, m_edit_desc, m_edit_prog, m_edit_prog_descriptor, m_edit_prog_matcher, m_edit_prog_stack, and CPDetectorConfig::settings. Referenced by PreferencesDialog::OnCPDetectorEdit(). |
|
||||||||||||
|
return inputed settings
Definition at line 156 of file CPDetectorDialog.cpp. References CPDetectorType, m_check_option, m_choice_step, m_cpdetector_type, m_edit_args, m_edit_args_cleanup, m_edit_args_descriptor, m_edit_args_matcher, m_edit_args_stack, m_edit_desc, m_edit_prog, m_edit_prog_descriptor, m_edit_prog_matcher, m_edit_prog_stack, and CPDetectorConfig::settings. Referenced by PreferencesDialog::OnCPDetectorAdd(), and PreferencesDialog::OnCPDetectorEdit(). |
|
|
Definition at line 81 of file CPDetectorDialog.h. Referenced by ChangeType(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 83 of file CPDetectorDialog.h. Referenced by ChangeType(), OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 82 of file CPDetectorDialog.h. Referenced by ChangeType(), OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 72 of file CPDetectorDialog.h. Referenced by OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 74 of file CPDetectorDialog.h. Referenced by ChangeType(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 76 of file CPDetectorDialog.h. Referenced by OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 78 of file CPDetectorDialog.h. Referenced by OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 80 of file CPDetectorDialog.h. Referenced by OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 70 of file CPDetectorDialog.h. Referenced by OnOk(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 71 of file CPDetectorDialog.h. Referenced by OnOk(), OnSelectPath(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 75 of file CPDetectorDialog.h. Referenced by OnOk(), OnSelectPathDescriptor(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 77 of file CPDetectorDialog.h. Referenced by OnOk(), OnSelectPathMatcher(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 79 of file CPDetectorDialog.h. Referenced by OnOk(), OnSelectPathStack(), UpdateFields(), and UpdateSettings(). |
|
|
Definition at line 73 of file CPDetectorDialog.h. Referenced by ChangeType(). |
|
|
Definition at line 84 of file CPDetectorDialog.h. Referenced by ChangeType(), and OnStepChanging(). |
1.3.9.1