27 #ifndef G2O_SEVEN_DOF_EXPMAP_TYPES 28 #define G2O_SEVEN_DOF_EXPMAP_TYPES 48 virtual bool read(std::istream& is);
49 virtual bool write(std::ostream& os)
const;
57 Eigen::Map<Vector7d> update(const_cast<double*>(update_));
72 res[0] = v[0]*_focal_length[0] + _principle_point[0];
73 res[1] = v[1]*_focal_length[1] + _principle_point[1];
91 virtual bool read(std::istream& is);
92 virtual bool write(std::ostream& os)
const;
100 _error = error_.
log();
108 if (from.count(v1) > 0)
122 virtual bool read(std::istream& is);
123 virtual bool write(std::ostream& os)
const;
Eigen::Matrix< double, 2, 1, Eigen::ColMajor > Vector2D
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
std::set< Vertex * > VertexSet
virtual bool write(std::ostream &os) const
write the vertex to a stream
Vector2D cam_map(const Vector2D &v) const
virtual void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *)
Eigen::Vector3d map(const Eigen::Vector3d &xyz) const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
virtual void oplusImpl(const double *update_)
stuff to open files and other unsorted components Sim3
Sim3 Vertex, (x,y,z,qw,qx,qy,qz) the parameterization for the increments constructed is a 7d vector (...
void setEstimate(const EstimateType &et)
set the estimate for the vertex also calls updateCache()
A general case Vertex for optimization.
7D edge between two Vertex7
const EstimateType & estimate() const
return the current estimate of the vertex
Vector2D _principle_point
G2O_TYPES_SLAM3D_API Vector2D project(const Vector3D &)
virtual void setToOriginImpl()
sets the node to the origin (used in the multilevel stuff)