Hierarchical Edge Bundle 1.0
Public Types | Public Member Functions | Protected Attributes
Edge Class Reference

#include <Edge.h>

Inheritance diagram for Edge:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr< VertexVertexPtr

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

Detailed Description

This class specififes an edge.

Author:
Michael Beham
Date:
3.6.2011

Member Typedef Documentation

typedef boost::shared_ptr<Vertex> Edge::VertexPtr

Constructor & Destructor Documentation

Edge::Edge ( VertexPtr  start,
VertexPtr  end 
)

Standardconstructor

Parameters:
[VertexPtr]start startvertex
[VertexPtr]end endvertex.
Edge::~Edge ( void  ) [virtual]

Standarddeconstructor


Member Function Documentation

Edge::VertexPtr Edge::GetEndEdge ( )

This method returns the end edge

Returns:
[VertexPtr] endedge
unsigned int Edge::GetID ( )

This method returns the ID of the edge

Returns:
[unsigned int] id of the edge
Edge::VertexPtr Edge::GetStartEdge ( )

This method returns the start edge

Returns:
[VertexPtr] startedge
void Edge::SetEdges ( VertexPtr  start,
VertexPtr  end 
)

This method sets the start and end vertex of the edge

Parameters:
[VertexPtr]start start vertex
[VertexPtr]end end vertex
void Edge::SetEndEdge ( VertexPtr  end)

This method sets the end edge.

Parameters:
[VertexPtr]end end edge.
void Edge::SetID ( unsigned int  id)

This method sets the ID of the edge

Parameters:
id[unsigned int] id of the edge
void Edge::SetStartEdge ( VertexPtr  start)

This method sets the start edge.

Parameters:
[VertexPtr]start start edge.

Member Data Documentation

VertexPtr Edge::m_end [protected]
unsigned int Edge::m_id [protected]
VertexPtr Edge::m_start [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines