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, PT::Panorama &pano)
 ctor.
virtual ~GLPreviewFrame ()
 dtor.
void panoramaChanged (PT::Panorama &pano)
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &changed)
void updateProgressDisplay ()
 update the display
void MakePreviewTools (PreviewToolHelper *helper)
void MakePanosphereOverviewTools (PanosphereOverviewToolHelper *helper)
void MakePlaneOverviewTools (PlaneOverviewToolHelper *helper)
void SetImageButtonColour (unsigned int image_nr, unsigned char red, unsigned char green, unsigned char blue)
void SetStatusMessage (wxString message)
void FillBlendChoice ()
 fills the blend wxChoice with all valid blend modes and restore the last used one
void LoadOpenGLLayout ()
 loads the layout of the OpenGL windows and restores it
void InitPreviews ()
 init previews
void SetGuiLevel (GuiLevel newLevel)
 sets the gui level
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 (PT::UIntSet imageDragGroup_in, bool update_check_box=true)
PT::UIntSet GetDragGroupImages ()
void ClearDragGroupImages (bool update_check_box=true)
void UpdateGlobalWhiteBalance (double redFactor, double blueFactor)
 updates the global white balance
void UpdateIdentifyTools (std::set< unsigned int > new_image_set)
wxColour GetPreviewBackgroundColor ()

Protected Member Functions

void OnClose (wxCloseEvent &e)
void OnOverviewToggle (wxCommandEvent &e)
void OnCenterHorizontally (wxCommandEvent &e)
void OnFitPano (wxCommandEvent &e)
void OnStraighten (wxCommandEvent &e)
void OnShowAll (wxCommandEvent &e)
void OnShowNone (wxCommandEvent &e)
void OnPhotometric (wxCommandEvent &e)
void OnIdentify (wxCommandEvent &e)
void OnAutocrop (wxCommandEvent &e)
void OnStackAutocrop (wxCommandEvent &e)
void OnControlPoint (wxCommandEvent &e)
void OnNumTransform (wxCommandEvent &e)
void OnChangeFOV (wxScrollEvent &e)
void OnTrackChangeFOV (wxScrollEvent &e)
void OnExposureChanged (wxCommandEvent &e)
void OnProjParameterChanged (wxCommandEvent &e)
void OnProjParameterReset (wxCommandEvent &e)
 event handler for reset projection parameters
void OnSwitchPreviewGrid (wxCommandEvent &e)
 event handler for switch on/off grid on preview
void OnUserExit (wxCommandEvent &e)
 user wants to quit program
void OnDefaultExposure (wxCommandEvent &e)
void OnDecreaseExposure (wxSpinEvent &e)
void OnIncreaseExposure (wxSpinEvent &e)
void OnBlendChoice (wxCommandEvent &e)
void OnDragChoice (wxCommandEvent &e)
void KeyDown (wxKeyEvent &e)
void KeyUp (wxKeyEvent &e)
void DragChoiceLayout (int index)
void OnProjectionChoice (wxCommandEvent &e)
void OnOverviewModeChoice (wxCommandEvent &e)
void OnROIChanged (wxCommandEvent &e)
 event handler for changed roi
void OnResetCrop (wxCommandEvent &e)
 event handler to reset crop area
void OnHFOVChanged (wxCommandEvent &e)
void OnVFOVChanged (wxCommandEvent &e)
void OnHideProjectionHints (wxCommandEvent &e)
 event handler when user hides the infobar
void updateBlendMode ()
 Update tools and GUI elements according to blend mode choice.
void updatePano ()
void OnFullScreen (wxCommandEvent &e)
 event handler for full screen
void OnSelectMode (wxNotebookEvent &e)
 event handler for selection of new mode
void OnToolModeChanging (wxNotebookEvent &e)
 event handler for blocking changing mode when panorama contains no images
void OnLayoutScaleChange (wxScrollEvent &e)
 event handler for change scale of layout mode
void OnColorPicker (wxCommandEvent &e)
 event handler when starting color picker
void OnPreviewBackgroundColorChanged (wxColourPickerEvent &e)
 event handler when user changes background color
void OnGuideChanged (wxCommandEvent &e)
 event handler when user selects different guide
