Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Node Class Reference

#include <Beobot/Node.H>

Collaboration diagram for Node:

Collaboration graph
[legend]
List of all members.

Detailed Description

basic node in a graph class the Point2D<int> location is only for display purposes, it is not necessary to enter it (unless we want to draw the graph image)

Definition at line 53 of file Node.H.

Public Member Functions

Constructor, assigment and destructor
 Node (uint index, const Point2D< int > point=Point2D< int >(-1,-1), const std::string label=std::string(""))
 Constructor: generate a node with coordinates and label.
 ~Node ()
 Destructor.
uint getIndex ()
 inline get the index
void setIndex (int index)
 inline get the index
Point2D< int > getCoordinate ()
 get the Point2D<int> location for printing/display
void setCoordinate (Point2D< int > coor)
 set the Point2D<int> location for printing/display
std::string getLabel ()
 get the label for printing/display
void setLabel (std::string label)
 set the label for printing/display


Constructor & Destructor Documentation

Node::Node uint  index,
const Point2D< int >  point = Point2D< int >(-1,-1),
const std::string  label = std::string("")
 

Constructor: generate a node with coordinates and label.

Definition at line 40 of file Node.C.

Node::~Node  ) 
 

Destructor.

Definition at line 50 of file Node.C.


Member Function Documentation

Point2D< int > Node::getCoordinate  )  [inline]
 

get the Point2D<int> location for printing/display

Definition at line 120 of file Node.H.

uint Node::getIndex  )  [inline]
 

inline get the index

Definition at line 110 of file Node.H.

std::string Node::getLabel  )  [inline]
 

get the label for printing/display

Definition at line 130 of file Node.H.

void Node::setCoordinate Point2D< int >  coor  )  [inline]
 

set the Point2D<int> location for printing/display

Definition at line 125 of file Node.H.

void Node::setIndex int  index  )  [inline]
 

inline get the index

Definition at line 115 of file Node.H.

void Node::setLabel std::string  label  )  [inline]
 

set the label for printing/display

Definition at line 135 of file Node.H.


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:50:40 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4