MainFrame.cpp File Reference

implementation of MainFrame Class More...

#include <config.h>
#include <hugin_version.h>
#include <exiv2/exif.hpp>
#include <exiv2/image.hpp>
#include <wx/dir.h>
#include "panoinc_WX.h"
#include "panoinc.h"
#include "base_wx/platform.h"
#include "base_wx/wxPlatform.h"
#include "vigra/imageinfo.hxx"
#include "vigra_ext/Correlation.h"
#include "PT/utils.h"
#include "hugin/config_defaults.h"
#include "hugin/PreferencesDialog.h"
#include "hugin/MainFrame.h"
#include "hugin/wxPanoCommand.h"
#include "hugin/CommandHistory.h"
#include "hugin/PanoPanel.h"
#include "hugin/ImagesPanel.h"
#include "hugin/MaskEditorPanel.h"
#include "hugin/OptimizePanel.h"
#include "hugin/OptimizePhotometricPanel.h"
#include "hugin/PreviewFrame.h"
#include "hugin/GLPreviewFrame.h"
#include "hugin/huginApp.h"
#include "hugin/CPEditorPanel.h"
#include "hugin/CPListFrame.h"
#include "hugin/LocalizedFileTipProvider.h"
#include "hugin/HFOVDialog.h"
#include "algorithms/control_points/CleanCP.h"
#include "hugin/PanoOperation.h"
#include "base_wx/MyProgressDialog.h"
#include "base_wx/RunStitchPanel.h"
#include "base_wx/wxImageCache.h"
#include "base_wx/PTWXDlg.h"
#include "PT/ImageGraph.h"
#include "base_wx/huginConfig.h"
#include "hugin/AboutDialog.h"

Include dependency graph for MainFrame.cpp:

Go to the source code of this file.

Classes

class  HuginSplashScreen
 class for showing splash screen the class wxSplashScreen from wxWidgets does not work correctly for our use case, it closes automatically the window if the user presses a key or does mouse clicks. More...

