Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ResetDialog.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
10 /* This is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This software is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public
21  * License along with this software. If not, see
22  * <http://www.gnu.org/licenses/>.
23  *
24  */
25 
26 #ifndef _RESETDIALOG_H
27 #define _RESETDIALOG_H
28 
29 #include "panoinc_WX.h"
30 #include "GuiLevel.h"
31 
44 class ResetDialog : public wxDialog
45 {
46 public:
48  ResetDialog(wxWindow *parent, GuiLevel guiLevel);
50  bool GetResetPos();
52  bool GetResetTranslation();
54  bool GetResetFOV();
56  bool GetResetLens();
58  bool GetResetExposure();
64  bool GetResetColor();
68  bool GetResetColorToExif();
70  bool GetResetVignetting();
72  bool GetResetResponse();
73 
75  void LimitToGeometric();
77  void LimitToPhotometric();
78 protected:
82  void OnSelectExposure(wxCommandEvent & e);
86  void OnSelectColor(wxCommandEvent & e);
88  void OnOk(wxCommandEvent & e);
89 
90 private:
91  DECLARE_EVENT_TABLE()
92 };
93 
94 #endif //_RESETDIALOG_H
bool GetResetLens()
Return TRUE, when user selected &quot;Reset lens&quot;.
declaration of helper for work with different GuiLevels
void OnOk(wxCommandEvent &e)
Saves current state of all checkboxes when closing dialog with Ok.
Dialog for reset panorama settings.
Definition: ResetDialog.h:44
bool GetResetExposure()
Return TRUE, when user selected &quot;Reset exposure&quot;.
void LimitToPhotometric()
limits the displayed parameters to photometric parameters
bool GetResetFOV()
Return TRUE, when user selected &quot;Reset FOV&quot;.
bool GetResetExposureToExif()
Return TRUE, when user selected &quot;Reset exposure to EXIF&quot;, Return FALSE, when user selected &quot;Reset exp...
bool GetResetColor()
Return TRUE, when user selected &quot;Reset color&quot;.
bool GetResetVignetting()
Return TRUE, when user selected &quot;Reset vignetting&quot;.
ResetDialog(wxWindow *parent, GuiLevel guiLevel)
Constructor, read from xrc ressource; restore last uses settings, size and position.
Definition: ResetDialog.cpp:39
void LimitToGeometric()
limits the displayed parameters to geometric parameters
Definition: ResetDialog.cpp:99
bool GetResetColorToExif()
Return TRUE, when user selected &quot;Reset color to EXIF&quot;, Return FALSE, when user selected &quot;Reset color ...
include file for the hugin project
void OnSelectColor(wxCommandEvent &e)
Method for enabling/disable combobox to select reset color to EXIF or ONE depending on state of &quot;Rese...
GuiLevel
Definition: GuiLevel.h:31
bool GetResetTranslation()
Return TRUE, when user selected &quot;Reset translation&quot;.
bool GetResetResponse()
Return TRUE, when user selected &quot;Reset Camera Response&quot;.
void OnSelectExposure(wxCommandEvent &e)
Method for enabling/disable combobox to select reset exposure to EXIF or ZERO depending on state of &quot;...
bool GetResetPos()
Return TRUE, when user selected &quot;Reset position&quot;.