4#include <WXP/ColorMap.h>
5#include <WXP/PlotAttr.h>
28 int set(
const char *str );
29 int set(
ColorMap &color,
const char *str );
31 inline bool isSet(){
return num > 0 ? true :
false; };
33 int readFile(
const char *file );
34 int readFile(
ColorMap &color,
const char *file );
36 int decode(
const char *str );
37 int decode(
ColorMap &color,
const char *str );
38 int setValues(
float *vals,
int num );
42 float getValue(
int ind );
43 int setBase(
float rbase );
46 int setInterval(
float rintrvl );
49 int getInd(
float rvalue );
52 const char *getColorName(
int ind );
53 int getColor(
int ind );
54 int getColor(
float rvalue );
57 const char *getLabel(
int ind );
58 inline const char *getLabel(){
return label; };
This class sets up color fill parameters.
Definition ColorFill.h:8
bool validLabel(int ind)
Definition ColorFill.cc:484
int setFill(ColorMap &color, const char *str)
Definition ColorFill.cc:178
float getInterval()
Definition ColorFill.h:48
bool isSet()
Definition ColorFill.h:31
ColorFill operator=(const ColorFill &fill)
Definition ColorFill.cc:86
float getBase()
Definition ColorFill.h:45
int init()
Definition ColorFill.cc:37
This class defines a specific color map. This is a mapping between color indices, color names and RGB...
Definition ColorMap.h:8
This class stores plot attributes.
Definition PlotAttr.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4