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