GLPreviewFrame Class Reference

The OpenGL preview frame. More...

#include <GLPreviewFrame.h>

Inheritance diagram for GLPreviewFrame:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GLPreviewFrame (wxFrame *frame, HuginBase::Panorama &pano)
 ctor.
virtual ~GLPreviewFrame ()
 dtor.
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
GLwxAuiManagergetAuiManager ()
GLPreviewgetPreview ()
GLOverviewgetOverview ()
void PauseResize ()
void ContinueResize ()
bool CanResize ()
void redrawPreview ()
 Display an updated version of the preview images.
void SetShowProjectionHints (bool new_value)
 set status if projection hints should be shown or not
void OnShowEvent (wxShowEvent &e)
bool individualDragging ()
void ToggleImageInDragGroup (unsigned int image_nr, bool update_check_box=true)
void RemoveImageFromDragGroup (unsigned int image_nr, bool update_check_box=true)
void AddImageToDragGroup (unsigned int image_nr, bool update_check_box=true)
void SetDragGroupImages (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 ()

Protected Member Functions

void OnClose (wxCloseEvent &e)
void OnOverviewToggle (wxCommandEvent &e)
void OnCenterHorizontally (wxCommandEvent &e)
void OnFitPano (wxCommandEvent &e)
void OnStraighten (wxCommandEvent &e)
void OnShowAll (wxCommandEvent &e)
void OnShowNone (wxCommandEvent &e)
void OnPhotometric (wxCommandEvent &e)
void OnIdentify (wxCommandEvent &e)
void OnAutocrop (wxCommandEvent &e)
void OnStackAutocrop (wxCommandEvent &e)
void OnControlPoint (wxCommandEvent &e)
void OnNumTransform (wxCommandEvent &e)
void OnChangeFOV (wxScrollEvent &e)
void OnTrackChangeFOV (wxScrollEvent &e)
void OnExposureChanged (wxCommandEvent &e)
void OnProjParameterChanged (wxCommandEvent &e)
void OnProjParameterReset (wxCommandEvent &e)
 event handler for reset projection parameters
void OnSwitchPreviewGrid (wxCommandEvent &e)
 event handler for switch on/off grid on preview
void OnUserExit (wxCommandEvent &e)
 user wants to quit program
void OnDefaultExposure (wxCommandEvent &e)
void OnDecreaseExposure (wxSpinEvent &e)
void OnIncreaseExposure (wxSpinEvent &e)
void OnBlendChoice (wxCommandEvent &e)
void OnDragChoice (wxCommandEvent &e)
void KeyDown (wxKeyEvent &e)
void KeyUp (wxKeyEvent &e)
void DragChoiceLayout (int index)
void OnProjectionChoice (wxCommandEvent &e)
void OnOverviewModeChoice (wxCommandEvent &e)
void OnROIChanged (wxCommandEvent &e)
 event handler for changed roi
void OnResetCrop (wxCommandEvent &e)
 event handler to reset crop area
void OnHFOVChanged (wxCommandEvent &e)
void OnVFOVChanged (wxCommandEvent &e)
void OnHideProjectionHints (wxCommandEvent &e)
 event handler when user hides the infobar
void updateBlendMode ()
 Update tools and GUI elements according to blend mode choice.
void updatePano ()
void OnFullScreen (wxCommandEvent &e)
 event handler for full screen
void OnSelectMode (wxNotebookEvent &e)
 event handler for selection of new mode
void OnToolModeChanging (wxNotebookEvent &e)
 event handler for blocking changing mode when panorama contains no images
void OnLayoutScaleChange (wxScrollEvent &e)
 event handler for change scale of layout mode
void OnColorPicker (wxCommandEvent &e)
 event handler when starting color picker
void 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 OnAlign (wxCommandEvent &e)
void OnCreate (wxCommandEvent &e)
void OnLensTypeChanged (wxCommandEvent &e)
void OnFocalLengthChanged (wxCommandEvent &e)
void OnCropFactorChanged (wxCommandEvent &e)
void OnCreateCP (wxCommandEvent &e)
 handler for creating cp in pano space
void OnRemoveCP (wxCommandEvent &e)
 handler to remove cp
void OnMenuClose (wxMenuEvent &e)
 handle menu close event
void OnSelectContextMenu (wxContextMenuEvent &e)
 handle context menu on select all button
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)

Protected Attributes

bool GLresize

Private Types

 SELECT_ALL_IMAGES = 0
 SELECT_MEDIAN_IMAGES = 1
 SELECT_BRIGHTEST_IMAGES = 2
 SELECT_DARKEST_IMAGES = 3
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
wxToolBar * m_ToolBar_Identify
wxToolBar * m_ToolBar_ColorPicker
wxToolBar * m_ToolBar_editCP
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
wxTextCtrl * m_exposureText
wxSpinButton * m_exposureSpinBut
bool m_projectionStatusPushed
wxStaticText * m_imagesText
wxButton * m_alignButton
wxButton * m_createButton
wxChoice * m_lensTypeChoice
wxTextCtrl * m_focalLengthText
wxTextCtrl * m_cropFactorText
wxButton * m_loadLensButton
wxMenu * m_filemenuSimple
wxMenu * m_filemenuAdvanced
wxMenu * m_selectAllMenu
wxBitmapButton * m_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
std::vector< wxStaticText * > m_projParamNamesLabel
std::vector< wxTextCtrl * > m_projParamTextCtrl
std::vector< wxSlider * > m_projParamSlider
std::vector< wxCheckBox * > m_ToggleButtons
std::vector< wxCheckBox * > m_GroupToggleButtons
std::vector< wxPanel * > m_ToggleButtonPanel
std::vector< ImageToogleButtonEventHandler * > toogle_button_event_handlers
std::vector< ImageGroupButtonEventHandler * > toggle_group_button_event_handlers
PreviewToolHelperpreview_helper
PreviewCropToolcrop_tool
HuginBase::UIntSet imageDragGroup
PreviewDragTooldrag_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

enum GLPreviewFrame::SelectAllMode [private]

Enumerator:
SELECT_ALL_IMAGES 
SELECT_MEDIAN_IMAGES 
SELECT_BRIGHTEST_IMAGES 
SELECT_DARKEST_IMAGES 

Definition at line 428 of file GLPreviewFrame.h.


Constructor & Destructor Documentation

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

ctor.

Definition at line 322 of file GLPreviewFrame.cpp.

