29#include <wx/stdpaths.h>
58#if wxUSE_ON_FATAL_EXCEPTION
61#if defined __WXMSW__ && wxCHECK_VERSION(3,3,0)
74#elif defined __WXMAC__ && defined MAC_SELF_CONTAINED_BUNDLE
82#elif defined UNIX_SELF_CONTAINED_BUNDLE
89 m_xrcPrefix =
huginRoot +
"share/hugin/xrc/";
90 locale.AddCatalogLookupPathPrefix(
huginRoot +
"share/locale");
98 if ( ! wxFile::Exists(m_xrcPrefix +
"/lenscal_frame.xrc") )
107 config->SetRecordDefaults(
false);
128 locale.AddCatalog(
"hugin");
134 wxXmlResource::Get()->InitAllHandlers();
137 wxXmlResource::Get()->Load(m_xrcPrefix +
"lenscal_frame.xrc");
138 wxXmlResource::Get()->Load(m_xrcPrefix +
"lensdb_dialogs.xrc");
139 wxXmlResource::Get()->Load(m_xrcPrefix +
"dlg_warning.xrc");
157#if wxUSE_ON_FATAL_EXCEPTION
158void LensCalApp::OnFatalException()
declaration of application class for lens calibrate application
declaration of preview for lens calibration gui
void registerPTWXDlgFcn()
The application class for lens_calibrate_gui .
xrc handler for LensCalImageCtrl
functions for interaction with the hugin configuration file
int HuginMessageBox(const wxString &message, const wxString &caption, int style, wxWindow *parent)
void RestoreFramePosition(wxTopLevelWindow *frame, const wxString &basename, const bool ignoreMaximize)
include file for the hugin project
include file for the hugin project
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.