6#include "../collection.hpp"
7#include "../component_batch.hpp"
8#include "../component_column.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<ComponentBatch>
radii;
64 std::optional<ComponentBatch>
colors;
67 static constexpr const char IndicatorComponentName[] =
68 "rerun.components.GeoLineStringsIndicator";
73 static constexpr const char ArchetypeName[] =
"rerun.archetypes.GeoLineStrings";
116 return std::move(*
this);
125 return std::move(*
this);
131 return std::move(*
this);
155 template <
typename T>
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
A class for representing either a usable value, or an error.
Definition result.hpp:14
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:23
Arrow-encoded data of a single batch of components together with a component descriptor.
Definition component_batch.hpp:28
static Result< ComponentBatch > from_loggable(const rerun::Collection< T > &components, const ComponentDescriptor &descriptor=rerun::Loggable< T >::Descriptor)
Creates a new component batch from a collection of component instances.
Definition component_batch.hpp:46
A ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:14
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Archetype: Geospatial line strings with positions expressed in EPSG:4326 altitude and longitude (Nort...
Definition geo_line_strings.hpp:53
Collection< ComponentColumn > columns(const Collection< uint32_t > &lengths_)
Partitions the component data into multiple sub-batches.
static GeoLineStrings clear_fields()
Clear all the fields of a GeoLineStrings.
static constexpr auto Descriptor_radii
ComponentDescriptor for the radii field.
Definition geo_line_strings.hpp:81
static constexpr auto Descriptor_line_strings
ComponentDescriptor for the line_strings field.
Definition geo_line_strings.hpp:76
std::optional< ComponentBatch > line_strings
The line strings, expressed in EPSG:4326 coordinates (North/East-positive degrees).
Definition geo_line_strings.hpp:55
static constexpr auto Descriptor_colors
ComponentDescriptor for the colors field.
Definition geo_line_strings.hpp:85
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition geo_line_strings.hpp:73
GeoLineStrings with_line_strings(const Collection< rerun::components::GeoLineString > &_line_strings) &&
The line strings, expressed in EPSG:4326 coordinates (North/East-positive degrees).
Definition geo_line_strings.hpp:111
std::optional< ComponentBatch > colors
Optional colors for the line strings.
Definition geo_line_strings.hpp:64
GeoLineStrings with_colors(const Collection< rerun::components::Color > &_colors) &&
Optional colors for the line strings.
Definition geo_line_strings.hpp:129
GeoLineStrings with_radii(const Collection< rerun::components::Radius > &_radii) &&
Optional radii for the line strings.
Definition geo_line_strings.hpp:123
std::optional< ComponentBatch > radii
Optional radii for the line strings.
Definition geo_line_strings.hpp:61
static GeoLineStrings update_fields()
Update only some specific fields of a GeoLineStrings.
Definition geo_line_strings.hpp:103
Collection< ComponentColumn > columns()
Partitions the component data into unit-length sub-batches.
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32