References AddLabelToBitmapButton(), HuginBase::Panorama::addObserver(), color_picker_tool, crop_tool, DEBUG_ASSERT, DEBUG_TRACE, difference_tool, drag_tool, DragChoiceLayout(), edit_cp_tool, FillLensProjectionList(), huginApp::Get(), MainFrame::Get(), MainFrame::GetFileHistory(), GUI_SIMPLE, HUGIN_PREVIEW_BACKGROUND, HUGIN_SHOW_PROJECTION_HINTS, identify_tool, InitPreviews(), LoadOpenGLLayout(), m_alignButton, m_BlendModeChoice, m_ButtonPanel, m_ButtonSizer, m_createButton, m_cropFactorText, m_defaultExposureBut, m_degDigits, m_differenceIndex, m_DragModeChoice, m_exposureSpinBut, m_exposureText, m_exposureTextCtrl, m_filemenuAdvanced, m_filemenuSimple, m_focalLengthText, m_GLOverview, m_GLPreview, m_GuideChoiceCrop, m_GuideChoiceDrag, m_GuideChoiceProj, m_guiLevel, m_HFOVSlider, m_HFOVText, m_imagesText, m_lensTypeChoice, m_mgr, m_mode, m_oldProjFormat, m_OverviewModeChoice, m_pano, m_preview_background_color, m_projection_panel, m_ProjectionChoice, m_projParamNamesLabel, m_projParamSizer, m_projParamSlider, m_projParamTextCtrl, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_selectAllButton, m_selectAllMenu, m_selectAllMode, m_selectKeepSelection, m_showProjectionHints, m_ToggleButtonSizer, m_tool_notebook, m_ToolBar_ColorPicker, m_ToolBar_editCP, m_ToolBar_Identify, m_topsizer, m_VFOVSlider, m_VFOVText, OnHideProjectionHints(), OnSelectContextMenu(), overview_drag_tool, pano_mask_tool, GLOverview::PANOSPHERE, panosphere_difference_tool, 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(), SetGuiLevel(), and GLOverview::SetMode().

GLPreviewFrame::~GLPreviewFrame (  )  [virtual]

dtor.

Definition at line 860 of file GLPreviewFrame.cpp.

References color_picker_tool, crop_tool, PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), DEBUG_TRACE, difference_tool, drag_tool, edit_cp_tool, GUI_SIMPLE, identify_tool, individualDragging(), m_BlendModeChoice, m_cropFactorText, m_exposureText, m_filemenuAdvanced, m_filemenuSimple, m_focalLengthText, m_GroupToggleButtons, m_GuideChoiceProj, m_guiLevel, m_HFOVText, m_mgr, m_pano, m_projParamTextCtrl, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, m_ToggleButtons, m_VFOVText, overview_drag_tool, pano_mask_tool, panosphere_difference_tool, panosphere_overview_helper, panosphere_overview_identify_tool, panosphere_sphere_tool, plane_difference_tool, plane_overview_helper, plane_overview_identify_tool, preview_guide_tool, preview_helper, HuginBase::Panorama::removeObserver(), and StoreFramePosition().


Member Function Documentation

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

Definition at line 2544 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

Referenced by DragTool::MouseButtonEvent(), and ImageGroupButtonEventHandler::OnChange().

bool GLPreviewFrame::CanResize (  )  [inline]

Definition at line 225 of file GLPreviewFrame.h.

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

void GLPreviewFrame::CleanButtonColours (  )  [private]

Definition at line 2329 of file GLPreviewFrame.cpp.

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

Referenced by OnIdentify(), SetMode(), TurnOffTools(), and updateBlendMode().

void GLPreviewFrame::ClearDragGroupImages ( bool  update_check_box = true  ) 

Definition at line 2561 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

void GLPreviewFrame::ContinueResize (  ) 

Definition at line 313 of file GLPreviewFrame.cpp.

References GLresize, m_GLOverview, m_GLPreview, and GLViewer::Resized().

Referenced by GLwxAuiFloatingFrame::OnActivate(), and GLViewer::RedrawE().

void GLPreviewFrame::DragChoiceLayout ( int  index  )  [protected]

Definition at line 2029 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::EnableGroupCheckboxes ( bool  isShown  )  [private]

changes the visibility of the group check boxes

Parameters:
isShown true if the group checkboxes should be visible

Definition at line 2569 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

Definition at line 2580 of file GLPreviewFrame.cpp.

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

Referenced by LoadOpenGLLayout().

GLwxAuiManager* GLPreviewFrame::getAuiManager (  )  [inline]

Definition at line 219 of file GLPreviewFrame.h.

HuginBase::UIntSet GLPreviewFrame::GetDragGroupImages (  ) 

Definition at line 2558 of file GLPreviewFrame.cpp.

References imageDragGroup.

Referenced by DragTool::MouseButtonEvent().

GLOverview* GLPreviewFrame::getOverview (  )  [inline]

Definition at line 221 of file GLPreviewFrame.h.

GLPreview* GLPreviewFrame::getPreview (  )  [inline]

Definition at line 220 of file GLPreviewFrame.h.

wxColor GLPreviewFrame::GetPreviewBackgroundColor (  ) 

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

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

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

bool GLPreviewFrame::individualDragging (  ) 

Definition at line 2525 of file GLPreviewFrame.cpp.

References m_DragModeChoice.

Referenced by DragTool::MouseButtonEvent(), OnDragChoice(), panoramaImagesChanged(), SetMode(), and ~GLPreviewFrame().

void GLPreviewFrame::InitPreviews (  ) 

init previews

Definition at line 952 of file GLPreviewFrame.cpp.

References LoadOpenGLLayout(), m_GLOverview, m_GLPreview, panosphere_overview_helper, plane_overview_helper, preview_helper, and GLViewer::SetUpContext().

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

void GLPreviewFrame::KeyDown ( wxKeyEvent &  e  )  [protected]

Definition at line 1444 of file GLPreviewFrame.cpp.

References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, GLOverview::PANOSPHERE, panosphere_overview_helper, GLOverview::PLANE, plane_overview_helper, and preview_helper.

void GLPreviewFrame::KeyUp ( wxKeyEvent &  e  )  [protected]

Definition at line 1464 of file GLPreviewFrame.cpp.

References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, GLOverview::PANOSPHERE, panosphere_overview_helper, GLOverview::PLANE, plane_overview_helper, and preview_helper.

void GLPreviewFrame::LoadOpenGLLayout (  ) 

loads the layout of the OpenGL windows and restores it

Definition at line 828 of file GLPreviewFrame.cpp.

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

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

void GLPreviewFrame::MakePanosphereOverviewTools ( PanosphereOverviewToolHelper helper  ) 

Definition at line 2158 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), GetPreviewBackgroundColor(), m_GLPreview, m_panosphere_layoutLinesTool, overview_drag_tool, overview_outlines_tool, overview_projection_grid, panosphere_control_point_tool, panosphere_difference_tool, panosphere_overview_camera_tool, panosphere_overview_helper, panosphere_overview_identify_tool, and panosphere_sphere_tool.

Referenced by GLOverview::setUp().

void GLPreviewFrame::MakePlaneOverviewTools ( PlaneOverviewToolHelper helper  ) 

Definition at line 2188 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), m_GLPreview, m_plane_layoutLinesTool, plane_control_point_tool, plane_difference_tool, plane_overview_camera_tool, plane_overview_helper, plane_overview_identify_tool, and plane_overview_outlines_tool.

