precomp.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <kfusion/types.hpp>
4 #include <kfusion/kinfu.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 }
imgproc.hpp
kfusion::Vec3f
cv::Vec3f Vec3f
Definition: types.hpp:16
internal.hpp
types.hpp
tsdf_volume.hpp
kfusion::device::Aff3f::t
Vec3f t
Definition: internal.hpp:28
kfusion::Affine3f
cv::Affine3f Affine3f
Definition: types.hpp:18
kinfu.hpp
kfusion
Utility.
Definition: capture.hpp:8
projective_icp.hpp
kfusion::device::Aff3f
Definition: internal.hpp:28
kfusion::device_cast
D device_cast(const S &source)
Definition: precomp.hpp:16
kfusion::Mat3f
cv::Matx33f Mat3f
Definition: types.hpp:15
kfusion::device::Aff3f::R
Mat3f R
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 Wed Mar 2 2022 00:37:24