|
scimesh 0.3.2
Headless CPU-only 3D software renderer for scientific mesh visualization
|
Implementation of the ColorMap and apply_colormap() functions. More...

Go to the source code of this file.
Namespaces | |
| namespace | scimesh |
Functions | |
| ApplyColormapResult | scimesh::apply_colormap (const std::vector< float > &data, const ColorMap &colormap, float vmin=NAN, float vmax=NAN, const Color &nan_color=Color{0.5f, 0.5f, 0.5f, 1.0f}, float lo_pct=0.0f, float hi_pct=100.0f) |
| Map a single vector of numeric data to RGBA colours using a colormap. | |
| MultiApplyColormapResult | scimesh::apply_colormap (const std::vector< std::vector< float > > &datasets, const ColorMap &colormap, float vmin=NAN, float vmax=NAN, const Color &nan_color=Color{0.5f, 0.5f, 0.5f, 1.0f}, float lo_pct=0.0f, float hi_pct=100.0f, bool global_range=false) |
| Map multiple vectors of numeric data through a single colormap. | |
Implementation of the ColorMap and apply_colormap() functions.
Definition in file colormap.cpp.
| float hi |
Definition at line 108 of file colormap.cpp.
| float lo |
Definition at line 108 of file colormap.cpp.