Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
GLPreviewFrame Class Reference

The OpenGL preview frame. More...

#include <GLPreviewFrame.h>

Inheritance diagram for GLPreviewFrame:
Inheritance graph

Public Member Functions

 GLPreviewFrame (wxFrame *frame, HuginBase::Panorama &pano)
 ctor.
 
virtual ~GLPreviewFrame ()
 dtor.
 
void StorePositionAndSize ()
 store position and size of window in wxConfig
 
virtual void panoramaChanged (HuginBase::Panorama &pano)
 Notification about a Panorama change.
 
virtual void panoramaImagesChanged (HuginBase::Panorama &pano, const HuginBase::UIntSet &changed)
 notifies about changes to images
 
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
 
void AddUserDefinedSequence (int id, const wxString &desc, const wxString &help)
 adds the given user defined output sequence to SplitButton menu
 
void AddUserDefinedAssistant (int id, const wxString &desc, const wxString &help)
 adds the given user defined assistant to SplitButton menu
 
GLwxAuiManagergetAuiManager ()
 
GLPreviewgetPreview ()
 
GLOverviewgetOverview ()
 
void PauseResize ()
 
void ContinueResize ()
 
bool CanResize ()
 
void redrawPreview ()
 Display an updated version of the preview images.
 
void ResetPreviewZoom ()
 reset zoom level for preview window
 
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 (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
 
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
 
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 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
 
void OnResetCrop (wxCommandEvent &e)
 event handler to reset crop area
 
void OnSetCropAspect (wxCommandEvent &e)
 event handler to set fixed aspect ratio of crop
 
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 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 (wxCommandEvent &e)
 event handler for change scale of layout mode
 
void OnColorPicker (wxCommandEvent &e)
 event handler when starting color picker
 
void OnEditCPTool (wxCommandEvent &e)
 event handler when starting edit cp tool
 
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 LoadImages (int preferredLensType)
 
void OnAlign (wxCommandEvent &e)
 
void OnCreate (wxCommandEvent &e)
 
void OnCreateCP (wxCommandEvent &e)
 handler for creating cp in pano space
 
void OnRemoveCP (wxCommandEvent &e)
 handler to remove cp
 
void OnSelectAllMenu (wxCommandEvent &e)
 handle all options of select all context menu
 
void OnSelectMedianMenu (wxCommandEvent &e)
 
void OnSelectDarkestMenu (wxCommandEvent &e)
 
void OnSelectBrightestMenu (wxCommandEvent &e)
 
void OnSelectKeepSelection (wxCommandEvent &e)
 
void OnSelectResetSelection (wxCommandEvent &e)
 
void OnImageContextMenu (wxContextMenuEvent &e)
 show context menu on image buttons
 
void OnRemoveImage (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
 
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

GLwxAuiManagerm_mgr
 The dock manager.
 
HuginBase::Panoramam_pano
 
GLPreviewm_GLPreview
 
GLOverviewm_GLOverview
 
GuiLevel m_guiLevel
 
ViewStatem_view_state
 
int m_mode
 
int non_layout_blend_mode
 
wxToggleButtonm_identify_togglebutton
 
wxToggleButtonm_colorpicker_togglebutton
 
wxToggleButtonm_editCP_togglebutton
 
wxNotebookm_tool_notebook
 
wxPanel * m_projection_panel
 
wxSliderm_HFOVSlider
 
wxSliderm_VFOVSlider
 
wxTextCtrl * m_HFOVText
 
wxTextCtrl * m_VFOVText
 
wxTextCtrl * m_ROILeftTxt
 
wxTextCtrl * m_ROIRightTxt
 
wxTextCtrl * m_ROITopTxt
 
wxTextCtrl * m_ROIBottomTxt
 
wxChoicem_BlendModeChoice
 
wxChoicem_DragModeChoice
 
wxChoicem_ProjectionChoice
 
wxChoicem_OverviewModeChoice
 
wxChoicem_GuideChoiceCrop
 
wxChoicem_GuideChoiceDrag
 
wxChoicem_GuideChoiceProj
 
wxTextCtrl * m_exposureTextCtrl
 
wxBitmapButtonm_defaultExposureBut
 
wxSpinButtonm_exposureSpinBut
 
wxTextCtrl * m_rangeCompressionTextCtrl
 
wxSpinButtonm_rangeCompressionSpinBut
 
wxInfoBarm_infoBar
 Bar for context sensitive projection information.
 
SplitButtonm_loadImagesButton
 
SplitButtonm_alignButton
 
SplitButtonm_createButton
 
wxMenum_filemenuSimple
 
wxMenum_filemenuAdvanced
 
wxMenu m_imageMenu
 
int m_imageMenuIndex = -1
 
int m_removeImageMenuId
 
SplitButtonm_selectAllButton
 
SelectAllMode m_selectAllMode
 
bool m_selectKeepSelection
 
int m_degDigits
 
wxColour m_preview_background_color
 
wxString m_choices [3]
 
int m_oldProjFormat
 
int m_differenceIndex
 
wxScrolledWindow * m_ButtonPanel
 
wxBoxSizerm_ButtonSizer
 
wxStaticBoxSizerm_ToggleButtonSizer
 
wxBoxSizerm_topsizer
 
wxBoxSizerm_projParamSizer
 
wxPanel * m_overviewCommandPanel
 
std::vector< wxStaticText * > m_projParamNamesLabel
 
std::vector< wxTextCtrl * > m_projParamTextCtrl
 
std::vector< wxSlider * > m_projParamSlider
 
std::vector< wxToggleButton * > 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
 
PreviewToolHelperpreview_helper
 
PreviewCropToolcrop_tool
 
HuginBase::UIntSet imageDragGroup
 
PreviewDragTooldrag_tool
 
PreviewCameraToolcamera_tool
 
PreviewColorPickerToolcolor_picker_tool
 
PreviewEditCPTooledit_cp_tool
 
PreviewIdentifyToolidentify_tool
 
PreviewIdentifyToolpanosphere_overview_identify_tool
 
PreviewIdentifyToolplane_overview_identify_tool
 
PreviewDifferenceTooldifference_tool
 
PreviewDifferenceToolplane_difference_tool
 
PreviewDifferenceToolpanosphere_difference_tool
 
PreviewControlPointToolpreview_control_point_tool
 
PreviewControlPointToolpanosphere_control_point_tool
 
PreviewControlPointToolplane_control_point_tool
 
PreviewPanoMaskToolpano_mask_tool
 
bool m_showProjectionHints
 
PreviewLayoutLinesToolm_preview_layoutLinesTool
 
PreviewLayoutLinesToolm_panosphere_layoutLinesTool
 
PreviewLayoutLinesToolm_plane_layoutLinesTool
 
PanosphereOverviewProjectionGridTooloverview_projection_grid
 
PreviewProjectionGridToolpreview_projection_grid
 
PanosphereSphereToolpanosphere_sphere_tool
 
PanosphereOverviewToolHelperpanosphere_overview_helper
 
PlaneOverviewToolHelperplane_overview_helper
 
OverviewDragTooloverview_drag_tool
 
PanosphereOverviewCameraToolpanosphere_overview_camera_tool
 
PlaneOverviewCameraToolplane_overview_camera_tool
 
PanosphereOverviewOutlinesTooloverview_outlines_tool
 
PlaneOverviewOutlinesToolplane_overview_outlines_tool
 
PreviewGuideToolpreview_guide_tool
 

Detailed Description

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.

Member Enumeration Documentation

◆ SelectAllMode

Enumerator
SELECT_ALL_IMAGES 
SELECT_MEDIAN_IMAGES 
SELECT_BRIGHTEST_IMAGES 
SELECT_DARKEST_IMAGES 

Definition at line 415 of file GLPreviewFrame.h.

Constructor & Destructor Documentation

◆ GLPreviewFrame()

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_imageMenu, 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_removeImageMenuId, 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(), OnRemoveImage(), 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, hugin_utils::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(), HuginBase::PanoramaOptions::setVFOV(), and threshold().

◆ ~GLPreviewFrame()

GLPreviewFrame::~GLPreviewFrame ( )
virtual

Member Function Documentation

◆ AddImageToDragGroup()

void GLPreviewFrame::AddImageToDragGroup ( unsigned int  image_nr,
bool  update_check_box = true 
)

◆ AddUserDefinedAssistant()

void GLPreviewFrame::AddUserDefinedAssistant ( int  id,
const wxString desc,
const wxString help 
)

adds the given user defined assistant to SplitButton menu

Definition at line 3267 of file GLPreviewFrame.cpp.

References SplitButton::GetSplitButtonMenu(), m_alignButton, and threshold().

Referenced by MainFrame::MainFrame().

◆ AddUserDefinedSequence()

void GLPreviewFrame::AddUserDefinedSequence ( int  id,
const wxString desc,
const wxString help 
)

adds the given user defined output sequence to SplitButton menu

Definition at line 3255 of file GLPreviewFrame.cpp.

References SplitButton::GetSplitButtonMenu(), m_createButton, and threshold().

Referenced by MainFrame::MainFrame().

◆ CanResize()

bool GLPreviewFrame::CanResize ( )
inline

Definition at line 217 of file GLPreviewFrame.h.

References GLresize.

Referenced by GLViewer::RedrawE(), and GLViewer::Resized().

◆ CleanButtonColours()

void GLPreviewFrame::CleanButtonColours ( )
private

◆ ClearDragGroupImages()

void GLPreviewFrame::ClearDragGroupImages ( bool  update_check_box = true)

Definition at line 2613 of file GLPreviewFrame.cpp.

References imageDragGroup, m_GroupToggleButtons, and threshold().

◆ ContinueResize()

void GLPreviewFrame::ContinueResize ( )

◆ DragChoiceLayout()

void GLPreviewFrame::DragChoiceLayout ( int  index)
protected

Definition at line 2063 of file GLPreviewFrame.cpp.

References threshold().

Referenced by GLPreviewFrame(), OnDragChoice(), panoramaImagesChanged(), and SetGuiLevel().

◆ EnableGroupCheckboxes()

void GLPreviewFrame::EnableGroupCheckboxes ( bool  isShown)
private

changes the visibility of the group check boxes

Parameters
isShowntrue if the group checkboxes should be visible

Definition at line 2621 of file GLPreviewFrame.cpp.

References m_GroupToggleButtons, and threshold().

Referenced by OnDragChoice(), panoramaImagesChanged(), and SetMode().

◆ FillBlendChoice()

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 2632 of file GLPreviewFrame.cpp.

References PreviewDifferenceTool::CheckOpenGLCanDifference(), m_BlendModeChoice, m_differenceIndex, threshold(), and updateBlendMode().

Referenced by LoadOpenGLLayout().

◆ getAuiManager()

GLwxAuiManager * GLPreviewFrame::getAuiManager ( )
inline

Definition at line 211 of file GLPreviewFrame.h.

References m_mgr.

◆ GetDragGroupImages()

HuginBase::UIntSet GLPreviewFrame::GetDragGroupImages ( )

Definition at line 2610 of file GLPreviewFrame.cpp.

References imageDragGroup.

Referenced by DragTool::MouseButtonEvent(), and ImagesTreeCtrl::OnLeftUp().

◆ getOverview()

GLOverview * GLPreviewFrame::getOverview ( )
inline

Definition at line 213 of file GLPreviewFrame.h.

References m_GLOverview.

Referenced by GLViewer::SetUpContext().

◆ getPreview()

GLPreview * GLPreviewFrame::getPreview ( )
inline

◆ GetPreviewBackgroundColor()

wxColor GLPreviewFrame::GetPreviewBackgroundColor ( )

Definition at line 3149 of file GLPreviewFrame.cpp.

References m_preview_background_color.

Referenced by GLViewer::GLViewer(), and MakePanosphereOverviewTools().

◆ HasNonZeroTranslationPlaneParameters()

bool GLPreviewFrame::HasNonZeroTranslationPlaneParameters ( )
private

check, if panorama has non-zero translation plane parameters

Returns
true, if panorama has non-zero translation parameters

Definition at line 1953 of file GLPreviewFrame.cpp.

References HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), m_pano, and threshold().

Referenced by OnDragChoice(), panoramaImagesChanged(), and UpdateOverviewMode().

◆ individualDragging()

bool GLPreviewFrame::individualDragging ( )

◆ InitPreviews()

void GLPreviewFrame::InitPreviews ( )

◆ KeyDown()

void GLPreviewFrame::KeyDown ( wxKeyEvent e)
protected

◆ KeyUp()

void GLPreviewFrame::KeyUp ( wxKeyEvent e)
protected

◆ LoadImages()

void GLPreviewFrame::LoadImages ( int  preferredLensType)
protected

◆ LoadOpenGLLayout()

void GLPreviewFrame::LoadOpenGLLayout ( )

loads the layout of the OpenGL windows and restores it

Definition at line 815 of file GLPreviewFrame.cpp.

References FillBlendChoice(), m_GLOverview, m_mgr, OnShowEvent(), GLViewer::SetActive(), and threshold().

Referenced by GLPreviewFrame(), InitPreviews(), and MainFrame::OnToggleGLPreviewFrame().

◆ MakePanosphereOverviewTools()

void GLPreviewFrame::MakePanosphereOverviewTools ( PanosphereOverviewToolHelper helper)

◆ MakePlaneOverviewTools()

void GLPreviewFrame::MakePlaneOverviewTools ( PlaneOverviewToolHelper helper)

◆ MakePreviewTools()

void GLPreviewFrame::MakePreviewTools ( PreviewToolHelper helper)

◆ OnAlign()

void GLPreviewFrame::OnAlign ( wxCommandEvent &  e)
protected

Definition at line 3361 of file GLPreviewFrame.cpp.

References MainFrame::Get(), and MainFrame::RunAssistant().

Referenced by GLPreviewFrame(), and LoadImages().

◆ OnAutocrop()

void GLPreviewFrame::OnAutocrop ( wxCommandEvent &  e)
protected

◆ OnAutocropOutside()

void GLPreviewFrame::OnAutocropOutside ( wxCommandEvent &  e)
protected

◆ OnBlendChoice()

void GLPreviewFrame::OnBlendChoice ( wxCommandEvent &  e)
protected

Definition at line 1889 of file GLPreviewFrame.cpp.

References m_BlendModeChoice, and updateBlendMode().

Referenced by GLPreviewFrame().

◆ OnCenterHorizontally()

void GLPreviewFrame::OnCenterHorizontally ( wxCommandEvent &  e)
protected

◆ OnChangeProjectionParam()

void GLPreviewFrame::OnChangeProjectionParam ( wxScrollEvent e)
protected

◆ OnClose()

void GLPreviewFrame::OnClose ( wxCloseEvent e)
protected

◆ OnColorPicker()

void GLPreviewFrame::OnColorPicker ( wxCommandEvent &  e)
protected

◆ OnControlPoint()

void GLPreviewFrame::OnControlPoint ( wxCommandEvent &  e)
protected

◆ OnCreate()

void GLPreviewFrame::OnCreate ( wxCommandEvent &  e)
protected

◆ OnCreateCP()

void GLPreviewFrame::OnCreateCP ( wxCommandEvent &  e)
protected

◆ OnDecreaseExposure()

void GLPreviewFrame::OnDecreaseExposure ( wxSpinEvent e)
protected

◆ OnDefaultExposure()

void GLPreviewFrame::OnDefaultExposure ( wxCommandEvent &  e)
protected

◆ OnDragChoice()

void GLPreviewFrame::OnDragChoice ( wxCommandEvent &  e)
protected

◆ OnEditCPTool()

void GLPreviewFrame::OnEditCPTool ( wxCommandEvent &  e)
protected

◆ OnExposureChanged()

void GLPreviewFrame::OnExposureChanged ( wxCommandEvent &  e)
protected

◆ OnFitPano()

void GLPreviewFrame::OnFitPano ( wxCommandEvent &  e)
protected

◆ OnFullScreen()

void GLPreviewFrame::OnFullScreen ( wxCommandEvent &  e)
protected

event handler for full screen

Definition at line 2749 of file GLPreviewFrame.cpp.

References threshold().

Referenced by GLPreviewFrame().

◆ OnGuideChanged()

void GLPreviewFrame::OnGuideChanged ( wxCommandEvent &  e)
protected

event handler when user selects different guide

Definition at line 3153 of file GLPreviewFrame.cpp.

References m_GuideChoiceCrop, m_GuideChoiceDrag, m_GuideChoiceProj, preview_guide_tool, redrawPreview(), and PreviewGuideTool::SetGuideStyle().

Referenced by GLPreviewFrame().

◆ OnHFOVChanged()

void GLPreviewFrame::OnHFOVChanged ( wxCommandEvent &  e)
protected

◆ OnHideProjectionHints()

void GLPreviewFrame::OnHideProjectionHints ( wxCommandEvent &  e)
protected

event handler when user hides the infobar

Definition at line 3110 of file GLPreviewFrame.cpp.

References hugin_utils::HuginMessageBox(), m_showProjectionHints, and threshold().

Referenced by GLPreviewFrame().

◆ OnIdentify()

void GLPreviewFrame::OnIdentify ( wxCommandEvent &  e)
protected

◆ OnImageContextMenu()

void GLPreviewFrame::OnImageContextMenu ( wxContextMenuEvent e)
protected

show context menu on image buttons

Definition at line 3754 of file GLPreviewFrame.cpp.

References ID_TOGGLE_BUT, m_imageMenu, m_imageMenuIndex, m_removeImageMenuId, m_ToggleButtons, and threshold().

Referenced by panoramaImagesChanged().

◆ OnIncreaseExposure()

void GLPreviewFrame::OnIncreaseExposure ( wxSpinEvent e)
protected

◆ OnLayoutScaleChange()

void GLPreviewFrame::OnLayoutScaleChange ( wxCommandEvent &  e)
protected

event handler for change scale of layout mode

Definition at line 3030 of file GLPreviewFrame.cpp.

References m_GLOverview, m_GLPreview, m_mode, mode_layout, GLViewer::SetLayoutScale(), GLOverview::SetLayoutScale(), and threshold().

Referenced by GLPreviewFrame(), and SetMode().

◆ OnLoadImages()

void GLPreviewFrame::OnLoadImages ( wxCommandEvent &  e)
protected

Definition at line 3308 of file GLPreviewFrame.cpp.

References LoadImages().

Referenced by GLPreviewFrame().

◆ OnNumTransform()

void GLPreviewFrame::OnNumTransform ( wxCommandEvent &  e)
protected

◆ OnOverviewModeChoice()

void GLPreviewFrame::OnOverviewModeChoice ( wxCommandEvent &  e)
protected

◆ OnOverviewToggle()

void GLPreviewFrame::OnOverviewToggle ( wxCommandEvent &  e)
protected

Definition at line 1487 of file GLPreviewFrame.cpp.

References DEBUG_TRACE, m_GLOverview, m_mgr, GLViewer::SetActive(), and threshold().

Referenced by GLPreviewFrame().

◆ OnPhotometric()

void GLPreviewFrame::OnPhotometric ( wxCommandEvent &  e)
protected

Definition at line 2153 of file GLPreviewFrame.cpp.

References m_GLPreview, and GLViewer::SetPhotometricCorrect().

Referenced by GLPreviewFrame().

◆ OnPreviewBackgroundColorChanged()

void GLPreviewFrame::OnPreviewBackgroundColorChanged ( wxColourPickerEvent e)
protected

◆ OnProjectionChoice()

void GLPreviewFrame::OnProjectionChoice ( wxCommandEvent &  e)
protected

◆ OnProjParameterChanged()

void GLPreviewFrame::OnProjParameterChanged ( wxCommandEvent &  e)
protected

◆ OnProjParameterReset()

void GLPreviewFrame::OnProjParameterReset ( wxCommandEvent &  e)
protected

◆ OnRangeCompressionChanged()

void GLPreviewFrame::OnRangeCompressionChanged ( wxCommandEvent &  e)
protected

◆ OnRangeCompressionDecrease()

void GLPreviewFrame::OnRangeCompressionDecrease ( wxSpinEvent e)
protected

◆ OnRangeCompressionIncrease()

void GLPreviewFrame::OnRangeCompressionIncrease ( wxSpinEvent e)
protected

◆ OnRemoveCP()

void GLPreviewFrame::OnRemoveCP ( wxCommandEvent &  e)
protected

◆ OnRemoveImage()

void GLPreviewFrame::OnRemoveImage ( wxCommandEvent &  e)
protected

◆ OnResetCrop()

void GLPreviewFrame::OnResetCrop ( wxCommandEvent &  e)
protected

◆ OnROIChanged()

void GLPreviewFrame::OnROIChanged ( wxCommandEvent &  e)
protected

◆ OnSelectAllMenu()

void GLPreviewFrame::OnSelectAllMenu ( wxCommandEvent &  e)
protected

handle all options of select all context menu

Definition at line 3718 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_ALL_IMAGES.

Referenced by GLPreviewFrame().

◆ OnSelectBrightestMenu()

void GLPreviewFrame::OnSelectBrightestMenu ( wxCommandEvent &  e)
protected

Definition at line 3730 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_BRIGHTEST_IMAGES.

Referenced by GLPreviewFrame().

◆ OnSelectDarkestMenu()

void GLPreviewFrame::OnSelectDarkestMenu ( wxCommandEvent &  e)
protected

Definition at line 3736 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_DARKEST_IMAGES.

Referenced by GLPreviewFrame().

◆ OnSelectKeepSelection()

void GLPreviewFrame::OnSelectKeepSelection ( wxCommandEvent &  e)
protected

Definition at line 3742 of file GLPreviewFrame.cpp.

References m_selectKeepSelection.

Referenced by GLPreviewFrame().

◆ OnSelectMedianMenu()

void GLPreviewFrame::OnSelectMedianMenu ( wxCommandEvent &  e)
protected

Definition at line 3724 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_MEDIAN_IMAGES.

Referenced by GLPreviewFrame().

◆ OnSelectMode()

void GLPreviewFrame::OnSelectMode ( wxNotebookEvent e)
protected

event handler for selection of new mode

Definition at line 2875 of file GLPreviewFrame.cpp.

References m_mode, and SetMode().

Referenced by GLPreviewFrame().

◆ OnSelectResetSelection()

void GLPreviewFrame::OnSelectResetSelection ( wxCommandEvent &  e)
protected

Definition at line 3748 of file GLPreviewFrame.cpp.

References m_selectKeepSelection.

Referenced by GLPreviewFrame().

◆ OnSetCropAspect()

void GLPreviewFrame::OnSetCropAspect ( wxCommandEvent &  e)
protected

◆ OnShowAll()

void GLPreviewFrame::OnShowAll ( wxCommandEvent &  e)
protected

◆ OnShowEvent()

void GLPreviewFrame::OnShowEvent ( wxShowEvent e)

◆ OnShowMainFrame()

void GLPreviewFrame::OnShowMainFrame ( wxCommandEvent &  e)
protected

event handler to show main frame

Definition at line 3279 of file GLPreviewFrame.cpp.

References MainFrame::Get().

Referenced by GLPreviewFrame().

◆ OnShowNone()

void GLPreviewFrame::OnShowNone ( wxCommandEvent &  e)
protected

◆ OnStackAutocrop()

void GLPreviewFrame::OnStackAutocrop ( wxCommandEvent &  e)
protected

◆ OnStraighten()

void GLPreviewFrame::OnStraighten ( wxCommandEvent &  e)
protected

◆ OnSwitchPreviewGrid()

void GLPreviewFrame::OnSwitchPreviewGrid ( wxCommandEvent &  e)
protected

◆ OnToolModeChanging()

void GLPreviewFrame::OnToolModeChanging ( wxNotebookEvent e)
protected

event handler for blocking changing mode when panorama contains no images

Definition at line 2881 of file GLPreviewFrame.cpp.

References HuginBase::Panorama::getNrOfImages(), m_pano, and threshold().

Referenced by GLPreviewFrame().

◆ OnTrackChangeProjectionParam()

void GLPreviewFrame::OnTrackChangeProjectionParam ( wxScrollEvent e)
protected

◆ OnUserExit()

void GLPreviewFrame::OnUserExit ( wxCommandEvent &  e)
protected

user wants to quit program

Definition at line 3285 of file GLPreviewFrame.cpp.

References threshold().

Referenced by GLPreviewFrame().

◆ OnVFOVChanged()

void GLPreviewFrame::OnVFOVChanged ( wxCommandEvent &  e)
protected

◆ panoramaChanged()

void GLPreviewFrame::panoramaChanged ( HuginBase::Panorama pano)
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 1062 of file GLPreviewFrame.cpp.

References Components2Str(), DEBUG_DEBUG, hugin_utils::doubleToString(), SplitButton::Enable(), HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::BaseSrcPanoImage::EQUIRECTANGULAR, HuginBase::PanoramaOptions::fovCalcSupported(), MainFrame::Get(), HuginBase::Panorama::getActiveImages(), 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::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, HuginBase::Panorama::needsOptimization(), HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputRangeCompression, redrawPreview(), hugin_utils::roundi(), SplitButton::SetLabel(), ShowProjectionWarnings(), threshold(), and UpdateRoiDisplay().

◆ panoramaImagesChanged()

void GLPreviewFrame::panoramaImagesChanged ( HuginBase::Panorama pano,
const HuginBase::UIntSet changed 
)
virtual

◆ PauseResize()

void GLPreviewFrame::PauseResize ( )

◆ redrawPreview()

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 1402 of file GLPreviewFrame.cpp.

References m_GLOverview, and m_GLPreview.

Referenced by TextureManager::TextureInfo::DefineLevels(), OnGuideChanged(), OnPreviewBackgroundColorChanged(), panoramaChanged(), and panoramaImagesChanged().

◆ RemoveImageFromDragGroup()

void GLPreviewFrame::RemoveImageFromDragGroup ( unsigned int  image_nr,
bool  update_check_box = true 
)

◆ ResetPreviewZoom()

void GLPreviewFrame::ResetPreviewZoom ( )

◆ ResetTranslationPlaneParameters()

void GLPreviewFrame::ResetTranslationPlaneParameters ( )
private

◆ SetDragGroupImages()

void GLPreviewFrame::SetDragGroupImages ( HuginBase::UIntSet  imageDragGroup_in,
bool  update_check_box = true 
)

Definition at line 2602 of file GLPreviewFrame.cpp.

References imageDragGroup, m_GroupToggleButtons, and threshold().

Referenced by ImagesTreeCtrl::OnLeftUp().

◆ SetGuiLevel()

void GLPreviewFrame::SetGuiLevel ( GuiLevel  newLevel)

◆ SetImageButtonColour()

void GLPreviewFrame::SetImageButtonColour ( unsigned int  image_nr,
unsigned char  red,
unsigned char  green,
unsigned char  blue 
)

◆ SetMode()

void GLPreviewFrame::SetMode ( int  newMode)
private

◆ SetShowProjectionHints()

void GLPreviewFrame::SetShowProjectionHints ( bool  new_value)

set status if projection hints should be shown or not

Definition at line 3101 of file GLPreviewFrame.cpp.

References m_infoBar, m_showProjectionHints, and threshold().

Referenced by MainFrame::OnShowPrefs().

◆ SetStatusMessage()

void GLPreviewFrame::SetStatusMessage ( wxString  message)

Definition at line 2148 of file GLPreviewFrame.cpp.

References threshold().

Referenced by ToolHelper::SetStatusMessage().

◆ ShowProjectionWarnings()

void GLPreviewFrame::ShowProjectionWarnings ( )
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 3042 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, HuginBase::PanoramaOptions::STEREOGRAPHIC, and threshold().

Referenced by panoramaChanged().

◆ StorePositionAndSize()

void GLPreviewFrame::StorePositionAndSize ( )

store position and size of window in wxConfig

Definition at line 847 of file GLPreviewFrame.cpp.

References individualDragging(), m_BlendModeChoice, m_GuideChoiceProj, m_mgr, hugin_utils::StoreFramePosition(), and threshold().

Referenced by MainFrame::OnExit(), and ~GLPreviewFrame().

◆ ToggleImageInDragGroup()

void GLPreviewFrame::ToggleImageInDragGroup ( unsigned int  image_nr,
bool  update_check_box = true 
)

◆ TurnOffTools()

void GLPreviewFrame::TurnOffTools ( std::set< Tool * >  tools)
private

◆ updateBlendMode()

void GLPreviewFrame::updateBlendMode ( )
protected

◆ UpdateGlobalWhiteBalance()

void GLPreviewFrame::UpdateGlobalWhiteBalance ( double  redFactor,
double  blueFactor 
)

updates the global white balance

Parameters
redFactormultiplies all WhiteBalanceRed of individuel images with this factor
blueFactormultiplies all WhiteBalanceBlue of individuel images with this factor

Definition at line 2410 of file GLPreviewFrame.cpp.

References PanoCommand::CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), m_colorpicker_togglebutton, m_pano, and threshold().

