Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GltColorMap Class Reference
[GLT]

One Dimensional Color-Mapping Class. More...

#include <colmap.h>

List of all members.

Public Methods

 GltColorMap ()
 Constructor.

 ~GltColorMap ()
 Destructor.

void addEntry (const real t, const GltColor &color)
 Add an entry to the color map.

void addEntry (const real t, const GltColor &color, const real alpha)
 Add an entry to the color map, with alpha.

void clear ()
 Clear.

GltColor lookup (const double t) const
 Lookup a color map value, using interpolation.

double lookup (const int i) const
 Lookup the i'th entry of the color map.

const int size () const
 Number of entries.

const real start () const
 Beginning of domain.

const real end () const
 Ending of domain.

const real duration () const
 Duration of domain.

GltColorMap & operator+= (const real x)
 Adjust color map domain.

GltColorMap & operator-= (const real x)
 Adjust color map domain.

GltColorMap & operator *= (const real x)
 Adjust color map domain.

GltColorMap & operator/= (const real x)
 Adjust color map domain.


Detailed Description

One Dimensional Color-Mapping Class.

Definition at line 48 of file colmap.h.


The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:42 2002 for GLT by doxygen1.2.18