Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace 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
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
v
w
x
y
+
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
p
q
r
s
t
u
v
Enumerations
+
Enumerator
b
g
h
j
l
o
p
r
s
w
x
y
+
Classes
Class List
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
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
z
+
Related Functions
:
a
b
c
d
e
f
h
k
l
n
o
p
s
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
+
Variables
_
a
b
c
d
f
i
m
n
o
p
s
+
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
s
t
u
v
Enumerations
+
Enumerator
a
d
f
i
k
l
o
p
r
s
t
u
v
w
x
z
+
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
w
Examples
ext
kintinuous
kfusion
include
kfusion
precomp.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
kfusion/types.hpp
>
4
#include <
kfusion/kinfu.hpp
>
5
#include <
kfusion/cuda/tsdf_volume.hpp
>
6
#include <
kfusion/cuda/imgproc.hpp
>
7
#include <
kfusion/cuda/projective_icp.hpp
>
8
//#include <opencv2/calib3d/calib3d.hpp>
9
#include <
kfusion/internal.hpp
>
10
#include <iostream>
11
//#include "vector_functions.h"
12
13
namespace
kfusion
14
{
15
template
<
typename
D,
typename
S>
16
inline
D
device_cast
(
const
S& source)
17
{
18
return
*
reinterpret_cast<
const
D*
>
(source.val);
19
}
20
21
template
<>
22
inline
device::Aff3f
device_cast
<
device::Aff3f
,
Affine3f
>(
const
Affine3f
& source)
23
{
24
device::Aff3f aff;
25
Mat3f
R = source.rotation();
26
Vec3f
t = source.translation();
27
aff.
R
=
device_cast
<
device::Mat3f
>(R);
28
aff.
t
=
device_cast
<
device::Vec3f
>(t);
29
return
aff;
30
}
31
}
kfusion::Vec3f
cv::Vec3f Vec3f
Definition:
types.hpp:16
projective_icp.hpp
kfusion::Affine3f
cv::Affine3f Affine3f
Definition:
types.hpp:18
internal.hpp
types.hpp
kfusion::Mat3f
cv::Matx33f Mat3f
Definition:
types.hpp:15
kfusion::device::Aff3f
Definition:
internal.hpp:28
kfusion::device_cast
D device_cast(const S &source)
Definition:
precomp.hpp:16
imgproc.hpp
tsdf_volume.hpp
kfusion::device::Mat3f
Definition:
internal.hpp:27
kinfu.hpp
kfusion::device::Vec3f
float3 Vec3f
Definition:
internal.hpp:26
kfusion
Utility.
Definition:
capture.hpp:8
kfusion::device::Aff3f::R
Mat3f R
Definition:
internal.hpp:28
kfusion::device::Aff3f::t
Vec3f t
Definition:
internal.hpp:28
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz
, Alexander Mock
, Lars Kiesow
, Lukas Kalbertodt
, Tristan Igelbrink
, Johan M. von Behren
, Dominik Feldschnieders
, Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:08