void OnShowMainFrame (wxCommandEvent &e)
 event handler to show main frame
void OnLoadImages (wxCommandEvent &e)
void OnAlign (wxCommandEvent &e)
void OnCreate (wxCommandEvent &e)
void OnLensTypeChanged (wxCommandEvent &e)
void OnFocalLengthChanged (wxCommandEvent &e)
void OnCropFactorChanged (wxCommandEvent &e)

Protected Attributes

bool GLresize

Private Member Functions

void EnableGroupCheckboxes (bool isShown)
 changes the visibility of the group check boxes
bool UpdateOverviewMode (int newMode)
 updates the mode of the overview window
void UpdateRoiDisplay (const HuginBase::PanoramaOptions opts)
 update display of ROI
void SetMode (int newMode)
void TurnOffTools (std::set< Tool * > tools)
bool HasNonZeroTranslationPlaneParameters ()
 check, if panorama has non-zero translation plane parameters
void ResetTranslationPlaneParameters ()
 resets all translation plane parameters to zero
void CleanButtonColours ()
void ShowProjectionWarnings ()
 Tell the user anything suspicious about the projection choice.

Private Attributes

GLwxAuiManagerm_mgr
 The dock manager.
PT::Panoramam_pano
GLPreviewm_GLPreview
GLOverviewm_GLOverview
GuiLevel m_guiLevel
ViewStatem_view_state
int m_mode
int non_layout_blend_mode
wxToolBar * m_ToolBar_Identify
wxNotebook * m_tool_notebook
wxPanel * m_projection_panel
wxSlider * m_HFOVSlider
wxSlider * m_VFOVSlider
wxTextCtrl * m_HFOVText
wxTextCtrl * m_VFOVText
wxTextCtrl * m_ROILeftTxt
wxTextCtrl * m_ROIRightTxt
wxTextCtrl * m_ROITopTxt
wxTextCtrl * m_ROIBottomTxt
wxChoice * m_BlendModeChoice
wxChoice * m_DragModeChoice
wxChoice * m_ProjectionChoice
wxChoice * m_OverviewModeChoice
wxChoice * m_GuideChoiceCrop
wxChoice * m_GuideChoiceDrag
wxChoice * m_GuideChoiceProj
wxTextCtrl * m_exposureTextCtrl
wxBitmapButton * m_defaultExposureBut
wxSpinButton * m_exposureSpinBut
bool m_projectionStatusPushed
wxStaticText * m_imagesText
wxButton * m_alignButton
wxButton * m_createButton
wxChoice * m_lensTypeChoice
wxTextCtrl * m_focalLengthText
wxTextCtrl * m_cropFactorText
wxButton * m_loadLensButton
wxMenu * m_filemenuSimple
int m_degDigits
wxColour m_preview_background_color
wxString m_choices [3]
int m_oldProjFormat
int m_differenceIndex
wxScrolledWindow * m_ButtonPanel
wxBoxSizer * m_ButtonSizer
wxStaticBoxSizer * m_ToggleButtonSizer
wxBoxSizer * m_topsizer
wxBoxSizer * m_projParamSizer
std::vector< wxStaticText * > m_projParamNamesLabel
std::vector< wxTextCtrl * > m_projParamTextCtrl
std::vector< wxSlider * > m_projParamSlider
std::vector< wxCheckBox * > m_ToggleButtons
std::vector< wxCheckBox * > m_GroupToggleButtons
std::vector< wxPanel * > m_ToggleButtonPanel
std::vector< ImageToogleButtonEventHandler * > toogle_button_event_handlers
std::vector< ImageGroupButtonEventHandler * > toggle_group_button_event_handlers
PreviewToolHelperpreview_helper
PreviewCropToolcrop_tool
PT::UIntSet imageDragGroup
PreviewDragTooldrag_tool
PreviewColorPickerToolcolor_picker_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 186 of file GLPreviewFrame.h.


Constructor & Destructor Documentation

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

ctor.

Definition at line 305 of file GLPreviewFrame.cpp.

