27 #ifndef G2O_VERTEX_SEGMENT_2D_H 28 #define G2O_VERTEX_SEGMENT_2D_H 31 #include "g2o/config.h" 55 Eigen::Map<const Vector4D> v(est);
61 Eigen::Map<Vector4D> v(est);
71 return setEstimateData(est);
75 return getEstimateData(est);
84 Eigen::Map<const Vector4D> upd(update);
88 virtual bool read(std::istream& is);
89 virtual bool write(std::ostream& os)
const;
100 #ifdef G2O_HAVE_OPENGL 103 VertexSegment2DDrawAction();
virtual int estimateDimension() const
Eigen::Matrix< double, 2, 1, Eigen::ColMajor > Vector2D
virtual bool setMinimalEstimateDataImpl(const double *est)
Abstract action that operates on a graph entity.
virtual void setToOriginImpl()
sets the node to the origin (used in the multilevel stuff)
virtual void oplusImpl(const double *update)
virtual bool getMinimalEstimateData(double *est) const
virtual bool setEstimateDataImpl(const double *est)
void setEstimateP2(const Vector2D &p2)
void setEstimateP1(const Vector2D &p1)
virtual bool getEstimateData(double *est) const
#define G2O_TYPES_SLAM2D_ADDONS_API
Vector2D estimateP1() const
Vector2D estimateP2() const
virtual int minimalEstimateDimension() const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW