Struct Set2

Inheritance Relationships

Base Type

Struct Documentation

struct Set2 : public flamegpu::visualiser::Palette

Color blind friendly qualitative palette Set2 from Colorbrewer


Color names are approximations using

Public Types

enum Name

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


enumerator PUERTO_RICO
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


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