Hugintrunk
0.1
|
The OpenGL preview frame. More...
#include <GLPreviewFrame.h>
Public Member Functions | |
GLPreviewFrame (wxFrame *frame, HuginBase::Panorama &pano) | |
ctor. More... | |
virtual | ~GLPreviewFrame () |
dtor. More... | |
void | StorePositionAndSize () |
store position and size of window in wxConfig More... | |
virtual void | panoramaChanged (HuginBase::Panorama &pano) |
Notification about a Panorama change. More... | |
virtual void | panoramaImagesChanged (HuginBase::Panorama &pano, const HuginBase::UIntSet &changed) |
notifies about changes to images More... | |
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 More... | |
void | LoadOpenGLLayout () |
loads the layout of the OpenGL windows and restores it More... | |
void | InitPreviews () |
init previews More... | |
void | SetGuiLevel (GuiLevel newLevel) |
sets the gui level More... | |
void | AddUserDefinedSequence (int id, const wxString &desc, const wxString &help) |
adds the given user defined output sequence to SplitButton menu More... | |
void | AddUserDefinedAssistant (int id, const wxString &desc, const wxString &help) |
adds the given user defined assistant to SplitButton menu More... | |
GLwxAuiManager * | getAuiManager () |
GLPreview * | getPreview () |
GLOverview * | getOverview () |
void | PauseResize () |
void | ContinueResize () |
bool | CanResize () |
void | redrawPreview () |
Display an updated version of the preview images. More... | |
void | ResetPreviewZoom () |
reset zoom level for preview window More... | |
void | SetShowProjectionHints (bool new_value) |
set status if projection hints should be shown or not More... | |
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 (HuginBase::UIntSet imageDragGroup_in, bool update_check_box=true) |
HuginBase::UIntSet | GetDragGroupImages () |
void | ClearDragGroupImages (bool update_check_box=true) |
void | UpdateGlobalWhiteBalance (double redFactor, double blueFactor) |
updates the global white balance More... | |
void | UpdateIdentifyTools (std::set< unsigned int > new_image_set) |
wxColour | GetPreviewBackgroundColor () |
Public Member Functions inherited from HuginBase::PanoramaObserver | |
virtual | ~PanoramaObserver () |
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 | OnAutocropOutside (wxCommandEvent &e) |
void | OnControlPoint (wxCommandEvent &e) |
void | OnNumTransform (wxCommandEvent &e) |
void | OnChangeProjectionParam (wxScrollEvent &e) |
void | OnTrackChangeProjectionParam (wxScrollEvent &e) |
void | OnExposureChanged (wxCommandEvent &e) |
void | OnProjParameterChanged (wxCommandEvent &e) |
void | OnProjParameterReset (wxCommandEvent &e) |
event handler for reset projection parameters More... | |
void | OnSwitchPreviewGrid (wxCommandEvent &e) |
event handler for switch on/off grid on preview More... | |
void | OnUserExit (wxCommandEvent &e) |
user wants to quit program More... | |
void | OnDefaultExposure (wxCommandEvent &e) |
void | OnDecreaseExposure (wxSpinEvent &e) |
void | OnIncreaseExposure (wxSpinEvent &e) |
void | OnRangeCompressionIncrease (wxSpinEvent &e) |
void | OnRangeCompressionDecrease (wxSpinEvent &e) |
void | OnRangeCompressionChanged (wxCommandEvent &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 More... | |
void | OnResetCrop (wxCommandEvent &e) |
event handler to reset crop area More... | |
void | OnSetCropAspect (wxCommandEvent &e) |
event handler to set fixed aspect ratio of crop More... | |
void | OnHFOVChanged (wxCommandEvent &e) |
void | OnVFOVChanged (wxCommandEvent &e) |
void | OnHideProjectionHints (wxCommandEvent &e) |
event handler when user hides the infobar More... | |
void | updateBlendMode () |
Update tools and GUI elements according to blend mode choice. More... | |
void | OnFullScreen (wxCommandEvent &e) |
event handler for full screen More... | |
void | OnSelectMode (wxNotebookEvent &e) |
event handler for selection of new mode More... | |
void | OnToolModeChanging (wxNotebookEvent &e) |
event handler for blocking changing mode when panorama contains no images More... | |
void | OnLayoutScaleChange (wxCommandEvent &e) |
event handler for change scale of layout mode More... | |
void | OnColorPicker (wxCommandEvent &e) |
event handler when starting color picker More... | |
void | OnEditCPTool (wxCommandEvent &e) |
event handler when starting edit cp tool More... | |
void | OnPreviewBackgroundColorChanged (wxColourPickerEvent &e) |
event handler when user changes background color More... | |
void | OnGuideChanged (wxCommandEvent &e) |
event handler when user selects different guide More... | |
void | OnShowMainFrame (wxCommandEvent &e) |
event handler to show main frame More... | |
void | OnLoadImages (wxCommandEvent &e) |
void | LoadImages (int preferredLensType) |
void | OnAlign (wxCommandEvent &e) |
void | OnCreate (wxCommandEvent &e) |
void | OnCreateCP (wxCommandEvent &e) |
handler for creating cp in pano space More... | |
void | OnRemoveCP (wxCommandEvent &e) |
handler to remove cp More... | |
void | OnSelectAllMenu (wxCommandEvent &e) |
handle all options of select all context menu More... | |
void | OnSelectMedianMenu (wxCommandEvent &e) |
void | OnSelectDarkestMenu (wxCommandEvent &e) |
void | OnSelectBrightestMenu (wxCommandEvent &e) |
void | OnSelectKeepSelection (wxCommandEvent &e) |
void | OnSelectResetSelection (wxCommandEvent &e) |
Protected Attributes | |
bool | GLresize = true |
Private Types | |
enum | SelectAllMode { SELECT_ALL_IMAGES = 0, SELECT_MEDIAN_IMAGES = 1, SELECT_BRIGHTEST_IMAGES = 2, SELECT_DARKEST_IMAGES = 3 } |
Private Member Functions | |
void | EnableGroupCheckboxes (bool isShown) |
changes the visibility of the group check boxes More... | |
bool | UpdateOverviewMode (int newMode) |
updates the mode of the overview window More... | |
void | UpdateRoiDisplay (const HuginBase::PanoramaOptions opts) |
update display of ROI More... | |
void | SetMode (int newMode) |
void | TurnOffTools (std::set< Tool * > tools) |
bool | HasNonZeroTranslationPlaneParameters () |
check, if panorama has non-zero translation plane parameters More... | |
void | ResetTranslationPlaneParameters () |
resets all translation plane parameters to zero More... | |
void | CleanButtonColours () |
void | ShowProjectionWarnings () |
Tell the user anything suspicious about the projection choice. More... | |
The OpenGL preview frame.
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 173 of file GLPreviewFrame.h.
|
private |
Enumerator | |
---|---|
SELECT_ALL_IMAGES | |
SELECT_MEDIAN_IMAGES | |
SELECT_BRIGHTEST_IMAGES | |
SELECT_DARKEST_IMAGES |
Definition at line 406 of file GLPreviewFrame.h.
GLPreviewFrame::GLPreviewFrame | ( | wxFrame * | frame, |
HuginBase::Panorama & | pano | ||
) |
ctor.
Definition at line 174 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::Panorama::addObserver(), camera_tool, color_picker_tool, crop_tool, DEBUG_ASSERT, DEBUG_TRACE, difference_tool, drag_tool, DragChoiceLayout(), edit_cp_tool, huginApp::Get(), MainFrame::Get(), GLViewer::GetContext(), MainFrame::GetFileHistory(), PanoCommand::GlobalCmdHist::getInstance(), GetLensProjectionList(), HuginBase::Panorama::getOptions(), SplitButton::GetSplitButtonMenu(), GUI_SIMPLE, HUGIN_PREVIEW_BACKGROUND, HUGIN_SHOW_PROJECTION_HINTS, ID_ASS_LOAD_IMAGES, ID_ASSISTANT_MENU, ID_CREATEPANO_MENU, ID_HIDE_HINTS, ID_SHOW_ALL, ID_SHOW_NONE, identify_tool, InitPreviews(), LoadImages(), SplitButton::LoadMenu(), LoadOpenGLLayout(), m_alignButton, m_BlendModeChoice, m_ButtonPanel, m_ButtonSizer, m_colorpicker_togglebutton, m_createButton, m_defaultExposureBut, m_degDigits, m_differenceIndex, m_DragModeChoice, m_editCP_togglebutton, m_exposureSpinBut, m_exposureTextCtrl, m_filemenuAdvanced, m_filemenuSimple, m_GLOverview, m_GLPreview, m_GuideChoiceCrop, m_GuideChoiceDrag, m_GuideChoiceProj, m_guiLevel, m_HFOVSlider, m_HFOVText, m_identify_togglebutton, m_infoBar, m_loadImagesButton, m_mgr, m_mode, m_oldProjFormat, m_overviewCommandPanel, m_OverviewModeChoice, m_pano, m_preview_background_color, m_projection_panel, m_ProjectionChoice, m_projParamNamesLabel, m_projParamSizer, m_projParamSlider, m_projParamTextCtrl, m_rangeCompressionSpinBut, m_rangeCompressionTextCtrl, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_selectAllButton, m_selectAllMode, m_selectKeepSelection, m_showProjectionHints, m_ToggleButtonSizer, m_tool_notebook, m_topsizer, m_VFOVSlider, m_VFOVText, GLViewer::m_view_state, OnAlign(), OnAutocrop(), OnAutocropOutside(), OnBlendChoice(), OnCenterHorizontally(), OnChangeProjectionParam(), OnClose(), OnColorPicker(), OnControlPoint(), OnCreate(), OnDecreaseExposure(), OnDefaultExposure(), OnDragChoice(), OnEditCPTool(), OnExposureChanged(), OnFitPano(), OnFullScreen(), OnGuideChanged(), OnHFOVChanged(), OnHideProjectionHints(), OnIdentify(), OnIncreaseExposure(), OnLayoutScaleChange(), OnLoadImages(), OnNumTransform(), OnOverviewModeChoice(), OnOverviewToggle(), OnPhotometric(), OnPreviewBackgroundColorChanged(), OnProjectionChoice(), OnProjParameterChanged(), OnProjParameterReset(), OnRangeCompressionChanged(), OnRangeCompressionDecrease(), OnRangeCompressionIncrease(), OnResetCrop(), OnROIChanged(), OnSelectAllMenu(), OnSelectBrightestMenu(), OnSelectDarkestMenu(), OnSelectKeepSelection(), OnSelectMedianMenu(), OnSelectMode(), OnSelectResetSelection(), OnSetCropAspect(), OnShowAll(), OnShowEvent(), OnShowMainFrame(), OnShowNone(), OnStackAutocrop(), OnStraighten(), OnSwitchPreviewGrid(), OnToolModeChanging(), OnTrackChangeProjectionParam(), OnUserExit(), OnVFOVChanged(), overview_drag_tool, pano_mask_tool, panosphere_difference_tool, GLOverview::PANOSPHERE_OUTSIDE, panosphere_overview_helper, panosphere_overview_identify_tool, plane_difference_tool, plane_overview_helper, plane_overview_identify_tool, preview_guide_tool, preview_helper, PROJ_PARAM_NAMES_ID, PROJ_PARAM_RESET_ID, PROJ_PARAM_SLIDER_ID, PROJ_PARAM_VAL_ID, RestoreFramePosition(), SELECT_ALL_IMAGES, SELECT_BRIGHTEST_IMAGES, SELECT_DARKEST_IMAGES, SELECT_MEDIAN_IMAGES, GLViewer::SetActive(), SplitButton::SetBitmap(), SetGuiLevel(), HuginBase::PanoramaOptions::setHFOV(), GLOverview::SetMode(), ViewState::SetOptions(), and HuginBase::PanoramaOptions::setVFOV().
|
virtual |
dtor.
Definition at line 864 of file GLPreviewFrame.cpp.
References color_picker_tool, crop_tool, ToolHelper::DeactivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), DEBUG_TRACE, difference_tool, drag_tool, edit_cp_tool, GUI_SIMPLE, identify_tool, m_exposureTextCtrl, m_filemenuAdvanced, m_filemenuSimple, m_GroupToggleButtons, m_guiLevel, m_HFOVText, m_mgr, m_pano, m_panosphere_layoutLinesTool, m_plane_layoutLinesTool, m_preview_layoutLinesTool, m_projParamTextCtrl, m_rangeCompressionTextCtrl, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_ToggleButtons, m_VFOVText, overview_drag_tool, overview_outlines_tool, overview_projection_grid, pano_mask_tool, panosphere_control_point_tool, panosphere_difference_tool, panosphere_overview_camera_tool, panosphere_overview_helper, panosphere_overview_identify_tool, panosphere_sphere_tool, plane_control_point_tool, plane_difference_tool, plane_overview_camera_tool, plane_overview_helper, plane_overview_identify_tool, plane_overview_outlines_tool, preview_control_point_tool, preview_guide_tool, preview_helper, preview_projection_grid, HuginBase::Panorama::removeObserver(), and StorePositionAndSize().
void GLPreviewFrame::AddImageToDragGroup | ( | unsigned int | image_nr, |
bool | update_check_box = true |
||
) |
Definition at line 2598 of file GLPreviewFrame.cpp.
References imageDragGroup, and m_GroupToggleButtons.
Referenced by DragTool::MouseButtonEvent(), ImageGroupButtonEventHandler::OnChange(), and ToggleImageInDragGroup().
void GLPreviewFrame::AddUserDefinedAssistant | ( | int | id, |
const wxString & | desc, | ||
const wxString & | help | ||
) |
adds the given user defined assistant to SplitButton menu
Definition at line 3275 of file GLPreviewFrame.cpp.
References SplitButton::GetSplitButtonMenu(), and m_alignButton.
Referenced by MainFrame::MainFrame().
void GLPreviewFrame::AddUserDefinedSequence | ( | int | id, |
const wxString & | desc, | ||
const wxString & | help | ||
) |
adds the given user defined output sequence to SplitButton menu
Definition at line 3263 of file GLPreviewFrame.cpp.
References SplitButton::GetSplitButtonMenu(), and m_createButton.
Referenced by MainFrame::MainFrame().
|
inline |
Definition at line 217 of file GLPreviewFrame.h.
References GLresize.
Referenced by GLViewer::RedrawE(), and GLViewer::Resized().
|
private |
Definition at line 2374 of file GLPreviewFrame.cpp.
References HuginBase::Panorama::getNrOfImages(), m_pano, m_ToggleButtonPanel, and m_ToggleButtons.
Referenced by OnIdentify(), SetMode(), TurnOffTools(), and updateBlendMode().
void GLPreviewFrame::ClearDragGroupImages | ( | bool | update_check_box = true | ) |
Definition at line 2615 of file GLPreviewFrame.cpp.
References imageDragGroup, and m_GroupToggleButtons.
void GLPreviewFrame::ContinueResize | ( | ) |
Definition at line 165 of file GLPreviewFrame.cpp.
References GLresize, m_GLOverview, m_GLPreview, and GLViewer::Resized().
Referenced by GLwxAuiFloatingFrame::OnActivate(), and GLViewer::RedrawE().
|
protected |
Definition at line 2069 of file GLPreviewFrame.cpp.
Referenced by GLPreviewFrame(), OnDragChoice(), panoramaImagesChanged(), and SetGuiLevel().
|
private |
changes the visibility of the group check boxes
isShown | true if the group checkboxes should be visible |
Definition at line 2623 of file GLPreviewFrame.cpp.
References m_GroupToggleButtons.
Referenced by OnDragChoice(), panoramaImagesChanged(), and SetMode().
void GLPreviewFrame::FillBlendChoice | ( | ) |
fills the blend wxChoice with all valid blend modes and restore the last used one
call this method only with existing OpenGL context
Definition at line 2634 of file GLPreviewFrame.cpp.
References PreviewDifferenceTool::CheckOpenGLCanDifference(), m_BlendModeChoice, m_differenceIndex, and updateBlendMode().
Referenced by LoadOpenGLLayout().
|
inline |
Definition at line 211 of file GLPreviewFrame.h.
References m_mgr.
HuginBase::UIntSet GLPreviewFrame::GetDragGroupImages | ( | ) |
Definition at line 2612 of file GLPreviewFrame.cpp.
References imageDragGroup.
Referenced by DragTool::MouseButtonEvent(), and ImagesTreeCtrl::OnLeftUp().
|
inline |
Definition at line 213 of file GLPreviewFrame.h.
References m_GLOverview.
Referenced by GLViewer::SetUpContext().
|
inline |
Definition at line 212 of file GLPreviewFrame.h.
References m_GLPreview.
Referenced by PreviewCropTool::MouseButtonEvent(), and GLViewer::SetUpContext().
wxColor GLPreviewFrame::GetPreviewBackgroundColor | ( | ) |
Definition at line 3157 of file GLPreviewFrame.cpp.
References m_preview_background_color.
Referenced by GLViewer::GLViewer(), and MakePanosphereOverviewTools().
|
private |
check, if panorama has non-zero translation plane parameters
Definition at line 1954 of file GLPreviewFrame.cpp.
References HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), and m_pano.
Referenced by OnDragChoice(), panoramaImagesChanged(), and UpdateOverviewMode().
bool GLPreviewFrame::individualDragging | ( | ) |
Definition at line 2579 of file GLPreviewFrame.cpp.
References m_DragModeChoice.
Referenced by DragTool::MouseButtonEvent(), OnDragChoice(), panoramaImagesChanged(), SetMode(), and StorePositionAndSize().
void GLPreviewFrame::InitPreviews | ( | ) |
init previews
Definition at line 940 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().
|
protected |
Definition at line 1440 of file GLPreviewFrame.cpp.
References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, GLOverview::PANOSPHERE_INSIDE, GLOverview::PANOSPHERE_OUTSIDE, panosphere_overview_helper, GLOverview::PLANE, plane_overview_helper, and preview_helper.
|
protected |
Definition at line 1460 of file GLPreviewFrame.cpp.
References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, GLOverview::PANOSPHERE_INSIDE, GLOverview::PANOSPHERE_OUTSIDE, panosphere_overview_helper, GLOverview::PLANE, plane_overview_helper, and preview_helper.
|
protected |
Definition at line 3322 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoOperation::PanoOperation::GetCommand(), HuginBase::Panorama::getImage(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfCtrlPoints(), HUGIN_ASS_AUTO_ALIGN, HuginBase::SrcPanoImage::isCircularCrop(), m_guiLevel, m_pano, OnAlign(), PanoCommand::PanoCommand::setName(), and ShowFisheyeCropHint().
Referenced by GLPreviewFrame(), and OnLoadImages().
void GLPreviewFrame::LoadOpenGLLayout | ( | ) |
loads the layout of the OpenGL windows and restores it
Definition at line 812 of file GLPreviewFrame.cpp.
References FillBlendChoice(), m_GLOverview, m_mgr, OnShowEvent(), and GLViewer::SetActive().
Referenced by GLPreviewFrame(), InitPreviews(), and MainFrame::OnToggleGLPreviewFrame().
void GLPreviewFrame::MakePanosphereOverviewTools | ( | PanosphereOverviewToolHelper * | helper | ) |
Definition at line 2203 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), GetPreviewBackgroundColor(), m_GLPreview, m_panosphere_layoutLinesTool, overview_drag_tool, overview_outlines_tool, overview_projection_grid, panosphere_control_point_tool, panosphere_difference_tool, panosphere_overview_camera_tool, panosphere_overview_helper, panosphere_overview_identify_tool, and panosphere_sphere_tool.
Referenced by GLOverview::setUp().
void GLPreviewFrame::MakePlaneOverviewTools | ( | PlaneOverviewToolHelper * | helper | ) |
Definition at line 2233 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().
void GLPreviewFrame::MakePreviewTools | ( | PreviewToolHelper * | helper | ) |
Definition at line 2164 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), camera_tool, color_picker_tool, crop_tool, difference_tool, drag_tool, edit_cp_tool, ID_CREATE_CP, ID_REMOVE_CP, identify_tool, m_GLPreview, m_GuideChoiceProj, m_preview_layoutLinesTool, mode_assistant, OnCreateCP(), OnRemoveCP(), 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().
|
protected |
Definition at line 3369 of file GLPreviewFrame.cpp.
References MainFrame::Get(), and MainFrame::RunAssistant().
Referenced by GLPreviewFrame(), and LoadImages().
|
protected |
Definition at line 2653 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::CalculateOptimalROI::getResultOptimalROI(), HuginBase::PanoramaAlgorithm::hasRunSuccessfully(), m_pano, HuginBase::PanoramaAlgorithm::run(), and HuginBase::PanoramaOptions::setROI().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2721 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::CalculateOptimalROIOutside::getResultOptimalROI(), HuginBase::PanoramaAlgorithm::hasRunSuccessfully(), m_pano, HuginBase::PanoramaAlgorithm::run(), and HuginBase::PanoramaOptions::setROI().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1885 of file GLPreviewFrame.cpp.
References m_BlendModeChoice, and updateBlendMode().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1576 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), m_pano, and ResetPreviewZoom().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1841 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjectionParameters(), m_HFOVSlider, m_pano, HuginBase::PanoramaOptions::m_projFeatures, m_projParamSlider, m_VFOVSlider, HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjectionParameters(), and HuginBase::PanoramaOptions::setVFOV().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1522 of file GLPreviewFrame.cpp.
References MainFrame::CLOSE_PROGRAM, DEBUG_DEBUG, DEBUG_TRACE, MainFrame::Get(), GUI_SIMPLE, and m_guiLevel.
Referenced by GLPreviewFrame().
|
protected |
event handler when starting color picker
Definition at line 2394 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), color_picker_tool, ToolHelper::DeactivateTool(), edit_cp_tool, m_editCP_togglebutton, m_GLPreview, and preview_helper.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2279 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), ToolHelper::DeactivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), m_editCP_togglebutton, m_GLOverview, m_GLPreview, panosphere_control_point_tool, panosphere_overview_helper, plane_control_point_tool, plane_overview_helper, preview_control_point_tool, preview_helper, and TurnOffTools().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3375 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), MainFrame::Get(), PanoCommand::GlobalCmdHist::getInstance(), PanoOutputDialog::GetNewPanoramaOptions(), m_guiLevel, m_pano, and MainFrame::OnDoStitch().
Referenced by GLPreviewFrame().
|
protected |
handler for creating cp in pano space
Definition at line 3443 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::PTools::Transform::createTransform(), deregisterPTWXDlgFcn(), HuginBase::Panorama::duplicate(), edit_cp_tool, vigra_ext::findInterestPointsPartial(), MainFrame::Get(), HuginBase::Panorama::getActiveImages(), HuginBase::getCPoutsideLimit(), HuginBase::Panorama::getImage(), HuginBase::getImagesinROI(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), PreviewEditCPTool::GetSelectedROI(), HuginBase::Panorama::getSrcImage(), HuginBase::Panorama::getSubset(), HuginBase::PanoramaOptions::getWidth(), FindStruct::image, HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, FindStruct::imgNr, vigra_ext::INTERP_CUBIC, m_GLPreview, vigra_ext::ROIImage< RemapImage, AlphaImage >::m_image, vigra_ext::ROIImage< RemapImage, AlphaImage >::m_mask, m_pano, FindStruct::mask, MAX_DIMENSION, vigra_ext::CorrelationResult::maxi, vigra_ext::CorrelationResult::maxpos, HuginBase::PTools::optimize(), HuginBase::PanoramaOptions::outputExposureValue, vigra_ext::PointFineTune(), registerPTWXDlgFcn(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage(), HuginBase::PanoramaOptions::remapUsingGPU, hugin_utils::roundi(), HuginBase::Panorama::setCtrlPoints(), PreviewEditCPTool::SetMenuProcessed(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::setPanoImage(), HuginBase::PanoramaOptions::setROI(), HuginBase::PanoramaOptions::setWidth(), vigra_ext::srcImageRange(), HuginBase::PTools::Transform::transformImgCoord(), hugin_utils::TDiff2D< T >::x, HuginBase::ControlPoint::x1, HuginBase::ControlPoint::x2, HuginBase::ControlPoint::X_Y, hugin_utils::TDiff2D< T >::y, HuginBase::ControlPoint::y1, and HuginBase::ControlPoint::y2.
Referenced by MakePreviewTools().
|
protected |
Definition at line 2109 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2089 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::CalculateMeanExposure::calcMeanExposure(), HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1897 of file GLPreviewFrame.cpp.
References DragTool::drag_mode_mosaic, DragTool::drag_mode_normal, drag_tool, DragChoiceLayout(), EnableGroupCheckboxes(), VisualizationState::ForceRequireRedraw(), HasNonZeroTranslationPlaneParameters(), individualDragging(), m_DragModeChoice, m_GLOverview, m_OverviewModeChoice, GLViewer::m_visualization_state, ResetTranslationPlaneParameters(), VisualizationState::SetDirtyViewport(), DragTool::setDragMode(), and UpdateOverviewMode().
Referenced by GLPreviewFrame(), OnOverviewModeChoice(), and SetGuiLevel().
|
protected |
event handler when starting edit cp tool
Definition at line 2426 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), color_picker_tool, ToolHelper::DeactivateTool(), edit_cp_tool, m_colorpicker_togglebutton, m_GLPreview, preview_control_point_tool, and preview_helper.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1741 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_exposureTextCtrl, m_pano, HuginBase::PanoramaOptions::outputExposureValue, and hugin_utils::str2double().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1596 of file GLPreviewFrame.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(), m_pano, ResetPreviewZoom(), hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::PanoramaOptions::setHeight(), and HuginBase::PanoramaOptions::setHFOV().
Referenced by GLPreviewFrame().
|
protected |
event handler for full screen
Definition at line 2751 of file GLPreviewFrame.cpp.
Referenced by GLPreviewFrame().
|
protected |
event handler when user selects different guide
Definition at line 3161 of file GLPreviewFrame.cpp.
References m_GuideChoiceCrop, m_GuideChoiceDrag, m_GuideChoiceProj, preview_guide_tool, redrawPreview(), and PreviewGuideTool::SetGuideStyle().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2969 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxHFOV(), HuginBase::Panorama::getOptions(), m_HFOVText, m_pano, HuginBase::PanoramaOptions::setHFOV(), and hugin_utils::str2double().
Referenced by GLPreviewFrame().
|
protected |
event handler when user hides the infobar
Definition at line 3112 of file GLPreviewFrame.cpp.
References m_showProjectionHints.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2251 of file GLPreviewFrame.cpp.
References CleanButtonColours(), ToolHelper::DeactivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), difference_tool, identify_tool, m_BlendModeChoice, m_GLOverview, m_GLPreview, 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 GLPreviewFrame().
|
protected |
Definition at line 2100 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue.
Referenced by GLPreviewFrame().
|
protected |
event handler for change scale of layout mode
Definition at line 3032 of file GLPreviewFrame.cpp.
References m_GLOverview, m_GLPreview, m_mode, mode_layout, GLViewer::SetLayoutScale(), and GLOverview::SetLayoutScale().
Referenced by GLPreviewFrame(), and SetMode().
|
protected |
Definition at line 3316 of file GLPreviewFrame.cpp.
References LoadImages().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1669 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_DragModeChoice, m_pano, and hugin_utils::stringToDouble().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2038 of file GLPreviewFrame.cpp.
References VisualizationState::ForceRequireRedraw(), GLOverview::GetMode(), m_DragModeChoice, m_GLOverview, m_OverviewModeChoice, GLViewer::m_visualization_state, OnDragChoice(), GLOverview::PANOSPHERE_INSIDE, GLOverview::PANOSPHERE_OUTSIDE, GLOverview::PLANE, VisualizationState::SetDirtyViewport(), and UpdateOverviewMode().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1483 of file GLPreviewFrame.cpp.
References DEBUG_TRACE, m_GLOverview, m_mgr, and GLViewer::SetActive().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2159 of file GLPreviewFrame.cpp.
References m_GLPreview, and GLViewer::SetPhotometricCorrect().
Referenced by GLPreviewFrame().
|
protected |
event handler when user changes background color
Definition at line 3145 of file GLPreviewFrame.cpp.
References m_GLOverview, m_GLPreview, m_preview_background_color, panosphere_sphere_tool, redrawPreview(), PanosphereSphereTool::SetPreviewBackgroundColor(), and GLViewer::SetViewerBackground().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2118 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_projection_panel, m_ProjectionChoice, and HuginBase::PanoramaOptions::setProjection().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1807 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjectionParameters(), m_pano, HuginBase::PanoramaOptions::m_projFeatures, m_projParamTextCtrl, HuginBase::PanoramaOptions::setProjectionParameters(), and hugin_utils::str2double().
Referenced by GLPreviewFrame().
|
protected |
event handler for reset projection parameters
Definition at line 1832 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::resetProjectionParameters().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1778 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_rangeCompressionTextCtrl, HuginBase::PanoramaOptions::outputRangeCompression, and hugin_utils::str2double().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1769 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, celeste::max(), and HuginBase::PanoramaOptions::outputRangeCompression.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1760 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, celeste::min(), and HuginBase::PanoramaOptions::outputRangeCompression.
Referenced by GLPreviewFrame().
|
protected |
handler to remove cp
Definition at line 3389 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), edit_cp_tool, MainFrame::Get(), PreviewEditCPTool::GetFoundCPs(), PanoCommand::GlobalCmdHist::getInstance(), m_pano, HuginBase::PTools::optimize(), and PreviewEditCPTool::SetMenuProcessed().
Referenced by MakePreviewTools().
|
protected |
event handler to reset crop area
Definition at line 2931 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::PanoramaOptions::getHeight(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getWidth(), m_pano, and HuginBase::PanoramaOptions::setROI().
Referenced by GLPreviewFrame().
|
protected |
event handler for changed roi
Definition at line 2892 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), m_pano, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, HuginBase::PanoramaOptions::setROI(), and UpdateRoiDisplay().
Referenced by GLPreviewFrame().
|
protected |
handle all options of select all context menu
Definition at line 3741 of file GLPreviewFrame.cpp.
References m_selectAllMode, and SELECT_ALL_IMAGES.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3753 of file GLPreviewFrame.cpp.
References m_selectAllMode, and SELECT_BRIGHTEST_IMAGES.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3759 of file GLPreviewFrame.cpp.
References m_selectAllMode, and SELECT_DARKEST_IMAGES.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3765 of file GLPreviewFrame.cpp.
References m_selectKeepSelection.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3747 of file GLPreviewFrame.cpp.
References m_selectAllMode, and SELECT_MEDIAN_IMAGES.
Referenced by GLPreviewFrame().
|
protected |
event handler for selection of new mode
Definition at line 2877 of file GLPreviewFrame.cpp.
References m_mode, and SetMode().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3771 of file GLPreviewFrame.cpp.
References m_selectKeepSelection.
Referenced by GLPreviewFrame().
|
protected |
event handler to set fixed aspect ratio of crop
Definition at line 2938 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), SelectAspectRatioDialog::GetSelectedAspectRatio(), m_pano, and HuginBase::PanoramaOptions::setROI().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1617 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), fill_set(), HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::getSortedStacks(), m_pano, m_selectAllMode, m_selectKeepSelection, SELECT_ALL_IMAGES, SELECT_BRIGHTEST_IMAGES, SELECT_DARKEST_IMAGES, and SELECT_MEDIAN_IMAGES.
Referenced by GLPreviewFrame().
void GLPreviewFrame::OnShowEvent | ( | wxShowEvent & | e | ) |
Definition at line 1413 of file GLPreviewFrame.cpp.
References DEBUG_DEBUG, DEBUG_TRACE, and m_mgr.
Referenced by GLPreviewFrame(), LoadOpenGLLayout(), and MainFrame::OnToggleGLPreviewFrame().
|
protected |
event handler to show main frame
Definition at line 3287 of file GLPreviewFrame.cpp.
References MainFrame::Get().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1655 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_ASSERT, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, and m_ToggleButtons.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 2683 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), HuginBase::getHDRStacks(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::setROI().
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1587 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), and m_pano.
Referenced by GLPreviewFrame().
|
protected |
event handler for switch on/off grid on preview
Definition at line 1506 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), ToolHelper::DeactivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), m_GLOverview, m_GLPreview, overview_projection_grid, panosphere_overview_helper, preview_helper, and preview_projection_grid.
Referenced by GLPreviewFrame().
|
protected |
event handler for blocking changing mode when panorama contains no images
Definition at line 2883 of file GLPreviewFrame.cpp.
References HuginBase::Panorama::getNrOfImages(), and m_pano.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 1861 of file GLPreviewFrame.cpp.
References HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjectionParameters(), m_GLPreview, m_pano, HuginBase::PanoramaOptions::m_projFeatures, m_projParamSlider, m_projParamTextCtrl, GLViewer::m_view_state, ViewState::SetOptions(), and HuginBase::PanoramaOptions::setProjectionParameters().
Referenced by GLPreviewFrame().
|
protected |
user wants to quit program
Definition at line 3293 of file GLPreviewFrame.cpp.
Referenced by GLPreviewFrame().
|
protected |
Definition at line 3001 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxVFOV(), HuginBase::Panorama::getOptions(), m_pano, m_VFOVText, HuginBase::PanoramaOptions::setVFOV(), and hugin_utils::str2double().
Referenced by GLPreviewFrame().
|
virtual |
Notification about a Panorama change.
This function will always be called, even when the change could be handled by panoramaImageAdded() or other notify functions.
This allows lazy observers to just listen to panoramaChanged().
Implements HuginBase::PanoramaObserver.
Definition at line 1059 of file GLPreviewFrame.cpp.
References Components2Str(), DEBUG_DEBUG, hugin_utils::doubleToString(), SplitButton::Enable(), HuginBase::BaseSrcPanoImage::EQUIRECTANGULAR, HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::PanoramaOptions::fovCalcSupported(), MainFrame::Get(), HuginBase::Panorama::getActiveImages(), HuginGraph::ImageGraph::GetComponents(), HuginBase::Panorama::getCtrlPoints(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::Panorama::getImage(), PanoCommand::GlobalCmdHist::getInstance(), PanoCommand::CommandHistory::getLastCommandName(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::getProjectionParameters(), HuginBase::CalculateCPStatistics::getResultMax(), HuginBase::CalculateCPStatistics::getResultMean(), HuginBase::PanoramaOptions::getROI(), HuginBase::PanoramaOptions::getSize(), HuginBase::PanoramaOptions::getVFOV(), m_alignButton, m_createButton, m_exposureTextCtrl, m_HFOVSlider, m_HFOVText, m_oldProjFormat, m_pano, m_projection_panel, m_ProjectionChoice, HuginBase::PanoramaOptions::m_projFeatures, m_projParamNamesLabel, m_projParamSizer, m_projParamSlider, m_projParamTextCtrl, m_rangeCompressionTextCtrl, m_showProjectionHints, m_tool_notebook, m_VFOVSlider, m_VFOVText, celeste::max(), HuginBase::Panorama::needsOptimization(), HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputRangeCompression, redrawPreview(), hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), SplitButton::SetLabel(), ShowProjectionWarnings(), and UpdateRoiDisplay().
|
virtual |
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 1252 of file GLPreviewFrame.cpp.
References ImageGroupButtonEventHandler::AddDragTool(), ImageToogleButtonEventHandler::AddIdentifyTool(), ImageGroupButtonEventHandler::AddIdentifyTool(), DEBUG_INFO, DEBUG_TRACE, DragTool::drag_mode_mosaic, DragTool::drag_mode_normal, drag_tool, DragChoiceLayout(), EnableGroupCheckboxes(), HuginBase::Panorama::getActiveImages(), DragTool::getDragMode(), HuginBase::Panorama::getImage(), GLOverview::GetMode(), HuginBase::Panorama::getNrOfImages(), HasNonZeroTranslationPlaneParameters(), HUGIN_CONV_FILENAME, ID_TOGGLE_BUT, identify_tool, individualDragging(), m_ButtonPanel, m_ButtonSizer, m_DragModeChoice, m_GLOverview, m_GroupToggleButtons, m_identify_togglebutton, m_mode, m_OverviewModeChoice, m_pano, m_ToggleButtonPanel, m_ToggleButtons, m_tool_notebook, mode_assistant, mode_drag, overview_drag_tool, GLOverview::PANOSPHERE_OUTSIDE, panosphere_overview_identify_tool, GLOverview::PLANE, plane_overview_identify_tool, redrawPreview(), set_contains(), DragTool::setDragMode(), GLOverview::SetMode(), SetMode(), toggle_group_button_event_handlers, and toogle_button_event_handlers.
void GLPreviewFrame::PauseResize | ( | ) |
Definition at line 159 of file GLPreviewFrame.cpp.
References DEBUG_DEBUG, and GLresize.
Referenced by GLwxAuiManager::CreateFloatingFrame(), and GLwxAuiFloatingFrame::OnMoveFinished().
void GLPreviewFrame::redrawPreview | ( | ) |
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 1398 of file GLPreviewFrame.cpp.
References m_GLOverview, and m_GLPreview.
Referenced by TextureManager::TextureInfo::DefineLevels(), OnGuideChanged(), OnPreviewBackgroundColorChanged(), panoramaChanged(), and panoramaImagesChanged().
void GLPreviewFrame::RemoveImageFromDragGroup | ( | unsigned int | image_nr, |
bool | update_check_box = true |
||
) |
Definition at line 2592 of file GLPreviewFrame.cpp.
References imageDragGroup, and m_GroupToggleButtons.
Referenced by DragTool::MouseButtonEvent(), ImageGroupButtonEventHandler::OnChange(), and ToggleImageInDragGroup().
void GLPreviewFrame::ResetPreviewZoom | ( | ) |
reset zoom level for preview window
Definition at line 1404 of file GLPreviewFrame.cpp.
References m_GLPreview, GLViewer::m_visualization_state, preview_helper, GLViewer::Redraw(), and VisualizationState::SetZoomLevel().
Referenced by MainFrame::LoadProjectFile(), OnCenterHorizontally(), OnFitPano(), and MainFrame::OnNewProject().
|
private |
resets all translation plane parameters to zero
Definition at line 1968 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::Panorama::duplicate(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), HuginBase::Panorama::getVariables(), m_pano, and HuginBase::Panorama::setSrcImage().
Referenced by OnDragChoice(), and UpdateOverviewMode().
void GLPreviewFrame::SetDragGroupImages | ( | HuginBase::UIntSet | imageDragGroup_in, |
bool | update_check_box = true |
||
) |
Definition at line 2604 of file GLPreviewFrame.cpp.
References imageDragGroup, and m_GroupToggleButtons.
Referenced by ImagesTreeCtrl::OnLeftUp().
void GLPreviewFrame::SetGuiLevel | ( | GuiLevel | newLevel | ) |
sets the gui level
Definition at line 3175 of file GLPreviewFrame.cpp.
References DragChoiceLayout(), MainFrame::Get(), GUI_ADVANCED, GUI_EXPERT, GUI_SIMPLE, m_DragModeChoice, m_filemenuAdvanced, m_filemenuSimple, m_GLOverview, m_guiLevel, m_OverviewModeChoice, OnDragChoice(), GLOverview::PANOSPHERE_OUTSIDE, and GLOverview::SetMode().
Referenced by GLPreviewFrame(), and MainFrame::SetGuiLevel().
void GLPreviewFrame::SetImageButtonColour | ( | unsigned int | image_nr, |
unsigned char | red, | ||
unsigned char | green, | ||
unsigned char | blue | ||
) |
Definition at line 2333 of file GLPreviewFrame.cpp.
References m_ToggleButtonPanel, and m_ToggleButtons.
Referenced by PreviewIdentifyTool::AfterDrawImagesEvent(), PreviewIdentifyTool::StopShowingImages(), PreviewIdentifyTool::StopUpdating(), and PreviewIdentifyTool::UpdateWithNewImageSet().
|
private |
Definition at line 2756 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), camera_tool, CleanButtonColours(), color_picker_tool, crop_tool, ToolHelper::DeactivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), drag_tool, edit_cp_tool, EnableGroupCheckboxes(), identify_tool, individualDragging(), m_BlendModeChoice, m_colorpicker_togglebutton, m_editCP_togglebutton, m_GLOverview, m_GLPreview, m_GroupToggleButtons, m_identify_togglebutton, m_mode, m_panosphere_layoutLinesTool, m_plane_layoutLinesTool, m_preview_layoutLinesTool, mode_assistant, mode_crop, mode_drag, mode_layout, mode_preview, mode_projection, non_layout_blend_mode, OnLayoutScaleChange(), overview_drag_tool, pano_mask_tool, panosphere_control_point_tool, panosphere_overview_helper, panosphere_overview_identify_tool, plane_control_point_tool, plane_overview_helper, plane_overview_identify_tool, preview_control_point_tool, preview_guide_tool, preview_helper, PreviewIdentifyTool::setConstantOn(), GLViewer::SetLayoutMode(), GLOverview::SetLayoutMode(), TurnOffTools(), and updateBlendMode().
Referenced by MakePreviewTools(), OnSelectMode(), and panoramaImagesChanged().
void GLPreviewFrame::SetShowProjectionHints | ( | bool | new_value | ) |
set status if projection hints should be shown or not
Definition at line 3103 of file GLPreviewFrame.cpp.
References m_infoBar, and m_showProjectionHints.
Referenced by MainFrame::OnShowPrefs().
void GLPreviewFrame::SetStatusMessage | ( | wxString | message | ) |
Definition at line 2154 of file GLPreviewFrame.cpp.
Referenced by ToolHelper::SetStatusMessage().
|
private |
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 3044 of file GLPreviewFrame.cpp.
References HuginBase::PanoramaOptions::CYLINDRICAL, HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::PanoramaOptions::FULL_FRAME_FISHEYE, HuginBase::PanoramaOptions::getHFOV(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::getVFOV(), m_infoBar, m_pano, HuginBase::PanoramaOptions::RECTILINEAR, and HuginBase::PanoramaOptions::STEREOGRAPHIC.
Referenced by panoramaChanged().
void GLPreviewFrame::StorePositionAndSize | ( | ) |
store position and size of window in wxConfig
Definition at line 844 of file GLPreviewFrame.cpp.
References individualDragging(), m_BlendModeChoice, m_GuideChoiceProj, m_mgr, and StoreFramePosition().
Referenced by MainFrame::OnExit(), and ~GLPreviewFrame().
void GLPreviewFrame::ToggleImageInDragGroup | ( | unsigned int | image_nr, |
bool | update_check_box = true |
||
) |
Definition at line 2585 of file GLPreviewFrame.cpp.
References AddImageToDragGroup(), imageDragGroup, and RemoveImageFromDragGroup().
|
private |
Definition at line 2301 of file GLPreviewFrame.cpp.
References CleanButtonColours(), crop_tool, drag_tool, identify_tool, m_GLOverview, m_GLPreview, m_identify_togglebutton, and preview_control_point_tool.
Referenced by OnControlPoint(), and SetMode().
|
protected |
Update tools and GUI elements according to blend mode choice.
Definition at line 953 of file GLPreviewFrame.cpp.
References ToolHelper::ActivateTool(), CleanButtonColours(), ToolHelper::DeactivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), DEBUG_WARN, difference_tool, identify_tool, m_BlendModeChoice, m_differenceIndex, m_identify_togglebutton, 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().
void GLPreviewFrame::UpdateGlobalWhiteBalance | ( | double | redFactor, |
double | blueFactor | ||
) |
updates the global white balance
redFactor | multiplies all WhiteBalanceRed of individuel images with this factor |
blueFactor | multiplies all WhiteBalanceBlue of individuel images with this factor |
Definition at line 2412 of file GLPreviewFrame.cpp.
References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), m_colorpicker_togglebutton, and m_pano.
Referenced by PreviewColorPickerTool::MouseButtonEvent().
void GLPreviewFrame::UpdateIdentifyTools | ( | std::set< unsigned int > | new_image_set | ) |
Definition at line 3129 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().
|
private |
updates the mode of the overview window
newMode | overview mode which should be setted |
Definition at line 1986 of file GLPreviewFrame.cpp.
References GLOverview::GetMode(), HasNonZeroTranslationPlaneParameters(), m_GLOverview, GLOverview::PANOSPHERE_INSIDE, GLOverview::PANOSPHERE_OUTSIDE, GLOverview::PLANE, ResetTranslationPlaneParameters(), and GLOverview::SetMode().
Referenced by OnDragChoice(), and OnOverviewModeChoice().
|
private |
update display of ROI
Definition at line 1026 of file GLPreviewFrame.cpp.
References hugin_utils::floori(), hugin_utils::gcd(), HuginBase::PanoramaOptions::getROI(), m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, celeste::max(), and vigra_ext::pow().
Referenced by OnROIChanged(), and panoramaChanged().
|
private |
Definition at line 448 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), and SetMode().
|
private |
Definition at line 449 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnColorPicker(), OnEditCPTool(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 445 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), SetMode(), TurnOffTools(), and ~GLPreviewFrame().
|
private |
Definition at line 456 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame().
|
private |
Definition at line 447 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnDragChoice(), panoramaImagesChanged(), SetMode(), TurnOffTools(), and ~GLPreviewFrame().
|
private |
Definition at line 450 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnColorPicker(), OnCreateCP(), OnEditCPTool(), OnRemoveCP(), SetMode(), and ~GLPreviewFrame().
|
protected |
Definition at line 250 of file GLPreviewFrame.h.
Referenced by CanResize(), ContinueResize(), and PauseResize().
|
private |
Definition at line 452 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), TurnOffTools(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame().
|
private |
Definition at line 446 of file GLPreviewFrame.h.
Referenced by AddImageToDragGroup(), ClearDragGroupImages(), GetDragGroupImages(), RemoveImageFromDragGroup(), SetDragGroupImages(), and ToggleImageInDragGroup().
|
private |
Definition at line 401 of file GLPreviewFrame.h.
Referenced by AddUserDefinedAssistant(), GLPreviewFrame(), and panoramaChanged().
|
private |
Definition at line 383 of file GLPreviewFrame.h.
Referenced by FillBlendChoice(), GLPreviewFrame(), OnBlendChoice(), OnIdentify(), SetMode(), StorePositionAndSize(), and updateBlendMode().
|
private |
Definition at line 425 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and panoramaImagesChanged().
|
private |
Definition at line 426 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and panoramaImagesChanged().
|
private |
Definition at line 420 of file GLPreviewFrame.h.
|
private |
Definition at line 371 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnEditCPTool(), SetMode(), and UpdateGlobalWhiteBalance().
|
private |
Definition at line 402 of file GLPreviewFrame.h.
Referenced by AddUserDefinedSequence(), GLPreviewFrame(), and panoramaChanged().
|
private |
Definition at line 393 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 416 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 423 of file GLPreviewFrame.h.
Referenced by FillBlendChoice(), GLPreviewFrame(), and updateBlendMode().
|
private |
Definition at line 384 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), individualDragging(), OnDragChoice(), OnNumTransform(), OnOverviewModeChoice(), panoramaImagesChanged(), and SetGuiLevel().
|
private |
Definition at line 372 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnColorPicker(), OnControlPoint(), and SetMode().
|
private |
Definition at line 394 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 392 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnExposureChanged(), panoramaChanged(), and ~GLPreviewFrame().
|
private |
Definition at line 404 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), SetGuiLevel(), and ~GLPreviewFrame().
|
private |
Definition at line 403 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), SetGuiLevel(), and ~GLPreviewFrame().
|
private |
Definition at line 362 of file GLPreviewFrame.h.
Referenced by ContinueResize(), getOverview(), GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), LoadOpenGLLayout(), OnControlPoint(), OnDragChoice(), OnIdentify(), OnLayoutScaleChange(), OnOverviewModeChoice(), OnOverviewToggle(), OnPreviewBackgroundColorChanged(), OnSwitchPreviewGrid(), panoramaImagesChanged(), redrawPreview(), SetGuiLevel(), SetMode(), TurnOffTools(), and UpdateOverviewMode().
|
private |
Definition at line 361 of file GLPreviewFrame.h.
Referenced by ContinueResize(), getPreview(), GLPreviewFrame(), InitPreviews(), MakePanosphereOverviewTools(), MakePlaneOverviewTools(), MakePreviewTools(), OnColorPicker(), OnControlPoint(), OnCreateCP(), OnEditCPTool(), OnIdentify(), OnLayoutScaleChange(), OnPhotometric(), OnPreviewBackgroundColorChanged(), OnSwitchPreviewGrid(), OnTrackChangeProjectionParam(), redrawPreview(), ResetPreviewZoom(), SetMode(), and TurnOffTools().
|
private |
Definition at line 437 of file GLPreviewFrame.h.
Referenced by AddImageToDragGroup(), ClearDragGroupImages(), EnableGroupCheckboxes(), panoramaImagesChanged(), RemoveImageFromDragGroup(), SetDragGroupImages(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 387 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and OnGuideChanged().
|
private |
Definition at line 388 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and OnGuideChanged().
|
private |
Definition at line 389 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnGuideChanged(), and StorePositionAndSize().
|
private |
Definition at line 364 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), LoadImages(), OnClose(), OnCreate(), SetGuiLevel(), and ~GLPreviewFrame().
|
private |
Definition at line 375 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnChangeProjectionParam(), and panoramaChanged().
|
private |
Definition at line 377 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnHFOVChanged(), panoramaChanged(), and ~GLPreviewFrame().
|
private |
Definition at line 370 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), panoramaImagesChanged(), SetMode(), TurnOffTools(), and updateBlendMode().
|
private |
Bar for context sensitive projection information.
Definition at line 398 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), SetShowProjectionHints(), and ShowProjectionWarnings().
|
private |
Definition at line 400 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
The dock manager.
Definition at line 356 of file GLPreviewFrame.h.
Referenced by getAuiManager(), GLPreviewFrame(), LoadOpenGLLayout(), OnOverviewToggle(), OnShowEvent(), StorePositionAndSize(), and ~GLPreviewFrame().
|
private |
Definition at line 368 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnLayoutScaleChange(), OnSelectMode(), panoramaImagesChanged(), and SetMode().
|
private |
Definition at line 421 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and panoramaChanged().
|
private |
Definition at line 431 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 386 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnDragChoice(), OnOverviewModeChoice(), panoramaImagesChanged(), and SetGuiLevel().
|
private |
Definition at line 359 of file GLPreviewFrame.h.
Referenced by CleanButtonColours(), GLPreviewFrame(), HasNonZeroTranslationPlaneParameters(), LoadImages(), OnAutocrop(), OnAutocropOutside(), OnCenterHorizontally(), OnChangeProjectionParam(), OnCreate(), OnCreateCP(), OnDecreaseExposure(), OnDefaultExposure(), OnExposureChanged(), OnFitPano(), OnHFOVChanged(), OnIncreaseExposure(), OnNumTransform(), OnProjectionChoice(), OnProjParameterChanged(), OnProjParameterReset(), OnRangeCompressionChanged(), OnRangeCompressionDecrease(), OnRangeCompressionIncrease(), OnRemoveCP(), OnResetCrop(), OnROIChanged(), OnSetCropAspect(), OnShowAll(), OnShowNone(), OnStackAutocrop(), OnStraighten(), OnToolModeChanging(), OnTrackChangeProjectionParam(), OnVFOVChanged(), panoramaChanged(), panoramaImagesChanged(), ResetTranslationPlaneParameters(), ShowProjectionWarnings(), UpdateGlobalWhiteBalance(), and ~GLPreviewFrame().
|
private |
Definition at line 468 of file GLPreviewFrame.h.
Referenced by MakePanosphereOverviewTools(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 469 of file GLPreviewFrame.h.
Referenced by MakePlaneOverviewTools(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 418 of file GLPreviewFrame.h.
Referenced by GetPreviewBackgroundColor(), GLPreviewFrame(), and OnPreviewBackgroundColorChanged().
|
private |
Definition at line 467 of file GLPreviewFrame.h.
Referenced by MakePreviewTools(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 374 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnProjectionChoice(), and panoramaChanged().
|
private |
Definition at line 385 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnProjectionChoice(), and panoramaChanged().
|
private |
Definition at line 432 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and panoramaChanged().
|
private |
Definition at line 430 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), and panoramaChanged().
|
private |
Definition at line 434 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnChangeProjectionParam(), OnTrackChangeProjectionParam(), and panoramaChanged().
|
private |
Definition at line 433 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnProjParameterChanged(), OnTrackChangeProjectionParam(), panoramaChanged(), and ~GLPreviewFrame().
|
private |
Definition at line 396 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 395 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnRangeCompressionChanged(), panoramaChanged(), and ~GLPreviewFrame().
|
private |
Definition at line 382 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().
|
private |
Definition at line 379 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().
|
private |
Definition at line 380 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().
|
private |
Definition at line 381 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().
|
private |
Definition at line 405 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 413 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnSelectAllMenu(), OnSelectBrightestMenu(), OnSelectDarkestMenu(), OnSelectMedianMenu(), and OnShowAll().
|
private |
Definition at line 414 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnSelectKeepSelection(), OnSelectResetSelection(), and OnShowAll().
|
private |
Definition at line 466 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnHideProjectionHints(), panoramaChanged(), and SetShowProjectionHints().
|
private |
Definition at line 438 of file GLPreviewFrame.h.
Referenced by CleanButtonColours(), panoramaImagesChanged(), and SetImageButtonColour().
|
private |
Definition at line 436 of file GLPreviewFrame.h.
Referenced by CleanButtonColours(), OnShowNone(), panoramaImagesChanged(), SetImageButtonColour(), and ~GLPreviewFrame().
|
private |
Definition at line 427 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 373 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), panoramaChanged(), and panoramaImagesChanged().
|
private |
Definition at line 429 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame().
|
private |
Definition at line 376 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnChangeProjectionParam(), and panoramaChanged().
|
private |
Definition at line 378 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), OnVFOVChanged(), panoramaChanged(), and ~GLPreviewFrame().
|
private |
Definition at line 366 of file GLPreviewFrame.h.
|
private |
Definition at line 369 of file GLPreviewFrame.h.
Referenced by SetMode().
|
private |
Definition at line 479 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), panoramaImagesChanged(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 484 of file GLPreviewFrame.h.
Referenced by MakePanosphereOverviewTools(), and ~GLPreviewFrame().
|
private |
Definition at line 471 of file GLPreviewFrame.h.
Referenced by MakePanosphereOverviewTools(), OnSwitchPreviewGrid(), and ~GLPreviewFrame().
|
private |
Definition at line 464 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 461 of file GLPreviewFrame.h.
Referenced by MakePanosphereOverviewTools(), OnControlPoint(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 458 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame().
|
private |
Definition at line 481 of file GLPreviewFrame.h.
Referenced by MakePanosphereOverviewTools(), and ~GLPreviewFrame().
|
private |
Definition at line 475 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePanosphereOverviewTools(), OnControlPoint(), OnIdentify(), OnSwitchPreviewGrid(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().
|
private |
Definition at line 453 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame().
|
private |
Definition at line 473 of file GLPreviewFrame.h.
Referenced by MakePanosphereOverviewTools(), OnPreviewBackgroundColorChanged(), and ~GLPreviewFrame().
|
private |
Definition at line 462 of file GLPreviewFrame.h.
Referenced by MakePlaneOverviewTools(), OnControlPoint(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 457 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePlaneOverviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame().
|
private |
Definition at line 482 of file GLPreviewFrame.h.
Referenced by MakePlaneOverviewTools(), and ~GLPreviewFrame().
|
private |
Definition at line 477 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePlaneOverviewTools(), OnControlPoint(), OnIdentify(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().
|
private |
Definition at line 454 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePlaneOverviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame().
|
private |
Definition at line 485 of file GLPreviewFrame.h.
Referenced by MakePlaneOverviewTools(), and ~GLPreviewFrame().
|
private |
Definition at line 460 of file GLPreviewFrame.h.
Referenced by MakePreviewTools(), OnControlPoint(), OnEditCPTool(), SetMode(), TurnOffTools(), and ~GLPreviewFrame().
|
private |
Definition at line 487 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), MakePreviewTools(), OnGuideChanged(), SetMode(), and ~GLPreviewFrame().
|
private |
Definition at line 443 of file GLPreviewFrame.h.
Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePreviewTools(), OnColorPicker(), OnControlPoint(), OnEditCPTool(), OnIdentify(), OnSwitchPreviewGrid(), ResetPreviewZoom(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().
|
private |
Definition at line 472 of file GLPreviewFrame.h.
Referenced by MakePreviewTools(), OnSwitchPreviewGrid(), and ~GLPreviewFrame().
|
private |
Definition at line 440 of file GLPreviewFrame.h.
Referenced by panoramaImagesChanged().
|
private |
Definition at line 439 of file GLPreviewFrame.h.
Referenced by panoramaImagesChanged().