Referenced by PreviewColorPickerTool::MouseButtonEvent().

◆ UpdateIdentifyTools()

void GLPreviewFrame::UpdateIdentifyTools ( std::set< unsigned int new_image_set)

◆ UpdateOverviewMode()

bool GLPreviewFrame::UpdateOverviewMode ( int  newMode)
private

updates the mode of the overview window

Parameters
newModeoverview mode which should be setted
Returns
true, of mode was successful changed to desired mode

Definition at line 1985 of file GLPreviewFrame.cpp.

References GLOverview::GetMode(), HasNonZeroTranslationPlaneParameters(), hugin_utils::HuginMessageBox(), m_GLOverview, GLOverview::PANOSPHERE_INSIDE, GLOverview::PANOSPHERE_OUTSIDE, GLOverview::PLANE, ResetTranslationPlaneParameters(), GLOverview::SetMode(), and threshold().

Referenced by OnDragChoice(), and OnOverviewModeChoice().

◆ UpdateRoiDisplay()

void GLPreviewFrame::UpdateRoiDisplay ( const HuginBase::PanoramaOptions  opts)
private

Member Data Documentation

◆ camera_tool

PreviewCameraTool* GLPreviewFrame::camera_tool
private

Definition at line 457 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePreviewTools(), and SetMode().

