Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HDRMergeOptionDialog.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
12 /* This is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public
14  * License as published by the Free Software Foundation; either
15  * version 2 of the License, or (at your option) any later version.
16  *
17  * This software is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public
23  * License along with this software. If not, see
24  * <http://www.gnu.org/licenses/>.
25  *
26  */
27 
28 #ifndef _HDRMERGEOPTIONDIALOG_H
29 #define _HDRMERGEOPTIONDIALOG_H
30 
31 #include "panoinc_WX.h"
32 
45 class HDRMergeOptionsDialog : public wxDialog
46 {
47 public:
49  HDRMergeOptionsDialog(wxWindow *parent);
51  void SetCommandLineArgument(wxString cmd);
53  wxString GetCommandLineArgument() { return m_cmd;};
55  void OnOk(wxCommandEvent & e);
56 
57 protected:
59  void OnModeChanged(wxCommandEvent &e);
60 
61 private:
63  wxChoice *m_mode;
64  wxPanel *m_panel_avg;
65  wxPanel *m_panel_avgslow;
66  wxPanel *m_panel_khan;
67  wxCheckBox *m_option_c;
68  wxSpinCtrl *m_khan_iter;
69  wxTextCtrl *m_khan_sigma;
70  wxCheckBox *m_option_khan_af;
71  wxCheckBox *m_option_khan_ag;
72  wxCheckBox *m_option_khan_am;
73  wxString m_cmd;
74  DECLARE_EVENT_TABLE()
75 };
76 
77 #endif //_HDRMERGEOPTIONDIALOG_H
Dialog for reset panorama settings.
void SetCommandLineArgument(wxString cmd)
sets the currents state of the hdrmerge options
wxString GetCommandLineArgument()
returns the hdrmerge options as command line arguments
void OnModeChanged(wxCommandEvent &e)
event handler when user selected different mode, refresh advanced option display
HDRMergeOptionsDialog(wxWindow *parent)
Constructor, read from xrc ressource.
include file for the hugin project
void OnOk(wxCommandEvent &e)
check inputs