6#include "../collection.hpp"
7#include "../compiler_utils.hpp"
8#include "../component_batch.hpp"
9#include "../components/color.hpp"
10#include "../components/marker_shape.hpp"
11#include "../components/marker_size.hpp"
12#include "../components/name.hpp"
13#include "../indicator_component.hpp"
14#include "../result.hpp"
75 std::optional<rerun::components::Color>
color;
78 std::optional<rerun::components::MarkerShape>
marker;
83 std::optional<rerun::components::Name>
name;
89 static constexpr const char IndicatorComponentName[] =
90 "rerun.components.SeriesPointIndicator";
101 color = std::move(_color);
103 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
108 marker = std::move(_marker);
110 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
117 name = std::move(_name);
119 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
126 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
134 template <
typename T>
139 struct AsComponents<archetypes::SeriesPoint> {
141 static Result<std::vector<ComponentBatch>> serialize(
142 const archetypes::SeriesPoint& archetype
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:77
MarkerShape
Component: The visual appearance of a point in e.g. a 2D plot.
Definition marker_shape.hpp:25
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: Define the style properties for a point series in a chart.
Definition series_point.hpp:73
SeriesPoint with_marker_size(rerun::components::MarkerSize _marker_size) &&
Size of the marker.
Definition series_point.hpp:123
std::optional< rerun::components::MarkerShape > marker
What shape to use to represent the point.
Definition series_point.hpp:78
std::optional< rerun::components::Name > name
Display name of the series.
Definition series_point.hpp:83
SeriesPoint with_marker(rerun::components::MarkerShape _marker) &&
What shape to use to represent the point.
Definition series_point.hpp:107
SeriesPoint with_name(rerun::components::Name _name) &&
Display name of the series.
Definition series_point.hpp:116
SeriesPoint with_color(rerun::components::Color _color) &&
Color for the corresponding series.
Definition series_point.hpp:100
std::optional< rerun::components::MarkerSize > marker_size
Size of the marker.
Definition series_point.hpp:86
std::optional< rerun::components::Color > color
Color for the corresponding series.
Definition series_point.hpp:75
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition color.hpp:18
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32
Component: Radius of a marker of a point in e.g. a 2D plot, measured in UI points.
Definition marker_size.hpp:15
Component: A display name, typically for an entity or a item like a plot series.
Definition name.hpp:17