11 #ifndef EDGE_SE2SWITCHABLE_H_ 12 #define EDGE_SE2SWITCHABLE_H_ 14 #include "g2o/types/slam2d/vertex_se2.h" 15 #include "g2o/core/base_multi_edge.h" 16 #include "g2o/core/hyper_graph_action.h" 23 virtual bool read(std::istream& is);
24 virtual bool write(std::ostream& os)
const;
39 #ifdef G2O_HAVE_OPENGL 40 class EdgeSE2SwitchableDrawAction:
public g2o::DrawAction{
42 EdgeSE2SwitchableDrawAction();
43 virtual g2o::HyperGraphElementAction* operator()(g2o::HyperGraph::HyperGraphElement* element,
44 g2o::HyperGraphElementAction::Parameters* params_);
virtual bool write(std::ostream &os) const
g2o::SE2 _inverseMeasurement
virtual bool read(std::istream &is)
virtual void setMeasurement(const g2o::SE2 &m)