Abstract base class for colormaps, which are transfer functions from a floating point value into RGBA values.
More...
#include </home/werner/origo/vish/ocean/Anemonia/Colormap.hpp>
List of all members.
Public Types
Public Member Functions
-
Colormap ()
- Constructor.
-
virtual bool fromText (const string &s)=0
-
virtual color_t getColor (double value) const =0
-
virtual rgba16_t getColor16 (double value) const
-
virtual rgb_t getColorRGB (int i) const
-
virtual rgb16_t getColorRGB16 (int i) const
-
virtual rgba_t getColorRGBA (int i) const
-
virtual rgba16_t getColorRGBA16 (int i) const
-
virtual int getLength () const =0
-
RefPtr< ChunkBase > getTable (bool ForceCreation)
-
virtual bool hasAlphaChannel () const =0
-
virtual bool isHDR () const =0
-
color_t operator[] (double value) const
- void renew ()
- If values in the colortable have been changed, call the renew() function to clear the local cache of the colormap.
-
virtual string toText () const =0
-
~Colormap ()
- Destructor.
Protected Attributes
Detailed Description
Abstract base class for colormaps, which are transfer functions from a floating point value into RGBA values.
- See also:
- Colorizer, Coral
Member Function Documentation
void Wizt::Colormap::renew |
( |
| ) |
[inline] |
If values in the colortable have been changed, call the renew() function to clear the local cache of the colormap.
Otherwise old values well be reused (in texture mode, in color table mode new values might be effective immediatly if the entries of getTable() have been modified).
The documentation for this class was generated from the following files:
- ocean/Anemonia/Colormap.hpp
- ocean/Anemonia/Colormap.cpp