References HuginBase::Panorama::addObserver(), color_picker_tool, crop_tool, DEBUG_ASSERT, DEBUG_TRACE, difference_tool, drag_tool, DragChoiceLayout(), 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_exposureTextCtrl, 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_showProjectionHints, m_ToggleButtonSizer, m_tool_notebook, m_ToolBar_Identify, m_topsizer, m_VFOVSlider, m_VFOVText, OnHideProjectionHints(), 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(), GLViewer::SetActive(), SetGuiLevel(), and GLOverview::SetMode().

GLPreviewFrame::~GLPreviewFrame (  )  [virtual]

dtor.

Definition at line 791 of file GLPreviewFrame.cpp.

References color_picker_tool, crop_tool, PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), DEBUG_TRACE, difference_tool, drag_tool, GUI_SIMPLE, identify_tool, individualDragging(), m_BlendModeChoice, m_cropFactorText, 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 2456 of file GLPreviewFrame.cpp.

References imageDragGroup, and m_GroupToggleButtons.

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

bool GLPreviewFrame::CanResize (  )  [inline]

Definition at line 226 of file GLPreviewFrame.h.

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

void GLPreviewFrame::CleanButtonColours (  )  [private]

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

References imageDragGroup, and m_GroupToggleButtons.

void GLPreviewFrame::ContinueResize (  ) 

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

Referenced by GLPreviewFrame(), OnDragChoice(), 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 2481 of file GLPreviewFrame.cpp.

References m_GroupToggleButtons.

Referenced by OnDragChoice(), and SetMode().

void GLPreviewFrame::FillBlendChoice (  ) 

fills the blend wxChoice with all valid blend modes and restore the last used one

Definition at line 2495 of file GLPreviewFrame.cpp.

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

Referenced by LoadOpenGLLayout().

GLwxAuiManager* GLPreviewFrame::getAuiManager (  )  [inline]

Definition at line 220 of file GLPreviewFrame.h.

UIntSet GLPreviewFrame::GetDragGroupImages (  ) 

Definition at line 2470 of file GLPreviewFrame.cpp.

References imageDragGroup.

Referenced by DragTool::MouseButtonEvent().

GLOverview* GLPreviewFrame::getOverview (  )  [inline]

Definition at line 222 of file GLPreviewFrame.h.

GLPreview* GLPreviewFrame::getPreview (  )  [inline]

Definition at line 221 of file GLPreviewFrame.h.

wxColor GLPreviewFrame::GetPreviewBackgroundColor (  ) 

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

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

Referenced by OnDragChoice(), and UpdateOverviewMode().

bool GLPreviewFrame::individualDragging (  ) 

Definition at line 2437 of file GLPreviewFrame.cpp.

References m_DragModeChoice.

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

void GLPreviewFrame::InitPreviews (  ) 

init previews

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

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

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

Definition at line 1393 of file GLPreviewFrame.cpp.

References GLOverview::GetMode(), ToolHelper::KeypressEvent(), m_GLOverview, 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 765 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 2103 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 2133 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 2070 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), color_picker_tool, crop_tool, difference_tool, drag_tool, identify_tool, m_GLPreview, m_GuideChoiceProj, m_preview_layoutLinesTool, mode_assistant, pano_mask_tool, preview_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 3111 of file GLPreviewFrame.cpp.

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

Referenced by OnLoadImages().

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

Definition at line 2514 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PT::Panorama::calcOptimalROI(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), ProgressReporterDialog::increaseProgress(), and m_pano.

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

Definition at line 1761 of file GLPreviewFrame.cpp.

References m_BlendModeChoice, and updateBlendMode().

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

Definition at line 1508 of file GLPreviewFrame.cpp.

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

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

Definition at line 1698 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_DEBUG, DEBUG_TRACE, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_HFOVSlider, m_pano, m_projParamSlider, m_VFOVSlider, and OnLayoutScaleChange().

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

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

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

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

Definition at line 2179 of file GLPreviewFrame.cpp.

References ToolHelper::ActivateTool(), PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), m_GLOverview, m_GLPreview, 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 3118 of file GLPreviewFrame.cpp.

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

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

Definition at line 3186 of file GLPreviewFrame.cpp.

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

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

Definition at line 1975 of file GLPreviewFrame.cpp.

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

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

