Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. 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...
 
GLwxAuiManagergetAuiManager ()
 
GLPreviewgetPreview ()
 
GLOverviewgetOverview ()
 
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 OnChangeFOV (wxScrollEvent &e)
 
void OnTrackChangeFOV (wxScrollEvent &e)
 
void OnExposureChanged (wxCommandEvent &e)
 
void OnProjParameterChanged (wxCommandEvent &e)
 
void OnProjParameterReset (wxCommandEvent &e)
 event handler for reset projection parameters 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 (wxScrollEvent &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 OnMenuClose (wxMenuEvent &e)
 handle menu close event 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...
 

Private Attributes

GLwxAuiManagerm_mgr
 The dock manager. More...
 
HuginBase::Panoramam_pano
 
GLPreviewm_GLPreview
 
GLOverviewm_GLOverview
 
GuiLevel m_guiLevel
 
ViewStatem_view_state
 
int m_mode
 
int non_layout_blend_mode
 
wxToggleButton * m_identify_togglebutton
 
wxToggleButton * m_colorpicker_togglebutton
 
wxToggleButton * m_editCP_togglebutton
 
wxNotebook * m_tool_notebook
 
wxPanel * m_projection_panel
 
wxSlider * m_HFOVSlider
 
wxSlider * m_VFOVSlider
 
wxTextCtrl * m_HFOVText
 
wxTextCtrl * m_VFOVText
 
wxTextCtrl * m_ROILeftTxt
 
wxTextCtrl * m_ROIRightTxt
 
wxTextCtrl * m_ROITopTxt
 
wxTextCtrl * m_ROIBottomTxt
 
wxChoice * m_BlendModeChoice
 
wxChoice * m_DragModeChoice
 
wxChoice * m_ProjectionChoice
 
wxChoice * m_OverviewModeChoice
 
wxChoice * m_GuideChoiceCrop
 
wxChoice * m_GuideChoiceDrag
 
wxChoice * m_GuideChoiceProj
 
wxTextCtrl * m_exposureTextCtrl
 
wxBitmapButton * m_defaultExposureBut
 
wxSpinButton * m_exposureSpinBut
 
wxTextCtrl * m_rangeCompressionTextCtrl
 
wxSpinButton * m_rangeCompressionSpinBut
 
wxInfoBar * m_infoBar
 Bar for context sensitive projection information. More...
 
SplitButtonm_loadImagesButton
 
SplitButtonm_alignButton
 
SplitButtonm_createButton
 
wxMenu * m_filemenuSimple
 
wxMenu * m_filemenuAdvanced
 
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
 
wxBoxSizer * m_ButtonSizer
 
wxStaticBoxSizer * m_ToggleButtonSizer
 
wxBoxSizer * m_topsizer
 
wxBoxSizer * m_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 187 of file GLPreviewFrame.h.

Member Enumeration Documentation

Enumerator
SELECT_ALL_IMAGES 
SELECT_MEDIAN_IMAGES 
SELECT_BRIGHTEST_IMAGES 
SELECT_DARKEST_IMAGES 

Definition at line 422 of file GLPreviewFrame.h.

Constructor & Destructor Documentation

GLPreviewFrame::GLPreviewFrame ( wxFrame *  frame,
HuginBase::Panorama pano 
)

ctor.

Definition at line 270 of file GLPreviewFrame.cpp.

References 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(), GetLensProjectionList(), SplitButton::GetSplitButtonMenu(), GUI_SIMPLE, HUGIN_PREVIEW_BACKGROUND, HUGIN_SHOW_PROJECTION_HINTS, ID_ASS_LOAD_IMAGES, ID_ASSISTANT_MENU, ID_CREATEPANO_MENU, 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, OnAlign(), OnCreate(), OnHideProjectionHints(), OnLoadImages(), 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_SLIDER_ID, RestoreFramePosition(), SELECT_ALL_IMAGES, SELECT_BRIGHTEST_IMAGES, SELECT_DARKEST_IMAGES, SELECT_MEDIAN_IMAGES, GLViewer::SetActive(), SplitButton::SetBitmap(), SetGuiLevel(), and GLOverview::SetMode().

GLPreviewFrame::~GLPreviewFrame ( )
virtual

Member Function Documentation

void GLPreviewFrame::AddImageToDragGroup ( unsigned int  image_nr,
bool  update_check_box = true 
)
void GLPreviewFrame::AddUserDefinedAssistant ( int  id,
const wxString &  desc,
const wxString &  help 
)

adds the given user defined assistant to SplitButton menu

Definition at line 3259 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 3247 of file GLPreviewFrame.cpp.

References SplitButton::GetSplitButtonMenu(), and m_createButton.

Referenced by MainFrame::MainFrame().

bool GLPreviewFrame::CanResize ( )
inline

Definition at line 231 of file GLPreviewFrame.h.

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

void GLPreviewFrame::CleanButtonColours ( )
private
void GLPreviewFrame::ClearDragGroupImages ( bool  update_check_box = true)

Definition at line 2599 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

void GLPreviewFrame::ContinueResize ( )
void GLPreviewFrame::DragChoiceLayout ( int  index)
protected
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 2607 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 2618 of file GLPreviewFrame.cpp.

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

Referenced by LoadOpenGLLayout().

GLwxAuiManager* GLPreviewFrame::getAuiManager ( )
inline

Definition at line 225 of file GLPreviewFrame.h.

HuginBase::UIntSet GLPreviewFrame::GetDragGroupImages ( )

Definition at line 2596 of file GLPreviewFrame.cpp.

References imageDragGroup.

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

GLOverview* GLPreviewFrame::getOverview ( )
inline

Definition at line 227 of file GLPreviewFrame.h.

Referenced by GLViewer::SetUpContext().

GLPreview* GLPreviewFrame::getPreview ( )
inline

Definition at line 226 of file GLPreviewFrame.h.

Referenced by PreviewCropTool::MouseButtonEvent(), and GLViewer::SetUpContext().

wxColor GLPreviewFrame::GetPreviewBackgroundColor ( )

Definition at line 3141 of file GLPreviewFrame.cpp.

References m_preview_background_color.

Referenced by MakePanosphereOverviewTools().

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

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

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

bool GLPreviewFrame::individualDragging ( )
void GLPreviewFrame::InitPreviews ( )
void GLPreviewFrame::KeyDown ( wxKeyEvent &  e)
protected
void GLPreviewFrame::KeyUp ( wxKeyEvent &  e)
protected
void GLPreviewFrame::LoadImages ( int  preferredLensType)
protected
void GLPreviewFrame::LoadOpenGLLayout ( )

loads the layout of the OpenGL windows and restores it

Definition at line 786 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)
void GLPreviewFrame::MakePlaneOverviewTools ( PlaneOverviewToolHelper helper)
void GLPreviewFrame::MakePreviewTools ( PreviewToolHelper helper)
void GLPreviewFrame::OnAlign ( wxCommandEvent &  e)
protected

