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 39 of file ResetDialog.cpp.
References huginApp::Get(), and GUI_EXPERT.
bool ResetDialog::GetResetColor | ( | ) |
Return TRUE, when user selected "Reset color".
Definition at line 184 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 189 of file ResetDialog.cpp.
References GetResetColor().
Referenced by PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetExposure | ( | ) |
Return TRUE, when user selected "Reset exposure".
Definition at line 172 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 177 of file ResetDialog.cpp.
References GetResetExposure().
Referenced by PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetFOV | ( | ) |
Return TRUE, when user selected "Reset FOV".
Definition at line 162 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetLens | ( | ) |
Return TRUE, when user selected "Reset lens".
Definition at line 167 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetPos | ( | ) |
Return TRUE, when user selected "Reset position".
Definition at line 152 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 201 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetTranslation | ( | ) |
Return TRUE, when user selected "Reset translation".
Definition at line 157 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
bool ResetDialog::GetResetVignetting | ( | ) |
Return TRUE, when user selected "Reset vignetting".
Definition at line 196 of file ResetDialog.cpp.
Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().
void ResetDialog::LimitToGeometric | ( | ) |
limits the displayed parameters to geometric parameters
Definition at line 99 of file ResetDialog.cpp.
Referenced by PanoOperation::ResetOperation::ShowDialog().
void ResetDialog::LimitToPhotometric | ( | ) |
limits the displayed parameters to photometric parameters
Definition at line 110 of file ResetDialog.cpp.
Referenced by PanoOperation::ResetOperation::ShowDialog().
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 119 of file ResetDialog.cpp.
References GetResetColor(), GetResetExposure(), GetResetFOV(), GetResetLens(), GetResetPos(), GetResetResponse(), GetResetTranslation(), and GetResetVignetting().
|
protected |
Method for enabling/disable combobox to select reset color to EXIF or ONE depending on state of "Reset color" checkbox.
Definition at line 147 of file ResetDialog.cpp.
|
protected |
Method for enabling/disable combobox to select reset exposure to EXIF or ZERO depending on state of "Reset exposure" checkbox.
Definition at line 142 of file ResetDialog.cpp.