Hugin trunk 0.1
Loading...
Searching...
No Matches
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.
 
 ~PanoOutputDialog ()
 destructor, save position
 
HuginBase::PanoramaOptions GetNewPanoramaOptions ()
 

Protected Member Functions

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

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
 
wxSpinCtrlm_edit_width
 
wxSpinCtrlm_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::PanoOutputDialog ( wxWindow *  parent,
HuginBase::Panorama pano,
GuiLevel  guiLevel 
)

◆ ~PanoOutputDialog()

PanoOutputDialog::~PanoOutputDialog ( )

destructor, save position

Definition at line 130 of file PanoOutputDialog.cpp.

References hugin_utils::StoreFramePositionOnly().

Member Function Documentation

◆ EnableOutputOptions()

void PanoOutputDialog::EnableOutputOptions ( )
private

◆ GetNewPanoramaOptions()

HuginBase::PanoramaOptions PanoOutputDialog::GetNewPanoramaOptions ( )
inline

Definition at line 41 of file PanoOutputDialog.h.

References m_newOpt.

◆ OnHDRFormatChanged()

void PanoOutputDialog::OnHDRFormatChanged ( wxCommandEvent &  e)
protected

HDR format changed.

Definition at line 349 of file PanoOutputDialog.cpp.

References m_newOpt, HuginBase::PanoramaOptions::outputImageTypeHDR, and threshold().

Referenced by PanoOutputDialog().

◆ OnHeightChanged()

void PanoOutputDialog::OnHeightChanged ( wxSpinEvent e)
protected

height changed

Definition at line 377 of file PanoOutputDialog.cpp.

References m_aspect, m_edit_height, and m_edit_width.

Referenced by PanoOutputDialog().

◆ OnLDRFormatChanged()

void PanoOutputDialog::OnLDRFormatChanged ( wxCommandEvent &  e)
protected

LDR format changed.

Definition at line 318 of file PanoOutputDialog.cpp.

References m_newOpt, HuginBase::PanoramaOptions::outputImageType, and threshold().

Referenced by PanoOutputDialog().

◆ OnOk()

void PanoOutputDialog::OnOk ( wxCommandEvent &  e)
protected

◆ OnOutputChanged()

void PanoOutputDialog::OnOutputChanged ( wxCommandEvent &  e)
protected

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

Definition at line 298 of file PanoOutputDialog.cpp.

References threshold().

Referenced by PanoOutputDialog().

◆ OnWidthChanged()

void PanoOutputDialog::OnWidthChanged ( wxSpinEvent e)
protected

width changed

Definition at line 369 of file PanoOutputDialog.cpp.

References m_aspect, m_edit_height, and m_edit_width.

Referenced by PanoOutputDialog().

Member Data Documentation

◆ m_aspect

double PanoOutputDialog::m_aspect
private

Definition at line 63 of file PanoOutputDialog.h.

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

◆ m_edit_height

wxSpinCtrl* PanoOutputDialog::m_edit_height
private

Definition at line 67 of file PanoOutputDialog.h.

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

◆ m_edit_width

wxSpinCtrl* PanoOutputDialog::m_edit_width
private

Definition at line 66 of file PanoOutputDialog.h.

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

◆ m_exposureLayers

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

Definition at line 70 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions(), and PanoOutputDialog().

◆ m_guiLevel

GuiLevel PanoOutputDialog::m_guiLevel
private

Definition at line 64 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions(), and PanoOutputDialog().

◆ m_initalROIWidth

double PanoOutputDialog::m_initalROIWidth
private

Definition at line 62 of file PanoOutputDialog.h.

Referenced by OnOk(), and PanoOutputDialog().

◆ m_initalWidth

double PanoOutputDialog::m_initalWidth
private

Definition at line 61 of file PanoOutputDialog.h.

Referenced by OnOk(), and PanoOutputDialog().

◆ m_newOpt

HuginBase::PanoramaOptions PanoOutputDialog::m_newOpt
private

◆ m_pano

HuginBase::Panorama& PanoOutputDialog::m_pano
private

Definition at line 60 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions(), and PanoOutputDialog().

◆ m_stacks

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

Definition at line 69 of file PanoOutputDialog.h.

Referenced by EnableOutputOptions(), and PanoOutputDialog().


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