svgui
1.9
|
#include "ColourMapper.h"
#include <iostream>
#include <cmath>
#include "base/Debug.h"
#include <vector>
#include <QPainter>
Include dependency graph for ColourMapper.cpp:
Go to the source code of this file.
Functions | |
static vector< QColor > | convertStrings (const vector< QString > &strs, bool reversed) |
static void | mapDiscrete (double norm, vector< QColor > &colours, double &r, double &g, double &b) |
Variables | |
static vector< QColor > | ice |
static vector< QColor > | cherry |
static vector< QColor > | magma |
static vector< QColor > | cividis |
Function Documentation
|
static |
Definition at line 30 of file ColourMapper.cpp.
|
static |
Definition at line 110 of file ColourMapper.cpp.
Referenced by ColourMapper::map().
Variable Documentation
|
static |
Initial value:
= convertStrings({
"#ffffff", "#ffff00", "#f7fcf0", "#e0f3db", "#ccebc5", "#a8ddb5",
"#7bccc4", "#4eb3d3", "#2b8cbe", "#0868ac", "#084081", "#042040"
},
true)
static vector< QColor > convertStrings(const vector< QString > &strs, bool reversed)
Definition: ColourMapper.cpp:30
Definition at line 41 of file ColourMapper.cpp.
Referenced by ColourMapper::map().
|
static |
Initial value:
= convertStrings({
"#f7f7f7", "#fddbc7", "#f4a582", "#d6604d", "#b2182b", "#dd3497",
"#ae017e", "#7a0177", "#49006a"
},
true)
static vector< QColor > convertStrings(const vector< QString > &strs, bool reversed)
Definition: ColourMapper.cpp:30
Definition at line 48 of file ColourMapper.cpp.
|
static |
Initial value:
= convertStrings({
"#FCFFB2", "#FCDF96", "#FBC17D", "#FBA368", "#FA8657", "#F66B4D",
"#ED504A", "#E03B50", "#C92D59", "#B02363", "#981D69", "#81176D",
"#6B116F", "#57096E", "#43006A", "#300060", "#1E0848", "#110B2D",
"#080616", "#000005"
},
true)
static vector< QColor > convertStrings(const vector< QString > &strs, bool reversed)
Definition: ColourMapper.cpp:30
Definition at line 54 of file ColourMapper.cpp.
|
static |
Definition at line 62 of file ColourMapper.cpp.
Generated by 1.8.11