#include <flowvis_canvas.h>
Public Member Functions | |
virtual Color | MapDensity (float density)=0 |
Maps the density to the corresponding color. | |
Classes | |
struct | Color |
Represents a single color. More... |
Definition at line 15 of file flowvis_canvas.h.
virtual Color TransferFunctionSampler::MapDensity | ( | float | density | ) | [pure virtual] |
Maps the density to the corresponding color.
This interface is used to generate the OpenGL texture from the transfer function data. The density must lie between 0.0 and 1.0.
Referenced by FlowVisCanvas::UpdateTransferFunction().