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)

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 196 of file HDRMergeOptionDialog.cpp.

References m_mode, m_panel_avg, m_panel_avgslow, and m_panel_khan.

Referenced by HDRMergeOptionsDialog(), and SetCommandLineArgument().

void HDRMergeOptionsDialog::OnOk ( wxCommandEvent &  e)

check inputs

Definition at line 205 of file HDRMergeOptionDialog.cpp.

References BuildCommandLineArgument().

Referenced by HDRMergeOptionsDialog().

void HDRMergeOptionsDialog::SetCommandLineArgument ( wxString  cmd)

sets the currents state of the hdrmerge options

Definition at line 65 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
wxTextCtrl* HDRMergeOptionsDialog::m_khan_sigma
private
wxChoice* HDRMergeOptionsDialog::m_mode
private
wxCheckBox* HDRMergeOptionsDialog::m_option_c
private
wxCheckBox* HDRMergeOptionsDialog::m_option_khan_af
private
wxCheckBox* HDRMergeOptionsDialog::m_option_khan_ag
private
wxCheckBox* HDRMergeOptionsDialog::m_option_khan_am
private
wxPanel* HDRMergeOptionsDialog::m_panel_avg
private

Definition at line 64 of file HDRMergeOptionDialog.h.

Referenced by HDRMergeOptionsDialog(), and OnModeChanged().

wxPanel* HDRMergeOptionsDialog::m_panel_avgslow
private

Definition at line 65 of file HDRMergeOptionDialog.h.

Referenced by HDRMergeOptionsDialog(), and OnModeChanged().

wxPanel* HDRMergeOptionsDialog::m_panel_khan
private

Definition at line 66 of file HDRMergeOptionDialog.h.

Referenced by HDRMergeOptionsDialog(), and OnModeChanged().


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