◆ color_picker_tool

PreviewColorPickerTool* GLPreviewFrame::color_picker_tool
private

◆ crop_tool

PreviewCropTool* GLPreviewFrame::crop_tool
private

◆ difference_tool

PreviewDifferenceTool* GLPreviewFrame::difference_tool
private

◆ drag_tool

PreviewDragTool* GLPreviewFrame::drag_tool
private

◆ edit_cp_tool

PreviewEditCPTool* GLPreviewFrame::edit_cp_tool
private

◆ GLresize

bool GLPreviewFrame::GLresize = true
protected

Definition at line 250 of file GLPreviewFrame.h.

Referenced by CanResize(), ContinueResize(), and PauseResize().

◆ identify_tool

PreviewIdentifyTool* GLPreviewFrame::identify_tool
private

◆ imageDragGroup

HuginBase::UIntSet GLPreviewFrame::imageDragGroup
private

◆ m_alignButton

SplitButton* GLPreviewFrame::m_alignButton
private

Definition at line 404 of file GLPreviewFrame.h.

Referenced by AddUserDefinedAssistant(), GLPreviewFrame(), and panoramaChanged().

◆ m_BlendModeChoice

wxChoice* GLPreviewFrame::m_BlendModeChoice
private

◆ m_ButtonPanel