Referenced by GLOverview::setUp().

void GLPreviewFrame::MakePreviewTools ( PreviewToolHelper helper  ) 

Definition at line 2124 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), color_picker_tool, crop_tool, difference_tool, drag_tool, edit_cp_tool, identify_tool, m_GLPreview, m_GuideChoiceProj, m_preview_layoutLinesTool, mode_assistant, pano_mask_tool, preview_guide_tool, preview_helper, preview_projection_grid, PreviewGuideTool::SetGuideStyle(), SetMode(), GLViewer::SetPhotometricCorrect(), and updateBlendMode().

Referenced by GLPreview::setUp().

void GLPreviewFrame::OnAlign ( wxCommandEvent &  e  )  [protected]

Definition at line 3211 of file GLPreviewFrame.cpp.

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

Referenced by OnLoadImages().

void GLPreviewFrame::OnAutocrop ( wxCommandEvent &  e  )  [protected]

Definition at line 2599 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::CalculateOptimalROI::getResultOptimalROI(), HuginBase::PanoramaAlgorithm::hasRunSuccessfully(), m_pano, and HuginBase::PanoramaAlgorithm::run().

void GLPreviewFrame::OnBlendChoice ( wxCommandEvent &  e  )  [protected]

Definition at line 1855 of file GLPreviewFrame.cpp.

References m_BlendModeChoice, and updateBlendMode().

void GLPreviewFrame::OnCenterHorizontally ( wxCommandEvent &  e  )  [protected]

Definition at line 1579 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), and m_pano.

void GLPreviewFrame::OnChangeFOV ( wxScrollEvent &  e  )  [protected]

Definition at line 1792 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_DEBUG, DEBUG_TRACE, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjectionParameters(), m_HFOVSlider, m_pano, HuginBase::PanoramaOptions::m_projFeatures, m_projParamSlider, m_VFOVSlider, OnLayoutScaleChange(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjectionParameters(), and HuginBase::PanoramaOptions::setVFOV().

void GLPreviewFrame::OnClose ( wxCloseEvent &  e  )  [protected]

Definition at line 1525 of file GLPreviewFrame.cpp.

References DEBUG_DEBUG, DEBUG_TRACE, MainFrame::Get(), GUI_SIMPLE, and m_guiLevel.

void GLPreviewFrame::OnColorPicker ( wxCommandEvent &  e  )  [protected]

event handler when starting color picker

Definition at line 2349 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnControlPoint ( wxCommandEvent &  e  )  [protected]

Definition at line 2234 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), m_GLOverview, m_GLPreview, m_ToolBar_editCP, panosphere_control_point_tool, panosphere_overview_helper, plane_control_point_tool, plane_overview_helper, preview_helper, and TurnOffTools().

void GLPreviewFrame::OnCreate ( wxCommandEvent &  e  )  [protected]

Definition at line 3218 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), MainFrame::Get(), PanoCommand::GlobalCmdHist::getInstance(), PanoOutputDialog::GetNewPanoramaOptions(), m_guiLevel, m_pano, and MainFrame::OnDoStitch().

void GLPreviewFrame::OnCreateCP ( wxCommandEvent &  e  )  [protected]

handler for creating cp in pano space

Definition at line 3369 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), cpLock, 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::PanoramaOptions::getWidth(), FindStruct::image, 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::BaseSrcPanoImage::setExposureValue(), 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::X_Y, and hugin_utils::TDiff2D< T >::y.

void GLPreviewFrame::OnCropFactorChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 3286 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_cropFactorText, m_pano, and hugin_utils::str2double().

void GLPreviewFrame::OnDecreaseExposure ( wxSpinEvent &  e  )  [protected]

Definition at line 2069 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue.

void GLPreviewFrame::OnDefaultExposure ( wxCommandEvent &  e  )  [protected]

Definition at line 2049 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), HuginBase::CalculateMeanExposure::calcMeanExposure(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), and m_pano.

void GLPreviewFrame::OnDragChoice ( wxCommandEvent &  e  )  [protected]

Definition at line 1867 of file GLPreviewFrame.cpp.

References DragTool::drag_mode_mosaic, DragTool::drag_mode_normal, drag_tool, DragChoiceLayout(), EnableGroupCheckboxes(), VisualizationState::ForceRequireRedraw(), DragTool::getDragMode(), HasNonZeroTranslationPlaneParameters(), individualDragging(), m_DragModeChoice, m_GLOverview, m_OverviewModeChoice, GLViewer::m_visualization_state, ResetTranslationPlaneParameters(), VisualizationState::SetDirtyViewport(), DragTool::setDragMode(), and UpdateOverviewMode().

Referenced by OnOverviewModeChoice(), and SetGuiLevel().

void GLPreviewFrame::OnEditCPTool ( wxCommandEvent &  e  )  [protected]

event handler when starting edit cp tool

Definition at line 2381 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnExposureChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 1739 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_exposureTextCtrl, m_pano, HuginBase::PanoramaOptions::outputExposureValue, and hugin_utils::str2double().

void GLPreviewFrame::OnFitPano ( wxCommandEvent &  e  )  [protected]

