|
Hugin trunk 0.1
|
Dialog for reset panorama settings. More...
#include <ResetDialog.h>

Public Member Functions | |
| ResetDialog (wxWindow *parent, GuiLevel guiLevel) | |
| Constructor, read from xrc ressource; restore last uses settings, size and position. | |
| bool | GetResetPos () |
| Return TRUE, when user selected "Reset position". | |
| bool | GetResetTranslation () |
| Return TRUE, when user selected "Reset translation". | |
| bool | GetResetFOV () |
| Return TRUE, when user selected "Reset FOV". | |
| bool | GetResetLens () |
| Return TRUE, when user selected "Reset lens". | |
| bool | GetResetExposure () |
| Return TRUE, when user selected "Reset exposure". | |
| bool | GetResetExposureToExif () |
| Return TRUE, when user selected "Reset exposure to EXIF", Return FALSE, when user selected "Reset exposure to ZERO". | |
| bool | GetResetColor () |
| Return TRUE, when user selected "Reset color". | |
| bool | GetResetColorToExif () |
| Return TRUE, when user selected "Reset color to EXIF", Return FALSE, when user selected "Reset color to ONE". | |
| bool | GetResetVignetting () |
| Return TRUE, when user selected "Reset vignetting". | |
| bool | GetResetResponse () |
| Return TRUE, when user selected "Reset Camera Response". | |
| void | LimitToGeometric () |
| limits the displayed parameters to geometric parameters | |
| void | LimitToPhotometric () |
| limits the displayed parameters to photometric parameters | |
Protected Member Functions | |
| void | OnSelectExposure (wxCommandEvent &e) |
| Method for enabling/disable combobox to select reset exposure to EXIF or ZERO depending on state of "Reset exposure" checkbox. | |
| void | OnSelectColor (wxCommandEvent &e) |
| Method for enabling/disable combobox to select reset color to EXIF or ONE depending on state of "Reset color" checkbox. | |
| void | OnOk (wxCommandEvent &e) |
| Saves current state of all checkboxes when closing dialog with Ok. | |
Dialog for reset panorama settings.
Dialog let user select, which parameter should be reseted. The user can select
Definition at line 44 of file ResetDialog.h.
| ResetDialog::ResetDialog | ( | wxWindow * | parent, |
| GuiLevel | guiLevel | ||
| ) |
Constructor, read from xrc ressource; restore last uses settings, size and position.
Definition at line 34 of file ResetDialog.cpp.
References GUI_EXPERT, OnOk(), OnSelectColor(), OnSelectExposure(), hugin_utils::RestoreFramePositionOnly(), and threshold().
| bool ResetDialog::GetResetColor | ( | ) |
Return TRUE, when user selected "Reset color".
Definition at line 165 of file ResetDialog.cpp.
References threshold().
Referenced by GetResetColorToExif(), and OnOk().
| bool ResetDialog::GetResetColorToExif | ( | ) |
Return TRUE, when user selected "Reset color to EXIF", Return FALSE, when user selected "Reset color to ONE".
Definition at line 170 of file ResetDialog.cpp.
References GetResetColor(), and threshold().
| bool ResetDialog::GetResetExposure | ( | ) |
Return TRUE, when user selected "Reset exposure".
Definition at line 153 of file ResetDialog.cpp.
References threshold().
Referenced by GetResetExposureToExif(), and OnOk().
| bool ResetDialog::GetResetExposureToExif | ( | ) |
Return TRUE, when user selected "Reset exposure to EXIF", Return FALSE, when user selected "Reset exposure to ZERO".
Definition at line 158 of file ResetDialog.cpp.
References GetResetExposure(), and threshold().
| bool ResetDialog::GetResetFOV | ( | ) |
Return TRUE, when user selected "Reset FOV".
Definition at line 143 of file ResetDialog.cpp.
References threshold().
Referenced by OnOk().
| bool ResetDialog::GetResetLens | ( | ) |
Return TRUE, when user selected "Reset lens".
Definition at line 148 of file ResetDialog.cpp.
References threshold().
Referenced by OnOk().
| bool ResetDialog::GetResetPos | ( | ) |
Return TRUE, when user selected "Reset position".
Definition at line 133 of file ResetDialog.cpp.
References threshold().
Referenced by OnOk().
| bool ResetDialog::GetResetResponse | ( | ) |
Return TRUE, when user selected "Reset Camera Response".
Definition at line 182 of file ResetDialog.cpp.
References threshold().
Referenced by OnOk().
| bool ResetDialog::GetResetTranslation | ( | ) |
Return TRUE, when user selected "Reset translation".
Definition at line 138 of file ResetDialog.cpp.
References threshold().
Referenced by OnOk().
| bool ResetDialog::GetResetVignetting | ( | ) |
Return TRUE, when user selected "Reset vignetting".
Definition at line 177 of file ResetDialog.cpp.
References threshold().
Referenced by OnOk().
| void ResetDialog::LimitToGeometric | ( | ) |
limits the displayed parameters to geometric parameters
Definition at line 82 of file ResetDialog.cpp.
References threshold().
| void ResetDialog::LimitToPhotometric | ( | ) |
limits the displayed parameters to photometric parameters
Definition at line 93 of file ResetDialog.cpp.
References threshold().
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 102 of file ResetDialog.cpp.
References GetResetColor(), GetResetExposure(), GetResetFOV(), GetResetLens(), GetResetPos(), GetResetResponse(), GetResetTranslation(), GetResetVignetting(), hugin_utils::StoreFramePositionOnly(), and threshold().
Referenced by ResetDialog().
|
protected |
Method for enabling/disable combobox to select reset color to EXIF or ONE depending on state of "Reset color" checkbox.
Definition at line 128 of file ResetDialog.cpp.
References threshold().
Referenced by ResetDialog().
|
protected |
Method for enabling/disable combobox to select reset exposure to EXIF or ZERO depending on state of "Reset exposure" checkbox.
Definition at line 123 of file ResetDialog.cpp.
References threshold().
Referenced by ResetDialog().