6#include "../collection.hpp"
7#include "../compiler_utils.hpp"
8#include "../component_batch.hpp"
9#include "../components/class_id.hpp"
10#include "../components/color.hpp"
11#include "../components/line_strip3d.hpp"
12#include "../components/radius.hpp"
13#include "../components/show_labels.hpp"
14#include "../components/text.hpp"
15#include "../indicator_component.hpp"
16#include "../result.hpp"
108 std::optional<Collection<rerun::components::Radius>>
radii;
111 std::optional<Collection<rerun::components::Color>>
colors;
117 std::optional<Collection<rerun::components::Text>>
labels;
125 std::optional<Collection<rerun::components::ClassId>>
class_ids;
128 static constexpr const char IndicatorComponentName[] =
129 "rerun.components.LineStrips3DIndicator";
139 :
strips(std::move(_strips)) {}
143 radii = std::move(_radii);
145 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
150 colors = std::move(_colors);
152 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
160 labels = std::move(_labels);
162 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
169 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
178 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
186 template <
typename T>
191 struct AsComponents<archetypes::LineStrips3D> {
193 static Result<std::vector<ComponentBatch>> serialize(
194 const archetypes::LineStrips3D& archetype
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:76
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:22
Archetype: 3D line strips with positions and optional colors, radii, labels, etc.
Definition line_strips3d.hpp:103
LineStrips3D with_colors(Collection< rerun::components::Color > _colors) &&
Optional colors for the line strips.
Definition line_strips3d.hpp:149
std::optional< Collection< rerun::components::Radius > > radii
Optional radii for the line strips.
Definition line_strips3d.hpp:108
std::optional< Collection< rerun::components::Color > > colors
Optional colors for the line strips.
Definition line_strips3d.hpp:111
Collection< rerun::components::LineStrip3D > strips
All the actual 3D line strips that make up the batch.
Definition line_strips3d.hpp:105
std::optional< Collection< rerun::components::ClassId > > class_ids
Optional components::ClassIds for the lines.
Definition line_strips3d.hpp:125
std::optional< Collection< rerun::components::Text > > labels
Optional text labels for the line strips.
Definition line_strips3d.hpp:117
LineStrips3D with_labels(Collection< rerun::components::Text > _labels) &&
Optional text labels for the line strips.
Definition line_strips3d.hpp:159
std::optional< rerun::components::ShowLabels > show_labels
Optional choice of whether the text labels should be shown by default.
Definition line_strips3d.hpp:120
LineStrips3D with_class_ids(Collection< rerun::components::ClassId > _class_ids) &&
Optional components::ClassIds for the lines.
Definition line_strips3d.hpp:175
LineStrips3D with_radii(Collection< rerun::components::Radius > _radii) &&
Optional radii for the line strips.
Definition line_strips3d.hpp:142
LineStrips3D with_show_labels(rerun::components::ShowLabels _show_labels) &&
Optional choice of whether the text labels should be shown by default.
Definition line_strips3d.hpp:166
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:30
Component: Whether the entity's components::Text label is shown.
Definition show_labels.hpp:18