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
PanoOutputDialog Class Reference

Dialog for setting output parameters for simple user interface. More...

#include <PanoOutputDialog.h>

Inheritance diagram for PanoOutputDialog:
Inheritance graph

Public Member Functions

 PanoOutputDialog (wxWindow *parent, HuginBase::Panorama &pano, GuiLevel guiLevel)
 Constructor, read from xrc ressource; restore last uses settings, size and position. More...
 
 ~PanoOutputDialog ()
 destructor, save position More...
 
HuginBase::PanoramaOptions GetNewPanoramaOptions ()
 

Protected Member Functions

void OnOk (wxCommandEvent &e)
 Saves current state of all checkboxes when closing dialog with Ok. More...
 
void OnOutputChanged (wxCommandEvent &e)
 enabled Ok button and LDR/HDR format settings depeding on selected output settings More...
 
void OnLDRFormatChanged (wxCommandEvent &e)
 LDR format changed. More...
 
void OnHDRFormatChanged (wxCommandEvent &e)
 HDR format changed. More...
 
void OnWidthChanged (wxSpinEvent &e)
 width changed More...
 
void OnHeightChanged (wxSpinEvent &e)
 height changed More...
 

Private Member Functions

void EnableOutputOptions ()
 

Private Attributes

HuginBase::PanoramaOptions m_newOpt
 
HuginBase::Panoramam_pano
 
double m_initalWidth
 
double m_initalROIWidth
 
double m_aspect
 
GuiLevel m_guiLevel
 
wxSpinCtrl * m_edit_width
 
wxSpinCtrl * m_edit_height
 
std::vector< HuginBase::UIntSetm_stacks
 
std::vector< HuginBase::UIntSetm_exposureLayers
 

Detailed Description

Dialog for setting output parameters for simple user interface.

Definition at line 34 of file PanoOutputDialog.h.

Constructor & Destructor Documentation

PanoOutputDialog::PanoOutputDialog ( wxWindow *  parent,
HuginBase::Panorama pano,
GuiLevel  guiLevel 
)
PanoOutputDialog::~PanoOutputDialog ( )

destructor, save position

Definition at line 147 of file PanoOutputDialog.cpp.

Member Function Documentation

void PanoOutputDialog::EnableOutputOptions ( )
private
HuginBase::PanoramaOptions PanoOutputDialog::GetNewPanoramaOptions ( )
inline

Definition at line 41 of file PanoOutputDialog.h.

References m_newOpt.

Referenced by GLPreviewFrame::OnCreate().

void PanoOutputDialog::OnHDRFormatChanged ( wxCommandEvent &  e)
protected

HDR format changed.

Definition at line 369 of file PanoOutputDialog.cpp.

References m_newOpt, and HuginBase::PanoramaOptions::outputImageTypeHDR.

void PanoOutputDialog::OnHeightChanged ( wxSpinEvent &  e)
protected

height changed

Definition at line 397 of file PanoOutputDialog.cpp.

References m_aspect, m_edit_height, and m_edit_width.

void PanoOutputDialog::OnLDRFormatChanged ( wxCommandEvent &  e)
protected

LDR format changed.

Definition at line 338 of file PanoOutputDialog.cpp.

References m_newOpt, and HuginBase::PanoramaOptions::outputImageType.

void PanoOutputDialog::OnOk ( wxCommandEvent &  e)
protected
void PanoOutputDialog::OnOutputChanged ( wxCommandEvent &  e)
protected

enabled Ok button and LDR/HDR format settings depeding on selected output settings

Definition at line 318 of file PanoOutputDialog.cpp.

void PanoOutputDialog::OnWidthChanged ( wxSpinEvent &  e)
protected

width changed

Definition at line 389 of file PanoOutputDialog.cpp.

References m_aspect, m_edit_height, and m_edit_width.

Member Data Documentation

double PanoOutputDialog::m_aspect
private

Definition at line 63 of file PanoOutputDialog.h.

Referenced by OnHeightChanged(), and OnWidthChanged().

wxSpinCtrl* PanoOutputDialog::m_edit_height
private

Definition at line 67 of file PanoOutputDialog.h.

Referenced by OnHeightChanged(), OnOk(), and OnWidthChanged().

wxSpinCtrl* PanoOutputDialog::m_edit_width
private

Definition at line 66 of file PanoOutputDialog.h.

Referenced by OnHeightChanged(), OnOk(), and OnWidthChanged().

std::vector<HuginBase::UIntSet> PanoOutputDialog::m_exposureLayers
private

Definition at line 70 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions().

GuiLevel PanoOutputDialog::m_guiLevel
private

Definition at line 64 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions().

double PanoOutputDialog::m_initalROIWidth
private

Definition at line 62 of file PanoOutputDialog.h.

Referenced by OnOk().

double PanoOutputDialog::m_initalWidth
private

Definition at line 61 of file PanoOutputDialog.h.

Referenced by OnOk().

HuginBase::PanoramaOptions PanoOutputDialog::m_newOpt
private
HuginBase::Panorama& PanoOutputDialog::m_pano
private

Definition at line 60 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions().

std::vector<HuginBase::UIntSet> PanoOutputDialog::m_stacks
private

Definition at line 69 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions().


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