Definition at line 1955 of file GLPreviewFrame.cpp.

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

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

Definition at line 1773 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::OnExposureChanged ( wxCommandEvent &  e  )  [protected]

Definition at line 1645 of file GLPreviewFrame.cpp.

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

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

Definition at line 1526 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, DEBUG_TRACE, PT::Panorama::fitPano(), HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, and hugin_utils::roundi().

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

Definition at line 3156 of file GLPreviewFrame.cpp.

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

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

event handler for full screen

Definition at line 2578 of file GLPreviewFrame.cpp.

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

event handler when user selects different guide

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

References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_HFOVText, m_pano, and str2double().

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

event handler when user hides the infobar

Definition at line 2915 of file GLPreviewFrame.cpp.

References m_showProjectionHints.

Referenced by GLPreviewFrame().

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

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

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

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

event handler for change scale of layout mode

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

References CommandHistory::addCommand(), PT::calcFocalLength(), HuginBase::Panorama::getImage(), GlobalCmdHist::getInstance(), GetSelectedProjection(), m_lensTypeChoice, m_pano, and HuginBase::BaseSrcPanoImage::Projection.

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

Definition at line 3077 of file GLPreviewFrame.cpp.

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

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

Definition at line 1573 of file GLPreviewFrame.cpp.

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

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

Definition at line 1908 of file GLPreviewFrame.cpp.

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

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

Definition at line 1415 of file GLPreviewFrame.cpp.

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

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

Definition at line 2065 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 2948 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 1984 of file GLPreviewFrame.cpp.

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

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

Definition at line 1664 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_projParamTextCtrl, and str2double().

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

event handler for reset projection parameters

Definition at line 1689 of file GLPreviewFrame.cpp.

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

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

event handler to reset crop area

Definition at line 2745 of file GLPreviewFrame.cpp.

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

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

event handler for changed roi

Definition at line 2706 of file GLPreviewFrame.cpp.

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

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

event handler for selection of new mode

Definition at line 2691 of file GLPreviewFrame.cpp.

References m_mode, and SetMode().

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

Definition at line 1545 of file GLPreviewFrame.cpp.

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

void GLPreviewFrame::OnShowEvent ( wxShowEvent &  e  ) 

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

References MainFrame::Get().

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

Definition at line 1559 of file GLPreviewFrame.cpp.

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

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

Definition at line 2546 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), PT::Panorama::calcOptimalStackROI(), DEBUG_INFO, HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), ProgressReporterDialog::increaseProgress(), and m_pano.

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

Definition at line 1517 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), 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 1438 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 2697 of file GLPreviewFrame.cpp.

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

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

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

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

Definition at line 2784 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), DEBUG_INFO, GlobalCmdHist::getInstance(), HuginBase::Panorama::getOptions(), m_pano, m_VFOVText, and str2double().

void GLPreviewFrame::panoramaChanged ( PT::Panorama pano  )  [virtual]

Reimplemented from PT::PanoramaObserver.

Definition at line 968 of file GLPreviewFrame.cpp.

References PT::calcFocalLength(), Components2Str(), const_map_get(), HuginBase::createCPGraph(), DEBUG_DEBUG, hugin_utils::doubleToString(), hugin_utils::doubleTowxString(), HuginBase::findCPComponents(), HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getImageVariables(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), m_alignButton, m_createButton, m_cropFactorText, m_degDigits, m_exposureTextCtrl, m_focalLengthText, m_GLPreview, m_HFOVSlider, m_HFOVText, m_imagesText, m_lensTypeChoice, m_oldProjFormat, m_pano, m_projection_panel, m_ProjectionChoice, m_projParamNamesLabel, m_projParamSizer, m_projParamSlider, m_projParamTextCtrl, m_showProjectionHints, m_VFOVSlider, m_VFOVText, celeste::max(), celeste::min(), redrawPreview(), hugin_utils::roundi(), SelectProjection(), GLViewer::SetOverlayText(), ShowProjectionWarnings(), and UpdateRoiDisplay().

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

void GLPreviewFrame::PauseResize (  ) 

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

References m_GLOverview, and m_GLPreview.

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

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

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

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

