#include <Graphics.h>
|
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 |
|
|
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...
|
|
◆ Gradient_model() [1/2]
mio::Gradient_model::Gradient_model |
( |
| ) |
|
|
inline |
◆ ~Gradient_model()
virtual mio::Gradient_model::~Gradient_model |
( |
| ) |
|
|
inlinevirtual |
◆ Gradient_model() [2/2]
mio::Gradient_model::Gradient_model |
( |
const double & |
i_min, |
|
|
const double & |
i_max, |
|
|
const bool & |
i_autoscale |
|
) |
| |
|
inline |
◆ getColor()
void mio::Gradient_model::getColor |
( |
const double & |
val, |
|
|
double & |
r, |
|
|
double & |
g, |
|
|
double & |
b |
|
) |
| const |
|
virtual |
◆ getInterpol()
double mio::Gradient_model::getInterpol |
( |
const double & |
val, |
|
|
const std::vector< double > & |
i_X, |
|
|
const std::vector< double > & |
i_Y |
|
) |
| const |
|
protected |
◆ HSV2RGB()
void mio::Gradient_model::HSV2RGB |
( |
const double & |
h, |
|
|
const double & |
s, |
|
|
const double & |
v, |
|
|
unsigned char & |
r, |
|
|
unsigned char & |
g, |
|
|
unsigned char & |
b |
|
) |
| const |
|
protected |
◆ v_h
std::vector<double> mio::Gradient_model::v_h |
|
protected |
◆ v_s
std::vector<double> mio::Gradient_model::v_s |
|
protected |
◆ v_v
std::vector<double> mio::Gradient_model::v_v |
|
protected |
control points: vector of X and associated hues, saturations and values. They must be in X ascending order
std::vector<double> mio::Gradient_model::X |
|
protected |
The documentation for this class was generated from the following files: