OpenGV
A library for solving calibrated central and non-central geometric vision problems
types.hpp
Go to the documentation of this file.
1 /******************************************************************************
2  * Author: Laurent Kneip *
3  * Contact: kneip.laurent@gmail.com *
4  * License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. *
5  * *
6  * Redistribution and use in source and binary forms, with or without *
7  * modification, are permitted provided that the following conditions *
8  * are met: *
9  * * Redistributions of source code must retain the above copyright *
10  * notice, this list of conditions and the following disclaimer. *
11  * * Redistributions in binary form must reproduce the above copyright *
12  * notice, this list of conditions and the following disclaimer in the *
13  * documentation and/or other materials provided with the distribution. *
14  * * Neither the name of ANU nor the names of its contributors may be *
15  * used to endorse or promote products derived from this software without *
16  * specific prior written permission. *
17  * *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"*
19  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE *
20  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
21  * ARE DISCLAIMED. IN NO EVENT SHALL ANU OR THE CONTRIBUTORS BE LIABLE *
22  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL *
23  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR *
24  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER *
25  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT *
26  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY *
27  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *
28  * SUCH DAMAGE. *
29  ******************************************************************************/
30 
37 #ifndef OPENGV_TYPES_HPP_
38 #define OPENGV_TYPES_HPP_
39 
40 #include <stdlib.h>
41 #include <vector>
42 #include <Eigen/Eigen>
43 #include <Eigen/src/Core/util/DisableStupidWarnings.h>
44 
48 namespace opengv
49 {
50 
54 typedef Eigen::Vector3d
56 
58 typedef std::vector<bearingVector_t, Eigen::aligned_allocator<bearingVector_t> >
60 
62 typedef Eigen::Vector3d
64 
66 typedef std::vector<translation_t, Eigen::aligned_allocator<translation_t> >
68 
70 typedef Eigen::Matrix3d
72 
74 typedef std::vector<rotation_t, Eigen::aligned_allocator<rotation_t> >
76 
81 typedef Eigen::Matrix<double,3,4>
83 
85 typedef std::vector<transformation_t, Eigen::aligned_allocator<transformation_t> >
87 
89 typedef Eigen::Vector3d
91 
93 typedef Eigen::Vector4d
95 
104 typedef Eigen::Matrix3d
106 
108 typedef std::vector<essential_t, Eigen::aligned_allocator<essential_t> >
110 
114 typedef Eigen::Matrix3cd
116 
118 typedef std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t> >
120 
122 typedef Eigen::Vector3d
124 
126 typedef std::vector<point_t, Eigen::aligned_allocator<point_t> >
128 
132 typedef Eigen::Vector3d
134 
138 typedef Eigen::Matrix3d
140 
144 typedef struct EigensolverOutput
145 {
146  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
147 
157 
160 typedef struct GeOutput
161 {
162  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
163 
165  Eigen::Vector4d translation;
169  Eigen::Vector4d eigenvalues;
171  Eigen::Matrix4d eigenvectors;
172 } geOutput_t;
173 
174 }
175 
176 #endif /* OPENGV_TYPES_HPP_ */
Eigen::Vector3d cayley_t
Definition: types.hpp:90
std::vector< bearingVector_t, Eigen::aligned_allocator< bearingVector_t > > bearingVectors_t
Definition: types.hpp:59
Eigen::Matrix< double, 3, 4 > transformation_t
Definition: types.hpp:82
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
Eigen::Vector3d eigenvalues_t
Definition: types.hpp:133
struct opengv::EigensolverOutput eigensolverOutput_t
Eigen::Matrix3d essential_t
Definition: types.hpp:105
Eigen::Vector3d translation_t
Definition: types.hpp:63
Eigen::Vector4d eigenvalues
Definition: types.hpp:169
EIGEN_MAKE_ALIGNED_OPERATOR_NEW translation_t translation
Definition: types.hpp:149
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
std::vector< essential_t, Eigen::aligned_allocator< essential_t > > essentials_t
Definition: types.hpp:109
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector4d translation
Definition: types.hpp:165
std::vector< rotation_t, Eigen::aligned_allocator< rotation_t > > rotations_t
Definition: types.hpp:75
Eigen::Matrix3d eigenvectors_t
Definition: types.hpp:139
Definition: types.hpp:144
Definition: types.hpp:160
std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t > > complexEssentials_t
Definition: types.hpp:119
struct opengv::GeOutput geOutput_t
rotation_t rotation
Definition: types.hpp:151
eigenvectors_t eigenvectors
Definition: types.hpp:155
Eigen::Vector3d bearingVector_t
Definition: types.hpp:55
Eigen::Matrix3cd complexEssential_t
Definition: types.hpp:115
std::vector< point_t, Eigen::aligned_allocator< point_t > > points_t
Definition: types.hpp:127
std::vector< transformation_t, Eigen::aligned_allocator< transformation_t > > transformations_t
Definition: types.hpp:86
std::vector< translation_t, Eigen::aligned_allocator< translation_t > > translations_t
Definition: types.hpp:67
Eigen::Vector3d point_t
Definition: types.hpp:123
Eigen::Matrix4d eigenvectors
Definition: types.hpp:171
rotation_t rotation
Definition: types.hpp:167
eigenvalues_t eigenvalues
Definition: types.hpp:153
Eigen::Vector4d quaternion_t
Definition: types.hpp:94