29#include <wx/stdpaths.h>
50#if wxUSE_ON_FATAL_EXCEPTION
54#if defined __WXMSW__ && wxCHECK_VERSION(3,3,0)
70#elif defined __WXMAC__ && defined MAC_SELF_CONTAINED_BUNDLE
78#elif defined UNIX_SELF_CONTAINED_BUNDLE
85 m_xrcPrefix =
huginRoot +
"share/hugin/xrc/";
86 locale.AddCatalogLookupPathPrefix(
huginRoot +
"share/locale");
94 if ( ! wxFile::Exists(m_xrcPrefix +
"/lenscal_frame.xrc") )
103 config->SetRecordDefaults(
false);
124 locale.AddCatalog(
"hugin");
130 wxXmlResource::Get()->InitAllHandlers();
133 wxXmlResource::Get()->Load(m_xrcPrefix +
"lenscal_frame.xrc");
134 wxXmlResource::Get()->Load(m_xrcPrefix +
"lensdb_dialogs.xrc");
135 wxXmlResource::Get()->Load(m_xrcPrefix +
"dlg_warning.xrc");
153#if wxUSE_ON_FATAL_EXCEPTION
154void 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.