Volume Renderer DoF
|
#include "global.h"
Variables | |
Volume * | volume |
bool | newVolume = false |
int | focusPlane = 0 |
int | lastFocusPlane = 0 |
float | blurAccum = 0 |
float | blurAttenuation = 0 |
const float | maxBlurAttenuation = 45 |
int | tfsSize = 3 |
TransferFunction * | tfs [5] |
float blurAccum = 0 |
stores the absolute blurring value in degrees
float blurAttenuation = 0 |
stores the relativ blurring value tan(blur/2)
int focusPlane = 0 |
actual plane in focus
int lastFocusPlane = 0 |
the last plane in the volume
const float maxBlurAttenuation = 45 |
stores the maximal absolute blurring value to avoid negativ values
bool newVolume = false |
boolean flag to reset the renderer
TransferFunction* tfs[5] |
array containing up to 5 transfer function objects
int tfsSize = 3 |
number of actual transfer functions
Volume* volume |
this file is used for gui-logic interactions the volume to be rendered