wxScrolledWindow* GLPreviewFrame::m_ButtonPanel
private

Definition at line 434 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaImagesChanged().

◆ m_ButtonSizer

wxBoxSizer* GLPreviewFrame::m_ButtonSizer
private

Definition at line 435 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaImagesChanged().

◆ m_choices

wxString GLPreviewFrame::m_choices[3]
private

Definition at line 429 of file GLPreviewFrame.h.

◆ m_colorpicker_togglebutton

wxToggleButton* GLPreviewFrame::m_colorpicker_togglebutton
private

Definition at line 374 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnEditCPTool(), SetMode(), and UpdateGlobalWhiteBalance().

◆ m_createButton

SplitButton* GLPreviewFrame::m_createButton
private

Definition at line 405 of file GLPreviewFrame.h.

Referenced by AddUserDefinedSequence(), GLPreviewFrame(), and panoramaChanged().

◆ m_defaultExposureBut

wxBitmapButton* GLPreviewFrame::m_defaultExposureBut
private

Definition at line 396 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_degDigits

int GLPreviewFrame::m_degDigits
private

Definition at line 425 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_differenceIndex

int GLPreviewFrame::m_differenceIndex
private

Definition at line 432 of file GLPreviewFrame.h.

Referenced by FillBlendChoice(), GLPreviewFrame(), and updateBlendMode().

