TfPoint Class Reference

#include <TfPoint.h>

List of all members.

Public Member Functions

 TfPoint (const float _x, const float _y, Color *_color)
 ~TfPoint ()
void setX (const float _x)
void setY (const float _y)
void setColor (Color *_color)
float getX ()
float getY ()
float getSize ()
ColorgetColor ()
bool hasNext ()
TfPointgetNext ()
void setNext (TfPoint *_next)

Detailed Description

The class for a point of the transfer function


Constructor & Destructor Documentation

TfPoint::TfPoint ( const float  _x,
const float  _y,
Color _color 
)

Construct a new TfPoint object

Parameters:
_x X-coordinate of the point (=>density)
_y Y-coordinate of the point (=>opacity)
_color Pointer to the color of the point
TfPoint::~TfPoint (  ) 

Destroy the object


Member Function Documentation

Color * TfPoint::getColor (  ) 

Return a pointer to the color of the point

Returns:
Pointer to the color of the point
TfPoint * TfPoint::getNext (  ) 

Return a pointer to the successor of the point or NULL if the point has no successor in the pointlist

Returns:
Pointer to the successor or NULL if last element in the list
float TfPoint::getSize (  ) 

Return the boxsize of the point

Returns:
The boxsize of the point
float TfPoint::getX (  ) 

Returns the x-coordinate (=>density) of the point

Returns:
The x-coordinate (=>density) of the point
float TfPoint::getY (  ) 

Returns the y-coordinate (=>opacity) of the point

Returns:
The y-coordinate (=>opacity) of the point
bool TfPoint::hasNext (  ) 

Return a boolean value indicating whether the point has a successor in the list of points or not

Returns:
boolean Value indicating whether the point has a successor in the pointlist or not
void TfPoint::setColor ( Color _color  ) 

Set the color of the point

Parameters:
_color Pointer to the color of the point
void TfPoint::setNext ( TfPoint _next  ) 

Set the successor of the point

Parameters:
_next Pointer to the next point in the list
void TfPoint::setX ( const float  _x  ) 

Set the x-coordinate (=>density) of the point

Parameters:
_x The x-coordinate (=>density) of the point
void TfPoint::setY ( const float  _y  ) 

Set the y-coordinate (=>opacity) of the point

Parameters:
_y The y-coordinate (=>opacity) of the point

The documentation for this class was generated from the following files:

Generated on Tue Dec 8 16:10:51 2009 for VisLab by  doxygen 1.6.1