This class sets up color fill parameters. More...
#include "../include/ColorFill.h"
Public Member Functions | |
| ColorFill (ColorMap &color, const char *str) | |
| ColorFill (ColorFill &fill) | |
| int | init () |
| int | set (ColorMap &color, const char *str) |
| bool | isSet () |
| int | setFill (ColorMap &color, const char *str) |
| int | readFile (ColorMap &color, const char *file) |
| int | validateValues () |
| int | decode (ColorMap &color, const char *str) |
| int | setValues (float *vals, int num) |
| bool | areValuesSet () |
| int | getNum () |
| float | getBaseVal () |
| float | getValue (int ind) |
| int | setBase (float rbase) |
| float | getBase () |
| int | setInterval (float rintrvl) |
| float | getInterval () |
| PlotAttr | get (float rvalue) |
| PlotAttr | get (int ind) |
| const char * | getColorName (int ind) |
| int | getColor (int ind) |
| int | getColor (float rvalue) |
| const char * | getLabel () |
| int | print () |
This class sets up color fill parameters.
| ColorFill::ColorFill | ( | ColorMap & | color, | |
| const char * | str | |||
| ) |
| int ColorFill::init | ( | ) |
Initializes class values
References WXP::Const::MISS.
Referenced by ColorFill(), WXP::Contour::init(), set(), and setFill().
| int ColorFill::set | ( | ColorMap & | colormap, | |
| const char * | str | |||
| ) |
Sets color fill values from a string and color map.
References WXP::ColorMap::getName(), WXP::Strings::getNum(), WXP::ColorMap::getNumFill(), WXP::Strings::getString(), and init().
Referenced by WXP::LightPlot::draw(), WXP::Lev2Plot::draw(), WXP::CityPlot::draw(), and WXP::ImagePlot::drawImage().
| int ColorFill::setFill | ( | ColorMap & | colormap, | |
| const char * | str | |||
| ) |
Sets color fill values from a string and color map. Uses color_fill resource if available
References WXP::StrLib::iequal(), and init().
Referenced by WXP::Lev2Plot::draw().
1.6.1