RobotsIO
Loading...
Searching...
No Matches
src
RobotsIO
src
Camera
CameraParameters.cpp
1
/*
2
* Copyright (C) 2019 Istituto Italiano di Tecnologia (IIT)
3
*
4
* This software may be modified and distributed under the terms of the
5
* BSD 3-Clause license. See the accompanying LICENSE file for details.
6
*/
7
8
#include <RobotsIO/Camera/CameraParameters.h>
9
10
using namespace
RobotsIO::Camera;
11
12
robots_io_accessor_impl(
CameraParameters
);
13
14
15
robots_io_declare_field_impl(
CameraParameters
,
int
, width);
16
17
18
robots_io_declare_field_impl(
CameraParameters
,
int
, height);
19
20
21
robots_io_declare_field_impl(
CameraParameters
,
double
, cx);
22
23
24
robots_io_declare_field_impl(
CameraParameters
,
double
, cy);
25
26
27
robots_io_declare_field_impl(
CameraParameters
,
double
, fx);
28
29
30
robots_io_declare_field_impl(
CameraParameters
,
double
, fy);
31
32
33
robots_io_declare_field_impl(
CameraParameters
,
bool
, initialized);
34
35
36
CameraParameters::CameraParameters()
37
{
38
/* Set default values. */
39
width(0);
40
41
height(0);
42
43
cx(0);
44
45
cy(0);
46
47
fx(0);
48
49
fy(0);
50
51
initialized(
false
);
52
}
53
54
55
CameraParameters::~CameraParameters()
56
{}
RobotsIO::Camera::CameraParameters
Definition:
CameraParameters.h:21
Generated by
1.9.6