Definition at line 3353 of file GLPreviewFrame.cpp.

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

Referenced by GLPreviewFrame(), and LoadImages().

void GLPreviewFrame::OnAutocrop ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnAutocropOutside ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnBlendChoice ( wxCommandEvent &  e)
protected

Definition at line 1881 of file GLPreviewFrame.cpp.

References m_BlendModeChoice, and updateBlendMode().

void GLPreviewFrame::OnCenterHorizontally ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnChangeFOV ( wxScrollEvent &  e)
protected
void GLPreviewFrame::OnClose ( wxCloseEvent &  e)
protected
void GLPreviewFrame::OnColorPicker ( wxCommandEvent &  e)
protected

event handler when starting color picker

Definition at line 2387 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), color_picker_tool, ToolHelper::DeactivateTool(), edit_cp_tool, m_editCP_togglebutton, m_GLPreview, and preview_helper.

void GLPreviewFrame::OnControlPoint ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnCreate ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnCreateCP ( wxCommandEvent &  e)
protected

handler for creating cp in pano space

Definition at line 3427 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.

void GLPreviewFrame::OnDecreaseExposure ( wxSpinEvent &  e)
protected
void GLPreviewFrame::OnDefaultExposure ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnDragChoice ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnEditCPTool ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnExposureChanged ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnFitPano ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnFullScreen ( wxCommandEvent &  e)
protected

