Hierarchical Edge Bundle 1.0
|
#include <Edge.h>
Public Types | |
typedef boost::shared_ptr< Vertex > | VertexPtr |
Public Member Functions | |
Edge (VertexPtr start, VertexPtr end) | |
virtual | ~Edge (void) |
void | SetEdges (VertexPtr start, VertexPtr end) |
void | SetStartEdge (VertexPtr start) |
void | SetEndEdge (VertexPtr end) |
VertexPtr | GetStartEdge () |
VertexPtr | GetEndEdge () |
void | SetID (unsigned int id) |
unsigned int | GetID () |
Protected Attributes | |
VertexPtr | m_start |
VertexPtr | m_end |
unsigned int | m_id |
This class specififes an edge.
typedef boost::shared_ptr<Vertex> Edge::VertexPtr |
Standardconstructor
[VertexPtr] | start startvertex |
[VertexPtr] | end endvertex. |
Edge::~Edge | ( | void | ) | [virtual] |
Standarddeconstructor
Edge::VertexPtr Edge::GetEndEdge | ( | ) |
This method returns the end edge
unsigned int Edge::GetID | ( | ) |
This method returns the ID of the edge
Edge::VertexPtr Edge::GetStartEdge | ( | ) |
This method returns the start edge
This method sets the start and end vertex of the edge
[VertexPtr] | start start vertex |
[VertexPtr] | end end vertex |
void Edge::SetEndEdge | ( | VertexPtr | end | ) |
This method sets the end edge.
[VertexPtr] | end end edge. |
void Edge::SetID | ( | unsigned int | id | ) |
This method sets the ID of the edge
id | [unsigned int] id of the edge |
void Edge::SetStartEdge | ( | VertexPtr | start | ) |
This method sets the start edge.
[VertexPtr] | start start edge. |
VertexPtr Edge::m_end [protected] |
unsigned int Edge::m_id [protected] |
VertexPtr Edge::m_start [protected] |