Hugintrunk
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. More... | |
bool | GetResetPos () |
Return TRUE, when user selected "Reset position". More... | |
bool | GetResetTranslation () |
Return TRUE, when user selected "Reset translation". More... | |
bool | GetResetFOV () |
Return TRUE, when user selected "Reset FOV". More... | |
bool | GetResetLens () |
Return TRUE, when user selected "Reset lens". More... | |
bool | GetResetExposure () |
Return TRUE, when user selected "Reset exposure". More... | |
bool | GetResetExposureToExif () |
Return TRUE, when user selected "Reset exposure to EXIF", Return FALSE, when user selected "Reset exposure to ZERO". More... | |
bool | GetResetColor () |
Return TRUE, when user selected "Reset color". More... | |
bool | GetResetColorToExif () |
Return TRUE, when user selected "Reset color to EXIF", Return FALSE, when user selected "Reset color to ONE". More... | |
bool | GetResetVignetting () |
Return TRUE, when user selected "Reset vignetting". More... | |
bool | GetResetResponse () |
Return TRUE, when user selected "Reset Camera Response". More... | |
void | LimitToGeometric () |
limits the displayed parameters to geometric parameters More... | |
void | LimitToPhotometric () |
limits the displayed parameters to photometric parameters More... | |
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. More... | |
void | OnSelectColor (wxCommandEvent &e) |
Method for enabling/disable combobox to select reset color to EXIF or ONE depending on state of "Reset color" checkbox. More... | |
void | OnOk (wxCommandEvent &e) |
Saves current state of all checkboxes when closing dialog with Ok. More... | |
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 33 of file ResetDialog.cpp.
References huginApp::Get(), GUI_EXPERT, OnOk(), OnSelectColor(), and OnSelectExposure().
bool ResetDialog::GetResetColor | ( | ) |
Return TRUE, when user selected "Reset color".
Definition at line 183 of file ResetDialog.cpp.
Referenced by GetResetColorToExif(), OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetColorToExif | ( | ) |
Return TRUE, when user selected "Reset color to EXIF", Return FALSE, when user selected "Reset color to ONE".
Definition at line 188 of file ResetDialog.cpp.
References GetResetColor().
Referenced by PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetExposure | ( | ) |
Return TRUE, when user selected "Reset exposure".
Definition at line 171 of file ResetDialog.cpp.
Referenced by GetResetExposureToExif(), OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetExposureToExif | ( | ) |
Return TRUE, when user selected "Reset exposure to EXIF", Return FALSE, when user selected "Reset exposure to ZERO".
Definition at line 176 of file ResetDialog.cpp.
References GetResetExposure().
Referenced by PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetFOV | ( | ) |
Return TRUE, when user selected "Reset FOV".
Definition at line 161 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetLens | ( | ) |
Return TRUE, when user selected "Reset lens".
Definition at line 166 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetPos | ( | ) |
Return TRUE, when user selected "Reset position".
Definition at line 151 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetResponse | ( | ) |
Return TRUE, when user selected "Reset Camera Response".
Definition at line 200 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetTranslation | ( | ) |
Return TRUE, when user selected "Reset translation".
Definition at line 156 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetVignetting | ( | ) |
Return TRUE, when user selected "Reset vignetting".
Definition at line 195 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
void ResetDialog::LimitToGeometric | ( | ) |
limits the displayed parameters to geometric parameters
Definition at line 98 of file ResetDialog.cpp.
Referenced by PanoOperation::ResetOperation::ShowDialog().
void ResetDialog::LimitToPhotometric | ( | ) |
limits the displayed parameters to photometric parameters
Definition at line 109 of file ResetDialog.cpp.
Referenced by PanoOperation::ResetOperation::ShowDialog().
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 118 of file ResetDialog.cpp.
References GetResetColor(), GetResetExposure(), GetResetFOV(), GetResetLens(), GetResetPos(), GetResetResponse(), GetResetTranslation(), and GetResetVignetting().
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 146 of file ResetDialog.cpp.
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 141 of file ResetDialog.cpp.
Referenced by ResetDialog().