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 49 of file PanoOutputDialog.cpp.
References HuginBase::CalculateOptimalScale::calcOptimalScale(), hugin_utils::floori(), huginApp::Get(), HuginBase::getExposureLayers(), HuginBase::getHDRStacks(), HuginBase::getImagesinROI(), HUGIN_ASS_PANO_DOWNSIZE_FACTOR, HUGIN_JPEG_QUALITY, HUGIN_LDR_OUTPUT_FORMAT, HUGIN_TIFF_COMPRESSION, and hugin_utils::roundi().
PanoOutputDialog::~PanoOutputDialog | ( | ) |
destructor, save position
Definition at line 147 of file PanoOutputDialog.cpp.
|
private |
Definition at line 156 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.
|
inline |
Definition at line 41 of file PanoOutputDialog.h.
References m_newOpt.
Referenced by GLPreviewFrame::OnCreate().
|
protected |
HDR format changed.
Definition at line 369 of file PanoOutputDialog.cpp.
References m_newOpt, and HuginBase::PanoramaOptions::outputImageTypeHDR.
|
protected |
height changed
Definition at line 397 of file PanoOutputDialog.cpp.
References m_aspect, m_edit_height, and m_edit_width.
|
protected |
LDR format changed.
Definition at line 338 of file PanoOutputDialog.cpp.
References m_newOpt, and HuginBase::PanoramaOptions::outputImageType.
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 219 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.
|
protected |
enabled Ok button and LDR/HDR format settings depeding on selected output settings
Definition at line 318 of file PanoOutputDialog.cpp.
|
protected |
width changed
Definition at line 389 of file PanoOutputDialog.cpp.
References m_aspect, m_edit_height, and m_edit_width.
|
private |
Definition at line 63 of file PanoOutputDialog.h.
Referenced by OnHeightChanged(), and OnWidthChanged().
|
private |
Definition at line 67 of file PanoOutputDialog.h.
Referenced by OnHeightChanged(), OnOk(), and OnWidthChanged().
|
private |
Definition at line 66 of file PanoOutputDialog.h.
Referenced by OnHeightChanged(), OnOk(), and OnWidthChanged().
|
private |
Definition at line 70 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions().
|
private |
Definition at line 64 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions().
|
private |
Definition at line 62 of file PanoOutputDialog.h.
Referenced by OnOk().
|
private |
Definition at line 61 of file PanoOutputDialog.h.
Referenced by OnOk().
|
private |
Definition at line 59 of file PanoOutputDialog.h.
Referenced by GetNewPanoramaOptions(), OnHDRFormatChanged(), OnLDRFormatChanged(), and OnOk().
|
private |
Definition at line 60 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions().
|
private |
Definition at line 69 of file PanoOutputDialog.h.
Referenced by EnableOutputOptions().