◆ m_DragModeChoice

wxChoice* GLPreviewFrame::m_DragModeChoice
private

◆ m_editCP_togglebutton

wxToggleButton* GLPreviewFrame::m_editCP_togglebutton
private

Definition at line 375 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnColorPicker(), OnControlPoint(), and SetMode().

◆ m_exposureSpinBut

wxSpinButton* GLPreviewFrame::m_exposureSpinBut
private

Definition at line 397 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_exposureTextCtrl

wxTextCtrl* GLPreviewFrame::m_exposureTextCtrl
private

◆ m_filemenuAdvanced

wxMenu* GLPreviewFrame::m_filemenuAdvanced
private

Definition at line 407 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), SetGuiLevel(), and ~GLPreviewFrame().

◆ m_filemenuSimple

wxMenu* GLPreviewFrame::m_filemenuSimple
private

Definition at line 406 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), SetGuiLevel(), and ~GLPreviewFrame().

◆ m_GLOverview

GLOverview* GLPreviewFrame::m_GLOverview
private

◆ m_GLPreview

GLPreview* GLPreviewFrame::m_GLPreview
private

◆ m_GroupToggleButtons

std::vector<wxCheckBox *> GLPreviewFrame::m_GroupToggleButtons
private

◆ m_GuideChoiceCrop

