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
48namespace opengv
49{
50
54typedef Eigen::Vector3d
56
58typedef std::vector<bearingVector_t, Eigen::aligned_allocator<bearingVector_t> >
60
62typedef Eigen::Vector3d
64
66typedef std::vector<translation_t, Eigen::aligned_allocator<translation_t> >
68
70typedef Eigen::Matrix3d
72
74typedef std::vector<rotation_t, Eigen::aligned_allocator<rotation_t> >
76
81typedef Eigen::Matrix<double,3,4>
83
85typedef std::vector<transformation_t, Eigen::aligned_allocator<transformation_t> >
87
89typedef Eigen::Vector3d
91
93typedef Eigen::Vector4d
95
104typedef Eigen::Matrix3d
106
108typedef std::vector<essential_t, Eigen::aligned_allocator<essential_t> >
110
114typedef Eigen::Matrix3cd
116
118typedef std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t> >
120
122typedef Eigen::Vector3d
124
126typedef std::vector<point_t, Eigen::aligned_allocator<point_t> >
128
132typedef Eigen::Vector3d
134
138typedef Eigen::Matrix3d
140
144typedef struct EigensolverOutput
145{
146 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
147
157
160typedef struct GeOutput
161{
162 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
163
165 Eigen::Vector4d translation;
169 Eigen::Vector4d eigenvalues;
171 Eigen::Matrix4d eigenvectors;
173
174}
175
176#endif /* OPENGV_TYPES_HPP_ */
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:48
std::vector< essential_t, Eigen::aligned_allocator< essential_t > > essentials_t
Definition: types.hpp:109
Eigen::Vector4d quaternion_t
Definition: types.hpp:94
std::vector< bearingVector_t, Eigen::aligned_allocator< bearingVector_t > > bearingVectors_t
Definition: types.hpp:59
Eigen::Matrix3d eigenvectors_t
Definition: types.hpp:139
struct opengv::EigensolverOutput eigensolverOutput_t
std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t > > complexEssentials_t
Definition: types.hpp:119
Eigen::Vector3d eigenvalues_t
Definition: types.hpp:133
std::vector< transformation_t, Eigen::aligned_allocator< transformation_t > > transformations_t
Definition: types.hpp:86
Eigen::Vector3d point_t
Definition: types.hpp:123
Eigen::Matrix3d essential_t
Definition: types.hpp:105
Eigen::Vector3d cayley_t
Definition: types.hpp:90
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
std::vector< translation_t, Eigen::aligned_allocator< translation_t > > translations_t
Definition: types.hpp:67
Eigen::Vector3d translation_t
Definition: types.hpp:63
Eigen::Vector3d bearingVector_t
Definition: types.hpp:55
std::vector< rotation_t, Eigen::aligned_allocator< rotation_t > > rotations_t
Definition: types.hpp:75
Eigen::Matrix3cd complexEssential_t
Definition: types.hpp:115
Eigen::Matrix< double, 3, 4 > transformation_t
Definition: types.hpp:82
struct opengv::GeOutput geOutput_t
std::vector< point_t, Eigen::aligned_allocator< point_t > > points_t
Definition: types.hpp:127
Definition: types.hpp:145
EIGEN_MAKE_ALIGNED_OPERATOR_NEW translation_t translation
Definition: types.hpp:149
eigenvalues_t eigenvalues
Definition: types.hpp:153
eigenvectors_t eigenvectors
Definition: types.hpp:155
rotation_t rotation
Definition: types.hpp:151
Definition: types.hpp:161
Eigen::Matrix4d eigenvectors
Definition: types.hpp:171
rotation_t rotation
Definition: types.hpp:167
Eigen::Vector4d eigenvalues
Definition: types.hpp:169
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector4d translation
Definition: types.hpp:165