Hugintrunk
0.1
|
Define the pano edit panel. More...
#include <PanoPanel.h>
Public Member Functions | |
PanoPanel () | |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel") |
void | Init (HuginBase::Panorama *pano) |
virtual | ~PanoPanel (void) |
virtual void | panoramaChanged (HuginBase::Panorama &pano) |
this is called whenever the panorama has changed. More... | |
virtual void | panoramaImagesChanged (HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr) |
notifies about changes to images More... | |
void | DoStitch (const wxString &userDefinedSetting=wxEmptyString, const bool readSetting=true) |
stitching using hugin_stitch_project More... | |
void | DoSendToBatch (const wxString &userDefinedSetting=wxEmptyString) |
stitching with PTBatcherGUI More... | |
void | DoUserDefinedStitch (const wxString &settings=wxString()) |
stitching with user defined file More... | |
void | DoStitchOrSendBatch (const wxString &userDefinedSetting=wxEmptyString) |
general stitching command, selects PTBatcherGUI or hugin_stitch_project depending on the settings in preferences More... | |
void | SetGuiLevel (GuiLevel newGuiLevel) |
![]() | |
virtual | ~PanoramaObserver () |
Private Types | |
enum | StitchingEngine { NONA =0, PTSTITCHER } |
the supported stitching engines More... | |
enum | StitchingPresets { PROFILE_CUSTOM =0, PROFILE_JPEG =0, PROFILE_DRAFT_JPEG, PROFILE_TIFF, PROFILE_LAYER_TIFF, PROFILE_LAYER_PSD } |
the supported defaults More... | |
Private Member Functions | |
bool | StackCheck (HuginBase::Panorama &pano) |
void | UpdateDisplay (const HuginBase::PanoramaOptions &opt, const bool hasStacks) |
void | SetStitcher (HuginBase::PanoramaOptions::Remapper stitcher) |
void | QuickModeChanged (wxCommandEvent &e) |
void | ApplyQuickMode (int preset) |
void | HFOVChanged (wxCommandEvent &e) |
void | HFOVChangedSpin (wxSpinEvent &e) |
void | VFOVChanged (wxCommandEvent &e) |
void | VFOVChangedSpin (wxSpinEvent &e) |
void | ProjectionChanged (wxCommandEvent &e) |
void | OnOutputFilesChanged (wxCommandEvent &e) |
void | RemapperChanged (wxCommandEvent &e) |
void | OnRemapperOptions (wxCommandEvent &e) |
void | FusionChanged (wxCommandEvent &e) |
void | OnFusionOptions (wxCommandEvent &e) |
void | HDRMergeChanged (wxCommandEvent &e) |
void | OnHDRMergeOptions (wxCommandEvent &e) |
void | BlenderChanged (wxCommandEvent &e) |
void | OnBlenderOptions (wxCommandEvent &e) |
void | OnEdgeFillChanged (wxCommandEvent &e) |
void | OnEdgeFillOptions (wxCommandEvent &e) |
void | FileFormatChanged (wxCommandEvent &e) |
void | HDRFileFormatChanged (wxCommandEvent &e) |
void | OnJPEGQualityText (wxCommandEvent &e) |
void | OnNormalTIFFCompression (wxCommandEvent &e) |
void | OnHDRTIFFCompression (wxCommandEvent &e) |
void | OnHDRFileFormatOpts (wxCommandEvent &e) |
void | WidthChanged (wxCommandEvent &e) |
void | HeightChanged (wxCommandEvent &e) |
void | ROIChanged (wxCommandEvent &e) |
void | DoCalcFOV (wxCommandEvent &e) |
void | OnDoStitch (wxCommandEvent &e) |
void | DoCalcOptimalWidth (wxCommandEvent &e) |
set the highest sensible width More... | |
void | DoCalcOptimalROI (wxCommandEvent &e) |
set the largest rectangle for crop ROI More... | |
void | EnableControls (bool enable) |
enable/disable control influenced by quick mode More... | |
bool | CheckGoodSize () |
Check the canvas size isn't overly huge, or the user knows what they are doing. More... | |
bool | CheckHasImages () |
check if the output contains images at all More... | |
bool | CheckFreeSpace (const wxString &folder) |
check if there is enough free disk space More... | |
Private Attributes | |
HuginBase::Panorama * | pano |
GuiLevel | m_guiLevel |
bool | updatesDisabled |
HuginBase::PanoramaOptions | m_oldOpt |
double | m_oldVFOV |
bool | m_keepViewOnResize |
bool | m_hasStacks |
wxChoice * | m_ProjectionChoice |
wxTextCtrl * | m_HFOVText |
wxTextCtrl * | m_VFOVText |
wxTextCtrl * | m_WidthTxt |
wxTextCtrl * | m_HeightTxt |
wxTextCtrl * | m_ROILeftTxt |
wxTextCtrl * | m_ROIRightTxt |
wxTextCtrl * | m_ROITopTxt |
wxTextCtrl * | m_ROIBottomTxt |
wxChoice * | m_RemapperChoice |
wxChoice * | m_FusionChoice |
wxChoice * | m_HDRMergeChoice |
wxChoice * | m_BlenderChoice |
wxChoice * | m_edgeFillChoice |
wxButton * | m_StitchButton |
wxButton * | m_CalcHFOVButton |
wxButton * | m_CalcOptWidthButton |
wxButton * | m_CalcOptROIButton |
wxChoice * | m_FileFormatChoice |
wxStaticText * | m_FileFormatOptionsLabel |
wxTextCtrl * | m_FileFormatJPEGQualityText |
wxChoice * | m_FileFormatTIFFCompChoice |
wxChoice * | m_HDRFileFormatChoice |
wxStaticText * | m_HDRFileFormatLabelTIFFCompression |
wxChoice * | m_FileFormatHDRTIFFCompChoice |
wxScrolledWindow * | m_pano_ctrls |
Define the pano edit panel.
Definition at line 43 of file PanoPanel.h.
|
private |
the supported stitching engines
Enumerator | |
---|---|
NONA | |
PTSTITCHER |
Definition at line 89 of file PanoPanel.h.
|
private |
the supported defaults
Enumerator | |
---|---|
PROFILE_CUSTOM | |
PROFILE_JPEG | |
PROFILE_DRAFT_JPEG | |
PROFILE_TIFF | |
PROFILE_LAYER_TIFF | |
PROFILE_LAYER_PSD |
Definition at line 92 of file PanoPanel.h.
PanoPanel::PanoPanel | ( | ) |
Definition at line 66 of file PanoPanel.cpp.
|
virtual |
Definition at line 258 of file PanoPanel.cpp.
References DEBUG_TRACE, m_FileFormatJPEGQualityText, m_HeightTxt, m_HFOVText, m_RemapperChoice, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_VFOVText, m_WidthTxt, pano, and HuginBase::Panorama::removeObserver().
|
private |
|
private |
Definition at line 853 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::PanoramaOptions::blendMode, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), GetSelectedValue(), m_BlenderChoice, and pano.
Referenced by Create().
|
private |
check if there is enough free disk space
Definition at line 1630 of file PanoPanel.cpp.
References MainFrame::Get(), hugin_utils::GetMessageDialog(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), pano, and MainFrame::ShowStitcherTab().
Referenced by DoSendToBatch(), and DoStitch().
|
private |
Check the canvas size isn't overly huge, or the user knows what they are doing.
The canvas size can become too big if, for example, the field of view is more than 180 degrees, then you select rectilinear proection, then press "Calculate optimal size", or stitch a wide stereographic image using the assistant tab. If the canvas size is unreasonable, this function will display a warning. The user has the option to continue.
Definition at line 1559 of file PanoPanel.cpp.
References MainFrame::Get(), hugin_utils::GetMessageDialog(), HuginBase::Panorama::getOptions(), hugin_utils::HuginMessageBox(), pano, and MainFrame::ShowStitcherTab().
Referenced by DoSendToBatch(), DoStitch(), and DoUserDefinedStitch().
|
private |
check if the output contains images at all
Definition at line 1619 of file PanoPanel.cpp.
References HuginBase::Panorama::getActiveImages(), HuginBase::getImagesinROI(), hugin_utils::HuginMessageBox(), and pano.
Referenced by DoSendToBatch(), DoStitch(), and DoUserDefinedStitch().
bool PanoPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = "panel" |
||
) |
Definition at line 72 of file PanoPanel.cpp.
References BlenderChanged(), DEBUG_ASSERT, DoCalcFOV(), DoCalcOptimalROI(), DoCalcOptimalWidth(), FileFormatChanged(), FillBlenderList(), FusionChanged(), HDRFileFormatChanged(), HDRMergeChanged(), HeightChanged(), HFOVChanged(), m_BlenderChoice, m_CalcHFOVButton, m_CalcOptROIButton, m_CalcOptWidthButton, m_edgeFillChoice, m_FileFormatChoice, m_FileFormatHDRTIFFCompChoice, m_FileFormatJPEGQualityText, m_FileFormatOptionsLabel, m_FileFormatTIFFCompChoice, m_FusionChoice, m_hasStacks, m_HDRFileFormatChoice, m_HDRFileFormatLabelTIFFCompression, m_HDRMergeChoice, m_HeightTxt, m_HFOVText, m_keepViewOnResize, m_pano_ctrls, m_ProjectionChoice, m_RemapperChoice, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_StitchButton, m_VFOVText, m_WidthTxt, OnBlenderOptions(), OnDoStitch(), OnEdgeFillChanged(), OnEdgeFillOptions(), OnFusionOptions(), OnHDRMergeOptions(), OnHDRTIFFCompression(), OnJPEGQualityText(), OnNormalTIFFCompression(), OnOutputFilesChanged(), OnRemapperOptions(), ProjectionChanged(), RemapperChanged(), ROIChanged(), VFOVChanged(), and WidthChanged().
|
private |
Definition at line 1000 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, DEBUG_TRACE, HuginBase::Panorama::getActiveImages(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaOptions::getHFOV(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::CalculateFitPanorama::getResultHeight(), HuginBase::CalculateFitPanorama::getResultHorizontalFOV(), HuginBase::PanoramaOptions::getVFOV(), HuginBase::PanoramaOptions::getWidth(), pano, hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::PanoramaOptions::setHeight(), and HuginBase::PanoramaOptions::setHFOV().
Referenced by Create().
|
private |
set the largest rectangle for crop ROI
Definition at line 1045 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::CalculateOptimalROI::getResultOptimalROI(), HuginBase::PanoramaAlgorithm::hasRunSuccessfully(), pano, HuginBase::PanoramaAlgorithm::run(), and HuginBase::PanoramaOptions::setROI().
Referenced by Create().
|
private |
set the highest sensible width
Definition at line 1022 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::CalculateOptimalScale::calcOptimalScale(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getWidth(), HUGIN_ASS_PANO_DOWNSIZE_FACTOR, pano, hugin_utils::roundi(), and HuginBase::PanoramaOptions::setWidth().
Referenced by Create().
void PanoPanel::DoSendToBatch | ( | const wxString & | userDefinedSetting = wxEmptyString | ) |
stitching with PTBatcherGUI
Definition at line 1196 of file PanoPanel.cpp.
References CheckFreeSpace(), CheckGoodSize(), CheckHasImages(), containsInvalidCharacters(), hugin_utils::FileExists(), MainFrame::Get(), getDefaultOutputName(), HuginBase::Panorama::getNrOfImages(), MainFrame::getProjectName(), HUGIN_PROCESSOR_OVERWRITE, HUGIN_PROCESSOR_START, HUGIN_PROCESSOR_VERBOSE, hugin_utils::HuginMessageBox(), HuginBase::Panorama::isDirty(), MainFrame::OnSaveProject(), pano, HuginBase::LensDB::SaveLensDataFromPano(), ShowFilenameWarning(), hugin_utils::wxQuoteFilename(), and hugin_utils::wxQuoteString().
Referenced by DoStitchOrSendBatch().
void PanoPanel::DoStitch | ( | const wxString & | userDefinedSetting = wxEmptyString , |
const bool | readSetting = true |
||
) |
stitching using hugin_stitch_project
Definition at line 1075 of file PanoPanel.cpp.
References CheckFreeSpace(), CheckGoodSize(), CheckHasImages(), containsInvalidCharacters(), DEBUG_DEBUG, DEBUG_ERROR, MainFrame::Get(), getDefaultOutputName(), HuginBase::Panorama::getNrOfImages(), HUGIN_CONV_FILENAME, HUGIN_PROCESSOR_OVERWRITE, hugin_utils::HuginMessageBox(), pano, HuginBase::LensDB::SaveLensDataFromPano(), ShowFilenameWarning(), HuginBase::Panorama::WritePTOFile(), and hugin_utils::wxQuoteFilename().
Referenced by DoStitchOrSendBatch().
void PanoPanel::DoStitchOrSendBatch | ( | const wxString & | userDefinedSetting = wxEmptyString | ) |
general stitching command, selects PTBatcherGUI or hugin_stitch_project depending on the settings in preferences
Definition at line 1378 of file PanoPanel.cpp.
References DoSendToBatch(), DoStitch(), and HUGIN_PROCESSOR_GUI.
Referenced by DoUserDefinedStitch(), and OnDoStitch().
void PanoPanel::DoUserDefinedStitch | ( | const wxString & | settings = wxString() | ) |
stitching with user defined file
Definition at line 1331 of file PanoPanel.cpp.
References CheckGoodSize(), CheckHasImages(), DoStitchOrSendBatch(), MainFrame::Get(), GetDataPath(), HuginBase::Panorama::getNrOfImages(), hugin_utils::HuginMessageBox(), and pano.
Referenced by MainFrame::OnUserDefinedStitch(), and MainFrame::OnUserDefinedStitchSaved().
|
private |
enable/disable control influenced by quick mode
Definition at line 797 of file PanoPanel.cpp.
References m_BlenderChoice, m_RemapperChoice, and m_WidthTxt.
|
private |
Definition at line 1413 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_FileFormatChoice, HuginBase::PanoramaOptions::outputImageType, and pano.
Referenced by Create().
|
private |
Definition at line 949 of file PanoPanel.cpp.
References DEBUG_DEBUG, and m_FusionChoice.
Referenced by Create().
|
private |
Definition at line 1441 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_HDRFileFormatChoice, HuginBase::PanoramaOptions::outputImageTypeHDR, and pano.
Referenced by Create().
|
private |
Definition at line 974 of file PanoPanel.cpp.
References DEBUG_DEBUG, and m_HDRMergeChoice.
Referenced by Create().
|
private |
Definition at line 738 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_HeightTxt, pano, HuginBase::PanoramaOptions::setHeight(), and updatesDisabled.
Referenced by Create().
|
private |
Definition at line 637 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxHFOV(), HuginBase::Panorama::getOptions(), m_HFOVText, pano, HuginBase::PanoramaOptions::setHFOV(), hugin_utils::str2double(), and updatesDisabled.
Referenced by Create().
|
private |
void PanoPanel::Init | ( | HuginBase::Panorama * | pano | ) |
Definition at line 250 of file PanoPanel.cpp.
References HuginBase::Panorama::addObserver(), pano, and panoramaChanged().
Referenced by MainFrame::MainFrame().
|
private |
Definition at line 863 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::PanoramaOptions::blendMode, MainFrame::DisplayHelp(), HuginBase::PanoramaOptions::ENBLEND_BLEND, HuginBase::PanoramaOptions::enblendOptions, MainFrame::Get(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::INTERNAL_BLEND, pano, and HuginBase::PanoramaOptions::verdandiOptions.
Referenced by Create().
|
private |
Definition at line 1408 of file PanoPanel.cpp.
References DoStitchOrSendBatch().
Referenced by Create().
|
private |
Definition at line 918 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::PanoramaOptions::edgeFillMode, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), and pano.
Referenced by Create().
|
private |
Definition at line 933 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::keepEdgeFillInput, and pano.
Referenced by Create().
|
private |
Definition at line 955 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), MainFrame::DisplayHelp(), HuginBase::PanoramaOptions::enfuseOptions, MainFrame::Get(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), and pano.
Referenced by Create().
|
private |
|
private |
Definition at line 980 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), HDRMergeOptionsDialog::GetCommandLineArgument(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::HDRMERGE_AVERAGE, HuginBase::PanoramaOptions::hdrMergeMode, HuginBase::PanoramaOptions::hdrmergeOptions, pano, and HDRMergeOptionsDialog::SetCommandLineArgument().
Referenced by Create().
|
private |
Definition at line 1504 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::outputImageTypeHDRCompression, and pano.
Referenced by Create().
|
private |
Definition at line 1463 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_FileFormatJPEGQualityText, pano, and HuginBase::PanoramaOptions::quality.
Referenced by Create().
|
private |
Definition at line 1477 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::outputImageTypeCompression, pano, and HuginBase::PanoramaOptions::tiffCompression.
Referenced by Create().
|
private |
Definition at line 1527 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::outputHDRBlended, HuginBase::PanoramaOptions::outputHDRLayers, HuginBase::PanoramaOptions::outputHDRStacks, HuginBase::PanoramaOptions::outputLDRBlended, HuginBase::PanoramaOptions::outputLDRExposureBlended, HuginBase::PanoramaOptions::outputLDRExposureLayers, HuginBase::PanoramaOptions::outputLDRExposureLayersFused, HuginBase::PanoramaOptions::outputLDRExposureRemapped, HuginBase::PanoramaOptions::outputLDRLayers, HuginBase::PanoramaOptions::outputLDRStacks, and pano.
Referenced by Create().
|
private |
Definition at line 826 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::interpolator, HuginBase::PanoramaOptions::NONA, pano, HuginBase::PanoramaOptions::remapper, and HuginBase::PanoramaOptions::tiff_saveROI.
Referenced by Create().
|
virtual |
this is called whenever the panorama has changed.
This function must now update all the gui representations of the panorama to display the new state.
Functions that change the panororama must not update the GUI directly. The GUI should always be updated to reflect the current panorama state in this function.
This avoids unnessecary close coupling between the controller and the view (even if they sometimes are in the same object). See model view controller pattern.
Implements HuginBase::PanoramaObserver.
Definition at line 278 of file PanoPanel.cpp.
References DEBUG_TRACE, HuginBase::Panorama::getOptions(), m_oldOpt, StackCheck(), and UpdateDisplay().
Referenced by Init(), and MainFrame::MainFrame().
|
inlinevirtual |
notifies about changes to images
Images might have been added/removed. to find out how many images are still there, use Panorama::getNrOfImages.
pano | the panorama object that changed |
changed | set of changed images |
Implements HuginBase::PanoramaObserver.
Definition at line 72 of file PanoPanel.h.
|
private |
Definition at line 620 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_ProjectionChoice, pano, HuginBase::PanoramaOptions::setProjection(), and updatesDisabled.
Referenced by Create().
|
private |
|
private |
Definition at line 809 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_RemapperChoice, HuginBase::PanoramaOptions::NONA, pano, HuginBase::PanoramaOptions::PTMENDER, and HuginBase::PanoramaOptions::remapper.
Referenced by Create().
|
private |
Definition at line 755 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, pano, HuginBase::PanoramaOptions::setROI(), UpdateDisplay(), and updatesDisabled.
Referenced by Create().
void PanoPanel::SetGuiLevel | ( | GuiLevel | newGuiLevel | ) |
Definition at line 1657 of file PanoPanel.cpp.
References m_guiLevel, m_oldOpt, and UpdateDisplay().
Referenced by MainFrame::SetGuiLevel().
|
private |
|
private |
Definition at line 297 of file PanoPanel.cpp.
References DEBUG_DEBUG, DEBUG_TRACE, HuginBase::Panorama::getActiveImages(), HuginBase::getHDRStacks(), HuginBase::getImagesinROI(), HuginBase::Panorama::getOptions(), m_hasStacks, HuginBase::PanoramaOptions::outputHDRBlended, HuginBase::PanoramaOptions::outputHDRLayers, HuginBase::PanoramaOptions::outputHDRStacks, HuginBase::PanoramaOptions::outputLDRBlended, HuginBase::PanoramaOptions::outputLDRExposureBlended, HuginBase::PanoramaOptions::outputLDRExposureLayers, HuginBase::PanoramaOptions::outputLDRExposureRemapped, HuginBase::PanoramaOptions::outputLDRLayers, and HuginBase::Panorama::setOptions().
Referenced by panoramaChanged().
|
private |
Definition at line 347 of file PanoPanel.cpp.
References HuginBase::PanoramaOptions::blendMode, hugin_utils::doubleToString(), HuginBase::PanoramaOptions::edgeFillMode, hugin_utils::floori(), HuginBase::PanoramaOptions::fovCalcSupported(), hugin_utils::gcd(), HuginBase::Panorama::getActiveImages(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::getROI(), HuginBase::PanoramaOptions::getVFOV(), HuginBase::PanoramaOptions::getWidth(), GUI_SIMPLE, m_BlenderChoice, m_CalcHFOVButton, m_CalcOptROIButton, m_CalcOptWidthButton, m_edgeFillChoice, m_FileFormatChoice, m_FileFormatHDRTIFFCompChoice, m_FileFormatJPEGQualityText, m_FileFormatOptionsLabel, m_FileFormatTIFFCompChoice, m_FusionChoice, m_guiLevel, m_HDRFileFormatChoice, m_HDRFileFormatLabelTIFFCompression, m_HDRMergeChoice, m_HeightTxt, m_HFOVText, m_keepViewOnResize, m_pano_ctrls, m_ProjectionChoice, m_RemapperChoice, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_StitchButton, m_VFOVText, m_WidthTxt, celeste::max(), 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, pano, vigra_ext::pow(), HuginBase::PanoramaOptions::quality, and SelectListValue().
Referenced by panoramaChanged(), ROIChanged(), and SetGuiLevel().
|
private |
Definition at line 669 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxVFOV(), HuginBase::Panorama::getOptions(), m_VFOVText, pano, HuginBase::PanoramaOptions::setVFOV(), hugin_utils::str2double(), and updatesDisabled.
Referenced by Create().
|
private |
|
private |
Definition at line 721 of file PanoPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_keepViewOnResize, m_WidthTxt, pano, HuginBase::PanoramaOptions::setWidth(), and updatesDisabled.
Referenced by Create().
|
private |
Definition at line 203 of file PanoPanel.h.
Referenced by BlenderChanged(), Create(), EnableControls(), and UpdateDisplay().
|
private |
Definition at line 206 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 208 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 207 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 204 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 210 of file PanoPanel.h.
Referenced by Create(), FileFormatChanged(), and UpdateDisplay().
|
private |
Definition at line 217 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 212 of file PanoPanel.h.
Referenced by Create(), OnJPEGQualityText(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 211 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 213 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 201 of file PanoPanel.h.
Referenced by Create(), FusionChanged(), and UpdateDisplay().
|
private |
Definition at line 177 of file PanoPanel.h.
Referenced by SetGuiLevel(), and UpdateDisplay().
|
private |
Definition at line 187 of file PanoPanel.h.
Referenced by Create(), and StackCheck().
|
private |
Definition at line 215 of file PanoPanel.h.
Referenced by Create(), HDRFileFormatChanged(), and UpdateDisplay().
|
private |
Definition at line 216 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 202 of file PanoPanel.h.
Referenced by Create(), HDRMergeChanged(), and UpdateDisplay().
|
private |
Definition at line 195 of file PanoPanel.h.
Referenced by Create(), HeightChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 191 of file PanoPanel.h.
Referenced by Create(), HFOVChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 186 of file PanoPanel.h.
Referenced by Create(), UpdateDisplay(), and WidthChanged().
|
private |
Definition at line 183 of file PanoPanel.h.
Referenced by panoramaChanged(), and SetGuiLevel().
|
private |
Definition at line 184 of file PanoPanel.h.
|
private |
Definition at line 219 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 190 of file PanoPanel.h.
Referenced by Create(), ProjectionChanged(), and UpdateDisplay().
|
private |
Definition at line 200 of file PanoPanel.h.
Referenced by Create(), EnableControls(), RemapperChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 199 of file PanoPanel.h.
Referenced by Create(), ROIChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 196 of file PanoPanel.h.
Referenced by Create(), ROIChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 197 of file PanoPanel.h.
Referenced by Create(), ROIChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 198 of file PanoPanel.h.
Referenced by Create(), ROIChanged(), UpdateDisplay(), and ~PanoPanel().
|
private |
Definition at line 205 of file PanoPanel.h.
Referenced by Create(), and UpdateDisplay().
|
private |
Definition at line 192 of file PanoPanel.h.
Referenced by Create(), UpdateDisplay(), VFOVChanged(), and ~PanoPanel().
|
private |
Definition at line 194 of file PanoPanel.h.
Referenced by Create(), EnableControls(), UpdateDisplay(), WidthChanged(), and ~PanoPanel().
|
private |
Definition at line 175 of file PanoPanel.h.
Referenced by BlenderChanged(), CheckFreeSpace(), CheckGoodSize(), CheckHasImages(), DoCalcFOV(), DoCalcOptimalROI(), DoCalcOptimalWidth(), DoSendToBatch(), DoStitch(), DoUserDefinedStitch(), FileFormatChanged(), HDRFileFormatChanged(), HeightChanged(), HFOVChanged(), Init(), OnBlenderOptions(), OnEdgeFillChanged(), OnEdgeFillOptions(), OnFusionOptions(), OnHDRMergeOptions(), OnHDRTIFFCompression(), OnJPEGQualityText(), OnNormalTIFFCompression(), OnOutputFilesChanged(), OnRemapperOptions(), ProjectionChanged(), RemapperChanged(), ROIChanged(), UpdateDisplay(), VFOVChanged(), WidthChanged(), and ~PanoPanel().
|
private |
Definition at line 182 of file PanoPanel.h.
Referenced by HeightChanged(), HFOVChanged(), ProjectionChanged(), ROIChanged(), VFOVChanged(), and WidthChanged().