wxChoice* GLPreviewFrame::m_GuideChoiceCrop
private

Definition at line 390 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

◆ m_GuideChoiceDrag

wxChoice* GLPreviewFrame::m_GuideChoiceDrag
private

Definition at line 391 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

◆ m_GuideChoiceProj

wxChoice* GLPreviewFrame::m_GuideChoiceProj
private

◆ m_guiLevel

GuiLevel GLPreviewFrame::m_guiLevel
private

◆ m_HFOVSlider

wxSlider* GLPreviewFrame::m_HFOVSlider
private

Definition at line 378 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnChangeProjectionParam(), and panoramaChanged().

◆ m_HFOVText

wxTextCtrl* GLPreviewFrame::m_HFOVText
private

Definition at line 380 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnHFOVChanged(), panoramaChanged(), and ~GLPreviewFrame().

◆ m_identify_togglebutton

wxToggleButton* GLPreviewFrame::m_identify_togglebutton
private

◆ m_imageMenu

wxMenu GLPreviewFrame::m_imageMenu
private

Definition at line 409 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnImageContextMenu().

◆ m_imageMenuIndex

int GLPreviewFrame::m_imageMenuIndex = -1
private

Definition at line 411 of file GLPreviewFrame.h.

Referenced by OnImageContextMenu(), and OnRemoveImage().

