MeteoIODoc 20241221.207bde49
mio::gr_heat Class Reference

#include <Graphics.h>

Public Member Functions

 gr_heat (const double &i_min, const double &i_max, const bool &i_autoscale)
 
void getColor (const double &i_val, double &r, double &g, double &b) const
 
- Public Member Functions inherited from mio::Gradient_model
 Gradient_model ()
 
virtual ~Gradient_model ()
 
 Gradient_model (const double &i_min, const double &i_max, const bool &i_autoscale)
 
virtual void getColor (const double &val, double &r, double &g, double &b) const
 

Additional Inherited Members

- Protected Member Functions inherited from mio::Gradient_model
double getInterpol (const double &val, const std::vector< double > &i_X, const std::vector< double > &i_Y) const
 
void HSV2RGB (const double &h, const double &s, const double &v, unsigned char &r, unsigned char &g, unsigned char &b) const
 
- Protected Attributes inherited from mio::Gradient_model
std::vector< double > X
 
std::vector< double > v_h
 
std::vector< double > v_s
 
std::vector< double > v_v
 control points: vector of X and associated hues, saturations and values. They must be in X ascending order More...
 

Constructor & Destructor Documentation

◆ gr_heat()

mio::gr_heat::gr_heat ( const double &  i_min,
const double &  i_max,
const bool &  i_autoscale 
)
inline

Member Function Documentation

◆ getColor()

void mio::gr_heat::getColor ( const double &  i_val,
double &  r,
double &  g,
double &  b 
) const
virtual

Reimplemented from mio::Gradient_model.


The documentation for this class was generated from the following files: