6#include "../collection.hpp"
7#include "../compiler_utils.hpp"
8#include "../component_batch.hpp"
9#include "../components/color.hpp"
10#include "../components/geo_line_string.hpp"
11#include "../components/radius.hpp"
12#include "../indicator_component.hpp"
13#include "../result.hpp"
61 std::optional<Collection<rerun::components::Radius>>
radii;
64 std::optional<Collection<rerun::components::Color>>
colors;
67 static constexpr const char IndicatorComponentName[] =
68 "rerun.components.GeoLineStringsIndicator";
85 radii = std::move(_radii);
87 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
92 colors = std::move(_colors);
94 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
102 template <
typename T>
107 struct AsComponents<archetypes::GeoLineStrings> {
109 static Result<std::vector<ComponentBatch>> serialize(
110 const archetypes::GeoLineStrings& 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:77
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: Geospatial line strings with positions expressed in EPSG:4326 altitude and longitude (Nort...
Definition geo_line_strings.hpp:53
Collection< rerun::components::GeoLineString > line_strings
The line strings, expressed in EPSG:4326 coordinates (North/East-positive degrees).
Definition geo_line_strings.hpp:55
GeoLineStrings with_radii(Collection< rerun::components::Radius > _radii) &&
Optional radii for the line strings.
Definition geo_line_strings.hpp:84
std::optional< Collection< rerun::components::Radius > > radii
Optional radii for the line strings.
Definition geo_line_strings.hpp:61
GeoLineStrings with_colors(Collection< rerun::components::Color > _colors) &&
Optional colors for the line strings.
Definition geo_line_strings.hpp:91
std::optional< Collection< rerun::components::Color > > colors
Optional colors for the line strings.
Definition geo_line_strings.hpp:64
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32