0.4.1
Loading...
Searching...
No Matches
Colormap.cpp File Reference

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< ColormapNAV::ColormapsFlow
 Flow colormaps.
 
std::vector< ColormapNAV::ColormapsGlobal
 Global colormaps.
 

Detailed Description

Colormap.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2023-09-22

Definition in file Colormap.cpp.