RobotsIO
Loading...
Searching...
No Matches
CameraParameters.h
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#ifndef ROBOTSIO_CAMERAPARAMETERS_H
9#define ROBOTSIO_CAMERAPARAMETERS_H
10
11#include <RobotsIO/Utils/Parameters.h>
12
13namespace RobotsIO {
14 namespace Camera {
15 struct CameraParameters;
16 }
17}
18
19
21{
22public:
24
25 virtual ~CameraParameters();
26
27 robots_io_accessor(CameraParameters);
28
29 robots_io_declare_field(CameraParameters, int, width);
30
31 robots_io_declare_field(CameraParameters, int, height);
32
33 robots_io_declare_field(CameraParameters, double, cx);
34
35 robots_io_declare_field(CameraParameters, double, cy);
36
37 robots_io_declare_field(CameraParameters, double, fx);
38
39 robots_io_declare_field(CameraParameters, double, fy);
40
41 robots_io_declare_field(CameraParameters, bool, initialized);
42};
43
44#endif /* ROBOTSIO_CAMERAPARAMETERS_H */