Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
/******************************************************************************
* Author: Laurent Kneip *
* Contact: kneip.laurent@gmail.com *
* License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* * Redistributions of source code must retain the above copyright *
* notice, this list of conditions and the following disclaimer. *
* * Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in the *
* documentation and/or other materials provided with the distribution. *
* * Neither the name of ANU nor the names of its contributors may be *
* used to endorse or promote products derived from this software without *
* specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"*
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE *
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
* ARE DISCLAIMED. IN NO EVENT SHALL ANU OR THE CONTRIBUTORS BE LIABLE *
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL *
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR *
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER *
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT *
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY *
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *
* SUCH DAMAGE. *
******************************************************************************/
#ifndef OPENGV_TYPES_HPP_
#define OPENGV_TYPES_HPP_
#include <stdlib.h>
#include <vector>
#include <Eigen/Eigen>
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
namespace opengv
{
typedef Eigen::Vector3d
bearingVector_t;
typedef std::vector<bearingVector_t, Eigen::aligned_allocator<bearingVector_t> >
bearingVectors_t;
typedef Eigen::Vector3d
translation_t;
typedef std::vector<translation_t, Eigen::aligned_allocator<translation_t> >
translations_t;
typedef Eigen::Matrix3d
rotation_t;
typedef std::vector<rotation_t, Eigen::aligned_allocator<rotation_t> >
rotations_t;
typedef Eigen::Matrix<double,3,4>
transformation_t;
typedef std::vector<transformation_t, Eigen::aligned_allocator<transformation_t> >
transformations_t;
typedef Eigen::Vector3d
cayley_t;
typedef Eigen::Vector4d
quaternion_t;
typedef Eigen::Matrix3d
essential_t;
typedef std::vector<essential_t, Eigen::aligned_allocator<essential_t> >
essentials_t;
typedef Eigen::Matrix3cd
complexEssential_t;
typedef std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t> >
complexEssentials_t;
typedef Eigen::Vector3d
point_t;
typedef std::vector<point_t, Eigen::aligned_allocator<point_t> >
points_t;
typedef Eigen::Vector3d
eigenvalues_t;
typedef Eigen::Matrix3d
eigenvectors_t;
typedef struct EigensolverOutput
{
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
translation_t translation;
rotation_t rotation;
eigenvalues_t eigenvalues;
eigenvectors_t eigenvectors;
} eigensolverOutput_t;
typedef struct GeOutput
{
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Eigen::Vector4d translation;
rotation_t rotation;
Eigen::Vector4d eigenvalues;
Eigen::Matrix4d eigenvectors;
} geOutput_t;
}
#endif /* OPENGV_TYPES_HPP_ */
opengv
The namespace of this library.
Definition AbsoluteAdapterBase.hpp:48
opengv::essentials_t
std::vector< essential_t, Eigen::aligned_allocator< essential_t > > essentials_t
Definition types.hpp:109
opengv::quaternion_t
Eigen::Vector4d quaternion_t
Definition types.hpp:94
opengv::bearingVectors_t
std::vector< bearingVector_t, Eigen::aligned_allocator< bearingVector_t > > bearingVectors_t
Definition types.hpp:59
opengv::eigenvectors_t
Eigen::Matrix3d eigenvectors_t
Definition types.hpp:139
opengv::eigensolverOutput_t
struct opengv::EigensolverOutput eigensolverOutput_t
opengv::complexEssentials_t
std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t > > complexEssentials_t
Definition types.hpp:119
opengv::eigenvalues_t
Eigen::Vector3d eigenvalues_t
Definition types.hpp:133
opengv::transformations_t
std::vector< transformation_t, Eigen::aligned_allocator< transformation_t > > transformations_t
Definition types.hpp:86
opengv::point_t
Eigen::Vector3d point_t
Definition types.hpp:123
opengv::essential_t
Eigen::Matrix3d essential_t
Definition types.hpp:105
opengv::cayley_t
Eigen::Vector3d cayley_t
Definition types.hpp:90
opengv::rotation_t
Eigen::Matrix3d rotation_t
Definition types.hpp:71
opengv::translations_t
std::vector< translation_t, Eigen::aligned_allocator< translation_t > > translations_t
Definition types.hpp:67
opengv::translation_t
Eigen::Vector3d translation_t
Definition types.hpp:63
opengv::bearingVector_t
Eigen::Vector3d bearingVector_t
Definition types.hpp:55
opengv::rotations_t
std::vector< rotation_t, Eigen::aligned_allocator< rotation_t > > rotations_t
Definition types.hpp:75
opengv::complexEssential_t
Eigen::Matrix3cd complexEssential_t
Definition types.hpp:115
opengv::transformation_t
Eigen::Matrix< double, 3, 4 > transformation_t
Definition types.hpp:82
opengv::geOutput_t
struct opengv::GeOutput geOutput_t
opengv::points_t
std::vector< point_t, Eigen::aligned_allocator< point_t > > points_t
Definition types.hpp:127
opengv::EigensolverOutput
Definition types.hpp:145
opengv::EigensolverOutput::translation
EIGEN_MAKE_ALIGNED_OPERATOR_NEW translation_t translation
Definition types.hpp:149
opengv::EigensolverOutput::eigenvalues
eigenvalues_t eigenvalues
Definition types.hpp:153
opengv::EigensolverOutput::eigenvectors
eigenvectors_t eigenvectors
Definition types.hpp:155
opengv::EigensolverOutput::rotation
rotation_t rotation
Definition types.hpp:151
opengv::GeOutput
Definition types.hpp:161
opengv::GeOutput::eigenvectors
Eigen::Matrix4d eigenvectors
Definition types.hpp:171
opengv::GeOutput::rotation
rotation_t rotation
Definition types.hpp:167
opengv::GeOutput::eigenvalues
Eigen::Vector4d eigenvalues
Definition types.hpp:169
opengv::GeOutput::translation
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector4d translation
Definition types.hpp:165