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

Public Member Functions | |
| GLPreviewFrame (wxFrame *frame, PT::Panorama &pano) | |
| ctor. | |
| virtual | ~GLPreviewFrame () |
| dtor. | |
| void | panoramaChanged (PT::Panorama &pano) |
| void | panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &changed) |
| void | updateProgressDisplay () |
| update the display | |
| void | MakePreviewTools (PreviewToolHelper *helper) |
| void | MakePanosphereOverviewTools (PanosphereOverviewToolHelper *helper) |
| void | MakePlaneOverviewTools (PlaneOverviewToolHelper *helper) |
| void | SetImageButtonColour (unsigned int image_nr, unsigned char red, unsigned char green, unsigned char blue) |
| void | SetStatusMessage (wxString message) |
| void | FillBlendChoice () |
| fills the blend wxChoice with all valid blend modes and restore the last used one | |
| void | LoadOpenGLLayout () |
| loads the layout of the OpenGL windows and restores it | |
| void | InitPreviews () |
| init previews | |
| void | SetGuiLevel (GuiLevel newLevel) |
| sets the gui level | |
| GLwxAuiManager * | getAuiManager () |
| GLPreview * | getPreview () |
| GLOverview * | getOverview () |
| void | PauseResize () |
| void | ContinueResize () |
| bool | CanResize () |
| void | redrawPreview () |
| Display an updated version of the preview images. | |
| void | SetShowProjectionHints (bool new_value) |
| set status if projection hints should be shown or not | |
| void | OnShowEvent (wxShowEvent &e) |
| bool | individualDragging () |
| void | ToggleImageInDragGroup (unsigned int image_nr, bool update_check_box=true) |
| void | RemoveImageFromDragGroup (unsigned int image_nr, bool update_check_box=true) |
| void | AddImageToDragGroup (unsigned int image_nr, bool update_check_box=true) |
| void | SetDragGroupImages (PT::UIntSet imageDragGroup_in, bool update_check_box=true) |
| PT::UIntSet | GetDragGroupImages () |
| void | ClearDragGroupImages (bool update_check_box=true) |
| void | UpdateGlobalWhiteBalance (double redFactor, double blueFactor) |
| updates the global white balance | |
| void | UpdateIdentifyTools (std::set< unsigned int > new_image_set) |
| wxColour | GetPreviewBackgroundColor () |
Protected Member Functions | |
| void | OnClose (wxCloseEvent &e) |
| void | OnOverviewToggle (wxCommandEvent &e) |
| void | OnCenterHorizontally (wxCommandEvent &e) |
| void | OnFitPano (wxCommandEvent &e) |
| void | OnStraighten (wxCommandEvent &e) |
| void | OnShowAll (wxCommandEvent &e) |
| void | OnShowNone (wxCommandEvent &e) |
| void | OnPhotometric (wxCommandEvent &e) |
| void | OnIdentify (wxCommandEvent &e) |
| void | OnAutocrop (wxCommandEvent &e) |
| void | OnStackAutocrop (wxCommandEvent &e) |
| void | OnControlPoint (wxCommandEvent &e) |
| void | OnNumTransform (wxCommandEvent &e) |
| void | OnChangeFOV (wxScrollEvent &e) |
| void | OnTrackChangeFOV (wxScrollEvent &e) |
| void | OnExposureChanged (wxCommandEvent &e) |
| void | OnProjParameterChanged (wxCommandEvent &e) |
| void | OnProjParameterReset (wxCommandEvent &e) |
| event handler for reset projection parameters | |
| void | OnSwitchPreviewGrid (wxCommandEvent &e) |
| event handler for switch on/off grid on preview | |
| void | OnUserExit (wxCommandEvent &e) |
| user wants to quit program | |
| void | OnDefaultExposure (wxCommandEvent &e) |
| void | OnDecreaseExposure (wxSpinEvent &e) |
| void | OnIncreaseExposure (wxSpinEvent &e) |
| void | OnBlendChoice (wxCommandEvent &e) |
| void | OnDragChoice (wxCommandEvent &e) |
| void | KeyDown (wxKeyEvent &e) |
| void | KeyUp (wxKeyEvent &e) |
| void | DragChoiceLayout (int index) |
| void | OnProjectionChoice (wxCommandEvent &e) |
| void | OnOverviewModeChoice (wxCommandEvent &e) |
| void | OnROIChanged (wxCommandEvent &e) |
| event handler for changed roi | |
| void | OnResetCrop (wxCommandEvent &e) |
| event handler to reset crop area | |
| void | OnHFOVChanged (wxCommandEvent &e) |
| void | OnVFOVChanged (wxCommandEvent &e) |
| void | OnHideProjectionHints (wxCommandEvent &e) |
| event handler when user hides the infobar | |
| void | updateBlendMode () |
| Update tools and GUI elements according to blend mode choice. | |
| void | updatePano () |
| void | OnFullScreen (wxCommandEvent &e) |
| event handler for full screen | |
| void | OnSelectMode (wxNotebookEvent &e) |
| event handler for selection of new mode | |
| void | OnToolModeChanging (wxNotebookEvent &e) |
| event handler for blocking changing mode when panorama contains no images | |
| void | OnLayoutScaleChange (wxScrollEvent &e) |
| event handler for change scale of layout mode | |
| void | OnColorPicker (wxCommandEvent &e) |
| event handler when starting color picker | |
| void | OnPreviewBackgroundColorChanged (wxColourPickerEvent &e) |
| event handler when user changes background color | |
| void | OnGuideChanged (wxCommandEvent &e) |
| event handler when user selects different guide | |
| void | OnShowMainFrame (wxCommandEvent &e) |
| event handler to show main frame | |
| void | OnLoadImages (wxCommandEvent &e) |
| void | OnAlign (wxCommandEvent &e) |
| void | OnCreate (wxCommandEvent &e) |
| void | OnLensTypeChanged (wxCommandEvent &e) |
| void | OnFocalLengthChanged (wxCommandEvent &e) |
| void | OnCropFactorChanged (wxCommandEvent &e) |
Protected Attributes | |
| bool | GLresize |
Private Member Functions | |
| void | EnableGroupCheckboxes (bool isShown) |
| changes the visibility of the group check boxes | |
| bool | UpdateOverviewMode (int newMode) |
| updates the mode of the overview window | |
| void | UpdateRoiDisplay (const HuginBase::PanoramaOptions opts) |
| update display of ROI | |
| void | SetMode (int newMode) |
| void | TurnOffTools (std::set< Tool * > tools) |
| bool | HasNonZeroTranslationPlaneParameters () |
| check, if panorama has non-zero translation plane parameters | |
| void | ResetTranslationPlaneParameters () |
| resets all translation plane parameters to zero | |
| void | CleanButtonColours () |
| void | ShowProjectionWarnings () |
| Tell the user anything suspicious about the projection choice. | |
Private Attributes | |
| GLwxAuiManager * | m_mgr |
| The dock manager. | |
| PT::Panorama & | m_pano |
| GLPreview * | m_GLPreview |
| GLOverview * | m_GLOverview |
| GuiLevel | m_guiLevel |
| ViewState * | m_view_state |
| int | m_mode |
| int | non_layout_blend_mode |
| wxToolBar * | m_ToolBar_Identify |
| wxNotebook * | m_tool_notebook |
| wxPanel * | m_projection_panel |
| wxSlider * | m_HFOVSlider |
| wxSlider * | m_VFOVSlider |
| wxTextCtrl * | m_HFOVText |
| wxTextCtrl * | m_VFOVText |
| wxTextCtrl * | m_ROILeftTxt |
| wxTextCtrl * | m_ROIRightTxt |
| wxTextCtrl * | m_ROITopTxt |
| wxTextCtrl * | m_ROIBottomTxt |
| wxChoice * | m_BlendModeChoice |
| wxChoice * | m_DragModeChoice |
| wxChoice * | m_ProjectionChoice |
| wxChoice * | m_OverviewModeChoice |
| wxChoice * | m_GuideChoiceCrop |
| wxChoice * | m_GuideChoiceDrag |
| wxChoice * | m_GuideChoiceProj |
| wxTextCtrl * | m_exposureTextCtrl |
| wxBitmapButton * | m_defaultExposureBut |
| wxSpinButton * | m_exposureSpinBut |
| bool | m_projectionStatusPushed |
| wxStaticText * | m_imagesText |
| wxButton * | m_alignButton |
| wxButton * | m_createButton |
| wxChoice * | m_lensTypeChoice |
| wxTextCtrl * | m_focalLengthText |
| wxTextCtrl * | m_cropFactorText |
| wxButton * | m_loadLensButton |
| wxMenu * | m_filemenuSimple |
| int | m_degDigits |
| wxColour | m_preview_background_color |
| wxString | m_choices [3] |
| int | m_oldProjFormat |
| int | m_differenceIndex |
| wxScrolledWindow * | m_ButtonPanel |
| wxBoxSizer * | m_ButtonSizer |
| wxStaticBoxSizer * | m_ToggleButtonSizer |
| wxBoxSizer * | m_topsizer |
| wxBoxSizer * | m_projParamSizer |
| std::vector< wxStaticText * > | m_projParamNamesLabel |
| std::vector< wxTextCtrl * > | m_projParamTextCtrl |
| std::vector< wxSlider * > | m_projParamSlider |
| std::vector< wxCheckBox * > | m_ToggleButtons |
| std::vector< wxCheckBox * > | m_GroupToggleButtons |
| std::vector< wxPanel * > | m_ToggleButtonPanel |
| std::vector< ImageToogleButtonEventHandler * > | toogle_button_event_handlers |
| std::vector< ImageGroupButtonEventHandler * > | toggle_group_button_event_handlers |
| PreviewToolHelper * | preview_helper |
| PreviewCropTool * | crop_tool |
| PT::UIntSet | imageDragGroup |
| PreviewDragTool * | drag_tool |
| PreviewColorPickerTool * | color_picker_tool |
| PreviewIdentifyTool * | identify_tool |
| PreviewIdentifyTool * | panosphere_overview_identify_tool |
| PreviewIdentifyTool * | plane_overview_identify_tool |
| PreviewDifferenceTool * | difference_tool |
| PreviewDifferenceTool * | plane_difference_tool |
| PreviewDifferenceTool * | panosphere_difference_tool |
| PreviewControlPointTool * | preview_control_point_tool |
| PreviewControlPointTool * | panosphere_control_point_tool |
| PreviewControlPointTool * | plane_control_point_tool |
| PreviewPanoMaskTool * | pano_mask_tool |
| bool | m_showProjectionHints |
| PreviewLayoutLinesTool * | m_preview_layoutLinesTool |
| PreviewLayoutLinesTool * | m_panosphere_layoutLinesTool |
| PreviewLayoutLinesTool * | m_plane_layoutLinesTool |
| PanosphereOverviewProjectionGridTool * | overview_projection_grid |
| PreviewProjectionGridTool * | preview_projection_grid |
| PanosphereSphereTool * | panosphere_sphere_tool |
| PanosphereOverviewToolHelper * | panosphere_overview_helper |
| PlaneOverviewToolHelper * | plane_overview_helper |
| OverviewDragTool * | overview_drag_tool |
| PanosphereOverviewCameraTool * | panosphere_overview_camera_tool |
| PlaneOverviewCameraTool * | plane_overview_camera_tool |
| PanosphereOverviewOutlinesTool * | overview_outlines_tool |
| PlaneOverviewOutlinesTool * | plane_overview_outlines_tool |
| PreviewGuideTool * | preview_guide_tool |
Contains the GLViewer 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 186 of file GLPreviewFrame.h.
|
||||||||||||
|
|
||||||||||||
|
Definition at line 2455 of file GLPreviewFrame.cpp. References imageDragGroup, and m_GroupToggleButtons. Referenced by DragTool::MouseButtonEvent(), ImageGroupButtonEventHandler::OnChange(), and ToggleImageInDragGroup(). |
|
|
Definition at line 226 of file GLPreviewFrame.h. Referenced by GLViewer::RedrawE(), and GLViewer::Resized(). |
|
|
Definition at line 2268 of file GLPreviewFrame.cpp. References HuginBase::Panorama::getNrOfImages(), m_pano, m_ToggleButtonPanel, and m_ToggleButtons. Referenced by OnIdentify(), SetMode(), TurnOffTools(), and updateBlendMode(). |
|
|
Definition at line 2472 of file GLPreviewFrame.cpp. References imageDragGroup, and m_GroupToggleButtons. |
|
|
Definition at line 295 of file GLPreviewFrame.cpp. References GLresize, m_GLOverview, m_GLPreview, and GLViewer::Resized(). Referenced by GLwxAuiFloatingFrame::OnActivate(), and GLViewer::RedrawE(). |
|
|
Definition at line 1934 of file GLPreviewFrame.cpp. Referenced by GLPreviewFrame(), OnDragChoice(), panoramaImagesChanged(), and SetGuiLevel(). |
|
|
changes the visibility of the group check boxes
Definition at line 2480 of file GLPreviewFrame.cpp. References m_ButtonPanel, and m_GroupToggleButtons. Referenced by OnDragChoice(), panoramaImagesChanged(), and SetMode(). |
|
|
fills the blend wxChoice with all valid blend modes and restore the last used one
Definition at line 2494 of file GLPreviewFrame.cpp. References PreviewDifferenceTool::CheckOpenGLCanDifference(), m_BlendModeChoice, m_differenceIndex, and updateBlendMode(). Referenced by LoadOpenGLLayout(). |
|
|
Definition at line 220 of file GLPreviewFrame.h. |
|
|
Definition at line 2469 of file GLPreviewFrame.cpp. Referenced by DragTool::MouseButtonEvent(). |
|
|
Definition at line 222 of file GLPreviewFrame.h. |
|
|
Definition at line 221 of file GLPreviewFrame.h. |
|
|
Definition at line 2959 of file GLPreviewFrame.cpp. Referenced by MakePanosphereOverviewTools(). |
|
|
check, if panorama has non-zero translation plane parameters
Definition at line 1830 of file GLPreviewFrame.cpp. References HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), and m_pano. Referenced by OnDragChoice(), panoramaImagesChanged(), and UpdateOverviewMode(). |
|
|
Definition at line 2436 of file GLPreviewFrame.cpp. References m_DragModeChoice. Referenced by DragTool::MouseButtonEvent(), OnDragChoice(), panoramaImagesChanged(), SetMode(), and ~GLPreviewFrame(). |
|
|
init previews
Definition at line 872 of file GLPreviewFrame.cpp. References LoadOpenGLLayout(), m_GLOverview, m_GLPreview, panosphere_overview_helper, plane_overview_helper, preview_helper, and GLViewer::SetUpContext(). Referenced by GLPreviewFrame(), and MainFrame::OnToggleGLPreviewFrame(). |
|
|
Definition at line 1372 of file GLPreviewFrame.cpp. References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, panosphere_overview_helper, plane_overview_helper, and preview_helper. |
|
|
Definition at line 1392 of file GLPreviewFrame.cpp. References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, panosphere_overview_helper, plane_overview_helper, and preview_helper. |
|
|
loads the layout of the OpenGL windows and restores it
Definition at line 764 of file GLPreviewFrame.cpp. References FillBlendChoice(), m_GLOverview, m_mgr, OnShowEvent(), and GLViewer::SetActive(). Referenced by GLPreviewFrame(), InitPreviews(), and MainFrame::OnToggleGLPreviewFrame(). |
|
|
|
Definition at line 2132 of file GLPreviewFrame.cpp. References ToolHelper::ActivateTool(), m_GLPreview, m_plane_layoutLinesTool, plane_control_point_tool, plane_difference_tool, plane_overview_camera_tool, plane_overview_helper, plane_overview_identify_tool, and plane_overview_outlines_tool. Referenced by GLOverview::setUp(). |
|
|
Definition at line 2069 of file GLPreviewFrame.cpp. References ToolHelper::ActivateTool(), color_picker_tool, crop_tool, difference_tool, drag_tool, identify_tool, m_GLPreview, m_GuideChoiceProj, m_preview_layoutLinesTool, mode_assistant, pano_mask_tool, preview_control_point_tool, preview_guide_tool, preview_helper, preview_projection_grid, PreviewGuideTool::SetGuideStyle(), SetMode(), GLViewer::SetPhotometricCorrect(), and updateBlendMode(). Referenced by GLPreview::setUp(). |
|
|
Definition at line 3110 of file GLPreviewFrame.cpp. References MainFrame::Get(), m_createButton, and MainFrame::RunAssistant(). Referenced by OnLoadImages(). |
|
|
|
Definition at line 1760 of file GLPreviewFrame.cpp. References updateBlendMode(). |
|
|
Definition at line 1507 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), and m_pano. |
|
|
|
Definition at line 1453 of file GLPreviewFrame.cpp. References MainFrame::CloseProject(), DEBUG_DEBUG, DEBUG_TRACE, MainFrame::Get(), and m_guiLevel. |
|
|
event handler when starting color picker
Definition at line 2288 of file GLPreviewFrame.cpp. References ToolHelper::ActivateTool(), color_picker_tool, ToolHelper::DeactivateTool(), and preview_helper. |
|
|
|
Definition at line 3117 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), MainFrame::Get(), GlobalCmdHist::getInstance(), PanoOutputDialog::GetNewPanoramaOptions(), m_guiLevel, m_pano, and MainFrame::OnDoStitch(). |
|
|
Definition at line 3185 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_cropFactorText, m_pano, and str2double(). |
|
|
Definition at line 1974 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue. |
|
|
Definition at line 1954 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), PT::calcMeanExposure(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue. |
|
|
|
Definition at line 1644 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_exposureTextCtrl, m_pano, HuginBase::PanoramaOptions::outputExposureValue, and str2double(). |
|
|
|
Definition at line 3155 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_focalLengthText, m_pano, and str2double(). |
|
|
event handler for full screen
Definition at line 2577 of file GLPreviewFrame.cpp. |
|
|
event handler when user selects different guide
Definition at line 2963 of file GLPreviewFrame.cpp. References m_GuideChoiceCrop, m_GuideChoiceDrag, m_GuideChoiceProj, preview_guide_tool, redrawPreview(), and PreviewGuideTool::SetGuideStyle(). |
|
|
Definition at line 2751 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxHFOV(), HuginBase::Panorama::getOptions(), m_HFOVText, m_pano, HuginBase::PanoramaOptions::setHFOV(), and str2double(). |
|
|
event handler when user hides the infobar
Definition at line 2914 of file GLPreviewFrame.cpp. References m_showProjectionHints. Referenced by GLPreviewFrame(). |
|
|
|
Definition at line 1965 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue. |
|
|
event handler for change scale of layout mode
Definition at line 2814 of file GLPreviewFrame.cpp. References m_GLOverview, m_GLPreview, m_mode, GLOverview::SetLayoutScale(), and GLViewer::SetLayoutScale(). Referenced by OnChangeFOV(), and SetMode(). |
|
|
Definition at line 3130 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), PT::calcFocalLength(), HuginBase::Panorama::getImage(), GlobalCmdHist::getInstance(), GetSelectedProjection(), m_lensTypeChoice, and m_pano. |
|
|
Definition at line 3076 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), PanoOperation::PanoOperation::GetCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfCtrlPoints(), HUGIN_ASS_AUTO_ALIGN, m_guiLevel, m_pano, and OnAlign(). |
|
|
Definition at line 1572 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_DragModeChoice, m_pano, and hugin_utils::stringToDouble(). |
|
|
Definition at line 1907 of file GLPreviewFrame.cpp. References VisualizationState::ForceRequireRedraw(), GLOverview::GetMode(), m_DragModeChoice, m_GLOverview, m_OverviewModeChoice, GLViewer::m_visualization_state, OnDragChoice(), VisualizationState::SetDirtyViewport(), and UpdateOverviewMode(). |
|
|
Definition at line 1414 of file GLPreviewFrame.cpp. References DEBUG_TRACE, m_GLOverview, m_mgr, and GLViewer::SetActive(). |
|
|
Definition at line 2064 of file GLPreviewFrame.cpp. References m_GLPreview, and GLViewer::SetPhotometricCorrect(). |
|
|
event handler when user changes background color
Definition at line 2947 of file GLPreviewFrame.cpp. References m_GLOverview, m_GLPreview, m_preview_background_color, panosphere_sphere_tool, redrawPreview(), PanosphereSphereTool::SetPreviewBackgroundColor(), and GLViewer::SetViewerBackground(). |
|
|
Definition at line 1983 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_DEBUG, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_projection_panel, m_ProjectionChoice, and HuginBase::PanoramaOptions::setProjection(). |
|
|
|
event handler for reset projection parameters
Definition at line 1688 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::resetProjectionParameters(). |
|
|
event handler to reset crop area
Definition at line 2744 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), HuginBase::PanoramaOptions::getHeight(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getWidth(), m_pano, and HuginBase::PanoramaOptions::setROI(). |
|
|
event handler for changed roi
Definition at line 2705 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), m_pano, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, HuginBase::PanoramaOptions::setROI(), and UpdateRoiDisplay(). |
|
|
event handler for selection of new mode
Definition at line 2690 of file GLPreviewFrame.cpp. |
|
|
Definition at line 1544 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_ASSERT, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, and m_ToggleButtons. |
|
|
Definition at line 1341 of file GLPreviewFrame.cpp. References DEBUG_DEBUG, DEBUG_TRACE, and m_mgr. Referenced by LoadOpenGLLayout(), and MainFrame::OnToggleGLPreviewFrame(). |
|
|
event handler to show main frame
Definition at line 3065 of file GLPreviewFrame.cpp. References MainFrame::Get(). |
|
|
Definition at line 1558 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_ASSERT, GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, and m_ToggleButtons. |
|
|
|
Definition at line 1516 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), and m_pano. |
|
|
event handler for switch on/off grid on preview
Definition at line 1437 of file GLPreviewFrame.cpp. References ToolHelper::ActivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), m_GLOverview, m_GLPreview, overview_projection_grid, panosphere_overview_helper, preview_helper, and preview_projection_grid. |
|
|
event handler for blocking changing mode when panorama contains no images
Definition at line 2696 of file GLPreviewFrame.cpp. References HuginBase::Panorama::getNrOfImages(), and m_pano. |
|
|
|
user wants to quit program
Definition at line 3071 of file GLPreviewFrame.cpp. |
|
|
Definition at line 2783 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxVFOV(), HuginBase::Panorama::getOptions(), m_pano, m_VFOVText, HuginBase::PanoramaOptions::setVFOV(), and str2double(). |
|
|
||||||||||||
|
|
Definition at line 289 of file GLPreviewFrame.cpp. References DEBUG_DEBUG, and GLresize. Referenced by GLwxAuiManager::CreateFloatingFrame(), and GLwxAuiFloatingFrame::OnMoveFinished(). |
|
|
Display an updated version of the preview images. Redraws happen automatically when the panorama changes, and when the preview's internal real time sliders are used. This is only needed occasionally, such as when a image finishes loading and its place holder can be replaced with the real image. Definition at line 1335 of file GLPreviewFrame.cpp. References m_GLOverview, and m_GLPreview. Referenced by OnGuideChanged(), OnPreviewBackgroundColorChanged(), panoramaChanged(), and panoramaImagesChanged(). |
|
||||||||||||
|
Definition at line 2449 of file GLPreviewFrame.cpp. References imageDragGroup, and m_GroupToggleButtons. Referenced by DragTool::MouseButtonEvent(), ImageGroupButtonEventHandler::OnChange(), and ToggleImageInDragGroup(). |
|
|
resets all translation plane parameters to zero
Definition at line 1844 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), HuginBase::Panorama::duplicate(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), HuginBase::Panorama::getVariables(), m_pano, HuginBase::Panorama::setSrcImage(), HuginBase::BaseSrcPanoImage::setTranslationPlanePitch(), and HuginBase::BaseSrcPanoImage::setTranslationPlaneYaw(). Referenced by OnDragChoice(), and UpdateOverviewMode(). |
|
||||||||||||
|
Definition at line 2461 of file GLPreviewFrame.cpp. References imageDragGroup, and m_GroupToggleButtons. |
|
|
sets the gui level
Definition at line 2977 of file GLPreviewFrame.cpp. References DragChoiceLayout(), GUI_ADVANCED, GUI_EXPERT, GUI_SIMPLE, m_DragModeChoice, m_filemenuSimple, m_GLOverview, m_guiLevel, m_OverviewModeChoice, OnDragChoice(), and GLOverview::SetMode(). Referenced by GLPreviewFrame(), and MainFrame::SetGuiLevel(). |
|
||||||||||||||||||||
|
Definition at line 2227 of file GLPreviewFrame.cpp. References m_ToggleButtonPanel, and m_ToggleButtons. Referenced by PreviewIdentifyTool::AfterDrawImagesEvent(), PreviewIdentifyTool::StopShowingImages(), PreviewIdentifyTool::StopUpdating(), and PreviewIdentifyTool::UpdateWithNewImageSet(). |
|
|
|
set status if projection hints should be shown or not
Definition at line 2903 of file GLPreviewFrame.cpp. References m_showProjectionHints. Referenced by MainFrame::OnShowPrefs(). |
|
|
Definition at line 2058 of file GLPreviewFrame.cpp. Referenced by ToolHelper::SetStatusMessage(). |
|
|
Tell the user anything suspicious about the projection choice. If nothing is suspicious, any previous message is removed. In wxWidgets 2.9, this appears as an wxInfoBar. Older versions do not have this. so the status bar is used instead. Definition at line 2826 of file GLPreviewFrame.cpp. References HuginBase::PanoramaOptions::getHFOV(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::getVFOV(), m_pano, and m_projectionStatusPushed. Referenced by panoramaChanged(). |
|
||||||||||||
|
Definition at line 2442 of file GLPreviewFrame.cpp. References AddImageToDragGroup(), imageDragGroup, and RemoveImageFromDragGroup(). |
|
|
Definition at line 2195 of file GLPreviewFrame.cpp. References CleanButtonColours(), m_GLOverview, m_GLPreview, and m_ToolBar_Identify. Referenced by OnControlPoint(), and SetMode(). |
|
|
Update tools and GUI elements according to blend mode choice.
Definition at line 885 of file GLPreviewFrame.cpp. References ToolHelper::ActivateTool(), CleanButtonColours(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), DEBUG_WARN, difference_tool, identify_tool, m_BlendModeChoice, m_ToolBar_Identify, panosphere_difference_tool, panosphere_overview_helper, panosphere_overview_identify_tool, plane_difference_tool, plane_overview_helper, plane_overview_identify_tool, preview_helper, and PreviewIdentifyTool::setConstantOn(). Referenced by FillBlendChoice(), MakePreviewTools(), OnBlendChoice(), and SetMode(). |
|
||||||||||||
|
updates the global white balance
Definition at line 2302 of file GLPreviewFrame.cpp. References CommandHistory::addCommand(), GlobalCmdHist::getInstance(), and m_pano. Referenced by PreviewColorPickerTool::MouseButtonEvent(). |
|
|
Definition at line 2931 of file GLPreviewFrame.cpp. References identify_tool, panosphere_overview_identify_tool, plane_overview_identify_tool, and PreviewIdentifyTool::UpdateWithNewImageSet(). Referenced by PreviewIdentifyTool::ImagesUnderMouseChangedEvent(), and PreviewIdentifyTool::StopUpdating(). |
|
|
updates the mode of the overview window
Definition at line 1862 of file GLPreviewFrame.cpp. References GLOverview::GetMode(), HasNonZeroTranslationPlaneParameters(), m_GLOverview, ResetTranslationPlaneParameters(), and GLOverview::SetMode(). Referenced by OnDragChoice(), and OnOverviewModeChoice(). |
|
|
|
|
|
update the display
Reimplemented from AppBase::MultiProgressDisplay. Definition at line 2020 of file GLPreviewFrame.cpp. |
|
|
update display of ROI
Referenced by OnROIChanged(), and panoramaChanged(). |
|
|
Definition at line 440 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), OnColorPicker(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 437 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 446 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 439 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), OnDragChoice(), panoramaImagesChanged(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 257 of file GLPreviewFrame.h. Referenced by ContinueResize(), and PauseResize(). |
|
|
Definition at line 442 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame(). |
|
|
Definition at line 438 of file GLPreviewFrame.h. Referenced by AddImageToDragGroup(), ClearDragGroupImages(), RemoveImageFromDragGroup(), SetDragGroupImages(), and ToggleImageInDragGroup(). |
|
|
Definition at line 395 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaChanged(). |
|
|
Definition at line 374 of file GLPreviewFrame.h. Referenced by FillBlendChoice(), GLPreviewFrame(), OnIdentify(), SetMode(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 412 of file GLPreviewFrame.h. Referenced by EnableGroupCheckboxes(), GLPreviewFrame(), and panoramaImagesChanged(). |
|
|
Definition at line 413 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaImagesChanged(). |
|
|
Definition at line 407 of file GLPreviewFrame.h. |
|
|
Definition at line 396 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnAlign(), and panoramaChanged(). |
|
|
Definition at line 399 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnCropFactorChanged(), panoramaChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 384 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(). |
|
|
Definition at line 403 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaChanged(). |
|
|
Definition at line 410 of file GLPreviewFrame.h. Referenced by FillBlendChoice(), and GLPreviewFrame(). |
|
|
Definition at line 375 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), individualDragging(), OnDragChoice(), OnNumTransform(), OnOverviewModeChoice(), panoramaImagesChanged(), and SetGuiLevel(). |
|
|
Definition at line 385 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(). |
|
|
Definition at line 383 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnExposureChanged(), and panoramaChanged(). |
|
|
Definition at line 401 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and SetGuiLevel(). |
|
|
Definition at line 398 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnFocalLengthChanged(), panoramaChanged(), and ~GLPreviewFrame(). |
|
|
|
|
Definition at line 427 of file GLPreviewFrame.h. Referenced by AddImageToDragGroup(), ClearDragGroupImages(), EnableGroupCheckboxes(), panoramaImagesChanged(), RemoveImageFromDragGroup(), SetDragGroupImages(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 378 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and OnGuideChanged(). |
|
|
Definition at line 379 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and OnGuideChanged(). |
|
|
Definition at line 380 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), OnGuideChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 357 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnClose(), OnCreate(), OnLoadImages(), SetGuiLevel(), and ~GLPreviewFrame(). |
|
|
Definition at line 366 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnChangeFOV(), and panoramaChanged(). |
|
|
Definition at line 368 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnHFOVChanged(), panoramaChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 394 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaChanged(). |
|
|
Definition at line 397 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnLensTypeChanged(), and panoramaChanged(). |
|
|
Definition at line 400 of file GLPreviewFrame.h. |
|
|
The dock manager.
Definition at line 349 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), LoadOpenGLLayout(), OnOverviewToggle(), OnShowEvent(), and ~GLPreviewFrame(). |
|
|
Definition at line 361 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnLayoutScaleChange(), OnSelectMode(), panoramaImagesChanged(), and SetMode(). |
|
|
Definition at line 408 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaChanged(). |
|
|
Definition at line 377 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnDragChoice(), OnOverviewModeChoice(), panoramaImagesChanged(), and SetGuiLevel(). |
|
|
|
Definition at line 458 of file GLPreviewFrame.h. Referenced by MakePanosphereOverviewTools(), and SetMode(). |
|
|
Definition at line 459 of file GLPreviewFrame.h. Referenced by MakePlaneOverviewTools(), and SetMode(). |
|
|
Definition at line 405 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and OnPreviewBackgroundColorChanged(). |
|
|
Definition at line 457 of file GLPreviewFrame.h. Referenced by MakePreviewTools(), and SetMode(). |
|
|
Definition at line 365 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnProjectionChoice(), and panoramaChanged(). |
|
|
Definition at line 376 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnProjectionChoice(), and panoramaChanged(). |
|
|
Definition at line 391 of file GLPreviewFrame.h. Referenced by ShowProjectionWarnings(). |
|
|
Definition at line 418 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaChanged(). |
|
|
Definition at line 417 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaChanged(). |
|
|
Definition at line 420 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnChangeFOV(), OnTrackChangeFOV(), and panoramaChanged(). |
|
|
Definition at line 419 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnProjParameterChanged(), panoramaChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 373 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnROIChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 370 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnROIChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 371 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnROIChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 372 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnROIChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 456 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnHideProjectionHints(), and SetShowProjectionHints(). |
|
|
Definition at line 428 of file GLPreviewFrame.h. Referenced by CleanButtonColours(), panoramaImagesChanged(), and SetImageButtonColour(). |
|
|
Definition at line 425 of file GLPreviewFrame.h. Referenced by CleanButtonColours(), OnShowAll(), OnShowNone(), panoramaImagesChanged(), SetImageButtonColour(), and ~GLPreviewFrame(). |
|
|
Definition at line 414 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(). |
|
|
Definition at line 364 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), and panoramaImagesChanged(). |
|
|
Definition at line 363 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), panoramaImagesChanged(), SetMode(), TurnOffTools(), and updateBlendMode(). |
|
|
Definition at line 416 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(). |
|
|
Definition at line 367 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnChangeFOV(), and panoramaChanged(). |
|
|
Definition at line 369 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), OnVFOVChanged(), panoramaChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 359 of file GLPreviewFrame.h. |
|
|
Definition at line 362 of file GLPreviewFrame.h. Referenced by SetMode(). |
|
|
Definition at line 469 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), panoramaImagesChanged(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 474 of file GLPreviewFrame.h. Referenced by MakePanosphereOverviewTools(). |
|
|
Definition at line 461 of file GLPreviewFrame.h. Referenced by MakePanosphereOverviewTools(), and OnSwitchPreviewGrid(). |
|
|
Definition at line 454 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 451 of file GLPreviewFrame.h. Referenced by MakePanosphereOverviewTools(), OnControlPoint(), and SetMode(). |
|
|
Definition at line 448 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 471 of file GLPreviewFrame.h. Referenced by MakePanosphereOverviewTools(). |
|
|
Definition at line 465 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePanosphereOverviewTools(), OnControlPoint(), OnIdentify(), OnSwitchPreviewGrid(), SetMode(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 443 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame(). |
|
|
Definition at line 463 of file GLPreviewFrame.h. Referenced by MakePanosphereOverviewTools(), OnPreviewBackgroundColorChanged(), and ~GLPreviewFrame(). |
|
|
Definition at line 452 of file GLPreviewFrame.h. Referenced by MakePlaneOverviewTools(), OnControlPoint(), and SetMode(). |
|
|
Definition at line 447 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePlaneOverviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 472 of file GLPreviewFrame.h. Referenced by MakePlaneOverviewTools(). |
|
|
Definition at line 467 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePlaneOverviewTools(), OnControlPoint(), OnIdentify(), SetMode(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 444 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePlaneOverviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame(). |
|
|
Definition at line 475 of file GLPreviewFrame.h. Referenced by MakePlaneOverviewTools(). |
|
|
Definition at line 450 of file GLPreviewFrame.h. Referenced by MakePreviewTools(), OnControlPoint(), and SetMode(). |
|
|
Definition at line 477 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), MakePreviewTools(), OnGuideChanged(), SetMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 435 of file GLPreviewFrame.h. Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePreviewTools(), OnColorPicker(), OnControlPoint(), OnIdentify(), OnSwitchPreviewGrid(), SetMode(), updateBlendMode(), and ~GLPreviewFrame(). |
|
|
Definition at line 462 of file GLPreviewFrame.h. Referenced by MakePreviewTools(), and OnSwitchPreviewGrid(). |
|
|
Definition at line 430 of file GLPreviewFrame.h. Referenced by panoramaImagesChanged(). |
|
|
Definition at line 429 of file GLPreviewFrame.h. Referenced by panoramaImagesChanged(). |
1.3.9.1