Class Edge

Inheritance Relationships

Derived Types

Class Documentation

class pose_graph::Edge

Subclassed by pose_graph::example::Edge, vi_map::Edge

Public Types

enum EdgeType

Values:

enumerator kUndefined
enumerator kOdometry
enumerator kLoopClosure
enumerator kViwls
enumerator kCklamImuLandmark
enumerator kWheelOdometry

Public Functions

MAPLAB_GET_AS_CASTER(Edge)
Edge()
explicit Edge(Edge::EdgeType edge_type)
inline virtual ~Edge()
virtual bool operator==(const Edge &other) const
virtual const EdgeId &id() const = 0
virtual const VertexId &from() const = 0
virtual const VertexId &to() const = 0
inline EdgeType getType() const
void incidentVertices(std::pair<VertexId, VertexId> *vertices) const

Public Static Functions

static std::string edgeTypeToString(const EdgeType edge_type)
static EdgeType stringToEdgeType(const std::string &edge_type)

Protected Attributes

const EdgeType edge_type_