Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlADAxisPoint Class Reference

#include <GlADAxisPoint.h>

Inheritance diagram for tlp::GlADAxisPoint:
Collaboration diagram for tlp::GlADAxisPoint:

List of all members.


Detailed Description

General class to render points with axis as augmented displays.

This class is a generic class to render points with axis as augmented displays. It does uses the basic parameters of the GlAugmentedDisplay(position and color).

Public Member Functions

Protected Member Functions

Protected Attributes


Constructor & Destructor Documentation

tlp::GlADAxisPoint::GlADAxisPoint ( const Coord &  position,
const Color &  color,
float  range 
)

Constructor

Parameters:
position Indicates the position of the center point.
color Indicates the color of the point and the axis at the center.
range Indicates the length of the axis.

tlp::GlADAxisPoint::GlADAxisPoint ( const Coord &  position,
const Color &  color,
float  range,
int  negativeThickness,
int  positiveThickness 
)

Constructor

Parameters:
position Indicates the position of the center point.
color Indicates the color of the point and the axis at the center.
range Indicates the length of the axis.
negativeThickness Indicates the thickness of the axis pointing towards a negative side.
positiveThickness Indicates the thickness of the axis pointing towards a positive side.

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

Destructor


Member Function Documentation

void tlp::GlADAxisPoint::computeLines (  )  [protected]

The default constructor

Attention:
It's usage is forbidden, so that's why it has been put in protected members. Function computing the lines give all the parameters

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

Virtual function used to draw the point and the axis

Reimplemented from tlp::GlADPoint.

virtual void tlp::GlADAxisPoint::changeRenderOptions (  )  [virtual]

Virtual function used to trigger when the rendering options change.

Reimplemented from tlp::GlAugmentedDisplay.

float tlp::GlADAxisPoint::getRange (  )  const

Accessor in reading to the range of the axis.

int tlp::GlADAxisPoint::getNegativeThickness (  )  const

Accessor in reading to the negative thickness of the axis.

int tlp::GlADAxisPoint::getPositiveThickness (  )  const

Accessor in reading to the positive thickness of the axis.

void tlp::GlADAxisPoint::setRange ( const float  range  ) 

Accessor in writing to the range of the axis.

void tlp::GlADAxisPoint::setNegativeThickness ( const int  negativeThickness  ) 

Accessor in writing to the negative thickness of the axis.

void tlp::GlADAxisPoint::setPositiveThickness ( const int  positiveThickness  ) 

Accessor in writing to the positive thickness of the axis.

void tlp::GlADAxisPoint::setDisplayDim ( bool  displayDim[3]  ) 

Accessor in writing to the axis to display

Attention:
displayDim[0] = X axis

displayDim[1] = Y axis

displayDim[2] = Z axis


Member Data Documentation

float tlp::GlADAxisPoint::range [protected]

The range indicates the length of the axis

The thickness of the axis in negative coordinates

The thickness of the axis in positive coordinates

bool tlp::GlADAxisPoint::displayDim[3] [protected]

Indicates which axis will be displayed

GlADLine* tlp::GlADAxisPoint::lines[N_POINT_LINES] [protected]

Every axis line (3 for the positive side, 3 for the negative side)



Tulip Software by LaBRI Visualization Team    2001 - 2007