#include <volume_canvas.h>
Classes | |
struct | Color |
Represents a single color. More... | |
Public Member Functions | |
virtual Color | MapDensity (float density)=0 |
Maps the density to the corresponding color. |
Definition at line 11 of file volume_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 VolumeCanvas::UpdateTransferFunction().