|
Public Methods |
| ColorMap () |
| ColorMap (double minVal, double maxVal) |
virtual | ~ColorMap () |
void | addToMap (const double value, const Color c) |
| add a new ColorVal to the map
|
void | changeMap (const double value, const Color c, const double threshold) |
| modify existing ColorVal or add a new one as appropriate
|
void | addRegion (double begin, double end, Color c, bool blend=true) |
void | addRegion (double begin, double end, Color beginc, Color endc, bool blend=true) |
void | clearRegion (double begin, double end) |
void | setRegion (double begin, double end, double val, int index) |
Color | getColor (const double value) |
void | print () |
virtual int | getNumPoints () const |
virtual double | getValIndexPoint (const int num) const |
virtual Color | getColorIndexPoint (const int num) const |
virtual ColorVal * | getColorVal (const int num) |
void | stupidSort () |
void | removeVal (ColorVal *const val) |
void | addVal (ColorVal *const val) |
bool | equals (ColorMap *const map) |
void | clear () |
void | setColorMap (ColorMap *map) |
ColorMap * | getCopy () |
Protected Attributes |
ARRAY< ColorVal * > | _colorVals |