Definition at line 1597 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, DEBUG_TRACE, HuginBase::Panorama::getActiveImages(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaOptions::getHFOV(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::CalculateFitPanorama::getResultHeight(), HuginBase::CalculateFitPanorama::getResultHorizontalFOV(), HuginBase::PanoramaOptions::getVFOV(), m_pano, hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::PanoramaOptions::setHeight(), and HuginBase::PanoramaOptions::setHFOV().

void GLPreviewFrame::OnFocalLengthChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 3256 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_focalLengthText, m_pano, and hugin_utils::str2double().

void GLPreviewFrame::OnFullScreen ( wxCommandEvent &  e  )  [protected]

event handler for full screen

Definition at line 2667 of file GLPreviewFrame.cpp.

void GLPreviewFrame::OnGuideChanged ( wxCommandEvent &  e  )  [protected]

event handler when user selects different guide

Definition at line 3062 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnHFOVChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 2850 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxHFOV(), HuginBase::Panorama::getOptions(), m_HFOVText, m_pano, HuginBase::PanoramaOptions::setHFOV(), and hugin_utils::str2double().

void GLPreviewFrame::OnHideProjectionHints ( wxCommandEvent &  e  )  [protected]

event handler when user hides the infobar

Definition at line 3013 of file GLPreviewFrame.cpp.

References m_showProjectionHints.

Referenced by GLPreviewFrame().

void GLPreviewFrame::OnIdentify ( wxCommandEvent &  e  )  [protected]

Definition at line 2206 of file GLPreviewFrame.cpp.

References CleanButtonColours(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), difference_tool, identify_tool, m_BlendModeChoice, m_GLOverview, m_GLPreview, panosphere_difference_tool, panosphere_overview_helper, panosphere_overview_identify_tool, plane_difference_tool, plane_overview_helper, plane_overview_identify_tool, preview_helper, and PreviewIdentifyTool::setConstantOn().

void GLPreviewFrame::OnIncreaseExposure ( wxSpinEvent &  e  )  [protected]

Definition at line 2060 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::outputExposureValue.

void GLPreviewFrame::OnLayoutScaleChange ( wxScrollEvent &  e  )  [protected]

event handler for change scale of layout mode

Definition at line 2913 of file GLPreviewFrame.cpp.

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

Referenced by OnChangeFOV(), and SetMode().

void GLPreviewFrame::OnLensTypeChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 3231 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), HuginBase::SrcPanoImage::calcFocalLength(), HuginBase::Panorama::getImage(), PanoCommand::GlobalCmdHist::getInstance(), GetSelectedValue(), m_lensTypeChoice, m_pano, and HuginBase::BaseSrcPanoImage::Projection.

void GLPreviewFrame::OnLoadImages ( wxCommandEvent &  e  )  [protected]

Definition at line 3177 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoOperation::PanoOperation::GetCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfCtrlPoints(), HUGIN_ASS_AUTO_ALIGN, m_guiLevel, m_pano, and OnAlign().

void GLPreviewFrame::OnMenuClose ( wxMenuEvent &  e  )  [protected]

handle menu close event

Definition at line 3658 of file GLPreviewFrame.cpp.

References m_GLPreview.

void GLPreviewFrame::OnNumTransform ( wxCommandEvent &  e  )  [protected]

Definition at line 1667 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_DragModeChoice, m_pano, and hugin_utils::stringToDouble().

void GLPreviewFrame::OnOverviewModeChoice ( wxCommandEvent &  e  )  [protected]

Definition at line 2002 of file GLPreviewFrame.cpp.

References VisualizationState::ForceRequireRedraw(), GLOverview::GetMode(), m_DragModeChoice, m_GLOverview, m_OverviewModeChoice, GLViewer::m_visualization_state, OnDragChoice(), GLOverview::PANOSPHERE, VisualizationState::SetDirtyViewport(), and UpdateOverviewMode().

void GLPreviewFrame::OnOverviewToggle ( wxCommandEvent &  e  )  [protected]

Definition at line 1486 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnPhotometric ( wxCommandEvent &  e  )  [protected]

Definition at line 2119 of file GLPreviewFrame.cpp.

References m_GLPreview, and GLViewer::SetPhotometricCorrect().

void GLPreviewFrame::OnPreviewBackgroundColorChanged ( wxColourPickerEvent &  e  )  [protected]

event handler when user changes background color

Definition at line 3046 of file GLPreviewFrame.cpp.

References m_GLOverview, m_GLPreview, m_preview_background_color, panosphere_sphere_tool, redrawPreview(), PanosphereSphereTool::SetPreviewBackgroundColor(), and GLViewer::SetViewerBackground().

void GLPreviewFrame::OnProjectionChoice ( wxCommandEvent &  e  )  [protected]

Definition at line 2078 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_DEBUG, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_projection_panel, and m_ProjectionChoice.

void GLPreviewFrame::OnProjParameterChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 1758 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjectionParameters(), m_pano, HuginBase::PanoramaOptions::m_projFeatures, m_projParamTextCtrl, HuginBase::PanoramaOptions::setProjectionParameters(), and hugin_utils::str2double().

void GLPreviewFrame::OnProjParameterReset ( wxCommandEvent &  e  )  [protected]

event handler for reset projection parameters

Definition at line 1783 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and HuginBase::PanoramaOptions::resetProjectionParameters().

void GLPreviewFrame::OnRemoveCP ( wxCommandEvent &  e  )  [protected]

handler to remove cp

Definition at line 3315 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), edit_cp_tool, MainFrame::Get(), PreviewEditCPTool::GetFoundCPs(), PanoCommand::GlobalCmdHist::getInstance(), m_pano, HuginBase::PTools::optimize(), and PreviewEditCPTool::SetMenuProcessed().

void GLPreviewFrame::OnResetCrop ( wxCommandEvent &  e  )  [protected]

event handler to reset crop area

Definition at line 2843 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), HuginBase::PanoramaOptions::getHeight(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getWidth(), m_pano, and HuginBase::PanoramaOptions::setROI().

void GLPreviewFrame::OnROIChanged ( wxCommandEvent &  e  )  [protected]

event handler for changed roi

Definition at line 2804 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getROI(), m_pano, m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, m_ROITopTxt, HuginBase::PanoramaOptions::setROI(), and UpdateRoiDisplay().

void GLPreviewFrame::OnSelectAllMenu ( wxCommandEvent &  e  )  [protected]

handle all options of select all context menu

Definition at line 3679 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_ALL_IMAGES.

void GLPreviewFrame::OnSelectBrightestMenu ( wxCommandEvent &  e  )  [protected]

Definition at line 3691 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_BRIGHTEST_IMAGES.

void GLPreviewFrame::OnSelectContextMenu ( wxContextMenuEvent &  e  )  [protected]

handle context menu on select all button

Definition at line 3664 of file GLPreviewFrame.cpp.

References m_selectAllButton, and m_selectAllMenu.

Referenced by GLPreviewFrame().

void GLPreviewFrame::OnSelectDarkestMenu ( wxCommandEvent &  e  )  [protected]

Definition at line 3697 of file GLPreviewFrame.cpp.

References m_selectAllMode, and SELECT_DARKEST_IMAGES.

void GLPreviewFrame::OnSelectKeepSelection ( wxCommandEvent &  e  )  [protected]

Definition at line 3703 of file GLPreviewFrame.cpp.

References m_selectKeepSelection.

void GLPreviewFrame::OnSelectMedianMenu ( wxCommandEvent &  e  )  [protected]

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

References m_mode, and SetMode().

void GLPreviewFrame::OnSelectResetSelection ( wxCommandEvent &  e  )  [protected]

Definition at line 3709 of file GLPreviewFrame.cpp.

References m_selectKeepSelection.

void GLPreviewFrame::OnShowAll ( wxCommandEvent &  e  )  [protected]

Definition at line 1615 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), fill_set(), HuginBase::Panorama::getActiveImages(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::getSortedStacks(), m_pano, m_selectAllMode, m_selectKeepSelection, SELECT_ALL_IMAGES, SELECT_BRIGHTEST_IMAGES, SELECT_DARKEST_IMAGES, and SELECT_MEDIAN_IMAGES.

void GLPreviewFrame::OnShowEvent ( wxShowEvent &  e  ) 

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

References MainFrame::Get().

void GLPreviewFrame::OnShowNone ( wxCommandEvent &  e  )  [protected]

Definition at line 1653 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_ASSERT, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), m_pano, and m_ToggleButtons.

void GLPreviewFrame::OnStackAutocrop ( wxCommandEvent &  e  )  [protected]