event handler for full screen

Definition at line 2735 of file GLPreviewFrame.cpp.

void GLPreviewFrame::OnGuideChanged ( wxCommandEvent &  e)
protected

event handler when user selects different guide

Definition at line 3145 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnHFOVChanged ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnHideProjectionHints ( wxCommandEvent &  e)
protected

event handler when user hides the infobar

Definition at line 3096 of file GLPreviewFrame.cpp.

References m_showProjectionHints.

Referenced by GLPreviewFrame().

void GLPreviewFrame::OnIdentify ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnIncreaseExposure ( wxSpinEvent &  e)
protected
void GLPreviewFrame::OnLayoutScaleChange ( wxScrollEvent &  e)
protected

event handler for change scale of layout mode

Definition at line 3016 of file GLPreviewFrame.cpp.

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

Referenced by OnChangeFOV(), and SetMode().

void GLPreviewFrame::OnLoadImages ( wxCommandEvent &  e)
protected

Definition at line 3300 of file GLPreviewFrame.cpp.

References LoadImages().

Referenced by GLPreviewFrame().

void GLPreviewFrame::OnMenuClose ( wxMenuEvent &  e)
protected

handle menu close event

Definition at line 3726 of file GLPreviewFrame.cpp.

References m_GLPreview.

void GLPreviewFrame::OnNumTransform ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnOverviewModeChoice ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnOverviewToggle ( wxCommandEvent &  e)
protected

Definition at line 1457 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnPhotometric ( wxCommandEvent &  e)
protected

Definition at line 2155 of file GLPreviewFrame.cpp.

References m_GLPreview, and GLViewer::SetPhotometricCorrect().

void GLPreviewFrame::OnPreviewBackgroundColorChanged ( wxColourPickerEvent &  e)
protected
void GLPreviewFrame::OnProjectionChoice ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnProjParameterChanged ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnProjParameterReset ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnRangeCompressionChanged ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnRangeCompressionDecrease ( wxSpinEvent &  e)
protected
void GLPreviewFrame::OnRangeCompressionIncrease ( wxSpinEvent &  e)
protected
void GLPreviewFrame::OnRemoveCP ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnResetCrop ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnROIChanged ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnSelectAllMenu ( wxCommandEvent &  e)
protected

handle all options of select all context menu

Definition at line 3732 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_ALL_IMAGES.

void GLPreviewFrame::OnSelectBrightestMenu ( wxCommandEvent &  e)
protected

Definition at line 3744 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_BRIGHTEST_IMAGES.

void GLPreviewFrame::OnSelectDarkestMenu ( wxCommandEvent &  e)
protected

Definition at line 3750 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_DARKEST_IMAGES.

void GLPreviewFrame::OnSelectKeepSelection ( wxCommandEvent &  e)
protected

Definition at line 3756 of file GLPreviewFrame.cpp.

References m_selectKeepSelection.

void GLPreviewFrame::OnSelectMedianMenu ( wxCommandEvent &  e)
protected

Definition at line 3738 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_MEDIAN_IMAGES.

void GLPreviewFrame::OnSelectMode ( wxNotebookEvent &  e)
protected

event handler for selection of new mode

Definition at line 2861 of file GLPreviewFrame.cpp.

References m_mode, and SetMode().

void GLPreviewFrame::OnSelectResetSelection ( wxCommandEvent &  e)
protected

Definition at line 3762 of file GLPreviewFrame.cpp.

References m_selectKeepSelection.

void GLPreviewFrame::OnSetCropAspect ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnShowAll ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnShowEvent ( wxShowEvent &  e)

Definition at line 1387 of file GLPreviewFrame.cpp.

References DEBUG_DEBUG, DEBUG_TRACE, and m_mgr.

