22 #ifndef COLORSCALESMANAGER_H
23 #define COLORSCALESMANAGER_H
25 #include <tulip/ColorScale.h>
41 class TLP_QT_SCOPE ColorScalesManager {
48 static std::list<std::string> getColorScalesList();
56 static tlp::ColorScale getColorScale(
const std::string &colorScaleName);
65 static void registerColorScale(
const std::string &colorScaleName,
72 static void removeColorScale(
const std::string &colorScaleName);
74 static ColorScale getLatestColorScale();
75 static void setLatestColorScale(ColorScale &cs);
78 static void getColorScalesFromDir(
const std::string &colorScalesDir,
79 std::list<std::string> &colorScalesList);
80 static std::string findColorScaleFile(
const std::string &rootDir,
81 const std::string &colorScaleName);
This class represents a color scale to perform color mapping. The color scale can be either a gradien...