Class Edge

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class vi_map::Edge : public pose_graph::Edge

Subclassed by vi_map::CklamEdge, vi_map::LoopClosureEdge, vi_map::TransformationEdge, vi_map::ViwlsEdge

Public Functions

inline explicit Edge(pose_graph::Edge::EdgeType edge_type)
inline Edge(pose_graph::Edge::EdgeType edge_type, const pose_graph::EdgeId &id, const pose_graph::VertexId &from, const pose_graph::VertexId &to)
inline virtual ~Edge()
inline virtual const pose_graph::EdgeId &id() const
inline virtual const pose_graph::VertexId &from() const
inline virtual const pose_graph::VertexId &to() const
void setId(const pose_graph::EdgeId &id)
void setFrom(const pose_graph::VertexId &from)
void setTo(const pose_graph::VertexId &to)
inline virtual bool operator==(const Edge &other) const
void serialize(vi_map::proto::Edge *proto) const
void copyEdgeInto(Edge **new_edge) const

Public Members

Edge

Public Static Functions

static Edge::UniquePtr deserialize(const pose_graph::EdgeId &edge_id, const vi_map::proto::Edge &proto)

Protected Functions

template<typename EdgeType>
inline void copyEdge(Edge **new_edge) const

Protected Attributes

pose_graph::EdgeId id_
pose_graph::VertexId from_
pose_graph::VertexId to_