37 #ifndef _vpColorBlindFliendlyPalette_h_
38 #define _vpColorBlindFliendlyPalette_h_
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpColor.h>
45 #if (VISP_CXX_STANDARD > VISP_CXX_STANDARD_98)
117 std::vector<unsigned char> to_RGB()
const;
128 std::vector<double> to_colorRatio()
const;
137 bool set_fromString(
const std::string &nameColor);
144 std::string to_string()
const;
154 static std::string getAvailableColorsNames(
const std::string &prefix =
"",
const std::string &separator =
" ",
const std::string &suffix =
"");
156 static std::vector<vpColor> s_palette;
165 static unsigned int to_uint(
const Palette &colorID);
174 static std::string to_string(
const Palette &colorID);
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
Class that furnishes a set of colors that color blind people should be able to distinguish one from a...
Palette
Enum that list the different available colors.
static std::vector< std::string > s_paletteNames
Class to define RGB colors available for display functionalities.