6#include "../result.hpp"
19 using UInt8Builder = NumericBuilder<UInt8Type>;
82 struct Loggable<components::Colormap> {
83 static constexpr const char Name[] =
"rerun.components.Colormap";
86 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
89 static Result<std::shared_ptr<arrow::Array>> to_arrow(
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:95
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:79
Colormap
Component: Colormap for mapping scalar values within a given range to a color.
Definition colormap.hpp:28
@ Magma
The Magma colormap from Matplotlib.
@ Turbo
Google's Turbo colormap map.
@ Inferno
The Inferno colormap from Matplotlib.
@ Viridis
The Viridis colormap from Matplotlib.
@ Plasma
The Plasma colormap from Matplotlib.
@ Grayscale
A simple black to white gradient.
@ CyanToYellow
Rasmusgo's Cyan to Yellow colormap.
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:22