DensityPoint Class Reference
Constructor & Destructor Documentation
DensityPoint::DensityPoint |
( |
|
) |
|
DensityPoint constructor. This class handles the points used by the transfer function.
DensityPoint::DensityPoint |
( |
float |
d, |
|
|
Color * |
c | |
|
) |
| | |
DensityPoint constructor. This class handles the points used by the transfer function. Each point has a density value and a color.
- Parameters:
-
Member Function Documentation
Color * DensityPoint::getColor |
( |
|
) |
|
Get color of density point.
- Returns:
- Color* color
float DensityPoint::getDensity |
( |
|
) |
|
Get density of density point.
- Returns:
- float density
void DensityPoint::setColor |
( |
Color * |
c |
) |
|
Set color of density point.
- Parameters:
-
void DensityPoint::setDensity |
( |
float |
d |
) |
|
Set density of density point.
- Parameters:
-
The documentation for this class was generated from the following files: