diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-10-20 21:58:13 +0300 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-10-20 21:58:13 +0300 |
| commit | a568a2bbf457283717440ecf8711e87db7a4201e (patch) | |
| tree | cf491c9d08b7355d241b0e79a5f3de9a2dc80eb3 /src/color-map.hpp | |
| parent | d445fd00976fa3ce7ce2eda4d18e9b489a78aa67 (diff) | |
Add 'hot' and 'inferno' colormaps.
Make 'inferno' default.
Diffstat (limited to 'src/color-map.hpp')
| -rw-r--r-- | src/color-map.hpp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/color-map.hpp b/src/color-map.hpp index f466923..dd0072d 100644 --- a/src/color-map.hpp +++ b/src/color-map.hpp @@ -19,6 +19,12 @@ enum class ColorMapType { /* MATLAB jet map */ kJet, + /* Hot */ + kHot, + + /* Inferno */ + kInferno, + /* bicolor maps */ kGray, kPurple, @@ -135,4 +141,20 @@ public: JetColorMap(); }; -#endif
\ No newline at end of file +/** + * Hot colormap + */ +class HotColorMap : public InterpolationColorMap { +public: + HotColorMap(); +}; + +/** + * Inferno colormap + */ +class InfernoColorMap: public InterpolationColorMap { +public: + InfernoColorMap(); +}; + +#endif |