Functions

 EVT_MENU (XRCID("action_new_project"), MainFrame::OnNewProject) EVT_MENU(XRCID("action_load_project")
MainFrame::OnLoadProject EVT_MENU (XRCID("action_save_project"), MainFrame::OnSaveProject) EVT_MENU(XRCID("action_save_as_project")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs EVT_MENU (XRCID("action_save_as_ptstitcher"), MainFrame::OnSavePTStitcherAs) EVT_MENU(XRCID("action_open_batch_processor")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher 
EVT_MENU (XRCID("action_import_project"), MainFrame::OnMergeProject) EVT_MENU(XRCID("action_apply_template")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate 
EVT_MENU (XRCID("action_exit_hugin"), MainFrame::OnUserQuit) EVT_MENU(XRCID("action_show_about")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout 
EVT_MENU (XRCID("action_show_help"), MainFrame::OnHelp) EVT_MENU(XRCID("action_show_tip")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay 
EVT_MENU (XRCID("action_show_shortcuts"), MainFrame::OnKeyboardHelp) EVT_MENU(XRCID("action_show_faq")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ 
EVT_MENU (XRCID("action_show_donate"), MainFrame::OnShowDonate) EVT_MENU(XRCID("action_show_prefs")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs 
EVT_MENU (XRCID("action_assistant"), MainFrame::OnRunAssistant) EVT_MENU(XRCID("action_batch_assistant")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue 
EVT_MENU (XRCID("action_gui_simple"), MainFrame::OnSetGuiSimple) EVT_MENU(XRCID("action_gui_advanced")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced 
EVT_MENU (XRCID("action_gui_expert"), MainFrame::OnSetGuiExpert) EVT_MENU(XRCID("ID_EDITUNDO")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo 
EVT_MENU (XRCID("ID_EDITREDO"), MainFrame::OnRedo) EVT_MENU(XRCID("ID_SHOW_FULL_SCREEN")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen 
EVT_MENU (XRCID("ID_SHOW_PREVIEW_FRAME"), MainFrame::OnTogglePreviewFrame) EVT_MENU(XRCID("ID_SHOW_GL_PREVIEW_FRAME")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame 
EVT_BUTTON (XRCID("ID_SHOW_PREVIEW_FRAME"), MainFrame::OnTogglePreviewFrame) EVT_BUTTON(XRCID("ID_SHOW_GL_PREVIEW_FRAME")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame 
EVT_MENU (XRCID("action_optimize"), MainFrame::OnOptimize) EVT_BUTTON(XRCID("action_optimize")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize 
EVT_MENU (XRCID("action_finetune_all_cp"), MainFrame::OnFineTuneAll) EVT_MENU(XRCID("action_remove_cp_in_masks")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks 
EVT_MENU (XRCID("ID_CP_TABLE"), MainFrame::OnShowCPFrame) EVT_BUTTON(XRCID("ID_CP_TABLE")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks
MainFrame::OnShowCPFrame 
EVT_MENU (XRCID("ID_SHOW_PANEL_IMAGES"), MainFrame::OnShowPanel) EVT_MENU(XRCID("ID_SHOW_PANEL_MASK")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks
MainFrame::OnShowCPFrame MainFrame::OnShowPanel 
EVT_MENU (XRCID("ID_SHOW_PANEL_CP_EDITOR"), MainFrame::OnShowPanel) EVT_MENU(XRCID("ID_SHOW_PANEL_OPTIMIZER")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks
MainFrame::OnShowCPFrame MainFrame::OnShowPanel
MainFrame::OnShowPanel 
EVT_MENU (XRCID("ID_SHOW_PANEL_OPTIMIZER_PHOTOMETRIC"), MainFrame::OnShowPanel) EVT_MENU(XRCID("ID_SHOW_PANEL_PANORAMA")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks
MainFrame::OnShowCPFrame MainFrame::OnShowPanel
MainFrame::OnShowPanel MainFrame::OnShowPanel 
EVT_MENU (XRCID("action_add_images"), MainFrame::OnAddImages) EVT_BUTTON(XRCID("action_add_images")
MainFrame::OnLoadProject MainFrame::OnSaveProjectAs
MainFrame::OnOpenPTBatcher
MainFrame::OnApplyTemplate
MainFrame::OnAbout MainFrame::OnTipOfDay
MainFrame::OnFAQ MainFrame::OnShowPrefs
MainFrame::OnSendToAssistantQueue
MainFrame::OnSetGuiAdvanced
MainFrame::OnUndo MainFrame::OnFullScreen
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnToggleGLPreviewFrame
MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks
MainFrame::OnShowCPFrame MainFrame::OnShowPanel
MainFrame::OnShowPanel MainFrame::OnShowPanel
MainFrame::OnAddImages 
EVT_MENU (XRCID("action_add_time_images"), MainFrame::OnAddTimeImages) EVT_BUTTON(XRCID("action_add_time_images")
bool getLensDataFromUser (wxWindow *parent, SrcPanoImage &srcImg, double &focalLength, double &cropFactor)


Detailed Description

implementation of MainFrame Class

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file MainFrame.cpp.


Function Documentation

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame EVT_BUTTON ( XRCID("ID_SHOW_PREVIEW_FRAME")  ,
MainFrame::OnTogglePreviewFrame   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks MainFrame::OnShowCPFrame MainFrame::OnShowPanel MainFrame::OnShowPanel MainFrame::OnShowPanel MainFrame::OnAddImages EVT_MENU ( XRCID("action_add_time_images")  ,
MainFrame::OnAddTimeImages   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks MainFrame::OnShowCPFrame MainFrame::OnShowPanel MainFrame::OnShowPanel MainFrame::OnShowPanel EVT_MENU ( XRCID("action_add_images")  ,
MainFrame::OnAddImages   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks MainFrame::OnShowCPFrame MainFrame::OnShowPanel MainFrame::OnShowPanel EVT_MENU ( XRCID("ID_SHOW_PANEL_OPTIMIZER_PHOTOMETRIC")  ,
MainFrame::OnShowPanel   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks MainFrame::OnShowCPFrame MainFrame::OnShowPanel EVT_MENU ( XRCID("ID_SHOW_PANEL_CP_EDITOR")  ,
MainFrame::OnShowPanel   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks MainFrame::OnShowCPFrame EVT_MENU ( XRCID("ID_SHOW_PANEL_IMAGES")  ,
MainFrame::OnShowPanel   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize MainFrame::OnRemoveCPinMasks EVT_MENU ( XRCID("ID_CP_TABLE")  ,
MainFrame::OnShowCPFrame   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame MainFrame::OnOptimize EVT_MENU ( XRCID("action_finetune_all_cp")  ,
MainFrame::OnFineTuneAll   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen MainFrame::OnToggleGLPreviewFrame MainFrame::OnToggleGLPreviewFrame EVT_MENU ( XRCID("action_optimize")  ,
MainFrame::OnOptimize   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo MainFrame::OnFullScreen EVT_MENU ( XRCID("ID_SHOW_PREVIEW_FRAME")  ,
MainFrame::OnTogglePreviewFrame   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced MainFrame::OnUndo EVT_MENU ( XRCID("ID_EDITREDO")  ,
MainFrame::OnRedo   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue MainFrame::OnSetGuiAdvanced EVT_MENU ( XRCID("action_gui_expert")  ,
MainFrame::OnSetGuiExpert   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs MainFrame::OnSendToAssistantQueue EVT_MENU ( XRCID("action_gui_simple")  ,
MainFrame::OnSetGuiSimple   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ MainFrame::OnShowPrefs EVT_MENU ( XRCID("action_assistant")  ,
MainFrame::OnRunAssistant   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay MainFrame::OnFAQ EVT_MENU ( XRCID("action_show_donate")  ,
MainFrame::OnShowDonate   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout MainFrame::OnTipOfDay EVT_MENU ( XRCID("action_show_shortcuts")  ,
MainFrame::OnKeyboardHelp   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate MainFrame::OnAbout EVT_MENU ( XRCID("action_show_help")  ,
MainFrame::OnHelp   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher MainFrame::OnApplyTemplate EVT_MENU ( XRCID("action_exit_hugin")  ,
MainFrame::OnUserQuit   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs MainFrame::OnOpenPTBatcher EVT_MENU ( XRCID("action_import_project")  ,
MainFrame::OnMergeProject   
)

MainFrame::OnLoadProject MainFrame::OnSaveProjectAs EVT_MENU ( XRCID("action_save_as_ptstitcher")  ,
MainFrame::OnSavePTStitcherAs   
)

MainFrame::OnLoadProject EVT_MENU ( XRCID("action_save_project")  ,
MainFrame::OnSaveProject   
)

EVT_MENU ( XRCID("action_new_project")  ,
MainFrame::OnNewProject   
)

bool getLensDataFromUser ( wxWindow *  parent,
SrcPanoImage &  srcImg,
double &  focalLength,
double &  cropFactor 
)

Definition at line 1944 of file MainFrame.cpp.

References HFOVDialog::GetCropFactor(), and HFOVDialog::GetSrcImage().

Referenced by PT::wxLoadPTProjectCmd::processPanorama(), and PT::wxAddImagesCmd::processPanorama().


Generated on 23 Nov 2014 for Hugintrunk by  doxygen 1.4.7