TransferFunc Class Reference
A transfer function.
More...
#include <TransferFunc.h>
Collaboration diagram for TransferFunc:
[legend]List of all members.
Detailed Description
A transfer function.
Each transfer function has an associated threshold value and a color. At the threshold value itself, the returned color will be the specified color. In other places, it will be a "lighter" color.
This function also depends on the neighbouring transfer functions; setUpperThr and setLowerThr must be called. For functions at the edge, use 0/4095 as lower/upper thresholds.
Constructor & Destructor Documentation
TransferFunc::TransferFunc |
( |
Color |
color, |
|
|
float |
thr |
|
) |
|
|
Member Function Documentation
Color TransferFunc::getColor |
( |
float |
val |
) |
|
|
void TransferFunc::setColor |
( |
Color |
c |
) |
[inline] |
|
void TransferFunc::setLowerThr |
( |
float |
thr |
) |
|
|
void TransferFunc::setThr |
( |
float |
thr |
) |
[inline] |
|
void TransferFunc::setUpperThr |
( |
float |
thr |
) |
|
|
float TransferFunc::thr |
( |
|
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Mon Jan 23 19:45:08 2006 for Visualization by
1.4.6