Referenced by LoadOpenGLLayout(), and MainFrame::OnToggleGLPreviewFrame().

void GLPreviewFrame::OnShowMainFrame ( wxCommandEvent &  e)
protected

event handler to show main frame

Definition at line 3271 of file GLPreviewFrame.cpp.

References MainFrame::Get().

void GLPreviewFrame::OnShowNone ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnStackAutocrop ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnStraighten ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnSwitchPreviewGrid ( wxCommandEvent &  e)
protected
void GLPreviewFrame::OnToolModeChanging ( wxNotebookEvent &  e)
protected

event handler for blocking changing mode when panorama contains no images

Definition at line 2867 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnTrackChangeFOV ( wxScrollEvent &  e)
protected
void GLPreviewFrame::OnUserExit ( wxCommandEvent &  e)
protected

user wants to quit program

Definition at line 3277 of file GLPreviewFrame.cpp.

void GLPreviewFrame::OnVFOVChanged ( wxCommandEvent &  e)
protected
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 1033 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().

void GLPreviewFrame::panoramaImagesChanged ( HuginBase::Panorama pano,
const HuginBase::UIntSet changed 
)
virtual
void GLPreviewFrame::PauseResize ( )
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 1372 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 
)
void GLPreviewFrame::ResetPreviewZoom ( )
void GLPreviewFrame::ResetTranslationPlaneParameters ( )
private
void GLPreviewFrame::SetDragGroupImages ( HuginBase::UIntSet  imageDragGroup_in,
bool  update_check_box = true 
)

Definition at line 2588 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

Referenced by ImagesTreeCtrl::OnLeftUp().

void GLPreviewFrame::SetGuiLevel ( GuiLevel  newLevel)
void GLPreviewFrame::SetImageButtonColour ( unsigned int  image_nr,
unsigned char  red,
unsigned char  green,
unsigned char  blue 
)
void GLPreviewFrame::SetMode ( int  newMode)
private
void GLPreviewFrame::SetShowProjectionHints ( bool  new_value)

set status if projection hints should be shown or not

Definition at line 3087 of file GLPreviewFrame.cpp.

References m_infoBar, and m_showProjectionHints.

Referenced by MainFrame::OnShowPrefs().

void GLPreviewFrame::SetStatusMessage ( wxString  message)

Definition at line 2150 of file GLPreviewFrame.cpp.

Referenced by ToolHelper::SetStatusMessage().

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 3028 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 818 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 
)
void GLPreviewFrame::TurnOffTools ( std::set< Tool * >  tools)
private
void GLPreviewFrame::updateBlendMode ( )
protected
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 2405 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)
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 1982 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().

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

Member Data Documentation

PreviewCameraTool* GLPreviewFrame::camera_tool
private

Definition at line 466 of file GLPreviewFrame.h.

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

PreviewColorPickerTool* GLPreviewFrame::color_picker_tool
private
PreviewCropTool* GLPreviewFrame::crop_tool
private
PreviewDifferenceTool* GLPreviewFrame::difference_tool
private
PreviewDragTool* GLPreviewFrame::drag_tool
private
PreviewEditCPTool* GLPreviewFrame::edit_cp_tool
private
bool GLPreviewFrame::GLresize = true
protected

Definition at line 264 of file GLPreviewFrame.h.

Referenced by ContinueResize(), and PauseResize().

PreviewIdentifyTool* GLPreviewFrame::identify_tool
private
HuginBase::UIntSet GLPreviewFrame::imageDragGroup
private
SplitButton* GLPreviewFrame::m_alignButton
private

Definition at line 417 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_BlendModeChoice
private
wxScrolledWindow* GLPreviewFrame::m_ButtonPanel
private

Definition at line 441 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaImagesChanged().

wxBoxSizer* GLPreviewFrame::m_ButtonSizer
private

Definition at line 442 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaImagesChanged().

wxString GLPreviewFrame::m_choices[3]
private

Definition at line 436 of file GLPreviewFrame.h.

wxToggleButton* GLPreviewFrame::m_colorpicker_togglebutton
private

