Go to the documentation of this file.
58 template<
typename PValue >
81 const Color &_firstColor,
82 const Color &_lastColor);
156 const Value &_value);
const Value & maxValue() const
GradientColorMap & operator=(const GradientColorMap &_other)
void addColor(const Color &_color)
std::vector< Color > myColors
static Color getColor(const std::vector< Color > &_colors, const Value &_min, const Value &_max, const Value &_value)
~GradientColorMap()=default
Interfaces for plugins These interfaces will be used for different plugins.
This templated class may be used to (linearly) convert scalar values in a given range into a color in...
const Value & minValue() const
Color operator()(const Value &_value) const
GradientColorMap()=delete