TfPoint Class Reference
#include <TfPoint.h>
List of all members.
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 |
Member Function Documentation
Color * TfPoint::getColor |
( |
|
) |
|
Return a pointer to the color of the point
- Returns:
- Pointer to the color of the point
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
Returns the x-coordinate (=>density) of the point
- Returns:
- The x-coordinate (=>density) of the point
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:
- D:/C++/Visualisierung/vislab/src/TfPoint.h
- D:/C++/Visualisierung/vislab/src/TfPoint.cpp