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 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 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::ResetDialog ( wxWindow *  parent,
GuiLevel  guiLevel 
)

Constructor, read from xrc ressource; restore last uses settings, size and position.


Member Function Documentation

bool ResetDialog::GetResetColor (  ) 

Return TRUE, when user selected "Reset color".

Definition at line 173 of file ResetDialog.cpp.

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

bool ResetDialog::GetResetExposure (  ) 

Return TRUE, when user selected "Reset exposure".

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

References GetResetExposure().

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

bool ResetDialog::GetResetFOV (  ) 

Return TRUE, when user selected "Reset FOV".

Definition at line 151 of file ResetDialog.cpp.

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

bool ResetDialog::GetResetLens (  ) 

Return TRUE, when user selected "Reset lens".

Definition at line 156 of file ResetDialog.cpp.

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

bool ResetDialog::GetResetPos (  ) 

Return TRUE, when user selected "Reset position".

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

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

bool ResetDialog::GetResetTranslation (  ) 

Return TRUE, when user selected "Reset translation".

Definition at line 146 of file ResetDialog.cpp.

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

bool ResetDialog::GetResetVignetting (  ) 

Return TRUE, when user selected "Reset vignetting".

Definition at line 178 of file ResetDialog.cpp.

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

void ResetDialog::LimitToGeometric (  ) 

limits the displayed parameters to geometric parameters

Definition at line 93 of file ResetDialog.cpp.

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

void ResetDialog::LimitToPhotometric (  ) 

limits the displayed parameters to photometric parameters

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

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

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 133 of file ResetDialog.cpp.


The documentation for this class was generated from the following files:
Generated on 26 Nov 2014 for Hugintrunk by  doxygen 1.4.7