Tulip
4.10.0
Better Visualization Through Research
|
#include <ColorScalesManager.h>
Static Public Member Functions | |
static tlp::ColorScale | getColorScale (const std::string &colorScaleName) |
static std::list< std::string > | getColorScalesList () |
static ColorScale | getLatestColorScale () |
static void | registerColorScale (const std::string &colorScaleName, const tlp::ColorScale &colorScale) |
static void | removeColorScale (const std::string &colorScaleName) |
static void | setLatestColorScale (ColorScale &cs) |
Helper class for handling Tulip color scales.
That static class aims to facilitate working with Tulip color scales. It allows to easily retrieve Tulip predefined ones but also to register new ones in a persistent database for further reuse.
Definition at line 20 of file ColorScalesManager.h.
|
static |
Returns the color scale registered with the provided name.
|
static |
Returns a list of the registered color scales names.
|
static |
Registers a color scale in the persistent database for further reuse.
|
static |
Removes the color scale registered with the provided name from the persistent database.