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/lat_lon.hpp"
12#include "../components/radius.hpp"
13#include "../indicator_component.hpp"
14#include "../result.hpp"
51 std::optional<Collection<rerun::components::Radius>>
radii;
54 std::optional<Collection<rerun::components::Color>>
colors;
59 std::optional<Collection<rerun::components::ClassId>>
class_ids;
62 static constexpr const char IndicatorComponentName[] =
63 "rerun.components.GeoPointsIndicator";
89 radii = std::move(_radii);
91 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
96 colors = std::move(_colors);
98 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
107 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
115 template <
typename T>
120 struct AsComponents<archetypes::GeoPoints> {
122 static Result<std::vector<ComponentBatch>> serialize(
const archetypes::GeoPoints& 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: Geospatial points with positions expressed in EPSG:4326 latitude and longitude (North/East...
Definition geo_points.hpp:44
static GeoPoints from_lat_lon(Collection< components::LatLon > positions_)
Creates a new GeoPoints object based on EPSG:4326 latitude and longitude (North/East-positive degrees...
Definition geo_points.hpp:70
std::optional< Collection< rerun::components::ClassId > > class_ids
Optional class Ids for the points.
Definition geo_points.hpp:59
std::optional< Collection< rerun::components::Color > > colors
Optional colors for the points.
Definition geo_points.hpp:54
Collection< rerun::components::LatLon > positions
The EPSG:4326 coordinates for the points (North/East-positive degrees).
Definition geo_points.hpp:46
GeoPoints with_radii(Collection< rerun::components::Radius > _radii) &&
Optional radii for the points, effectively turning them into circles.
Definition geo_points.hpp:88
GeoPoints with_colors(Collection< rerun::components::Color > _colors) &&
Optional colors for the points.
Definition geo_points.hpp:95
std::optional< Collection< rerun::components::Radius > > radii
Optional radii for the points, effectively turning them into circles.
Definition geo_points.hpp:51
GeoPoints with_class_ids(Collection< rerun::components::ClassId > _class_ids) &&
Optional class Ids for the points.
Definition geo_points.hpp:104
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:30