#include <colmap.h>
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. | |
Definition at line 48 of file colmap.h.
1.2.18