|
Hugintrunk
0.1
|
Dialog for setting output parameters for simple user interface. More...
#include <PanoOutputDialog.h>

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::Panorama & | m_pano |
| double | m_initalWidth |
| double | m_initalROIWidth |
| double | m_aspect |
| GuiLevel | m_guiLevel |
| wxSpinCtrl * | m_edit_width |
| wxSpinCtrl * | m_edit_height |
| std::vector< HuginBase::UIntSet > | m_stacks |
| std::vector< HuginBase::UIntSet > | m_exposureLayers |
Dialog for setting output parameters for simple user interface.
Definition at line 34 of file PanoOutputDialog.h.
| PanoOutputDialog::PanoOutputDialog | ( | wxWindow * | parent, |
| HuginBase::Panorama & | pano, | ||
| GuiLevel | guiLevel | ||
| ) |
Constructor, read from xrc ressource; restore last uses settings, size and position.
Definition at line 38 of file PanoOutputDialog.cpp.
References HuginBase::CalculateOptimalScale::calcOptimalScale(), EnableOutputOptions(), hugin_utils::floori(), HuginBase::Panorama::getActiveImages(), HuginBase::getExposureLayers(), HuginBase::getHDRStacks(), HuginBase::getImagesinROI(), HuginBase::Panorama::getOptions(), HUGIN_ASS_PANO_DOWNSIZE_FACTOR, HUGIN_JPEG_QUALITY, HUGIN_LDR_OUTPUT_FORMAT, HUGIN_TIFF_COMPRESSION, m_aspect, m_edit_height, m_edit_width, m_exposureLayers, m_guiLevel, m_initalROIWidth, m_initalWidth, m_newOpt, m_pano, m_stacks, OnHDRFormatChanged(), OnHeightChanged(), OnLDRFormatChanged(), OnOk(), OnOutputChanged(), OnWidthChanged(), hugin_utils::RestoreFramePositionOnly(), and hugin_utils::roundi().
| PanoOutputDialog::~PanoOutputDialog | ( | ) |
destructor, save position
Definition at line 130 of file PanoOutputDialog.cpp.
References hugin_utils::StoreFramePositionOnly().
|
private |
Definition at line 136 of file PanoOutputDialog.cpp.
References HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), GUI_SIMPLE, HUGIN_CONV_FILENAME, m_exposureLayers, m_guiLevel, m_pano, and m_stacks.
Referenced by PanoOutputDialog().
|
inline |
Definition at line 41 of file PanoOutputDialog.h.
References m_newOpt.
Referenced by GLPreviewFrame::OnCreate().
|
protected |
HDR format changed.
Definition at line 349 of file PanoOutputDialog.cpp.
References m_newOpt, and HuginBase::PanoramaOptions::outputImageTypeHDR.
Referenced by PanoOutputDialog().
|
protected |
height changed
Definition at line 377 of file PanoOutputDialog.cpp.
References m_aspect, m_edit_height, and m_edit_width.
Referenced by PanoOutputDialog().
|
protected |
LDR format changed.
Definition at line 318 of file PanoOutputDialog.cpp.
References m_newOpt, and HuginBase::PanoramaOptions::outputImageType.
Referenced by PanoOutputDialog().
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 199 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, hugin_utils::roundi(), HuginBase::PanoramaOptions::setROI(), HuginBase::PanoramaOptions::setWidth(), and HuginBase::PanoramaOptions::tiffCompression.
Referenced by PanoOutputDialog().
|
protected |
enabled Ok button and LDR/HDR format settings depeding on selected output settings
Definition at line 298 of file PanoOutputDialog.cpp.
Referenced by PanoOutputDialog().
|
protected |
width changed
Definition at line 369 of file PanoOutputDialog.cpp.
References m_aspect, m_edit_height, and m_edit_width.
Referenced by PanoOutputDialog().
|
private |
Definition at line 63 of file PanoOutputDialog.h.
Referenced by OnHeightChanged(), OnWidthChanged(), and PanoOutputDialog().
|
private |
Definition at line 67 of file PanoOutputDialog.h.
Referenced by OnHeightChanged(), OnOk(), OnWidthChanged(), and PanoOutputDialog().
|
private |
Definition at line 66 of file PanoOutputDialog.h.
Referenced by OnHeightChanged(), OnOk(), OnWidthChanged(), and PanoOutputDialog().
|
private |
Definition at line 70 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions(), and PanoOutputDialog().
|
private |
Definition at line 64 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions(), and PanoOutputDialog().
|
private |
Definition at line 62 of file PanoOutputDialog.h.
Referenced by OnOk(), and PanoOutputDialog().
|
private |
Definition at line 61 of file PanoOutputDialog.h.
Referenced by OnOk(), and PanoOutputDialog().
|
private |
Definition at line 59 of file PanoOutputDialog.h.
Referenced by GetNewPanoramaOptions(), OnHDRFormatChanged(), OnLDRFormatChanged(), OnOk(), and PanoOutputDialog().
|
private |
Definition at line 60 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions(), and PanoOutputDialog().
|
private |
Definition at line 69 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions(), and PanoOutputDialog().
1.8.5