27 #ifndef G2O_VERTEX_LINE2D_H 28 #define G2O_VERTEX_LINE2D_H 31 #include "g2o/config.h" 48 double theta()
const {
return _estimate[0]; }
51 double rho()
const {
return _estimate[1]; }
52 void setRho(
double r) { _estimate[1] = r; }
59 Eigen::Map<const Vector2D> v(est);
65 Eigen::Map<Vector2D> v(est);
75 return setEstimateData(est);
79 return getEstimateData(est);
88 _estimate += Eigen::Map<const Vector2D>(update);
92 virtual bool read(std::istream& is);
93 virtual bool write(std::ostream& os)
const;
104 #ifdef G2O_HAVE_OPENGL 107 VertexLine2DDrawAction();
virtual int minimalEstimateDimension() const
virtual int estimateDimension() const
some general case utility functions
Abstract action that operates on a graph entity.
virtual void oplusImpl(const double *update)
virtual bool setMinimalEstimateDataImpl(const double *est)
double normalize_theta(double theta)
virtual bool getEstimateData(double *est) const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
#define G2O_TYPES_SLAM2D_ADDONS_API
virtual bool setEstimateDataImpl(const double *est)
virtual void setToOriginImpl()
sets the node to the origin (used in the multilevel stuff)
virtual bool getMinimalEstimateData(double *est) const