SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
c
d
e
f
h
i
k
l
m
n
r
s
t
Properties
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
b
c
e
f
g
i
j
m
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
Typedefs
a
c
h
j
o
s
t
Enumerations
a
c
d
e
h
s
t
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
Macros
a
b
e
f
g
i
l
m
o
p
s
t
u
w
WAICompassAlignment.h
Go to the documentation of this file.
1
#ifndef WAI_COMPASS_ALIGNMENT_H
2
#define WAI_COMPASS_ALIGNMENT_H
3
4
#include <opencv2/core.hpp>
5
6
class
WAICompassAlignment
7
{
8
struct
Template
9
{
10
cv::Mat
image
;
11
double
latitudeDEG
;
12
double
longitudeDEG
;
13
double
altitudeM
;
14
};
15
16
public
:
17
// TODO(dgj1): overload for function without getting the resultImage
18
void
update
(
const
cv::Mat& frameGray,
19
cv::Mat& resultImage,
20
const
float
hFov,
21
double
latitudeDEG,
22
double
longitudeDEG,
23
double
altitudeM,
24
cv::Point& forwardPoint);
25
26
void
setTemplate
(cv::Mat& templateImage,
double
latitudeDEG,
double
longitudeDEG,
double
altitudeM);
27
float
getRotAngleDEG
() {
return
_rotAngDEG
; }
28
29
private
:
30
// TODO(dgj1): allow multiple templates
31
Template
_template
;
32
float
_rotAngDEG
= 0.0f;
33
};
34
35
#endif
WAICompassAlignment
Definition:
WAICompassAlignment.h:7
WAICompassAlignment::update
void update(const cv::Mat &frameGray, cv::Mat &resultImage, const float hFov, double latitudeDEG, double longitudeDEG, double altitudeM, cv::Point &forwardPoint)
Definition:
WAICompassAlignment.cpp:15
WAICompassAlignment::_rotAngDEG
float _rotAngDEG
Definition:
WAICompassAlignment.h:32
WAICompassAlignment::getRotAngleDEG
float getRotAngleDEG()
Definition:
WAICompassAlignment.h:27
WAICompassAlignment::setTemplate
void setTemplate(cv::Mat &templateImage, double latitudeDEG, double longitudeDEG, double altitudeM)
Definition:
WAICompassAlignment.cpp:7
WAICompassAlignment::_template
Template _template
Definition:
WAICompassAlignment.h:31
WAICompassAlignment::Template
Definition:
WAICompassAlignment.h:9
WAICompassAlignment::Template::latitudeDEG
double latitudeDEG
Definition:
WAICompassAlignment.h:11
WAICompassAlignment::Template::image
cv::Mat image
Definition:
WAICompassAlignment.h:10
WAICompassAlignment::Template::longitudeDEG
double longitudeDEG
Definition:
WAICompassAlignment.h:12
WAICompassAlignment::Template::altitudeM
double altitudeM
Definition:
WAICompassAlignment.h:13
modules
wai
source
WAICompassAlignment.h
Generated by
1.9.1