27#ifndef G2O_VERTEX_LINE2D_H
28#define G2O_VERTEX_LINE2D_H
30#include "g2o/config.h"
45 double theta()
const {
return _estimate[0]; }
48 double rho()
const {
return _estimate[1]; }
49 void setRho(
double r) { _estimate[1] = r; }
54 Eigen::Map<const Vector2> v(est);
60 Eigen::Map<Vector2> v(est);
68 return setEstimateData(est);
72 return getEstimateData(est);
78 _estimate += Eigen::Map<const Vector2>(update);
82 virtual bool read(std::istream& is);
83 virtual bool write(std::ostream& os)
const;
90 VertexLine2DDrawAction();
97 virtual bool refreshPropertyPtrs(
Abstract action that operates on a graph entity.
virtual int estimateDimension() const
virtual void setToOriginImpl()
sets the node to the origin (used in the multilevel stuff)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual bool setMinimalEstimateDataImpl(const double *est)
virtual bool getEstimateData(double *est) const
virtual int minimalEstimateDimension() const
virtual bool getMinimalEstimateData(double *est) const
virtual void oplusImpl(const double *update)
virtual bool setEstimateDataImpl(const double *est)
#define G2O_TYPES_SLAM2D_ADDONS_API
some general case utility functions
double normalize_theta(double theta)
Property< float > FloatProperty