TransferFunctionSampler Class Reference

Interface class used by the VolumeCanvas to generate the transfer function texture. More...

#include <volume_canvas.h>

List of all members.

Classes

struct  Color
 Represents a single color. More...

Public Member Functions

virtual Color MapDensity (float density)=0
 Maps the density to the corresponding color.


Detailed Description

Interface class used by the VolumeCanvas to generate the transfer function texture.

Definition at line 11 of file volume_canvas.h.


Member Function Documentation

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().


The documentation for this class was generated from the following file:

Generated on Wed Dec 17 17:14:22 2008 for VisLU by  doxygen 1.5.7.1