Hugin trunk
0.1
Loading...
Searching...
No Matches
hugin1
calibrate_lens
LensCalApp.h
Go to the documentation of this file.
1
// -*- c-basic-offset: 4 -*-
10
/*
11
* This is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public
13
* License as published by the Free Software Foundation; either
14
* version 2 of the License, or (at your option) any later version.
15
*
16
* This software is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* Lesser General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public
22
* License along with this software. If not, see
23
* <http://www.gnu.org/licenses/>.
24
*
25
*/
26
27
#ifndef LENSCALAPP_H
28
#define LENSCALAPP_H
29
30
#include <wx/wx.h>
31
#include "
base_wx/wxImageCache.h
"
32
33
#include "
LensCalFrame.h
"
34
37
class
LensCalApp
:
public
ImageCacheApp
38
{
39
public
:
40
bool
OnInit
()
override
;
41
#if wxUSE_ON_FATAL_EXCEPTION
42
void
OnFatalException
()
override
;
43
#endif
44
46
wxLocale
&
GetLocale
()
47
{
48
return
locale
;
49
}
51
const
wxString
&
GetXRCPath
()
52
{
53
return
m_xrcPrefix
;
54
}
56
LensCalFrame
*
GetLensCalFrame
()
57
{
58
return
m_frame
;
59
};
60
61
private
:
63
wxLocale
locale
;
64
wxString
m_xrcPrefix
;
65
LensCalFrame
*
m_frame
;
66
};
67
68
DECLARE_APP
(
LensCalApp
)
69
70
#endif
// LENSCALAPP_H
LensCalFrame.h
declaration of LensCal main frame class
ImageCacheApp
Definition
wxImageCache.h:65
LensCalApp
The application class for lens_calibrate_gui .
Definition
LensCalApp.h:38
LensCalApp::m_xrcPrefix
wxString m_xrcPrefix
Definition
LensCalApp.h:64
LensCalApp::locale
wxLocale locale
locale for internationalisation
Definition
LensCalApp.h:63
LensCalApp::GetLocale
wxLocale & GetLocale()
return currently active locale
Definition
LensCalApp.h:46
LensCalApp::GetXRCPath
const wxString & GetXRCPath()
return the current xrc path
Definition
LensCalApp.h:51
LensCalApp::GetLensCalFrame
LensCalFrame * GetLensCalFrame()
returns pointer to main frame
Definition
LensCalApp.h:56
LensCalApp::OnInit
bool OnInit() override
Definition
LensCalApp.cpp:48
LensCalApp::m_frame
LensCalFrame * m_frame
Definition
LensCalApp.h:65
LensCalFrame
The main window frame.
Definition
LensCalFrame.h:57
threshold
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.
Definition
threshold.h:41
wxImageCache.h
Generated on Sun Sep 20 2026 02:45:35 for Hugin trunk by
1.9.8