Struct Viridis

Inheritance Relationships

Base Type

Struct Documentation

struct Viridis : public flamegpu::visualiser::Palette

Color blind friendly dynamic sequential palette Viridis from BIDS/MatPlotLib: https://github.com/BIDS/colormap

Public Functions

inline Viridis()
inline virtual Category getCategory() const override

Returns the category of the palette

See also

Category

inline virtual bool getColorBlindFriendly() const override

Returns whether the palette is confirmed as suitable for colorblind viewers

inline explicit Viridis(const unsigned int &size)

Construct the Palette by specifying how many color values are required

Protected Functions

inline virtual const std::vector<Color> &colors() const override