Referenced by OnDragChoice(), and UpdateOverviewMode().

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

void GLPreviewFrame::SetGuiLevel ( GuiLevel  newLevel  ) 

sets the gui level

Definition at line 2978 of file GLPreviewFrame.cpp.

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

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

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

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

References ToolHelper::ActivateTool(), CleanButtonColours(), color_picker_tool, crop_tool, PanosphereOverviewToolHelper::DeactivateTool(), ToolHelper::DeactivateTool(), drag_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_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(), GLViewer::SetOverlayVisibility(), TurnOffTools(), and updateBlendMode().

Referenced by MakePreviewTools(), and OnSelectMode().

void GLPreviewFrame::SetShowProjectionHints ( bool  new_value  ) 

set status if projection hints should be shown or not

Definition at line 2904 of file GLPreviewFrame.cpp.

References m_showProjectionHints.

Referenced by MainFrame::OnShowPrefs().

void GLPreviewFrame::SetStatusMessage ( wxString  message  ) 

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

References HuginBase::PanoramaOptions::CYLINDRICAL, HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::PanoramaOptions::FULL_FRAME_FISHEYE, HuginBase::Panorama::getOptions(), 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 2443 of file GLPreviewFrame.cpp.

References imageDragGroup, and RemoveImageFromDragGroup().

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

Definition at line 2196 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 886 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 2303 of file GLPreviewFrame.cpp.

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

Referenced by PreviewColorPickerTool::MouseButtonEvent().

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

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

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

Referenced by OnDragChoice(), and OnOverviewModeChoice().

void GLPreviewFrame::updatePano (  )  [protected]

void GLPreviewFrame::updateProgressDisplay (  )  [virtual]

update the display

Reimplemented from AppBase::MultiProgressDisplay.

Definition at line 2021 of file GLPreviewFrame.cpp.

References AppBase::MultiProgressDisplay::tasks.

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

update display of ROI

Referenced by OnROIChanged(), and panoramaChanged().


Member Data Documentation

PreviewColorPickerTool* GLPreviewFrame::color_picker_tool [private]

Definition at line 440 of file GLPreviewFrame.h.

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

PreviewCropTool* GLPreviewFrame::crop_tool [private]

Definition at line 437 of file GLPreviewFrame.h.

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

PreviewDifferenceTool* GLPreviewFrame::difference_tool [private]

Definition at line 446 of file GLPreviewFrame.h.

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

PreviewDragTool* GLPreviewFrame::drag_tool [private]

Definition at line 439 of file GLPreviewFrame.h.

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

bool GLPreviewFrame::GLresize [protected]

Definition at line 257 of file GLPreviewFrame.h.

Referenced by ContinueResize(), and PauseResize().

PreviewIdentifyTool* GLPreviewFrame::identify_tool [private]

Definition at line 442 of file GLPreviewFrame.h.

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

PT::UIntSet GLPreviewFrame::imageDragGroup [private]

Definition at line 438 of file GLPreviewFrame.h.

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

wxButton* GLPreviewFrame::m_alignButton [private]

Definition at line 395 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxChoice* GLPreviewFrame::m_BlendModeChoice [private]

Definition at line 374 of file GLPreviewFrame.h.

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

wxScrolledWindow* GLPreviewFrame::m_ButtonPanel [private]

Definition at line 412 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxBoxSizer* GLPreviewFrame::m_ButtonSizer [private]

Definition at line 413 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxString GLPreviewFrame::m_choices[3] [private]

Definition at line 407 of file GLPreviewFrame.h.

wxButton* GLPreviewFrame::m_createButton [private]

Definition at line 396 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_cropFactorText [private]

Definition at line 399 of file GLPreviewFrame.h.

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

wxBitmapButton* GLPreviewFrame::m_defaultExposureBut [private]

Definition at line 384 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

int GLPreviewFrame::m_degDigits [private]

Definition at line 403 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

int GLPreviewFrame::m_differenceIndex [private]

Definition at line 410 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_DragModeChoice [private]

Definition at line 375 of file GLPreviewFrame.h.

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

wxSpinButton* GLPreviewFrame::m_exposureSpinBut [private]

