27#ifndef G2O_SEVEN_DOF_EXPMAP_TYPES
28#define G2O_SEVEN_DOF_EXPMAP_TYPES
29#include "g2o/config.h"
38#ifdef types_sim3_EXPORTS
39#define G2O_TYPES_SIM3_API __declspec(dllexport)
41#define G2O_TYPES_SIM3_API __declspec(dllimport)
44#define G2O_TYPES_SIM3_API
49#define G2O_TYPES_SIM3_API
64 virtual bool read(std::istream& is);
65 virtual bool write(std::ostream& os)
const;
70 Eigen::Map<Vector7> update(
const_cast<double*
>(update_));
104 :
public BaseBinaryEdge<7, Sim3, VertexSim3Expmap, VertexSim3Expmap> {
106 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
108 virtual bool read(std::istream& is);
109 virtual bool write(std::ostream& os)
const;
129 if (from.count(v1) > 0)
135 virtual void linearizeOplus();
141 :
public BaseBinaryEdge<2, Vector2, VertexPointXYZ, VertexSim3Expmap> {
143 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
145 virtual bool read(std::istream& is);
146 virtual bool write(std::ostream& os)
const;
162 :
public BaseBinaryEdge<2, Vector2, VertexPointXYZ, VertexSim3Expmap> {
164 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
166 virtual bool read(std::istream& is);
167 virtual bool write(std::ostream& os)
const;
EIGEN_STRONG_INLINE const Measurement & measurement() const
const EstimateType & estimate() const
void setEstimate(const EstimateType &et)
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeInverseSim3ProjectXYZ()
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeSim3ProjectXYZ()
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeSim3()
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *)
VertexContainer _vertices
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
Vertex for a tracked point in space.
Sim3 Vertex, (x,y,z,qw,qx,qy,qz) the parameterization for the increments constructed is a 7d vector (...
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
Vector2 cam_map2(const Vector2 &v) const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Vector2 cam_map1(const Vector2 &v) const
virtual void setToOriginImpl()
sets the node to the origin (used in the multilevel stuff)
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual void oplusImpl(const double *update_)
Vector2 _principle_point2
Vector2 _principle_point1
Vector2 project(const Vector3 &v)
Vector3 map(const Vector3 &xyz) const
#define G2O_TYPES_SIM3_API