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(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
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition color.hpp:17
static Radius ui_points(float radius_in_ui_points)
Creates a new radius in ui points.
Definition radius.hpp:35
◆ 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.
◆ 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"
The documentation for this struct was generated from the following file: