Privacy
An open-source, flexible 3D physical simulation framework
cameraStruct.h
Go to the documentation of this file.
1 /*
2  * Copyright 2011, 2012, DFKI GmbH Robotics Innovation Center
3  *
4  * This file is part of the MARS simulation framework.
5  *
6  * MARS is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License
8  * as published by the Free Software Foundation, either version 3
9  * of the License, or (at your option) any later version.
10  *
11  * MARS is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with MARS. If not, see <http://www.gnu.org/licenses/>.
18  *
19  */
20 
21 #ifndef MARS_INTERFACES_CAMERA_STRUCT_H
22 #define MARS_INTERFACES_CAMERA_STRUCT_H
23 
24 #include <mars/utils/Vector.h>
25 #include <mars/utils/Quaternion.h>
26 
27 namespace mars {
28 
29  namespace interfaces {
30 
35  struct cameraStruct {
37  utils::Quaternion rot; //rotation
38 
48  double center_x, center_y;
49  double scale_x, scale_y;
50  }; // end of struct cameraStruct
51 
52 
53  } // end of namespace interfaces
54 
55 } // end of namespace mars
56 
57 #endif /* MARS_INTERFACES_CAMERA_STRUCT_H */
this struct seems to be used to get information about a camera which can be accessed through the sens...
Definition: cameraStruct.h:35
Copyright 2012, DFKI GmbH Robotics Innovation Center.
Eigen::Matrix< double, 3, 1, Eigen::DontAlign > Vector
Definition: Vector.h:43
Eigen::Quaternion< double, Eigen::DontAlign > Quaternion
Definition: Quaternion.h:56
double center_x
camera intrinsic parameters As defined in http://opencv.willowgarage.com/documentation/camera_calibra...
Definition: cameraStruct.h:48