Definition at line 2629 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), HuginBase::getHDRStacks(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), and m_pano.

void GLPreviewFrame::OnStraighten ( wxCommandEvent &  e  )  [protected]

Definition at line 1588 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), and m_pano.

void GLPreviewFrame::OnSwitchPreviewGrid ( wxCommandEvent &  e  )  [protected]

event handler for switch on/off grid on preview

Definition at line 1509 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), m_GLOverview, m_GLPreview, overview_projection_grid, panosphere_overview_helper, preview_helper, and preview_projection_grid.

void GLPreviewFrame::OnToolModeChanging ( wxNotebookEvent &  e  )  [protected]

event handler for blocking changing mode when panorama contains no images

Definition at line 2795 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnTrackChangeFOV ( wxScrollEvent &  e  )  [protected]

Definition at line 1826 of file GLPreviewFrame.cpp.

References DEBUG_TRACE, HuginBase::Panorama::getOptions(), m_GLPreview, m_HFOVSlider, m_pano, m_projParamSlider, m_VFOVSlider, GLViewer::m_view_state, and ViewState::SetOptions().

void GLPreviewFrame::OnUserExit ( wxCommandEvent &  e  )  [protected]

user wants to quit program

Definition at line 3172 of file GLPreviewFrame.cpp.

void GLPreviewFrame::OnVFOVChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 2882 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, PanoCommand::GlobalCmdHist::getInstance(), HuginBase::PanoramaOptions::getMaxVFOV(), HuginBase::Panorama::getOptions(), m_pano, m_VFOVText, HuginBase::PanoramaOptions::setVFOV(), and hugin_utils::str2double().

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

References HuginBase::SrcPanoImage::calcFocalLength(), Components2Str(), const_map_get(), DEBUG_DEBUG, hugin_utils::doubleToString(), hugin_utils::doubleTowxString(), HuginBase::PanoramaOptions::fovCalcSupported(), HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getCtrlPoints(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getImageVariables(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::getProjectionParameters(), HuginBase::CalculateCPStatistics::getResultMax(), HuginBase::CalculateCPStatistics::getResultMean(), HuginBase::PanoramaOptions::getVFOV(), m_alignButton, m_createButton, m_cropFactorText, m_degDigits, m_exposureTextCtrl, m_focalLengthText, m_HFOVSlider, m_HFOVText, m_imagesText, m_lensTypeChoice, m_oldProjFormat, m_pano, m_projection_panel, m_ProjectionChoice, HuginBase::PanoramaOptions::m_projFeatures, m_projParamNamesLabel, m_projParamSizer, m_projParamSlider, m_projParamTextCtrl, m_showProjectionHints, m_tool_notebook, m_VFOVSlider, m_VFOVText, celeste::max(), HuginBase::PanoramaOptions::outputExposureValue, redrawPreview(), hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), SelectListValue(), ShowProjectionWarnings(), and UpdateRoiDisplay().

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

notifies about changes to images

Images might have been added/removed. to find out how many images are still there, use Panorama::getNrOfImages.

Parameters:
pano the panorama object that changed
changed set of changed images

Implements HuginBase::PanoramaObserver.

Definition at line 1249 of file GLPreviewFrame.cpp.

References ImageGroupButtonEventHandler::AddDragTool(), ImageGroupButtonEventHandler::AddIdentifyTool(), ImageToogleButtonEventHandler::AddIdentifyTool(), DEBUG_INFO, DEBUG_TRACE, DragTool::drag_mode_mosaic, DragTool::drag_mode_normal, drag_tool, DragChoiceLayout(), EnableGroupCheckboxes(), HuginBase::Panorama::getActiveImages(), DragTool::getDragMode(), HuginBase::Panorama::getImage(), GLOverview::GetMode(), HuginBase::Panorama::getNrOfImages(), HasNonZeroTranslationPlaneParameters(), HUGIN_CONV_FILENAME, ID_TOGGLE_BUT, identify_tool, individualDragging(), m_ButtonPanel, m_ButtonSizer, m_DragModeChoice, m_GLOverview, m_GroupToggleButtons, m_mode, m_OverviewModeChoice, m_pano, m_ToggleButtonPanel, m_ToggleButtons, m_tool_notebook, m_ToolBar_Identify, mode_assistant, mode_drag, overview_drag_tool, GLOverview::PANOSPHERE, panosphere_overview_identify_tool, GLOverview::PLANE, plane_overview_identify_tool, redrawPreview(), set_contains(), DragTool::setDragMode(), SetMode(), GLOverview::SetMode(), toggle_group_button_event_handlers, and toogle_button_event_handlers.

void GLPreviewFrame::PauseResize (  ) 

Definition at line 307 of file GLPreviewFrame.cpp.

References DEBUG_DEBUG, and GLresize.

Referenced by GLwxAuiManager::CreateFloatingFrame(), and GLwxAuiFloatingFrame::OnMoveFinished().

void GLPreviewFrame::redrawPreview (  ) 

Display an updated version of the preview images.

Redraws happen automatically when the panorama changes, and when the preview's internal real time sliders are used. This is only needed occasionally, such as when a image finishes loading and its place holder can be replaced with the real image.

Definition at line 1407 of file GLPreviewFrame.cpp.

References m_GLOverview, and m_GLPreview.

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

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

Definition at line 2538 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

Referenced by DragTool::MouseButtonEvent(), ImageGroupButtonEventHandler::OnChange(), and ToggleImageInDragGroup().

void GLPreviewFrame::ResetTranslationPlaneParameters (  )  [private]

resets all translation plane parameters to zero

Definition at line 1939 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), HuginBase::Panorama::duplicate(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), HuginBase::Panorama::getVariables(), m_pano, and HuginBase::Panorama::setSrcImage().

Referenced by OnDragChoice(), and UpdateOverviewMode().

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

Definition at line 2550 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

void GLPreviewFrame::SetGuiLevel ( GuiLevel  newLevel  ) 

sets the gui level

Definition at line 3076 of file GLPreviewFrame.cpp.

References DragChoiceLayout(), MainFrame::Get(), GUI_ADVANCED, GUI_EXPERT, GUI_SIMPLE, m_DragModeChoice, m_filemenuAdvanced, m_filemenuSimple, m_GLOverview, m_guiLevel, m_OverviewModeChoice, OnDragChoice(), GLOverview::PANOSPHERE, and GLOverview::SetMode().

Referenced by GLPreviewFrame(), and MainFrame::SetGuiLevel().

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

Definition at line 2288 of file GLPreviewFrame.cpp.

References m_ToggleButtonPanel, and m_ToggleButtons.

Referenced by PreviewIdentifyTool::AfterDrawImagesEvent(), PreviewIdentifyTool::StopShowingImages(), PreviewIdentifyTool::StopUpdating(), and PreviewIdentifyTool::UpdateWithNewImageSet().

void GLPreviewFrame::SetMode ( int  newMode  )  [private]

