14#include <lagrange/ui/api.h>
15#include <lagrange/ui/types/Color.h>
16#include <lagrange/ui/types/Texture.h>
21LA_UI_API
Color colormap_viridis(
float t);
22LA_UI_API
Color colormap_magma(
float t);
23LA_UI_API
Color colormap_plasma(
float t);
24LA_UI_API
Color colormap_inferno(
float t);
25LA_UI_API
Color colormap_turbo(
float t);
26LA_UI_API
Color colormap_coolwarm(
float t);
29LA_UI_API std::shared_ptr<Texture> generate_colormap(
30 const std::function<
Color(
float)>& generator,
31 int resolution = 256);
@ Color
Mesh attribute can have 1, 2, 3 or 4 channels.
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
Main namespace for Lagrange.
Definition: AABBIGL.h:30