TransferPoint Class Reference

#include <TransferPoint.h>

List of all members.

Public Member Functions

 TransferPoint (const float _x, const float _pointSize, Color *_color)
 ~TransferPoint ()
void setX (const float _x)
void setColor (Color *_color)
float getX ()
float getSize ()
ColorgetColor ()
bool hasNext ()
TransferPointgetNext ()
void setNext (TransferPoint *_next)
 TransferPoint (const float _x, const float _pointSize, Color *_color)
 ~TransferPoint ()
void setX (const float _x)
void setColor (Color *_color)
float getX ()
float getSize ()
ColorgetColor ()
bool hasNext ()
TransferPointgetNext ()
void setNext (TransferPoint *_next)

Private Attributes

float x
float size
Colorcolor
TransferPointnext


Detailed Description

The class for a point of the transfer function

Constructor & Destructor Documentation

TransferPoint::TransferPoint ( const float  _x,
const float  _pointSize,
Color _color 
)

Constructs a new TransferPoint object

Parameters:
_x x-Coordinate of the point (=density)
_y y-Coordinate of the point (=opacity)
_color Pointer to the Color of the point

TransferPoint::~TransferPoint (  ) 

Destroys the object

TransferPoint::TransferPoint ( const float  _x,
const float  _pointSize,
Color _color 
)

TransferPoint::~TransferPoint (  ) 


Member Function Documentation

Color* TransferPoint::getColor (  ) 

Color * TransferPoint::getColor (  ) 

Returns a pointer to the color of the point

Returns:
pointer to the color of the point

TransferPoint* TransferPoint::getNext (  ) 

TransferPoint * TransferPoint::getNext (  ) 

Returns 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 no successor exists

float TransferPoint::getSize (  ) 

float TransferPoint::getSize (  ) 

Returns the boxsize of the point

Returns:
the boxsize of the point

float TransferPoint::getX (  ) 

float TransferPoint::getX (  ) 

Returns the X-Coordinate (=density) of the point

Returns:
the X-Coordinate (=density) of the point

bool TransferPoint::hasNext (  ) 

bool TransferPoint::hasNext (  ) 

Returns a boolean value indicating whether the point has a successor in the pointlist or not

Returns:
boolean value indicating whether the point has a successor in the pointlist or not

void TransferPoint::setColor ( Color _color  ) 

void TransferPoint::setColor ( Color _color  ) 

Sets the color of the point

Parameters:
_color Pointer to the color of the point

void TransferPoint::setNext ( TransferPoint _next  ) 

void TransferPoint::setNext ( TransferPoint _next  ) 

Sets the successor of the point

Parameters:
_next Pointer to the next Point in the list

void TransferPoint::setX ( const float  _x  ) 

void TransferPoint::setX ( const float  _x  ) 

Sets the X-Coordinate (=density) of the point

Parameters:
_x the X-Coordinate (=density) of the point


Member Data Documentation

Pointer to the Color of the point

Pointer to the next point

float TransferPoint::size [private]

The size of the box representing the point

float TransferPoint::x [private]

x-Coordinate of the point (=value of channel)


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

Generated on Tue Jan 20 23:44:15 2009 for FlowVis by  doxygen 1.5.7.1