Definition at line 387 of file GLPreviewFrame.h.

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

SplitButton* GLPreviewFrame::m_createButton
private

Definition at line 418 of file GLPreviewFrame.h.

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

wxBitmapButton* GLPreviewFrame::m_defaultExposureBut
private

Definition at line 409 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

int GLPreviewFrame::m_degDigits
private

Definition at line 432 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

int GLPreviewFrame::m_differenceIndex
private

Definition at line 439 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_DragModeChoice
private
wxToggleButton* GLPreviewFrame::m_editCP_togglebutton
private

Definition at line 388 of file GLPreviewFrame.h.

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

wxSpinButton* GLPreviewFrame::m_exposureSpinBut
private

Definition at line 410 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxTextCtrl* GLPreviewFrame::m_exposureTextCtrl
private
wxMenu* GLPreviewFrame::m_filemenuAdvanced
private

Definition at line 420 of file GLPreviewFrame.h.

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

wxMenu* GLPreviewFrame::m_filemenuSimple
private

Definition at line 419 of file GLPreviewFrame.h.

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

GLOverview* GLPreviewFrame::m_GLOverview
private
GLPreview* GLPreviewFrame::m_GLPreview
private
std::vector<wxCheckBox *> GLPreviewFrame::m_GroupToggleButtons
private
wxChoice* GLPreviewFrame::m_GuideChoiceCrop
private

Definition at line 403 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

wxChoice* GLPreviewFrame::m_GuideChoiceDrag
private

Definition at line 404 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

wxChoice* GLPreviewFrame::m_GuideChoiceProj
private
GuiLevel GLPreviewFrame::m_guiLevel
private
wxSlider* GLPreviewFrame::m_HFOVSlider
private

Definition at line 391 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnChangeFOV(), OnTrackChangeFOV(), and panoramaChanged().

wxTextCtrl* GLPreviewFrame::m_HFOVText
private

Definition at line 393 of file GLPreviewFrame.h.

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

wxToggleButton* GLPreviewFrame::m_identify_togglebutton
private
wxInfoBar* GLPreviewFrame::m_infoBar
private

Bar for context sensitive projection information.

Definition at line 414 of file GLPreviewFrame.h.

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

SplitButton* GLPreviewFrame::m_loadImagesButton
private

Definition at line 416 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

GLwxAuiManager* GLPreviewFrame::m_mgr
private
int GLPreviewFrame::m_mode
private
int GLPreviewFrame::m_oldProjFormat
private

Definition at line 437 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxPanel* GLPreviewFrame::m_overviewCommandPanel
private

Definition at line 447 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxChoice* GLPreviewFrame::m_OverviewModeChoice
private
HuginBase::Panorama& GLPreviewFrame::m_pano
private
PreviewLayoutLinesTool* GLPreviewFrame::m_panosphere_layoutLinesTool
private

Definition at line 486 of file GLPreviewFrame.h.

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

PreviewLayoutLinesTool* GLPreviewFrame::m_plane_layoutLinesTool
private

Definition at line 487 of file GLPreviewFrame.h.

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

wxColour GLPreviewFrame::m_preview_background_color
private
PreviewLayoutLinesTool* GLPreviewFrame::m_preview_layoutLinesTool
private

Definition at line 485 of file GLPreviewFrame.h.

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

wxPanel* GLPreviewFrame::m_projection_panel
private

Definition at line 390 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_ProjectionChoice
private

Definition at line 401 of file GLPreviewFrame.h.

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

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

Definition at line 448 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxBoxSizer* GLPreviewFrame::m_projParamSizer
private

Definition at line 446 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

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

Definition at line 450 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnChangeFOV(), OnTrackChangeFOV(), and panoramaChanged().

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

Definition at line 412 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxTextCtrl* GLPreviewFrame::m_rangeCompressionTextCtrl
private
wxTextCtrl* GLPreviewFrame::m_ROIBottomTxt
private

Definition at line 398 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROILeftTxt
private

Definition at line 395 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROIRightTxt
private

