Struct Set2

Inheritance Relationships

Base Type

Struct Documentation

struct Set2 : public flamegpu::visualiser::Palette

Color blind friendly qualitative palette Set2 from Colorbrewer

Note

Color names are approximations using https://www.color-blindness.com/color-name-hue/

Public Types

enum Name

Friendly names that can be passed to operator[]() to retrieve the relevant color

Values:

enumerator PUERTO_RICO
enumerator ATOMIC_TANGERINE
enumerator POLO_BLUE
enumerator SHOCKING
enumerator CONIFER
enumerator SUNGLOW
enumerator CHAMOIS
enumerator DARK_GREY

Public Functions

inline Set2()
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

Protected Functions

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