|
class | mio::Legend |
| This creates a legend as pixels in a Grid2DObject. This should be used with/by a plugin that would then convert this Grid2DObject into a true graphic file (png, etc). More...
|
|
class | mio::Gradient |
| This converts numeric values into rgb values. The object is initialized with the range that the gradient should cover and the gradient type. Then each numeric value that is given will be converted into rgb values from the selected gradient. Data out of range are converted to either the minimum or the maximum of the gradient. Special pixels should return a=true to indicate transparency (however, pure white is the transparency color, so do not use it in your gradients!). More...
|
|
|
void | mio::Color::RGBtoHSV (const double &r, const double &g, const double &b, double &h, double &s, double &v) |
| convert RGB to HSV. This converts Red-Green-Blue values to Hue-Saturation-Value. See https://secure.wikimedia.org/wikipedia/en/wiki/HSL_and_HSV or http://www.cs.rit.edu/~ncs/color/t_convert.html More...
|
|
void | mio::Color::HSVtoRGB (const double &h, const double &s, const double &v, double &r, double &g, double &b) |
| convert HSV to RGB. This converts Hue-Saturation-Value to Red-Green-Blue values. See https://secure.wikimedia.org/wikipedia/en/wiki/HSL_and_HSV or http://www.cs.rit.edu/~ncs/color/t_convert.html More...
|
|
Documentation for available classes and methods for dealing with graphical elements, color conversions, etc
◆ HSVtoRGB()
void mio::Color::HSVtoRGB |
( |
const double & |
h, |
|
|
const double & |
s, |
|
|
const double & |
v, |
|
|
double & |
r, |
|
|
double & |
g, |
|
|
double & |
b |
|
) |
| |
◆ RGBtoHSV()
void mio::Color::RGBtoHSV |
( |
const double & |
r, |
|
|
const double & |
g, |
|
|
const double & |
b, |
|
|
double & |
h, |
|
|
double & |
s, |
|
|
double & |
v |
|
) |
| |