![]() |
0.4.1
|
Colormap. More...
Go to the source code of this file.
Namespaces | |
namespace | NAV |
Functions | |
bool | NAV::ColormapButton (const char *label, Colormap &cmap, const ImVec2 &size_arg) |
Display a colormap button. | |
std::optional< std::reference_wrapper< const Colormap > > | NAV::ColormapSearch (const ColormapMaskType &type, const int64_t &id) |
Searches for the colormap in the Global and Flow colormaps. | |
void | NAV::from_json (const json &j, Colormap &cmap) |
Converts the provided json object into a struct. | |
bool | NAV::ShowColormapSelector (ColormapMaskType &type, int64_t &id, const char *label="") |
Shows a combobox to select a colormap. | |
void | NAV::to_json (json &j, const Colormap &cmap) |
Converts the provided object into a json object. | |
Variables | |
std::vector< Colormap > | NAV::ColormapsFlow |
Flow colormaps. | |
std::vector< Colormap > | NAV::ColormapsGlobal |
Global colormaps. | |