Definition at line 385 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxTextCtrl* GLPreviewFrame::m_exposureTextCtrl [private]

Definition at line 383 of file GLPreviewFrame.h.

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

wxMenu* GLPreviewFrame::m_filemenuSimple [private]

Definition at line 401 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_focalLengthText [private]

Definition at line 398 of file GLPreviewFrame.h.

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

GLOverview* GLPreviewFrame::m_GLOverview [private]

Definition at line 355 of file GLPreviewFrame.h.

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

GLPreview* GLPreviewFrame::m_GLPreview [private]

Definition at line 354 of file GLPreviewFrame.h.

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

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

Definition at line 427 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_GuideChoiceCrop [private]

Definition at line 378 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

wxChoice* GLPreviewFrame::m_GuideChoiceDrag [private]

Definition at line 379 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and OnGuideChanged().

wxChoice* GLPreviewFrame::m_GuideChoiceProj [private]

Definition at line 380 of file GLPreviewFrame.h.

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

GuiLevel GLPreviewFrame::m_guiLevel [private]

Definition at line 357 of file GLPreviewFrame.h.

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

wxSlider* GLPreviewFrame::m_HFOVSlider [private]

Definition at line 366 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_HFOVText [private]

Definition at line 368 of file GLPreviewFrame.h.

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

wxStaticText* GLPreviewFrame::m_imagesText [private]

Definition at line 394 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxChoice* GLPreviewFrame::m_lensTypeChoice [private]

Definition at line 397 of file GLPreviewFrame.h.

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

wxButton* GLPreviewFrame::m_loadLensButton [private]

Definition at line 400 of file GLPreviewFrame.h.

GLwxAuiManager* GLPreviewFrame::m_mgr [private]

The dock manager.

Definition at line 349 of file GLPreviewFrame.h.

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

int GLPreviewFrame::m_mode [private]

Definition at line 361 of file GLPreviewFrame.h.

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

int GLPreviewFrame::m_oldProjFormat [private]

Definition at line 408 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxChoice* GLPreviewFrame::m_OverviewModeChoice [private]

Definition at line 377 of file GLPreviewFrame.h.

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

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

Definition at line 352 of file GLPreviewFrame.h.

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

PreviewLayoutLinesTool* GLPreviewFrame::m_panosphere_layoutLinesTool [private]

Definition at line 458 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), and SetMode().

PreviewLayoutLinesTool* GLPreviewFrame::m_plane_layoutLinesTool [private]

Definition at line 459 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools(), and SetMode().

wxColour GLPreviewFrame::m_preview_background_color [private]

Definition at line 405 of file GLPreviewFrame.h.

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

PreviewLayoutLinesTool* GLPreviewFrame::m_preview_layoutLinesTool [private]

Definition at line 457 of file GLPreviewFrame.h.

Referenced by MakePreviewTools(), and SetMode().

wxPanel* GLPreviewFrame::m_projection_panel [private]

Definition at line 365 of file GLPreviewFrame.h.

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

wxChoice* GLPreviewFrame::m_ProjectionChoice [private]

Definition at line 376 of file GLPreviewFrame.h.

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

bool GLPreviewFrame::m_projectionStatusPushed [private]

Definition at line 391 of file GLPreviewFrame.h.

Referenced by ShowProjectionWarnings().

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

Definition at line 418 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

wxBoxSizer* GLPreviewFrame::m_projParamSizer [private]

Definition at line 417 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame(), and panoramaChanged().

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

Definition at line 420 of file GLPreviewFrame.h.

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

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

Definition at line 419 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROIBottomTxt [private]

Definition at line 373 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROILeftTxt [private]

Definition at line 370 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROIRightTxt [private]

Definition at line 371 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_ROITopTxt [private]

Definition at line 372 of file GLPreviewFrame.h.

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

bool GLPreviewFrame::m_showProjectionHints [private]

Definition at line 456 of file GLPreviewFrame.h.

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

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

Definition at line 428 of file GLPreviewFrame.h.

Referenced by CleanButtonColours(), and SetImageButtonColour().

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

Definition at line 425 of file GLPreviewFrame.h.

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

wxStaticBoxSizer* GLPreviewFrame::m_ToggleButtonSizer [private]