Definition at line 2672 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), CleanButtonColours(), color_picker_tool, crop_tool, PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), drag_tool, edit_cp_tool, EnableGroupCheckboxes(), identify_tool, individualDragging(), m_BlendModeChoice, m_GLOverview, m_GLPreview, m_GroupToggleButtons, m_mode, m_panosphere_layoutLinesTool, m_plane_layoutLinesTool, m_preview_layoutLinesTool, m_ToolBar_ColorPicker, m_ToolBar_editCP, m_ToolBar_Identify, mode_assistant, mode_crop, mode_drag, mode_layout, mode_preview, mode_projection, non_layout_blend_mode, OnLayoutScaleChange(), overview_drag_tool, pano_mask_tool, panosphere_control_point_tool, panosphere_overview_helper, panosphere_overview_identify_tool, plane_control_point_tool, plane_overview_helper, plane_overview_identify_tool, preview_guide_tool, preview_helper, PreviewIdentifyTool::setConstantOn(), GLOverview::SetLayoutMode(), GLViewer::SetLayoutMode(), TurnOffTools(), and updateBlendMode().

Referenced by MakePreviewTools(), OnSelectMode(), and panoramaImagesChanged().

void GLPreviewFrame::SetShowProjectionHints ( bool  new_value  ) 

set status if projection hints should be shown or not

Definition at line 3002 of file GLPreviewFrame.cpp.

References m_showProjectionHints.

Referenced by MainFrame::OnShowPrefs().

void GLPreviewFrame::SetStatusMessage ( wxString  message  ) 

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

Todo:
The message doesn't really fit in the status bar, so we should have some other GUI arrangement or remove this feature. On my system, the status bar remains too short to contain the two lines of text in the message.

Definition at line 2925 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_pano, m_projectionStatusPushed, HuginBase::PanoramaOptions::RECTILINEAR, and HuginBase::PanoramaOptions::STEREOGRAPHIC.

Referenced by panoramaChanged().

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

Definition at line 2531 of file GLPreviewFrame.cpp.

References imageDragGroup, and RemoveImageFromDragGroup().

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

Definition at line 2256 of file GLPreviewFrame.cpp.

References CleanButtonColours(), crop_tool, drag_tool, identify_tool, m_GLOverview, m_GLPreview, and m_ToolBar_Identify.

Referenced by OnControlPoint(), and SetMode().

void GLPreviewFrame::updateBlendMode (  )  [protected]

Update tools and GUI elements according to blend mode choice.

Definition at line 965 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), CleanButtonColours(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), DEBUG_WARN, difference_tool, identify_tool, m_BlendModeChoice, m_differenceIndex, m_ToolBar_Identify, panosphere_difference_tool, panosphere_overview_helper, panosphere_overview_identify_tool, plane_difference_tool, plane_overview_helper, plane_overview_identify_tool, preview_helper, and PreviewIdentifyTool::setConstantOn().

Referenced by FillBlendChoice(), MakePreviewTools(), OnBlendChoice(), and SetMode().

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

updates the global white balance

Parameters:
redFactor multiplies all WhiteBalanceRed of individuel images with this factor
blueFactor multiplies all WhiteBalanceBlue of individuel images with this factor

Definition at line 2367 of file GLPreviewFrame.cpp.

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

Referenced by PreviewColorPickerTool::MouseButtonEvent().

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

Definition at line 3030 of file GLPreviewFrame.cpp.

References identify_tool, panosphere_overview_identify_tool, plane_overview_identify_tool, and PreviewIdentifyTool::UpdateWithNewImageSet().

Referenced by PreviewIdentifyTool::ImagesUnderMouseChangedEvent(), and PreviewIdentifyTool::StopUpdating().

bool GLPreviewFrame::UpdateOverviewMode ( int  newMode  )  [private]

updates the mode of the overview window

Parameters:
newMode overview mode which should be setted
Returns:
true, of mode was successful changed to desired mode

Definition at line 1957 of file GLPreviewFrame.cpp.

References GLOverview::GetMode(), HasNonZeroTranslationPlaneParameters(), m_GLOverview, GLOverview::PANOSPHERE, GLOverview::PLANE, ResetTranslationPlaneParameters(), and GLOverview::SetMode().

Referenced by OnDragChoice(), and OnOverviewModeChoice().

void GLPreviewFrame::updatePano (  )  [protected]

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

update display of ROI

Definition at line 1039 of file GLPreviewFrame.cpp.

References HuginBase::PanoramaOptions::getROI(), m_ROIBottomTxt, m_ROILeftTxt, m_ROIRightTxt, and m_ROITopTxt.

Referenced by OnROIChanged(), and panoramaChanged().


Member Data Documentation

PreviewColorPickerTool* GLPreviewFrame::color_picker_tool [private]

Definition at line 475 of file GLPreviewFrame.h.

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

PreviewCropTool* GLPreviewFrame::crop_tool [private]

Definition at line 472 of file GLPreviewFrame.h.

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

PreviewDifferenceTool* GLPreviewFrame::difference_tool [private]

Definition at line 482 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePreviewTools(), OnIdentify(), updateBlendMode(), and ~GLPreviewFrame().

PreviewDragTool* GLPreviewFrame::drag_tool [private]

Definition at line 474 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePreviewTools(), OnDragChoice(), panoramaImagesChanged(), SetMode(), TurnOffTools(), and ~GLPreviewFrame().

PreviewEditCPTool* GLPreviewFrame::edit_cp_tool [private]

Definition at line 476 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePreviewTools(), OnColorPicker(), OnCreateCP(), OnEditCPTool(), OnRemoveCP(), SetMode(), and ~GLPreviewFrame().

bool GLPreviewFrame::GLresize [protected]

Definition at line 256 of file GLPreviewFrame.h.

Referenced by ContinueResize(), and PauseResize().

PreviewIdentifyTool* GLPreviewFrame::identify_tool [private]

