6#include "../component_descriptor.hpp"
7#include "../result.hpp"
20 using UInt8Builder = NumericBuilder<UInt8Type>;
83 struct Loggable<components::Colormap> {
84 static constexpr ComponentDescriptor Descriptor =
"rerun.components.Colormap";
87 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
90 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:80
Colormap
Component: Colormap for mapping scalar values within a given range to a color.
Definition colormap.hpp:29
@ 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:23