Definition at line 414 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxNotebook* GLPreviewFrame::m_tool_notebook [private]

Definition at line 364 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxToolBar* GLPreviewFrame::m_ToolBar_Identify [private]

Definition at line 363 of file GLPreviewFrame.h.

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

wxBoxSizer* GLPreviewFrame::m_topsizer [private]

Definition at line 416 of file GLPreviewFrame.h.

Referenced by GLPreviewFrame().

wxSlider* GLPreviewFrame::m_VFOVSlider [private]

Definition at line 367 of file GLPreviewFrame.h.

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

wxTextCtrl* GLPreviewFrame::m_VFOVText [private]

Definition at line 369 of file GLPreviewFrame.h.

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

ViewState* GLPreviewFrame::m_view_state [private]

Definition at line 359 of file GLPreviewFrame.h.

int GLPreviewFrame::non_layout_blend_mode [private]

Definition at line 362 of file GLPreviewFrame.h.

Referenced by SetMode().

OverviewDragTool* GLPreviewFrame::overview_drag_tool [private]

Definition at line 469 of file GLPreviewFrame.h.

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

PanosphereOverviewOutlinesTool* GLPreviewFrame::overview_outlines_tool [private]

Definition at line 474 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools().

PanosphereOverviewProjectionGridTool* GLPreviewFrame::overview_projection_grid [private]

Definition at line 461 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools(), and OnSwitchPreviewGrid().

PreviewPanoMaskTool* GLPreviewFrame::pano_mask_tool [private]

Definition at line 454 of file GLPreviewFrame.h.

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

PreviewControlPointTool* GLPreviewFrame::panosphere_control_point_tool [private]

Definition at line 451 of file GLPreviewFrame.h.

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

PreviewDifferenceTool* GLPreviewFrame::panosphere_difference_tool [private]

Definition at line 448 of file GLPreviewFrame.h.

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

PanosphereOverviewCameraTool* GLPreviewFrame::panosphere_overview_camera_tool [private]

Definition at line 471 of file GLPreviewFrame.h.

Referenced by MakePanosphereOverviewTools().

PanosphereOverviewToolHelper* GLPreviewFrame::panosphere_overview_helper [private]

Definition at line 465 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 443 of file GLPreviewFrame.h.

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

PanosphereSphereTool* GLPreviewFrame::panosphere_sphere_tool [private]

Definition at line 463 of file GLPreviewFrame.h.

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

PreviewControlPointTool* GLPreviewFrame::plane_control_point_tool [private]

Definition at line 452 of file GLPreviewFrame.h.

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

PreviewDifferenceTool* GLPreviewFrame::plane_difference_tool [private]

Definition at line 447 of file GLPreviewFrame.h.

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

PlaneOverviewCameraTool* GLPreviewFrame::plane_overview_camera_tool [private]

Definition at line 472 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools().

PlaneOverviewToolHelper* GLPreviewFrame::plane_overview_helper [private]

Definition at line 467 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 444 of file GLPreviewFrame.h.

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

PlaneOverviewOutlinesTool* GLPreviewFrame::plane_overview_outlines_tool [private]

Definition at line 475 of file GLPreviewFrame.h.

Referenced by MakePlaneOverviewTools().

PreviewControlPointTool* GLPreviewFrame::preview_control_point_tool [private]

Definition at line 450 of file GLPreviewFrame.h.

PreviewGuideTool* GLPreviewFrame::preview_guide_tool [private]

Definition at line 477 of file GLPreviewFrame.h.

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

PreviewToolHelper* GLPreviewFrame::preview_helper [private]

Definition at line 435 of file GLPreviewFrame.h.

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

PreviewProjectionGridTool* GLPreviewFrame::preview_projection_grid [private]

Definition at line 462 of file GLPreviewFrame.h.

Referenced by MakePreviewTools(), and OnSwitchPreviewGrid().

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

Definition at line 430 of file GLPreviewFrame.h.

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

Definition at line 429 of file GLPreviewFrame.h.


The documentation for this class was generated from the following files:
Generated on 28 Nov 2014 for Hugintrunk by  doxygen 1.4.7