PanoOutputDialog Class Reference

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

#include <PanoOutputDialog.h>

List of all members.

Public Member Functions

 PanoOutputDialog (wxWindow *parent, PT::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
PT::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::OnOutputChanged PanoOutputDialog::OnOutputChanged PanoOutputDialog::OnHDRFormatChanged PanoOutputDialog::OnHeightChanged PanoOutputDialog::PanoOutputDialog wxWindow *  parent,
PT::Panorama pano,
GuiLevel  guiLevel
 

Constructor, read from xrc ressource; restore last uses settings, size and position.

Definition at line 47 of file PanoOutputDialog.cpp.

References HuginBase::getExposureLayers(), HuginBase::getHDRStacks(), HUGIN_ASS_PANO_DOWNSIZE_FACTOR, HUGIN_JPEG_QUALITY, HUGIN_LDR_OUTPUT_FORMAT, and HUGIN_TIFF_COMPRESSION.

PanoOutputDialog::~PanoOutputDialog  ) 
 

destructor, save position

Definition at line 137 of file PanoOutputDialog.cpp.


Member Function Documentation

void PanoOutputDialog::EnableOutputOptions  )  [private]
 

Definition at line 146 of file PanoOutputDialog.cpp.

References HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), m_exposureLayers, m_guiLevel, m_pano, and m_stacks.

HuginBase::PanoramaOptions PanoOutputDialog::GetNewPanoramaOptions  )  [inline]
 

Definition at line 41 of file PanoOutputDialog.h.

Referenced by GLPreviewFrame::OnCreate().

void PanoOutputDialog::OnHDRFormatChanged wxCommandEvent &  e  )  [protected]
 

HDR format changed.

Definition at line 357 of file PanoOutputDialog.cpp.

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

void PanoOutputDialog::OnHeightChanged wxSpinEvent &  e  )  [protected]
 

height changed

Definition at line 385 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 326 of file PanoOutputDialog.cpp.

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

void PanoOutputDialog::OnOk wxCommandEvent &  e  )  [protected]
 

Saves current state of all checkboxes when closing dialog with Ok.

Definition at line 207 of file PanoOutputDialog.cpp.

References HuginBase::PanoramaOptions::getROI(), HuginBase::PanoramaOptions::getWidth(), m_edit_height, m_edit_width, m_initalROIWidth, m_initalWidth, m_newOpt, HuginBase::PanoramaOptions::outputHDRBlended, HuginBase::PanoramaOptions::outputHDRLayers, HuginBase::PanoramaOptions::outputHDRStacks, HuginBase::PanoramaOptions::outputImageType, HuginBase::PanoramaOptions::outputImageTypeCompression, HuginBase::PanoramaOptions::outputImageTypeHDR, HuginBase::PanoramaOptions::outputImageTypeHDRCompression, HuginBase::PanoramaOptions::outputLDRBlended, HuginBase::PanoramaOptions::outputLDRExposureBlended, HuginBase::PanoramaOptions::outputLDRExposureLayers, HuginBase::PanoramaOptions::outputLDRExposureLayersFused, HuginBase::PanoramaOptions::outputLDRExposureRemapped, HuginBase::PanoramaOptions::outputLDRLayers, HuginBase::PanoramaOptions::outputLDRStacks, HuginBase::PanoramaOptions::quality, HuginBase::PanoramaOptions::setROI(), HuginBase::PanoramaOptions::setWidth(), and HuginBase::PanoramaOptions::tiffCompression.

void PanoOutputDialog::OnOutputChanged wxCommandEvent &  e  )  [protected]
 

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

Definition at line 306 of file PanoOutputDialog.cpp.

void PanoOutputDialog::OnWidthChanged wxSpinEvent &  e  )  [protected]
 

width changed

Definition at line 377 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]
 

Definition at line 59 of file PanoOutputDialog.h.

Referenced by OnHDRFormatChanged(), OnLDRFormatChanged(), and OnOk().

PT::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:
Generated on Wed Jul 16 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1