Definition at line 478 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePreviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), TurnOffTools(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame().

HuginBase::UIntSet GLPreviewFrame::imageDragGroup [private]

Definition at line 473 of file GLPreviewFrame.h.

Referenced by AddImageToDragGroup(), ClearDragGroupImages(), GetDragGroupImages(), RemoveImageFromDragGroup(), SetDragGroupImages(), and ToggleImageInDragGroup().

wxButton* GLPreviewFrame::m_alignButton [private]

Definition at line 414 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxChoice* GLPreviewFrame::m_BlendModeChoice [private]

Definition at line 392 of file GLPreviewFrame.h.

Referenced by FillBlendChoice(), GLPreviewFrame(), OnBlendChoice(), OnIdentify(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().

wxScrolledWindow* GLPreviewFrame::m_ButtonPanel [private]

Definition at line 447 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaImagesChanged().

wxBoxSizer* GLPreviewFrame::m_ButtonSizer [private]

Definition at line 448 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaImagesChanged().

wxString GLPreviewFrame::m_choices[3] [private]

Definition at line 442 of file GLPreviewFrame.h.

wxButton* GLPreviewFrame::m_createButton [private]

Definition at line 415 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_cropFactorText [private]

Definition at line 418 of file GLPreviewFrame.h.

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

wxBitmapButton* GLPreviewFrame::m_defaultExposureBut [private]

Definition at line 402 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

int GLPreviewFrame::m_degDigits [private]

Definition at line 438 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

int GLPreviewFrame::m_differenceIndex [private]

Definition at line 445 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_DragModeChoice [private]

Definition at line 393 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), individualDragging(), OnDragChoice(), OnNumTransform(), OnOverviewModeChoice(), panoramaImagesChanged(), and SetGuiLevel().

wxSpinButton* GLPreviewFrame::m_exposureSpinBut [private]

Definition at line 404 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxTextCtrl* GLPreviewFrame::m_exposureText [private]

Definition at line 403 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_exposureTextCtrl [private]

Definition at line 401 of file GLPreviewFrame.h.

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

wxMenu* GLPreviewFrame::m_filemenuAdvanced [private]

Definition at line 421 of file GLPreviewFrame.h.

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

wxMenu* GLPreviewFrame::m_filemenuSimple [private]

Definition at line 420 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_focalLengthText [private]

Definition at line 417 of file GLPreviewFrame.h.

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

GLOverview* GLPreviewFrame::m_GLOverview [private]

Definition at line 371 of file GLPreviewFrame.h.

Referenced by ContinueResize(), GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), LoadOpenGLLayout(), OnControlPoint(), OnDragChoice(), OnIdentify(), OnLayoutScaleChange(), OnOverviewModeChoice(), OnOverviewToggle(), OnPreviewBackgroundColorChanged(), OnSwitchPreviewGrid(), panoramaImagesChanged(), redrawPreview(), SetGuiLevel(), SetMode(), TurnOffTools(), and UpdateOverviewMode().

GLPreview* GLPreviewFrame::m_GLPreview [private]

Definition at line 370 of file GLPreviewFrame.h.

Referenced by ContinueResize(), GLPreviewFrame(), InitPreviews(), MakePanosphereOverviewTools(), MakePlaneOverviewTools(), MakePreviewTools(), OnColorPicker(), OnControlPoint(), OnCreateCP(), OnEditCPTool(), OnIdentify(), OnLayoutScaleChange(), OnMenuClose(), OnPhotometric(), OnPreviewBackgroundColorChanged(), OnSwitchPreviewGrid(), OnTrackChangeFOV(), redrawPreview(), SetMode(), and TurnOffTools().

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

Definition at line 462 of file GLPreviewFrame.h.

Referenced by AddImageToDragGroup(), ClearDragGroupImages(), EnableGroupCheckboxes(), panoramaImagesChanged(), RemoveImageFromDragGroup(), SetDragGroupImages(), SetMode(), and ~GLPreviewFrame().

wxChoice* GLPreviewFrame::m_GuideChoiceCrop [private]

Definition at line 396 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

wxChoice* GLPreviewFrame::m_GuideChoiceDrag [private]

Definition at line 397 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

wxChoice* GLPreviewFrame::m_GuideChoiceProj [private]

Definition at line 398 of file GLPreviewFrame.h.

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

GuiLevel GLPreviewFrame::m_guiLevel [private]

Definition at line 373 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnClose(), OnCreate(), OnLoadImages(), SetGuiLevel(), and ~GLPreviewFrame().

wxSlider* GLPreviewFrame::m_HFOVSlider [private]

Definition at line 384 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_HFOVText [private]

Definition at line 386 of file GLPreviewFrame.h.

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

wxStaticText* GLPreviewFrame::m_imagesText [private]

Definition at line 413 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxChoice* GLPreviewFrame::m_lensTypeChoice [private]

Definition at line 416 of file GLPreviewFrame.h.

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

wxButton* GLPreviewFrame::m_loadLensButton [private]

Definition at line 419 of file GLPreviewFrame.h.

GLwxAuiManager* GLPreviewFrame::m_mgr [private]

The dock manager.

Definition at line 365 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), LoadOpenGLLayout(), OnOverviewToggle(), OnShowEvent(), and ~GLPreviewFrame().

int GLPreviewFrame::m_mode [private]

Definition at line 377 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnLayoutScaleChange(), OnSelectMode(), panoramaImagesChanged(), and SetMode().

int GLPreviewFrame::m_oldProjFormat [private]

Definition at line 443 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxChoice* GLPreviewFrame::m_OverviewModeChoice [private]

Definition at line 395 of file GLPreviewFrame.h.

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

HuginBase::Panorama& GLPreviewFrame::m_pano [private]

Definition at line 368 of file GLPreviewFrame.h.

Referenced by CleanButtonColours(), GLPreviewFrame(), HasNonZeroTranslationPlaneParameters(), OnAutocrop(), OnCenterHorizontally(), OnChangeFOV(), OnCreate(), OnCreateCP(), OnCropFactorChanged(), OnDecreaseExposure(), OnDefaultExposure(), OnExposureChanged(), OnFitPano(), OnFocalLengthChanged(), OnHFOVChanged(), OnIncreaseExposure(), OnLensTypeChanged(), OnLoadImages(), OnNumTransform(), OnProjectionChoice(), OnProjParameterChanged(), OnProjParameterReset(), OnRemoveCP(), OnResetCrop(), OnROIChanged(), OnShowAll(), OnShowNone(), OnStackAutocrop(), OnStraighten(), OnToolModeChanging(), OnTrackChangeFOV(), OnVFOVChanged(), panoramaChanged(), panoramaImagesChanged(), ResetTranslationPlaneParameters(), ShowProjectionWarnings(), UpdateGlobalWhiteBalance(), and ~GLPreviewFrame().

PreviewLayoutLinesTool* GLPreviewFrame::m_panosphere_layoutLinesTool [private]

Definition at line 494 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), and SetMode().

PreviewLayoutLinesTool* GLPreviewFrame::m_plane_layoutLinesTool [private]

Definition at line 495 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools(), and SetMode().

wxColour GLPreviewFrame::m_preview_background_color [private]

Definition at line 440 of file GLPreviewFrame.h.

Referenced by GetPreviewBackgroundColor(), GLPreviewFrame(), and OnPreviewBackgroundColorChanged().

PreviewLayoutLinesTool* GLPreviewFrame::m_preview_layoutLinesTool [private]

Definition at line 493 of file GLPreviewFrame.h.

Referenced by MakePreviewTools(), and SetMode().

wxPanel* GLPreviewFrame::m_projection_panel [private]

Definition at line 383 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_ProjectionChoice [private]

Definition at line 394 of file GLPreviewFrame.h.

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

bool GLPreviewFrame::m_projectionStatusPushed [private]

Definition at line 410 of file GLPreviewFrame.h.

Referenced by ShowProjectionWarnings().

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