◆ m_infoBar

wxInfoBar* GLPreviewFrame::m_infoBar
private

Bar for context sensitive projection information.

Definition at line 401 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), SetShowProjectionHints(), and ShowProjectionWarnings().

◆ m_loadImagesButton

SplitButton* GLPreviewFrame::m_loadImagesButton
private

Definition at line 403 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_mgr

GLwxAuiManager* GLPreviewFrame::m_mgr
private

◆ m_mode

int GLPreviewFrame::m_mode
private

◆ m_oldProjFormat

int GLPreviewFrame::m_oldProjFormat
private

Definition at line 430 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

◆ m_overviewCommandPanel

wxPanel* GLPreviewFrame::m_overviewCommandPanel
private

Definition at line 440 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_OverviewModeChoice

wxChoice* GLPreviewFrame::m_OverviewModeChoice
private

◆ m_pano

HuginBase::Panorama& GLPreviewFrame::m_pano
private

◆ m_panosphere_layoutLinesTool

PreviewLayoutLinesTool* GLPreviewFrame::m_panosphere_layoutLinesTool
private

Definition at line 477 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), SetMode(), and ~GLPreviewFrame().

◆ m_plane_layoutLinesTool

PreviewLayoutLinesTool* GLPreviewFrame::m_plane_layoutLinesTool
private

Definition at line 478 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools(), SetMode(), and ~GLPreviewFrame().

◆ m_preview_background_color

wxColour GLPreviewFrame::m_preview_background_color
private

◆ m_preview_layoutLinesTool

PreviewLayoutLinesTool* GLPreviewFrame::m_preview_layoutLinesTool
private

Definition at line 476 of file GLPreviewFrame.h.

Referenced by MakePreviewTools(), SetMode(), and ~GLPreviewFrame().

◆ m_projection_panel

wxPanel* GLPreviewFrame::m_projection_panel
private

Definition at line 377 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnProjectionChoice(), and panoramaChanged().

◆ m_ProjectionChoice

wxChoice* GLPreviewFrame::m_ProjectionChoice
private

Definition at line 388 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnProjectionChoice(), and panoramaChanged().

◆ m_projParamNamesLabel

std::vector<wxStaticText *> GLPreviewFrame::m_projParamNamesLabel
private

Definition at line 441 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

◆ m_projParamSizer

wxBoxSizer* GLPreviewFrame::m_projParamSizer
private

Definition at line 439 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

◆ m_projParamSlider

std::vector<wxSlider *> GLPreviewFrame::m_projParamSlider
private

◆ m_projParamTextCtrl

std::vector<wxTextCtrl *> GLPreviewFrame::m_projParamTextCtrl
private

◆ m_rangeCompressionSpinBut

wxSpinButton* GLPreviewFrame::m_rangeCompressionSpinBut
private

Definition at line 399 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_rangeCompressionTextCtrl

wxTextCtrl* GLPreviewFrame::m_rangeCompressionTextCtrl
private

◆ m_removeImageMenuId

int GLPreviewFrame::m_removeImageMenuId
private

Definition at line 413 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnImageContextMenu().

◆ m_ROIBottomTxt

wxTextCtrl* GLPreviewFrame::m_ROIBottomTxt
private

Definition at line 385 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().

◆ m_ROILeftTxt

wxTextCtrl* GLPreviewFrame::m_ROILeftTxt
private

Definition at line 382 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().

◆ m_ROIRightTxt

wxTextCtrl* GLPreviewFrame::m_ROIRightTxt
private

