4#include <WXP/ColorMap.h>
27 int set(
ColorMap &colormap,
const char *str );
28 int readFile(
ColorMap &colormap,
const char *file );
30 int decode(
ColorMap &colormap,
const char *str );
31 int setIndex(
int ind,
int rindex );
32 int getIndex(
int ind );
33 float getValue(
int ind );
34 int getIndex(
float rvalue );
35 int getColor(
float rvalue );
37 inline bool isIndex(){
return type == INDEX; };
39 inline bool isValue(){
return type == VALUE; };
41 inline const char *
getName(){
return name; };
44 enum Type { INDEX, VALUE };
This class defines a specific color map. This is a mapping between color indices, color names and RGB...
Definition ColorMap.h:8
This class creates and accesses satellite enhancement files.
Definition Enhance.h:7
bool isValue()
Definition Enhance.h:39
Enhance operator=(const Enhance &enh)
Definition Enhance.cc:57
bool isIndex()
Definition Enhance.h:37
const char * getName()
Definition Enhance.h:41
All WXP classes fall under the WXP namespace.
Definition Angle.h:4