Definition at line 453 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxBoxSizer* GLPreviewFrame::m_projParamSizer [private]

Definition at line 452 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

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

Definition at line 455 of file GLPreviewFrame.h.

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

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

Definition at line 454 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROIBottomTxt [private]

Definition at line 391 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROILeftTxt [private]

Definition at line 388 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROIRightTxt [private]

Definition at line 389 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROITopTxt [private]

Definition at line 390 of file GLPreviewFrame.h.

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

wxBitmapButton* GLPreviewFrame::m_selectAllButton [private]

Definition at line 426 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnSelectContextMenu().

wxMenu* GLPreviewFrame::m_selectAllMenu [private]

Definition at line 422 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnSelectContextMenu().

SelectAllMode GLPreviewFrame::m_selectAllMode [private]

Definition at line 435 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnSelectAllMenu(), OnSelectBrightestMenu(), OnSelectDarkestMenu(), OnSelectMedianMenu(), and OnShowAll().

bool GLPreviewFrame::m_selectKeepSelection [private]

Definition at line 436 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnSelectKeepSelection(), OnSelectResetSelection(), and OnShowAll().

bool GLPreviewFrame::m_showProjectionHints [private]

Definition at line 492 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), OnHideProjectionHints(), panoramaChanged(), and SetShowProjectionHints().

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

Definition at line 463 of file GLPreviewFrame.h.

Referenced by CleanButtonColours(), panoramaImagesChanged(), and SetImageButtonColour().

std::vector<wxCheckBox *> GLPreviewFrame::m_ToggleButtons [private]

Definition at line 460 of file GLPreviewFrame.h.

Referenced by CleanButtonColours(), OnShowNone(), panoramaImagesChanged(), SetImageButtonColour(), and ~GLPreviewFrame().

wxStaticBoxSizer* GLPreviewFrame::m_ToggleButtonSizer [private]

Definition at line 449 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxNotebook* GLPreviewFrame::m_tool_notebook [private]

Definition at line 382 of file GLPreviewFrame.h.

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

wxToolBar* GLPreviewFrame::m_ToolBar_ColorPicker [private]

Definition at line 380 of file GLPreviewFrame.h.

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

wxToolBar* GLPreviewFrame::m_ToolBar_editCP [private]

Definition at line 381 of file GLPreviewFrame.h.

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

wxToolBar* GLPreviewFrame::m_ToolBar_Identify [private]

Definition at line 379 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), panoramaImagesChanged(), SetMode(), TurnOffTools(), and updateBlendMode().

wxBoxSizer* GLPreviewFrame::m_topsizer [private]

Definition at line 451 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxSlider* GLPreviewFrame::m_VFOVSlider [private]

Definition at line 385 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_VFOVText [private]

Definition at line 387 of file GLPreviewFrame.h.

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

ViewState* GLPreviewFrame::m_view_state [private]

Definition at line 375 of file GLPreviewFrame.h.

int GLPreviewFrame::non_layout_blend_mode [private]

Definition at line 378 of file GLPreviewFrame.h.

Referenced by SetMode().

OverviewDragTool* GLPreviewFrame::overview_drag_tool [private]

Definition at line 505 of file GLPreviewFrame.h.

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

PanosphereOverviewOutlinesTool* GLPreviewFrame::overview_outlines_tool [private]

Definition at line 510 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools().

PanosphereOverviewProjectionGridTool* GLPreviewFrame::overview_projection_grid [private]

Definition at line 497 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), and OnSwitchPreviewGrid().

PreviewPanoMaskTool* GLPreviewFrame::pano_mask_tool [private]

Definition at line 490 of file GLPreviewFrame.h.

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

PreviewControlPointTool* GLPreviewFrame::panosphere_control_point_tool [private]

Definition at line 487 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), OnControlPoint(), and SetMode().

PreviewDifferenceTool* GLPreviewFrame::panosphere_difference_tool [private]

Definition at line 484 of file GLPreviewFrame.h.

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

PanosphereOverviewCameraTool* GLPreviewFrame::panosphere_overview_camera_tool [private]

Definition at line 507 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools().

PanosphereOverviewToolHelper* GLPreviewFrame::panosphere_overview_helper [private]

Definition at line 501 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePanosphereOverviewTools(), OnControlPoint(), OnIdentify(), OnSwitchPreviewGrid(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().

PreviewIdentifyTool* GLPreviewFrame::panosphere_overview_identify_tool [private]

Definition at line 479 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePanosphereOverviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame().

PanosphereSphereTool* GLPreviewFrame::panosphere_sphere_tool [private]

Definition at line 499 of file GLPreviewFrame.h.

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

PreviewControlPointTool* GLPreviewFrame::plane_control_point_tool [private]

Definition at line 488 of file GLPreviewFrame.h.

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

PreviewDifferenceTool* GLPreviewFrame::plane_difference_tool [private]

Definition at line 483 of file GLPreviewFrame.h.

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

PlaneOverviewCameraTool* GLPreviewFrame::plane_overview_camera_tool [private]

Definition at line 508 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools().

PlaneOverviewToolHelper* GLPreviewFrame::plane_overview_helper [private]

Definition at line 503 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePlaneOverviewTools(), OnControlPoint(), OnIdentify(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().

PreviewIdentifyTool* GLPreviewFrame::plane_overview_identify_tool [private]

Definition at line 480 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), MakePlaneOverviewTools(), OnIdentify(), panoramaImagesChanged(), SetMode(), updateBlendMode(), UpdateIdentifyTools(), and ~GLPreviewFrame().

PlaneOverviewOutlinesTool* GLPreviewFrame::plane_overview_outlines_tool [private]

Definition at line 511 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools().

PreviewControlPointTool* GLPreviewFrame::preview_control_point_tool [private]

Definition at line 486 of file GLPreviewFrame.h.

PreviewGuideTool* GLPreviewFrame::preview_guide_tool [private]

Definition at line 513 of file GLPreviewFrame.h.

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

PreviewToolHelper* GLPreviewFrame::preview_helper [private]

Definition at line 470 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), InitPreviews(), KeyDown(), KeyUp(), MakePreviewTools(), OnColorPicker(), OnControlPoint(), OnEditCPTool(), OnIdentify(), OnSwitchPreviewGrid(), SetMode(), updateBlendMode(), and ~GLPreviewFrame().

PreviewProjectionGridTool* GLPreviewFrame::preview_projection_grid [private]

Definition at line 498 of file GLPreviewFrame.h.

Referenced by MakePreviewTools(), and OnSwitchPreviewGrid().

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

Definition at line 465 of file GLPreviewFrame.h.

Referenced by panoramaImagesChanged().

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

Definition at line 464 of file GLPreviewFrame.h.

Referenced by panoramaImagesChanged().


The documentation for this class was generated from the following files:
Generated on 9 Feb 2016 for Hugintrunk by  doxygen 1.4.7