Expose units, scale and offset of color table

This commit is contained in:
Dan Paulat 2024-01-04 22:37:55 -06:00
parent 0e031e3b69
commit 66b7bd36fe
2 changed files with 18 additions and 0 deletions

View file

@ -35,6 +35,9 @@ public:
ColorTable(ColorTable&&) noexcept;
ColorTable& operator=(ColorTable&&) noexcept;
std::string units() const;
float scale() const;
float offset() const;
boost::gil::rgba8_pixel_t rf_color() const;
boost::gil::rgba8_pixel_t Color(float value) const;