#include <PreviewFrame.h>
Inheritance diagram for PreviewFrame:

Public Member Functions | |
| PreviewFrame (wxFrame *frame, PT::Panorama &pano) | |
| ctor. | |
| virtual | ~PreviewFrame () |
| dtor. | |
| void | panoramaChanged (PT::Panorama &pano) |
| void | panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &changed) |
| void | OnUpdate (wxCommandEvent &event) |
| void | updateProgressDisplay () |
| update the display | |
Protected Member Functions | |
| void | OnClose (wxCloseEvent &e) |
| void | OnChangeDisplayedImgs (wxCommandEvent &e) |
| void | OnAutoPreviewToggle (wxCommandEvent &e) |
| void | OnCenterHorizontally (wxCommandEvent &e) |
| void | OnFitPano (wxCommandEvent &e) |
| void | OnStraighten (wxCommandEvent &e) |
| void | OnShowAll (wxCommandEvent &e) |
| void | OnShowNone (wxCommandEvent &e) |
| void | OnNumTransform (wxCommandEvent &e) |
| void | OnChangeFOV (wxScrollEvent &e) |
| void | OnTextCtrlChanged (wxCommandEvent &e) |
| void | OnDefaultExposure (wxCommandEvent &e) |
| void | OnDecreaseExposure (wxSpinEvent &e) |
| void | OnIncreaseExposure (wxSpinEvent &e) |
| void | OnProjParameterReset (wxCommandEvent &e) |
| event handler for reset projection parameters | |
| void | OnBlendChoice (wxCommandEvent &e) |
| void | OnProjectionChoice (wxCommandEvent &e) |
| void | OnOutputChoice (wxCommandEvent &e) |
| void | OnFullScreen (wxCommandEvent &e) |
| event handler for full screen | |
| void | OnUndo (wxCommandEvent &e) |
| event handler for undo | |
| void | OnRedo (wxCommandEvent &e) |
| event handler for redo | |
| void | updatePano () |
Private Attributes | |
| PT::Panorama & | m_pano |
| PreviewPanel * | m_PreviewPanel |
| wxToolBar * | m_ToolBar |
| wxSlider * | m_HFOVSlider |
| wxSlider * | m_VFOVSlider |
| wxChoice * | m_BlendModeChoice |
| wxChoice * | m_ProjectionChoice |
| wxChoice * | m_outputModeChoice |
| wxTextCtrl * | m_exposureTextCtrl |
| wxBitmapButton * | m_defaultExposureBut |
| wxSpinButton * | m_exposureSpinBut |
| wxString | m_choices [3] |
| int | m_oldProjFormat |
| wxScrolledWindow * | m_ButtonPanel |
| wxBoxSizer * | m_ButtonSizer |
| wxStaticBoxSizer * | m_ToggleButtonSizer |
| wxBoxSizer * | m_topsizer |
| wxStaticBoxSizer * | m_projParamSizer |
| std::vector< wxStaticText * > | m_projParamNamesLabel |
| std::vector< wxTextCtrl * > | m_projParamTextCtrl |
| std::vector< wxSlider * > | m_projParamSlider |
| std::vector< wxCheckBox * > | m_ToggleButtons |
Contains the ImagePreviewPanel and various controls for it.
it is not created with XRC, because it is highly dynamic, buttons have to be added etc.
Definition at line 40 of file PreviewFrame.h.
|
||||||||||||
|
ctor.
Definition at line 119 of file PreviewFrame.cpp. References DEBUG_ASSERT, DEBUG_TRACE, ID_BLEND_CHOICE, ID_EXPOSURE_DEFAULT, ID_EXPOSURE_SPIN, ID_EXPOSURE_TEXT, ID_FULL_SCREEN, ID_OUTPUTMODE_CHOICE, ID_PROJECTION_CHOICE, ID_REDO, ID_UNDO, PROJ_PARAM_NAMES_ID, PROJ_PARAM_RESET_ID, PROJ_PARAM_SLIDER_ID, PROJ_PARAM_VAL_ID, and RestoreFramePosition(). |
|
|
dtor.
Definition at line 396 of file PreviewFrame.cpp. References DEBUG_TRACE, m_BlendModeChoice, m_pano, m_projParamTextCtrl, m_ToolBar, HuginBase::Panorama::removeObserver(), and StoreFramePosition(). |
|
|
Definition at line 613 of file PreviewFrame.cpp. References PreviewPanel::ForceUpdate(), m_PreviewPanel, and PreviewPanel::SetAutoUpdate(). |
|
|
Definition at line 841 of file PreviewFrame.cpp. References DEBUG_WARN, m_PreviewPanel, and PreviewPanel::SetBlendMode(). |
|
|
Definition at line 643 of file PreviewFrame.cpp. References CommandHistory::addCommand(), HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), and m_pano. |
|
|
Definition at line 421 of file PreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_DEBUG, DEBUG_ERROR, HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, and m_ToggleButtons. |
|
|
|
Definition at line 599 of file PreviewFrame.cpp. References DEBUG_DEBUG, and DEBUG_TRACE. |
|
|
Definition at line 883 of file PreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, HuginBase::PanoramaOptions::outputExposureValue, and updatePano(). |
|
|
Definition at line 861 of file PreviewFrame.cpp. References CommandHistory::addCommand(), PT::calcMeanExposure(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), m_pano, HuginBase::PanoramaOptions::outputExposureValue, and updatePano(). |
|
|
|
event handler for full screen
Definition at line 967 of file PreviewFrame.cpp. References PreviewPanel::ForceUpdate(), and m_PreviewPanel. |
|
|
Definition at line 873 of file PreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, HuginBase::PanoramaOptions::outputExposureValue, and updatePano(). |
|
|
Definition at line 723 of file PreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_DEBUG, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, str2double(), and updatePano(). |
|
|
Definition at line 911 of file PreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_WARN, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_outputModeChoice, m_pano, HuginBase::PanoramaOptions::outputMode, and updatePano(). |
|
|
Definition at line 893 of file PreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_DEBUG, DEBUG_WARN, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_ProjectionChoice, HuginBase::PanoramaOptions::setProjection(), and updatePano(). |
|
|
event handler for reset projection parameters
Definition at line 801 of file PreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::resetProjectionParameters(). |
|
|
event handler for redo
Definition at line 990 of file PreviewFrame.cpp. References CommandHistory::canRedo(), and GlobalCmdHist::getInstance(). |
|
|
Definition at line 693 of file PreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_ASSERT, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, m_ToggleButtons, and updatePano(). |
|
|
Definition at line 708 of file PreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_ASSERT, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, m_ToggleButtons, and updatePano(). |
|
|
Definition at line 652 of file PreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), and m_pano. |
|
|
|
event handler for undo
Definition at line 977 of file PreviewFrame.cpp. References CommandHistory::canUndo(), and GlobalCmdHist::getInstance(). |
|
|
Definition at line 661 of file PreviewFrame.cpp. References PreviewPanel::ForceUpdate(), and m_PreviewPanel. Referenced by MainFrame::LoadProjectFile(), MainFrame::OnMergeProject(), MainFrame::OnNewProject(), and MainFrame::OnTogglePreviewFrame(). |
|
|
||||||||||||
|
Definition at line 526 of file PreviewFrame.cpp. References DEBUG_INFO, DEBUG_TRACE, HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), ID_TOGGLE_BUT, m_ButtonPanel, m_ButtonSizer, m_pano, m_ToggleButtons, set_contains(), and updatePano(). |
|
|
Definition at line 666 of file PreviewFrame.cpp. References PreviewPanel::ForceUpdate(), m_PreviewPanel, and m_ToolBar. Referenced by OnDecreaseExposure(), OnDefaultExposure(), OnFitPano(), OnIncreaseExposure(), OnNumTransform(), OnOutputChoice(), OnProjectionChoice(), OnShowAll(), OnShowNone(), OnTextCtrlChanged(), panoramaChanged(), and panoramaImagesChanged(). |
|
|
update the display
Reimplemented from AppBase::MultiProgressDisplay. Definition at line 929 of file PreviewFrame.cpp. |
|
|
Definition at line 97 of file PreviewFrame.h. Referenced by ~PreviewFrame(). |
|
|
Definition at line 110 of file PreviewFrame.h. Referenced by panoramaImagesChanged(). |
|
|
Definition at line 111 of file PreviewFrame.h. Referenced by panoramaImagesChanged(). |
|
|
Definition at line 104 of file PreviewFrame.h. |
|
|
Definition at line 101 of file PreviewFrame.h. |
|
|
Definition at line 102 of file PreviewFrame.h. |
|
|
Definition at line 100 of file PreviewFrame.h. Referenced by OnTextCtrlChanged(), and panoramaChanged(). |
|
|
Definition at line 95 of file PreviewFrame.h. Referenced by OnChangeFOV(), and panoramaChanged(). |
|
|
Definition at line 105 of file PreviewFrame.h. Referenced by panoramaChanged(). |
|
|
Definition at line 99 of file PreviewFrame.h. Referenced by OnOutputChoice(), and panoramaChanged(). |
|
|
Definition at line 91 of file PreviewFrame.h. Referenced by OnCenterHorizontally(), OnChangeDisplayedImgs(), OnChangeFOV(), OnDecreaseExposure(), OnDefaultExposure(), OnFitPano(), OnIncreaseExposure(), OnNumTransform(), OnOutputChoice(), OnProjectionChoice(), OnProjParameterReset(), OnShowAll(), OnShowNone(), OnStraighten(), OnTextCtrlChanged(), panoramaImagesChanged(), and ~PreviewFrame(). |
|
|
Definition at line 93 of file PreviewFrame.h. Referenced by OnAutoPreviewToggle(), OnBlendChoice(), OnFullScreen(), OnUpdate(), and updatePano(). |
|
|
Definition at line 98 of file PreviewFrame.h. Referenced by OnProjectionChoice(), and panoramaChanged(). |
|
|
Definition at line 116 of file PreviewFrame.h. Referenced by panoramaChanged(). |
|
|
Definition at line 115 of file PreviewFrame.h. Referenced by panoramaChanged(). |
|
|
Definition at line 118 of file PreviewFrame.h. Referenced by OnChangeFOV(), and panoramaChanged(). |
|
|
Definition at line 117 of file PreviewFrame.h. Referenced by OnTextCtrlChanged(), panoramaChanged(), and ~PreviewFrame(). |
|
|
Definition at line 123 of file PreviewFrame.h. Referenced by OnChangeDisplayedImgs(), OnShowAll(), OnShowNone(), and panoramaImagesChanged(). |
|
|
Definition at line 112 of file PreviewFrame.h. |
|
|
Definition at line 94 of file PreviewFrame.h. Referenced by panoramaChanged(), updatePano(), and ~PreviewFrame(). |
|
|
Definition at line 114 of file PreviewFrame.h. Referenced by panoramaChanged(). |
|
|
Definition at line 96 of file PreviewFrame.h. Referenced by OnChangeFOV(), and panoramaChanged(). |
1.3.9.1