ResetDialog Class Reference

Dialog for reset panorama settings. More...

#include <ResetDialog.h>

List of all members.

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.


Detailed Description

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.


Constructor & Destructor Documentation

ResetDialog::OnSelectColor 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.


Member Function Documentation

bool ResetDialog::GetResetColor (  ) 

Return TRUE, when user selected "Reset color".

Definition at line 182 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 187 of file ResetDialog.cpp.

References GetResetColor().

Referenced by PanoOperation::ResetOperation::ShowDialog().

bool ResetDialog::GetResetExposure (  ) 

Return TRUE, when user selected "Reset exposure".

Definition at line 170 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 175 of file ResetDialog.cpp.

References GetResetExposure().

Referenced by PanoOperation::ResetOperation::ShowDialog().

bool ResetDialog::GetResetFOV (  ) 

Return TRUE, when user selected "Reset FOV".

Definition at line 160 of file ResetDialog.cpp.

Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().

bool ResetDialog::GetResetLens (  ) 

Return TRUE, when user selected "Reset lens".

Definition at line 165 of file ResetDialog.cpp.

Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().

bool ResetDialog::GetResetPos (  ) 

Return TRUE, when user selected "Reset position".

Definition at line 150 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 199 of file ResetDialog.cpp.

Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().

bool ResetDialog::GetResetTranslation (  ) 

Return TRUE, when user selected "Reset translation".

Definition at line 155 of file ResetDialog.cpp.

Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().

bool ResetDialog::GetResetVignetting (  ) 

Return TRUE, when user selected "Reset vignetting".

Definition at line 194 of file ResetDialog.cpp.

Referenced by OnOk(), and PanoOperation::ResetOperation::ShowDialog().

void ResetDialog::LimitToGeometric (  ) 

limits the displayed parameters to geometric parameters

Definition at line 97 of file ResetDialog.cpp.

Referenced by PanoOperation::ResetOperation::ShowDialog().

void ResetDialog::LimitToPhotometric (  ) 

limits the displayed parameters to photometric parameters

Definition at line 108 of file ResetDialog.cpp.

Referenced by PanoOperation::ResetOperation::ShowDialog().

void ResetDialog::OnOk ( wxCommandEvent &  e  )  [protected]

Saves current state of all checkboxes when closing dialog with Ok.

Definition at line 117 of file ResetDialog.cpp.

References GetResetColor(), GetResetExposure(), GetResetFOV(), GetResetLens(), GetResetPos(), GetResetResponse(), GetResetTranslation(), and GetResetVignetting().

void ResetDialog::OnSelectColor ( wxCommandEvent &  e  )  [protected]

Method for enabling/disable combobox to select reset color to EXIF or ONE depending on state of "Reset color" checkbox.

Definition at line 145 of file ResetDialog.cpp.

void ResetDialog::OnSelectExposure ( wxCommandEvent &  e  )  [protected]

Method for enabling/disable combobox to select reset exposure to EXIF or ZERO depending on state of "Reset exposure" checkbox.

Definition at line 140 of file ResetDialog.cpp.


The documentation for this class was generated from the following files:
Generated on 3 Sep 2015 for Hugintrunk by  doxygen 1.4.7