|
Volume Renderer DoF
|
#include <TransferFunction.h>
Public Member Functions | |
| TransferFunction () | |
| TransferFunction (int f, int s, float o, float c[3]) | |
Public Attributes | |
| int | firstValue = 0 |
| int | secondValue = 255 |
| float | optValue = 0.01 |
| float | color [3] = {1, 0, 0} |
A structure representing the transfer function, which is then passed to the shader for rendering purposes
|
inline |
|
inline |
| float TransferFunction::color[3] = {1, 0, 0} |
the color value for given grey value range
| int TransferFunction::firstValue = 0 |
the minimal value
| float TransferFunction::optValue = 0.01 |
the opacity value
| int TransferFunction::secondValue = 255 |
the maximal value