Public Member Functions | Protected Attributes
g2o::HyperGraph::Edge Class Reference

#include <hyper_graph.h>

Inheritance diagram for g2o::HyperGraph::Edge:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Edge (int id=-1)
 creates and empty edge with no vertices
int id () const
virtual void resize (size_t size)
void setId (int id)
const VertexVectorvertices () const
VertexVectorvertices ()
virtual ~Edge ()

Protected Attributes

int _id
VertexVector _vertices

Detailed Description

Abstract Edge class. Your nice edge classes should inherit from that one. An hyper-edge has pointers to the vertices it connects and stores them in a vector.

Definition at line 84 of file hyper_graph.h.


Constructor & Destructor Documentation

g2o::HyperGraph::Edge::Edge ( int  id = -1) [explicit]

creates and empty edge with no vertices

Definition at line 32 of file hyper_graph.cpp.

Definition at line 36 of file hyper_graph.cpp.


Member Function Documentation

int g2o::HyperGraph::Edge::id ( ) const [inline]

Definition at line 103 of file hyper_graph.h.

void g2o::HyperGraph::Edge::resize ( size_t  size) [virtual]

resizes the number of vertices connected by this edge

Reimplemented in g2o::BaseMultiEdge< D, E >, g2o::BaseMultiEdge< 3, SE2 >, g2o::BaseMultiEdge< 2, Vector2d >, and g2o::BaseMultiEdge< 2, Eigen::Vector2d >.

Definition at line 40 of file hyper_graph.cpp.

void g2o::HyperGraph::Edge::setId ( int  id)

Definition at line 45 of file hyper_graph.cpp.

const VertexVector& g2o::HyperGraph::Edge::vertices ( ) const [inline]

returns the vector of pointers to the vertices connected by the hyper-edge.

Definition at line 97 of file hyper_graph.h.

returns the vector of pointers to the vertices connected by the hyper-edge.

Definition at line 101 of file hyper_graph.h.


Member Data Documentation

int g2o::HyperGraph::Edge::_id [protected]

Definition at line 107 of file hyper_graph.h.

Definition at line 106 of file hyper_graph.h.


The documentation for this class was generated from the following files:


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:30