MeteoIODoc 2.11.0
Graphics.h File Reference
#include <meteoio/dataClasses/Array2D.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

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_model
 
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...
 
class  mio::gr_heat
 
class  mio::gr_blue_pink
 
class  mio::gr_freeze
 
class  mio::gr_bluewhitered
 
class  mio::gr_whitetoblk
 
class  mio::gr_blktowhite
 
class  mio::gr_blue
 
class  mio::gr_bg_isomorphic
 
class  mio::gr_terrain
 
class  mio::gr_slope
 
class  mio::gr_azi
 
class  mio::gr_pastel
 

Namespaces

namespace  mio
 
namespace  mio::Color
 

Functions

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...