Archetype: Geospatial points with positions expressed in EPSG:4326 latitude and longitude (North/East-positive degrees), and optional colors and radii.
More...
#include <rerun/archetypes/geo_points.hpp>
Archetype: Geospatial points with positions expressed in EPSG:4326 latitude and longitude (North/East-positive degrees), and optional colors and radii.
Example
Log a geospatial point

#include <rerun.hpp>
int main() {
rec.spawn().exit_on_failure();
rec.log(
"rerun_hq",
rerun::GeoPoints::from_lat_lon({{59.319221, 18.075631}})
);
}
A RecordingStream handles everything related to logging data into Rerun.
Definition recording_stream.hpp:60
GeoPoints with_radii(const Collection< rerun::components::Radius > &_radii) &&
Optional radii for the points, effectively turning them into circles.
Definition geo_points.hpp:126
GeoPoints with_colors(const Collection< rerun::components::Color > &_colors) &&
Optional colors for the points.
Definition geo_points.hpp:132
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition color.hpp:18
static Radius ui_points(float radius_in_ui_points)
Creates a new radius in ui points.
Definition radius.hpp:36
◆ with_radii()
Optional radii for the points, effectively turning them into circles.
Note: scene units radiii are interpreted as meters.
◆ with_class_ids()
Optional class Ids for the points.
The components::ClassId
provides colors if not specified explicitly.
◆ columns() [1/2]
◆ columns() [2/2]
Partitions the component data into unit-length sub-batches.
This is semantically similar to calling columns
with std::vector<uint32_t>(n, 1)
, where n
is automatically guessed.
◆ radii
Optional radii for the points, effectively turning them into circles.
Note: scene units radiii are interpreted as meters.
◆ class_ids
Optional class Ids for the points.
The components::ClassId
provides colors if not specified explicitly.
◆ IndicatorComponentName
constexpr const char rerun::archetypes::GeoPoints::IndicatorComponentName[] |
|
staticconstexpr |
Initial value:=
"rerun.components.GeoPointsIndicator"
◆ Descriptor_positions
constexpr auto rerun::archetypes::GeoPoints::Descriptor_positions |
|
staticconstexpr |
Initial value:= ComponentDescriptor(
Loggable<rerun::components::LatLon>::Descriptor.component_name
)
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition geo_points.hpp:68
ComponentDescriptor
for the positions
field.
◆ Descriptor_radii
constexpr auto rerun::archetypes::GeoPoints::Descriptor_radii |
|
staticconstexpr |
Initial value:= ComponentDescriptor(
ArchetypeName,
"radii", Loggable<rerun::components::Radius>::Descriptor.component_name
)
ComponentDescriptor
for the radii
field.
◆ Descriptor_colors
constexpr auto rerun::archetypes::GeoPoints::Descriptor_colors |
|
staticconstexpr |
Initial value:= ComponentDescriptor(
ArchetypeName,
"colors", Loggable<rerun::components::Color>::Descriptor.component_name
)
ComponentDescriptor
for the colors
field.
◆ Descriptor_class_ids
constexpr auto rerun::archetypes::GeoPoints::Descriptor_class_ids |
|
staticconstexpr |
Initial value:= ComponentDescriptor(
Loggable<rerun::components::ClassId>::Descriptor.component_name
)
ComponentDescriptor
for the class_ids
field.
The documentation for this struct was generated from the following file: