14 #ifndef _BinToColor_H_
15 #define _BinToColor_H_
77 const std::string & name ()
const;
80 void setRange(
const Range & r );
84 Range getRange ()
const;
89 virtual void doubleToColor (
double value,
Color & color )
const = 0;
95 virtual bool hasControlPoints ()
const;
102 const std::vector < double > & getControlPoints ()
const;
107 virtual void setControlPoints (
const std::vector < double > & points );
114 virtual bool isUserDefined ()
const;
121 virtual bool acceptChangeColor ()
const;
127 #endif // _BinToColor_H_
#define MDL_HIPPOPLOT_API
The base class for the value to the color transformation.
double m_vmin
The minimum value expected.
std::vector< double > m_control_points
A set of control points that might be used for the value to color transform.
A Color class for creating the color object following the standard RGB color space.
numeric::array clone(numeric::array arr)
std::string m_name
The name of this value transform.
hippodraw::Range class interface
double m_dv
The distance of the expected values, i.e.
Expresses a range of values.