include
lvr2
registration
CameraModels.hpp
Go to the documentation of this file.
1
#ifndef __CAMERAMODEL_HPP__
2
#define __CAMERAMODEL_HPP__
3
4
#include <memory>
5
6
#include <Eigen/Dense>
7
8
#include "
lvr2/types/MatrixTypes.hpp
"
9
10
namespace
lvr2
11
{
12
13
template
<
typename
T>
14
struct
PinholeModel
15
{
16
double
fx
= 0;
17
double
fy
= 0;
18
double
cx
= 0;
19
double
cy
= 0;
20
unsigned
width
= 0;
21
unsigned
height
= 0;
22
std::vector<T>
k
;
23
std::string
distortionModel
=
"unknown"
;
24
};
25
26
template
<
typename
T>
27
using
PinholeModelPtr
= std::shared_ptr<PinholeModel<T>>;
28
29
using
PinholeModeld
=
PinholeModel<double>
;
30
using
PinholeModelf
=
PinholeModel<float>
;
31
32
33
}
// namespace lvr2
34
35
#endif
lvr2::PinholeModel::cy
double cy
Definition:
CameraModels.hpp:19
lvr2::PinholeModelPtr
std::shared_ptr< PinholeModel< T > > PinholeModelPtr
Definition:
CameraModels.hpp:27
lvr2::PinholeModel
Definition:
CameraModels.hpp:14
MatrixTypes.hpp
lvr2::PinholeModel::cx
double cx
Definition:
CameraModels.hpp:18
lvr2::PinholeModel::width
unsigned width
Definition:
CameraModels.hpp:20
lvr2::PinholeModel::fy
double fy
Definition:
CameraModels.hpp:17
lvr2::PinholeModel::k
std::vector< T > k
Definition:
CameraModels.hpp:22
lvr2::PinholeModel::fx
double fx
Definition:
CameraModels.hpp:16
lvr2::PinholeModel::distortionModel
std::string distortionModel
Definition:
CameraModels.hpp:23
lvr2::PinholeModel::height
unsigned height
Definition:
CameraModels.hpp:21
lvr2
Definition:
BaseBufferManipulators.hpp:39
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:06