TransferFunctionSampler Class Reference

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

#include <flowvis_canvas.h>

List of all members.

Public Member Functions

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

Classes

struct  Color
 Represents a single color. More...


Detailed Description

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

Definition at line 15 of file flowvis_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 FlowVisCanvas::UpdateTransferFunction().


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

Generated on Wed Jan 21 16:22:24 2009 for FlowVis by  doxygen 1.5.6