Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlADLine Class Reference

#include <GlADLine.h>

Inheritance diagram for tlp::GlADLine:
Collaboration diagram for tlp::GlADLine:

List of all members.


Detailed Description

General class to render lines as augmented displays.

This class is a generic class to render lines as augmented displays.

Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

tlp::GlADLine::GlADLine ( const Coord &  startPosition,
const Coord &  endPosition,
const Color &  startColor,
const Color &  endColor,
const unsigned int  thickness 
)

Constructor

Parameters:
startPosition Indicates the first point of the line.
endPosition Indicates the last point of the line.
startColor Indicates the color of the first point of the line.
endColor Indicates the color of the last point of the line.
thickness Indicates the thickness of the line.

virtual tlp::GlADLine::~GlADLine (  )  [virtual]

Destructor.


Member Function Documentation

virtual void tlp::GlADLine::draw ( GlGraph graph  )  [virtual]

Virtual function used to draw the line.

Reimplemented from tlp::GlAugmentedDisplay.

Coord tlp::GlADLine::getStartPosition (  )  const

Accessor in reading to the start position of the line.

Coord tlp::GlADLine::getEndPosition (  )  const

Accessor int reading to the end position of the line.

Color tlp::GlADLine::getStartColor (  )  const

Accessor in reading to the start color of the line.

Color tlp::GlADLine::getEndColor (  )  const

Accessor in reading to the end color of the line.

unsigned int tlp::GlADLine::getThickness (  )  const

Accessor in reading to the thickness of the line.

void tlp::GlADLine::setStartPosition ( const Coord &  startPosition  ) 

Accessor in writing to the start position of the line.

void tlp::GlADLine::setEndPosition ( const Coord &  endPosition  ) 

Accessor in writing to the end position of the line.

void tlp::GlADLine::setStartColor ( const Color &  startColor  ) 

Accessor in writing to the start color of the line.

void tlp::GlADLine::setEndColor ( const Color &  endColor  ) 

Accessor in writing to the end color of the line.

void tlp::GlADLine::setThickness ( int  thickness  ) 

Accessor in writing to the thickness of the line.


Member Data Documentation

Coord tlp::GlADLine::startPosition [protected]

The start position of the line

Coord tlp::GlADLine::endPosition [protected]

The end position of the line.

Color tlp::GlADLine::startColor [protected]

The start color of the line.

Color tlp::GlADLine::endColor [protected]

The end color of the line.

unsigned int tlp::GlADLine::thickness [protected]

The thickness of the line



Tulip Software by LaBRI Visualization Team    2001 - 2007