|
Hugintrunk
0.1
|
hugin preferences dialog More...
#include <PreferencesDialog.h>

Public Member Functions | |
| PreferencesDialog (wxWindow *parent) | |
| ctor. More... | |
| virtual | ~PreferencesDialog () |
| dtor. More... | |
| void | UpdateDisplayData (int panel) |
| Config to Window. More... | |
| void | UpdateConfigData () |
| Window to Config. More... | |
Protected Member Functions | |
| void | OnOk (wxCommandEvent &e) |
| void | OnHelp (wxCommandEvent &e) |
| void | OnRotationCheckBox (wxCommandEvent &e) |
| void | OnEnblendExe (wxCommandEvent &e) |
| void | OnEnfuseExe (wxCommandEvent &e) |
| void | OnDcrawExe (wxCommandEvent &e) |
| void | OnRawTherapeeExe (wxCommandEvent &e) |
| void | OnDarktableExe (wxCommandEvent &e) |
| void | OnExifTool (wxCommandEvent &e) |
| void | OnExifArgfileChoose (wxCommandEvent &e) |
| void | OnExifArgfileEdit (wxCommandEvent &e) |
| void | OnExifArgfile2Choose (wxCommandEvent &e) |
| void | OnExifArgfile2Edit (wxCommandEvent &e) |
| void | OnRestoreDefaults (wxCommandEvent &e) |
| void | OnCustomEnblend (wxCommandEvent &e) |
| void | OnCustomEnfuse (wxCommandEvent &e) |
| void | OnCPDetectorAdd (wxCommandEvent &e) |
| void | OnCPDetectorEdit (wxCommandEvent &e) |
| void | OnCPDetectorDelete (wxCommandEvent &e) |
| void | OnCPDetectorMoveUp (wxCommandEvent &e) |
| void | OnCPDetectorMoveDown (wxCommandEvent &e) |
| void | OnCPDetectorDefault (wxCommandEvent &e) |
| void | OnUserDefinedOutputOptionsCheckBox (wxCommandEvent &e) |
| void | OnChangeUserDefinedOutputOptions (wxCommandEvent &e) |
| void | OnCPDetectorLoad (wxCommandEvent &e) |
| event handler for loading cp detector settings More... | |
| void | OnCPDetectorSave (wxCommandEvent &e) |
| event handler for saving cp detector settings More... | |
| void | OnFileFormatChanged (wxCommandEvent &e) |
| event handler if default file format was changed More... | |
| void | OnProcessorChanged (wxCommandEvent &e) |
| event handler if processor was changed More... | |
| void | OnBlenderChanged (wxCommandEvent &e) |
| event handler if blender was changed More... | |
| void | OnUpdateProjectFilename (wxCommandEvent &e) |
| event handler to update preview for project filename More... | |
| void | OnUpdateOutputFilename (wxCommandEvent &e) |
| event handler to update preview for project filename More... | |
| void | EnableRotationCtrls (bool enable) |
Private Member Functions | |
| void | UpdateFileFormatControls () |
| void | UpdateProcessorControls () |
| void | UpdateBlenderControls () |
Private Attributes | |
| wxListBox * | m_CPDetectorList |
| CPDetectorConfig | cpdetector_config_edit |
hugin preferences dialog
A simple preferences dialog, used to inspect and set the various prefs stored in the wxConfig object
Definition at line 38 of file PreferencesDialog.h.
| PreferencesDialog::PreferencesDialog | ( | wxWindow * | parent | ) |
ctor.
outdated
lp = new long; lp = wxLANGUAGE_BULGARIAN; lang_choice->Append(_("Bulgarian"), lp);
outdated lp = new long; lp = wxLANGUAGE_KOREAN; lang_choice->Append(_("Korean"), lp);
outdated lp = new long; lp = wxLANGUAGE_SLOVENIAN; lang_choice->Append(_("Slovenian"), lp);
outdated lp = new long; lp = wxLANGUAGE_UKRAINIAN; lang_choice->Append(_("Ukrainian"), lp);
Definition at line 60 of file PreferencesDialog.cpp.
References cpdetector_config_edit, DEBUG_TRACE, FillBlenderList(), HUGIN_ENBLEND_EXE_CUSTOM, HUGIN_ENFUSE_EXE_CUSTOM, m_CPDetectorList, MY_BOOL_VAL, OnBlenderChanged(), OnChangeUserDefinedOutputOptions(), OnCPDetectorAdd(), OnCPDetectorDefault(), OnCPDetectorDelete(), OnCPDetectorEdit(), OnCPDetectorLoad(), OnCPDetectorMoveDown(), OnCPDetectorMoveUp(), OnCPDetectorSave(), OnCustomEnblend(), OnCustomEnfuse(), OnDarktableExe(), OnDcrawExe(), OnEnblendExe(), OnEnfuseExe(), OnExifArgfile2Choose(), OnExifArgfile2Edit(), OnExifArgfileChoose(), OnExifArgfileEdit(), OnExifTool(), OnFileFormatChanged(), OnHelp(), OnOk(), OnProcessorChanged(), OnRawTherapeeExe(), OnRestoreDefaults(), OnRotationCheckBox(), OnUpdateOutputFilename(), OnUpdateProjectFilename(), OnUserDefinedOutputOptionsCheckBox(), CPDetectorConfig::Read(), hugin_utils::RestoreFramePosition(), and UpdateDisplayData().
|
virtual |
dtor.
Definition at line 255 of file PreferencesDialog.cpp.
References DEBUG_TRACE, and hugin_utils::StoreFramePosition().
|
protected |
Definition at line 557 of file PreferencesDialog.cpp.
Referenced by OnRotationCheckBox(), and UpdateDisplayData().
|
protected |
event handler if blender was changed
Definition at line 1306 of file PreferencesDialog.cpp.
References UpdateBlenderControls().
Referenced by PreferencesDialog().
|
protected |
Definition at line 1340 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 1135 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::FillControl(), CPDetectorConfig::GetCount(), m_CPDetectorList, CPDetectorConfig::settings, and CPDetectorDialog::UpdateSettings().
Referenced by PreferencesDialog().
|
protected |
Definition at line 1216 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::FillControl(), CPDetectorConfig::GetDefaultGenerator(), m_CPDetectorList, and CPDetectorConfig::SetDefaultGenerator().
Referenced by PreferencesDialog().
|
protected |
Definition at line 1167 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::FillControl(), CPDetectorConfig::GetDefaultGenerator(), hugin_utils::HuginMessageBox(), m_CPDetectorList, CPDetectorConfig::SetDefaultGenerator(), and CPDetectorConfig::settings.
Referenced by PreferencesDialog().
|
protected |
Definition at line 1147 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::FillControl(), hugin_utils::HuginMessageBox(), m_CPDetectorList, CPDetectorDialog::UpdateFields(), and CPDetectorDialog::UpdateSettings().
Referenced by PreferencesDialog().
|
protected |
event handler for loading cp detector settings
Definition at line 1227 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::ReadFromFile(), UpdateDisplayData(), and CPDetectorConfig::Write().
Referenced by PreferencesDialog().
|
protected |
Definition at line 1205 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::FillControl(), m_CPDetectorList, and CPDetectorConfig::Swap().
Referenced by PreferencesDialog().
|
protected |
Definition at line 1194 of file PreferencesDialog.cpp.
References cpdetector_config_edit, CPDetectorConfig::FillControl(), m_CPDetectorList, and CPDetectorConfig::Swap().
Referenced by PreferencesDialog().
|
protected |
event handler for saving cp detector settings
Definition at line 1242 of file PreferencesDialog.cpp.
References cpdetector_config_edit, and CPDetectorConfig::WriteToFile().
Referenced by PreferencesDialog().
|
protected |
Definition at line 370 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 376 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 353 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 321 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 287 of file PreferencesDialog.cpp.
References HUGIN_ENBLEND_EXE.
Referenced by PreferencesDialog().
|
protected |
Definition at line 304 of file PreferencesDialog.cpp.
References HUGIN_ENFUSE_EXE.
Referenced by PreferencesDialog().
|
protected |
Definition at line 470 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 483 of file PreferencesDialog.cpp.
References CreateNewArgFile(), MainFrame::Get(), GetDataPath(), hugin_utils::HuginMessageBox(), hugin_utils::RestoreFramePosition(), and hugin_utils::StoreFramePosition().
Referenced by PreferencesDialog().
|
protected |
Definition at line 382 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
Definition at line 413 of file PreferencesDialog.cpp.
References CreateNewArgFile(), MainFrame::Get(), GetDataPath(), hugin_utils::HuginMessageBox(), hugin_utils::RestoreFramePosition(), and hugin_utils::StoreFramePosition().
Referenced by PreferencesDialog().
|
protected |
Definition at line 540 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog(), and UpdateDisplayData().
|
protected |
event handler if default file format was changed
Definition at line 1263 of file PreferencesDialog.cpp.
References UpdateFileFormatControls().
Referenced by PreferencesDialog().
|
protected |
Definition at line 277 of file PreferencesDialog.cpp.
References MainFrame::DisplayHelp(), and MainFrame::Get().
Referenced by PreferencesDialog().
|
protected |
Definition at line 271 of file PreferencesDialog.cpp.
References UpdateConfigData().
Referenced by PreferencesDialog().
|
protected |
event handler if processor was changed
Definition at line 1278 of file PreferencesDialog.cpp.
References UpdateProcessorControls().
Referenced by PreferencesDialog().
|
protected |
Definition at line 337 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog().
|
protected |
AUTOPANO
OUTPUT
HDR currently deactivated since HDR TIFF broken and only choice is EXR
ENBLEND
Celeste
Definition at line 850 of file PreferencesDialog.cpp.
References cpdetector_config_edit, DEBUG_TRACE, huginApp::Get(), GetDataPath(), HUGIN_ASS_AUTO_ALIGN, HUGIN_ASS_AUTO_CPCLEAN, HUGIN_ASS_LINEFIND, HUGIN_ASS_NCONTROLPOINTS, HUGIN_ASS_PANO_DOWNSIZE_FACTOR, HUGIN_CELESTE_AUTO, HUGIN_CELESTE_FILTER, HUGIN_CELESTE_THRESHOLD, HUGIN_DEFAULT_BLENDER, HUGIN_DEFAULT_OUTPUT_NAME, HUGIN_DEFAULT_PROJECT_NAME, HUGIN_ENBLEND_ARGS, HUGIN_ENBLEND_EXE, HUGIN_ENBLEND_EXE_CUSTOM, HUGIN_ENFUSE_ARGS, HUGIN_ENFUSE_EXE, HUGIN_ENFUSE_EXE_CUSTOM, HUGIN_EXIFTOOL_CREATE_GPANO, HUGIN_FT_CORR_THRESHOLD, HUGIN_FT_CURV_THRESHOLD, HUGIN_FT_LOCAL_SEARCH_WIDTH, HUGIN_FT_ROTATION_SEARCH, HUGIN_FT_ROTATION_START_ANGLE, HUGIN_FT_ROTATION_STEPS, HUGIN_FT_ROTATION_STOP_ANGLE, HUGIN_FT_SEARCH_AREA_PERCENT, HUGIN_FT_TEMPLATE_SIZE, HUGIN_IMGCACHE_MAPPING_FLOAT, HUGIN_IMGCACHE_UPPERBOUND, HUGIN_JPEG_QUALITY, HUGIN_LANGUAGE, HUGIN_LDR_OUTPUT_FORMAT, HUGIN_PHOTOMETRIC_OPTIMIZER_NRPOINTS, HUGIN_PROCESSOR_GUI, HUGIN_PROCESSOR_OVERWRITE, HUGIN_PROCESSOR_START, HUGIN_PROCESSOR_VERBOSE, HUGIN_SHOW_PROJECTION_HINTS, HUGIN_SMART_UNDO, HUGIN_TIFF_COMPRESSION, HUGIN_USE_EXIFTOOL, hugin_utils::HuginMessageBox(), CPDetectorConfig::ReadFromFile(), UpdateDisplayData(), and CPDetectorConfig::Write().
Referenced by PreferencesDialog().
|
protected |
Definition at line 282 of file PreferencesDialog.cpp.
References EnableRotationCtrls().
Referenced by PreferencesDialog().
|
protected |
event handler to update preview for project filename
Definition at line 1327 of file PreferencesDialog.cpp.
References MainFrame::Get(), and getDefaultOutputName().
Referenced by PreferencesDialog().
|
protected |
event handler to update preview for project filename
Definition at line 1320 of file PreferencesDialog.cpp.
References MainFrame::Get(), and getDefaultProjectName().
Referenced by PreferencesDialog().
|
protected |
Definition at line 1334 of file PreferencesDialog.cpp.
Referenced by PreferencesDialog(), and UpdateDisplayData().
|
private |
Definition at line 1311 of file PreferencesDialog.cpp.
References MY_G_CHOICE_VAL.
Referenced by OnBlenderChanged(), and UpdateDisplayData().
| void PreferencesDialog::UpdateConfigData | ( | ) |
Window to Config.
MISC
AUTOPANO
OUTPUT
HDR currently deactivated since HDR TIFF broken and only choice is EXR
PROCESSOR
STITCHING
ENBLEND
Definition at line 987 of file PreferencesDialog.cpp.
References cpdetector_config_edit, DEBUG_INFO, DEBUG_TRACE, GetSelectedValue(), HUGIN_CELESTE_THRESHOLD, HUGIN_FT_CORR_THRESHOLD, HUGIN_FT_CURV_THRESHOLD, MY_G_BOOL_VAL, MY_G_CHOICE_VAL, MY_G_SPIN_VAL, MY_G_STR_VAL, hugin_utils::stringToDouble(), UpdateDisplayData(), and CPDetectorConfig::Write().
Referenced by OnOk().
| void PreferencesDialog::UpdateDisplayData | ( | int | panel | ) |
Config to Window.
| panel | to update (index starts with 1), use 0 to update all panels |
MISC
CP Detector programs
DEFAULT OUTPUT FORMAT
HDR currently deactivated since HDR TIFF broken and only choice is EXR
PROCESSOR
NONA
ENBLEND
ENFUSE
Definition at line 562 of file PreferencesDialog.cpp.
References cpdetector_config_edit, DEBUG_DEBUG, DEBUG_WARN, hugin_utils::doubleTowxString(), EnableRotationCtrls(), CPDetectorConfig::FillControl(), hugin_utils::floori(), HUGIN_ASS_AUTO_ALIGN, HUGIN_ASS_AUTO_CPCLEAN, HUGIN_ASS_LINEFIND, HUGIN_ASS_NCONTROLPOINTS, HUGIN_ASS_PANO_DOWNSIZE_FACTOR, HUGIN_CELESTE_AUTO, HUGIN_CELESTE_FILTER, HUGIN_CELESTE_THRESHOLD, HUGIN_DEFAULT_BLENDER, HUGIN_DEFAULT_OUTPUT_NAME, HUGIN_DEFAULT_PROJECT_NAME, HUGIN_ENBLEND_ARGS, HUGIN_ENBLEND_EXE, HUGIN_ENBLEND_EXE_CUSTOM, HUGIN_ENFUSE_ARGS, HUGIN_ENFUSE_EXE, HUGIN_ENFUSE_EXE_CUSTOM, HUGIN_EXIFTOOL_CREATE_GPANO, HUGIN_FT_CORR_THRESHOLD, HUGIN_FT_CURV_THRESHOLD, HUGIN_FT_LOCAL_SEARCH_WIDTH, HUGIN_FT_ROTATION_SEARCH, HUGIN_FT_ROTATION_START_ANGLE, HUGIN_FT_ROTATION_STEPS, HUGIN_FT_ROTATION_STOP_ANGLE, HUGIN_FT_SEARCH_AREA_PERCENT, HUGIN_FT_TEMPLATE_SIZE, HUGIN_IMGCACHE_MAPPING_FLOAT, HUGIN_IMGCACHE_UPPERBOUND, HUGIN_JPEG_QUALITY, HUGIN_LANGUAGE, HUGIN_LDR_OUTPUT_FORMAT, HUGIN_NONA_CROPPEDIMAGES, HUGIN_NONA_INTERPOLATOR, HUGIN_NONA_USEGPU, HUGIN_PHOTOMETRIC_OPTIMIZER_NRPOINTS, HUGIN_PROCESSOR_GUI, HUGIN_PROCESSOR_OVERWRITE, HUGIN_PROCESSOR_START, HUGIN_PROCESSOR_VERBOSE, HUGIN_SHOW_PROJECTION_HINTS, HUGIN_SMART_UNDO, HUGIN_TIFF_COMPRESSION, HUGIN_USE_EXIFTOOL, m_CPDetectorList, celeste::min(), MY_BOOL_VAL, MY_CHOICE_VAL, MY_SPIN_VAL, MY_STR_VAL, OnExifTool(), OnUserDefinedOutputOptionsCheckBox(), hugin_utils::roundi(), SelectListValue(), UpdateBlenderControls(), UpdateFileFormatControls(), and UpdateProcessorControls().
Referenced by OnCPDetectorLoad(), OnRestoreDefaults(), PreferencesDialog(), and UpdateConfigData().
|
private |
Definition at line 1268 of file PreferencesDialog.cpp.
References MY_G_CHOICE_VAL.
Referenced by OnFileFormatChanged(), and UpdateDisplayData().
|
private |
Definition at line 1283 of file PreferencesDialog.cpp.
References HUGIN_PROCESSOR_START, HUGIN_PROCESSOR_VERBOSE, and MY_G_CHOICE_VAL.
Referenced by OnProcessorChanged(), and UpdateDisplayData().
|
private |
Definition at line 105 of file PreferencesDialog.h.
Referenced by OnCPDetectorAdd(), OnCPDetectorDefault(), OnCPDetectorDelete(), OnCPDetectorEdit(), OnCPDetectorLoad(), OnCPDetectorMoveDown(), OnCPDetectorMoveUp(), OnCPDetectorSave(), OnRestoreDefaults(), PreferencesDialog(), UpdateConfigData(), and UpdateDisplayData().
|
private |
Definition at line 104 of file PreferencesDialog.h.
Referenced by OnCPDetectorAdd(), OnCPDetectorDefault(), OnCPDetectorDelete(), OnCPDetectorEdit(), OnCPDetectorMoveDown(), OnCPDetectorMoveUp(), PreferencesDialog(), and UpdateDisplayData().
1.8.5