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, |
|
|
unsigned short |
thr |
|
) |
|
|
Member Function Documentation
| Color TransferFunc::getColor |
( |
unsigned short |
val |
) |
|
|
| void TransferFunc::setColor |
( |
Color |
c |
) |
[inline] |
|
| void TransferFunc::setLowerThr |
( |
unsigned short |
thr |
) |
|
|
| void TransferFunc::setThr |
( |
unsigned short |
thr |
) |
[inline] |
|
| void TransferFunc::setUpperThr |
( |
unsigned short |
thr |
) |
|
|
| unsigned short TransferFunc::thr |
( |
|
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Mon Dec 19 00:13:46 2005 for Visualization by
1.4.5