Definition at line 396 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROITopTxt
private

Definition at line 397 of file GLPreviewFrame.h.

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

SplitButton* GLPreviewFrame::m_selectAllButton
private

Definition at line 421 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

SelectAllMode GLPreviewFrame::m_selectAllMode
private
bool GLPreviewFrame::m_selectKeepSelection
private
bool GLPreviewFrame::m_showProjectionHints
private
std::vector<wxPanel *> GLPreviewFrame::m_ToggleButtonPanel
private
std::vector<wxToggleButton *> GLPreviewFrame::m_ToggleButtons
private
wxStaticBoxSizer* GLPreviewFrame::m_ToggleButtonSizer
private

Definition at line 443 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxNotebook* GLPreviewFrame::m_tool_notebook
private

Definition at line 389 of file GLPreviewFrame.h.

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

wxBoxSizer* GLPreviewFrame::m_topsizer
private

Definition at line 445 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxSlider* GLPreviewFrame::m_VFOVSlider
private

Definition at line 392 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnChangeFOV(), OnTrackChangeFOV(), and panoramaChanged().

wxTextCtrl* GLPreviewFrame::m_VFOVText
private

Definition at line 394 of file GLPreviewFrame.h.

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

ViewState* GLPreviewFrame::m_view_state
private

Definition at line 382 of file GLPreviewFrame.h.

int GLPreviewFrame::non_layout_blend_mode
private

Definition at line 385 of file GLPreviewFrame.h.

Referenced by SetMode().

OverviewDragTool* GLPreviewFrame::overview_drag_tool
private
PanosphereOverviewOutlinesTool* GLPreviewFrame::overview_outlines_tool
private

Definition at line 502 of file GLPreviewFrame.h.

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

PanosphereOverviewProjectionGridTool* GLPreviewFrame::overview_projection_grid
private
PreviewPanoMaskTool* GLPreviewFrame::pano_mask_tool
private

Definition at line 482 of file GLPreviewFrame.h.

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

PreviewControlPointTool* GLPreviewFrame::panosphere_control_point_tool
private
PreviewDifferenceTool* GLPreviewFrame::panosphere_difference_tool
private
PanosphereOverviewCameraTool* GLPreviewFrame::panosphere_overview_camera_tool
private

Definition at line 499 of file GLPreviewFrame.h.

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

PanosphereOverviewToolHelper* GLPreviewFrame::panosphere_overview_helper
private
PreviewIdentifyTool* GLPreviewFrame::panosphere_overview_identify_tool
private
PanosphereSphereTool* GLPreviewFrame::panosphere_sphere_tool
private
PreviewControlPointTool* GLPreviewFrame::plane_control_point_tool
private

Definition at line 480 of file GLPreviewFrame.h.

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

PreviewDifferenceTool* GLPreviewFrame::plane_difference_tool
private
PlaneOverviewCameraTool* GLPreviewFrame::plane_overview_camera_tool
private

Definition at line 500 of file GLPreviewFrame.h.

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

PlaneOverviewToolHelper* GLPreviewFrame::plane_overview_helper
private
PreviewIdentifyTool* GLPreviewFrame::plane_overview_identify_tool
private
PlaneOverviewOutlinesTool* GLPreviewFrame::plane_overview_outlines_tool
private

Definition at line 503 of file GLPreviewFrame.h.

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

PreviewControlPointTool* GLPreviewFrame::preview_control_point_tool
private

Definition at line 478 of file GLPreviewFrame.h.

Referenced by ~GLPreviewFrame().

PreviewGuideTool* GLPreviewFrame::preview_guide_tool
private
PreviewToolHelper* GLPreviewFrame::preview_helper
private
PreviewProjectionGridTool* GLPreviewFrame::preview_projection_grid
private

Definition at line 490 of file GLPreviewFrame.h.

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

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

Definition at line 456 of file GLPreviewFrame.h.

Referenced by panoramaImagesChanged().

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

Definition at line 455 of file GLPreviewFrame.h.

Referenced by panoramaImagesChanged().


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