6#include "../../blueprint/components/corner2d.hpp"
7#include "../../blueprint/components/visible.hpp"
8#include "../../collection.hpp"
9#include "../../compiler_utils.hpp"
10#include "../../component_batch.hpp"
11#include "../../indicator_component.hpp"
12#include "../../result.hpp"
19namespace rerun::blueprint::archetypes {
25 std::optional<rerun::blueprint::components::Corner2D>
corner;
30 std::optional<rerun::blueprint::components::Visible>
visible;
33 static constexpr const char IndicatorComponentName[] =
34 "rerun.blueprint.components.PlotLegendIndicator";
47 corner = std::move(_corner);
49 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
58 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
71 struct AsComponents<blueprint::archetypes::PlotLegend> {
A class for representing either a usable value, or an error.
Definition result.hpp:14
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: Configuration for the legend of a plot.
Definition plot_legend.hpp:21
PlotLegend with_visible(rerun::blueprint::components::Visible _visible) &&
Whether the legend is shown at all.
Definition plot_legend.hpp:55
PlotLegend with_corner(rerun::blueprint::components::Corner2D _corner) &&
To what corner the legend is aligned.
Definition plot_legend.hpp:46
std::optional< rerun::blueprint::components::Visible > visible
Whether the legend is shown at all.
Definition plot_legend.hpp:30
std::optional< rerun::blueprint::components::Corner2D > corner
To what corner the legend is aligned.
Definition plot_legend.hpp:25
Component: Whether the container, view, entity or instance is currently visible.
Definition visible.hpp:15
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32