Definition at line 383 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().

◆ m_ROITopTxt

wxTextCtrl* GLPreviewFrame::m_ROITopTxt
private

Definition at line 384 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnROIChanged(), UpdateRoiDisplay(), and ~GLPreviewFrame().

◆ m_selectAllButton

SplitButton* GLPreviewFrame::m_selectAllButton
private

Definition at line 414 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_selectAllMode

SelectAllMode GLPreviewFrame::m_selectAllMode
private

◆ m_selectKeepSelection

bool GLPreviewFrame::m_selectKeepSelection
private

◆ m_showProjectionHints

bool GLPreviewFrame::m_showProjectionHints
private

◆ m_ToggleButtonPanel

std::vector<wxPanel *> GLPreviewFrame::m_ToggleButtonPanel
private

◆ m_ToggleButtons

std::vector<wxToggleButton *> GLPreviewFrame::m_ToggleButtons
private

◆ m_ToggleButtonSizer

wxStaticBoxSizer* GLPreviewFrame::m_ToggleButtonSizer
private

Definition at line 436 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_tool_notebook

wxNotebook* GLPreviewFrame::m_tool_notebook
private

Definition at line 376 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), panoramaChanged(), and panoramaImagesChanged().

◆ m_topsizer

wxBoxSizer* GLPreviewFrame::m_topsizer
private

Definition at line 438 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

◆ m_VFOVSlider

wxSlider* GLPreviewFrame::m_VFOVSlider
private

Definition at line 379 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnChangeProjectionParam(), and panoramaChanged().

◆ m_VFOVText

wxTextCtrl* GLPreviewFrame::m_VFOVText
private

Definition at line 381 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnVFOVChanged(), panoramaChanged(), and ~GLPreviewFrame().

◆ m_view_state

ViewState* GLPreviewFrame::m_view_state
private

Definition at line 369 of file GLPreviewFrame.h.

◆ non_layout_blend_mode

int GLPreviewFrame::non_layout_blend_mode
private

Definition at line 372 of file GLPreviewFrame.h.

Referenced by SetMode().

◆ overview_drag_tool

OverviewDragTool* GLPreviewFrame::overview_drag_tool
private

◆ overview_outlines_tool

PanosphereOverviewOutlinesTool* GLPreviewFrame::overview_outlines_tool
private

Definition at line 493 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), and ~GLPreviewFrame().

◆ overview_projection_grid

PanosphereOverviewProjectionGridTool* GLPreviewFrame::overview_projection_grid
private

◆ pano_mask_tool

PreviewPanoMaskTool* GLPreviewFrame::pano_mask_tool
private

Definition at line 473 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePreviewTools(), SetMode(), and ~GLPreviewFrame().

◆ panosphere_control_point_tool

PreviewControlPointTool* GLPreviewFrame::panosphere_control_point_tool
private

◆ panosphere_difference_tool

PreviewDifferenceTool* GLPreviewFrame::panosphere_difference_tool
private

◆ panosphere_overview_camera_tool

PanosphereOverviewCameraTool* GLPreviewFrame::panosphere_overview_camera_tool
private

Definition at line 490 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), and ~GLPreviewFrame().

◆ panosphere_overview_helper

PanosphereOverviewToolHelper* GLPreviewFrame::panosphere_overview_helper
private

◆ panosphere_overview_identify_tool

PreviewIdentifyTool* GLPreviewFrame::panosphere_overview_identify_tool
private

◆ panosphere_sphere_tool

PanosphereSphereTool* GLPreviewFrame::panosphere_sphere_tool
private

◆ plane_control_point_tool

PreviewControlPointTool* GLPreviewFrame::plane_control_point_tool
private

Definition at line 471 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools(), OnControlPoint(), SetMode(), and ~GLPreviewFrame().

◆ plane_difference_tool

PreviewDifferenceTool* GLPreviewFrame::plane_difference_tool
private

◆ plane_overview_camera_tool

PlaneOverviewCameraTool* GLPreviewFrame::plane_overview_camera_tool
private

Definition at line 491 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools(), and ~GLPreviewFrame().

◆ plane_overview_helper

PlaneOverviewToolHelper* GLPreviewFrame::plane_overview_helper
private

◆ plane_overview_identify_tool

PreviewIdentifyTool* GLPreviewFrame::plane_overview_identify_tool
private

◆ plane_overview_outlines_tool

PlaneOverviewOutlinesTool* GLPreviewFrame::plane_overview_outlines_tool
private

Definition at line 494 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools(), and ~GLPreviewFrame().

◆ preview_control_point_tool

PreviewControlPointTool* GLPreviewFrame::preview_control_point_tool
private

◆ preview_guide_tool

PreviewGuideTool* GLPreviewFrame::preview_guide_tool
private

◆ preview_helper

PreviewToolHelper* GLPreviewFrame::preview_helper
private

◆ preview_projection_grid

PreviewProjectionGridTool* GLPreviewFrame::preview_projection_grid
private

Definition at line 481 of file GLPreviewFrame.h.

Referenced by MakePreviewTools(), OnSwitchPreviewGrid(), and ~GLPreviewFrame().

◆ toggle_group_button_event_handlers

std::vector<ImageGroupButtonEventHandler *> GLPreviewFrame::toggle_group_button_event_handlers
private

Definition at line 449 of file GLPreviewFrame.h.

Referenced by panoramaImagesChanged().

◆ toogle_button_event_handlers

std::vector<ImageToogleButtonEventHandler *> GLPreviewFrame::toogle_button_event_handlers
private

Definition at line 448 of file GLPreviewFrame.h.

Referenced by panoramaImagesChanged().


The documentation for this class was generated from the following files: