Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
HDRMergeOptionsDialog Class Reference

Dialog for reset panorama settings. More...

#include <HDRMergeOptionDialog.h>

Inheritance diagram for HDRMergeOptionsDialog:
Inheritance graph

Public Member Functions

 HDRMergeOptionsDialog (wxWindow *parent)
 Constructor, read from xrc ressource. More...
 
void SetCommandLineArgument (wxString cmd)
 sets the currents state of the hdrmerge options More...
 
wxString GetCommandLineArgument ()
 returns the hdrmerge options as command line arguments More...
 
void OnOk (wxCommandEvent &e)
 check inputs More...
 

Protected Member Functions

void OnModeChanged (wxCommandEvent &e)
 event handler when user selected different mode, refresh advanced option display More...
 

Private Member Functions

bool BuildCommandLineArgument ()
 

Private Attributes

wxChoice * m_mode
 
wxPanel * m_panel_avg
 
wxPanel * m_panel_avgslow
 
wxPanel * m_panel_khan
 
wxCheckBox * m_option_c
 
wxSpinCtrl * m_khan_iter
 
wxTextCtrl * m_khan_sigma
 
wxCheckBox * m_option_khan_af
 
wxCheckBox * m_option_khan_ag
 
wxCheckBox * m_option_khan_am
 
wxString m_cmd
 

Detailed Description

Dialog for reset panorama settings.

Dialog let user select, which parameter should be reseted. The user can select

Definition at line 45 of file HDRMergeOptionDialog.h.

Constructor & Destructor Documentation

HDRMergeOptionsDialog::HDRMergeOptionsDialog ( wxWindow *  parent)

Constructor, read from xrc ressource.

Definition at line 50 of file HDRMergeOptionDialog.cpp.

References huginApp::Get().

Member Function Documentation

bool HDRMergeOptionsDialog::BuildCommandLineArgument ( )
private
wxString HDRMergeOptionsDialog::GetCommandLineArgument ( )
inline

returns the hdrmerge options as command line arguments

Definition at line 53 of file HDRMergeOptionDialog.h.

References m_cmd.

Referenced by PanoPanel::OnHDRMergeOptions().

void HDRMergeOptionsDialog::OnModeChanged ( wxCommandEvent &  e)
protected

event handler when user selected different mode, refresh advanced option display

Definition at line 207 of file HDRMergeOptionDialog.cpp.

References m_mode, m_panel_avg, m_panel_avgslow, and m_panel_khan.

Referenced by SetCommandLineArgument().

void HDRMergeOptionsDialog::OnOk ( wxCommandEvent &  e)

check inputs

Definition at line 216 of file HDRMergeOptionDialog.cpp.

References BuildCommandLineArgument().

void HDRMergeOptionsDialog::SetCommandLineArgument ( wxString  cmd)

sets the currents state of the hdrmerge options

Definition at line 76 of file HDRMergeOptionDialog.cpp.

References HUGIN_HDRMERGE_ARGS, m_cmd, m_khan_iter, m_khan_sigma, m_mode, m_option_c, m_option_khan_af, m_option_khan_ag, m_option_khan_am, OnModeChanged(), and sigma.

Referenced by PanoPanel::OnHDRMergeOptions().

Member Data Documentation

wxString HDRMergeOptionsDialog::m_cmd
private
wxSpinCtrl* HDRMergeOptionsDialog::m_khan_iter
private

Definition at line 68 of file HDRMergeOptionDialog.h.

Referenced by BuildCommandLineArgument(), and SetCommandLineArgument().

wxTextCtrl* HDRMergeOptionsDialog::m_khan_sigma
private

Definition at line 69 of file HDRMergeOptionDialog.h.

Referenced by BuildCommandLineArgument(), and SetCommandLineArgument().

wxChoice* HDRMergeOptionsDialog::m_mode
private
wxCheckBox* HDRMergeOptionsDialog::m_option_c
private

Definition at line 67 of file HDRMergeOptionDialog.h.

Referenced by BuildCommandLineArgument(), and SetCommandLineArgument().

wxCheckBox* HDRMergeOptionsDialog::m_option_khan_af
private

Definition at line 70 of file HDRMergeOptionDialog.h.

Referenced by BuildCommandLineArgument(), and SetCommandLineArgument().

wxCheckBox* HDRMergeOptionsDialog::m_option_khan_ag
private

Definition at line 71 of file HDRMergeOptionDialog.h.

Referenced by BuildCommandLineArgument(), and SetCommandLineArgument().

wxCheckBox* HDRMergeOptionsDialog::m_option_khan_am
private

Definition at line 72 of file HDRMergeOptionDialog.h.

Referenced by BuildCommandLineArgument(), and SetCommandLineArgument().

wxPanel* HDRMergeOptionsDialog::m_panel_avg
private

Definition at line 64 of file HDRMergeOptionDialog.h.

Referenced by OnModeChanged().

wxPanel* HDRMergeOptionsDialog::m_panel_avgslow
private

Definition at line 65 of file HDRMergeOptionDialog.h.

Referenced by OnModeChanged().

wxPanel* HDRMergeOptionsDialog::m_panel_khan
private

Definition at line 66 of file HDRMergeOptionDialog.h.

Referenced by OnModeChanged().


The documentation for this class was generated from the following files: