Back to Rerun

Snippet index reference

docs/snippets/INDEX.md

0.31.4117.4 KB
Original Source
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/snippets_ref.rs -->

Snippet index reference

This file acts as an index reference for all of our snippets.

Use it to quickly find copy-pastable snippets of code for any Rerun feature you're interested in (APIs, Archetypes, Blueprint, etc).


Table of contents:

Features

FeatureExampleDescriptionPythonRustC+⁠+
Query Data Platformdataframe_operationsDemonstrate common dataframe operations with Rerun Data Platform🐍
Query Data Platformdataframe_performanceSample snippets highlighting common performance-related improvements🐍
Query Data Platformdataset_resamplingSample snippets highlighting common performance-related improvements🐍
Query Data Platformlerobot_exportDemonstrate converting Rerun recording to LeRobot dataset🐍
Query Data Platformquery_imagesQuery various image representations🐍
Query Data Platformquery_videosQuery video streams🐍
Query Data Platformquery_video_keyframesQuery video streams efficiently using keyframe information🐍
Query Data Platformsub_datasetCreate a new dataset from a subset of segments of an existing dataset🐍
Query Data Platformtime_alignmentEfficiently time align multirate columns🐍
Query Data Platformview_operationsLeverage filters to more efficiently perform downstream queries🐍
Setting recording propertiesrecording_propertiesSets the recording properties🐍🦀🌊
Setting recording propertiessegment_propertiesQuery and display the first 10 rows of a recording🐍
Setting recording propertieslayers🐍
Update rowsarrows3d_row_updatesUpdate a set of vectors over time🐍🦀🌊
Update rowsscalars_row_updatesUpdate a scalar over time🐍🦀🌊
Update rowspoints3d_row_updatesUpdate a point cloud over time🐍🦀🌊
Update rowstransform3d_row_updatesUpdate a transform over time🐍🦀🌊
Update columnsscalars_column_updatesUpdate a scalar over time, in a single operation🐍🦀🌊
Update columnspoints3d_column_updatesUpdate a point cloud over time, in a single operation🐍🦀🌊
Update columnstransform3d_column_updatesUpdate a transform over time, in a single operation🐍🦀🌊
Update columnsimage_column_updatesUpdate an image over time, in a single operation🐍🦀🌊
Micro batchingmicro_batchingShows how to configure micro-batching directly from code🐍🦀
Partial updatespoints3d_partial_updatesUpdate specific properties of a point cloud over time🐍🦀🌊
Partial updatestransform3d_partial_updatesUpdate specific properties of a transform over time🐍🦀🌊
Partial updatesmesh3d_partial_updatesLog a simple colored triangle, then update its vertices' positions each frame🐍🦀🌊
Send custom dataany_valuesLog arbitrary data🐍🦀🌊
Send custom datadynamic_archetypeLog arbitrary archetype data🐍🦀🌊
Send custom dataextra_valuesLog extra values with a Points2D🐍🦀🌊
Send custom datacustom_dataShows how to implement custom archetypes and components🐍🦀🌊
Send columns of custom dataany_values_column_updatesUpdate custom user-defined values over time, in a single operation🐍🦀🌊
Send columns of custom dataany_batch_value_column_updatesUse AnyBatchValue and send_column to send an entire column of custom data to Rerun🐍🦀🌊
Query dataframesdataframe_query_exampleQuery and display the first 10 rows of a recording🐍
Query dataframesdataframe_view_queryQuery and display the first 10 rows of a recording in a dataframe view🐍
Host web viewer and connect it to a gRPC serverserve_web_viewerDemonstrates how to log data to a gRPC server and connect the web viewer to it🐍🦀
Experimental Viewer clientscreenshotTake screenshots of the viewer or specific views from code🐍
Experimental Viewer clientsend_tableSets the recording properties🐍
Convert custom MCAP Protobufconvert_mcap_protobufConvert custom MCAP Protobuf messages to Rerun format🐍

Types

Archetypes

All snippets, organized by the Archetype(s) they use.

ArchetypeSnippetDescriptionPythonRustC+⁠+
AnnotationContexttutorials⁠/⁠annotation_context🐍🦀🌊
AnnotationContextarchetypes⁠/⁠annotation_context_segmentationLog a segmentation image with annotations🐍🦀🌊
AnnotationContextarchetypes⁠/⁠annotation_context_rects🐍🦀🌊
AnnotationContextarchetypes⁠/⁠annotation_context_connectionsLog annotation context with connections between keypoints🐍🦀🌊
AnnotationContextarchetypes⁠/⁠segmentation_image_simpleCreate and log a segmentation image🐍🦀🌊
Arrows2Darchetypes⁠/⁠arrows2d_simpleLog a batch of 2D arrows🐍🦀🌊
Arrows3Darchetypes⁠/⁠arrows3d_simpleLog a batch of 3D arrows🐍🦀🌊
Arrows3Darchetypes⁠/⁠arrows3d_row_updatesUpdate a set of vectors over time🐍🦀🌊
Arrows3Darchetypes⁠/⁠arrows3d_column_updatesUpdate a set of vectors over time, in a single operation🐍🦀🌊
Arrows3Darchetypes⁠/⁠clear_recursiveLog and then clear data recursively🐍🦀🌊
Arrows3Darchetypes⁠/⁠clear_simpleLog and then clear data🐍🦀🌊
Arrows3Darchetypes⁠/⁠transform3d_simpleLog different transforms between three arrows🐍🦀🌊
Arrows3Darchetypes⁠/⁠view_coordinates_simpleChange the view coordinates for the scene🐍🦀🌊
Asset3Darchetypes⁠/⁠asset3d_simpleLog a simple 3D asset🐍🦀🌊
AssetVideoarchetypes⁠/⁠video_auto_framesLog a video asset using automatically determined frame references🐍🦀🌊
AssetVideoarchetypes⁠/⁠video_manual_framesManual use of individual video frame references🐍🦀🌊
BarChartviews⁠/⁠bar_chartUse a blueprint to show a bar chart🐍
BarChartarchetypes⁠/⁠bar_chartCreate and log a bar chart🐍🦀🌊
Boxes2Darchetypes⁠/⁠boxes2d_simpleLog a simple 2D Box🐍🦀🌊
Boxes2Darchetypes⁠/⁠annotation_context_rects🐍🦀🌊
Boxes2Darchetypes⁠/⁠entity_behaviorConfigure interactivity & visibility of entities🐍
Boxes2Dconcepts⁠/⁠viscomp-baseBase example🐍
Boxes2Dconcepts⁠/⁠viscomp-component-defaultAdd a component default🐍
Boxes2Dconcepts⁠/⁠viscomp-component-overrideOverride a component🐍
Boxes2Dtutorials⁠/⁠data_out🐍
Boxes3Darchetypes⁠/⁠boxes3d_simpleLog a single 3D Box🐍🦀🌊
Boxes3Darchetypes⁠/⁠boxes3d_batchLog a batch of oriented bounding boxes🐍🦀🌊
Boxes3Darchetypes⁠/⁠coordinate_frame_builtin_framesDemonstrates using explicit CoordinateFrame with implicit transform frames only🐍🦀🌊
Boxes3Darchetypes⁠/⁠instance_poses3d_combinedLog a simple 3D box with a regular & instance pose transform🐍🦀🌊
Boxes3Darchetypes⁠/⁠mesh3d_instancingLog a simple 3D mesh with several instance pose transforms which instantiate the mesh several times and will not affect its children (known as mesh instancing)🐍🦀🌊
Boxes3Darchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Boxes3Darchetypes⁠/⁠transform3d_column_updatesUpdate a transform over time, in a single operation🐍🦀🌊
Boxes3Darchetypes⁠/⁠transform3d_partial_updatesUpdate specific properties of a transform over time🐍🦀🌊
Boxes3Darchetypes⁠/⁠transform3d_row_updatesUpdate a transform over time🐍🦀🌊
Boxes3Dhowto⁠/⁠serve_web_viewerDemonstrates how to log data to a gRPC server and connect the web viewer to it🐍🦀
Boxes3Dviews⁠/⁠spatial3dUse a blueprint to customize a Spatial3DView🐍
Capsules3Darchetypes⁠/⁠capsules3d_batchLog a batch of capsules🐍🦀🌊
Cleararchetypes⁠/⁠clear_simpleLog and then clear data🐍🦀🌊
Cleararchetypes⁠/⁠clear_recursiveLog and then clear data recursively🐍🦀🌊
Cleararchetypes⁠/⁠transform3d_partial_updatesUpdate specific properties of a transform over time🐍🦀🌊
CoordinateFramearchetypes⁠/⁠coordinate_frame_builtin_framesDemonstrates using explicit CoordinateFrame with implicit transform frames only🐍🦀🌊
CoordinateFramearchetypes⁠/⁠transform3d_hierarchy_framesLogs a transform hierarchy using named transform frame relationships🐍🦀🌊
CoordinateFrameconcepts⁠/⁠transform3d_hierarchy_named_framesLogs a simple transform hierarchy with named frames🐍🦀🌊
CoordinateFramehowto⁠/⁠convert_mcap_protobufConvert custom MCAP Protobuf messages to Rerun format🐍
CoordinateFramehowto⁠/⁠convert_mcap_protobuf_send_columnConvert custom MCAP Protobuf messages to Rerun format using send_columns🐍
Cylinders3Darchetypes⁠/⁠cylinders3d_batchLog a batch of cylinders🐍🦀🌊
DepthImagearchetypes⁠/⁠depth_image_simpleCreate and log a depth image🐍🦀🌊
DepthImagearchetypes⁠/⁠depth_image_3dCreate and log a depth image and pinhole camera🐍🦀🌊
Ellipsoids3Darchetypes⁠/⁠ellipsoids3d_simpleLog random points and the corresponding covariance ellipsoid🐍🦀🌊
Ellipsoids3Darchetypes⁠/⁠ellipsoids3d_batchLog a batch of ellipsoids🐍🦀🌊
Ellipsoids3Darchetypes⁠/⁠transform3d_hierarchyLogs a transform hierarchy🐍🦀🌊
Ellipsoids3Darchetypes⁠/⁠transform3d_hierarchy_framesLogs a transform hierarchy using named transform frame relationships🐍🦀🌊
Ellipsoids3Dconcepts⁠/⁠transform3d_hierarchy_named_framesLogs a simple transform hierarchy with named frames🐍🦀🌊
Ellipsoids3Dconcepts⁠/⁠transform3d_hierarchy_simpleLogs a simple transform hierarchy🐍🦀🌊
EncodedDepthImagearchetypes⁠/⁠encoded_depth_imageLog an encoded depth image stored as a 16-bit PNG or RVL file🐍🦀🌊
EncodedImagearchetypes⁠/⁠encoded_imageCreate and log an image🐍🦀🌊
EncodedImagearchetypes⁠/⁠image_advancedLog an image🐍
GeoLineStringsarchetypes⁠/⁠geo_line_strings_simpleLog a simple geospatial line string🐍🦀🌊
GeoPointsarchetypes⁠/⁠geo_points_simpleLog some very simple geospatial point🐍🦀🌊
GeoPointsconcepts⁠/⁠query-and-transform⁠/⁠segment_propertiesQuery and display the first 10 rows of a recording🐍
GeoPointsviews⁠/⁠mapUse a blueprint to customize a map view🐍
GraphEdgesarchetypes⁠/⁠graph_directedLog a simple directed graph🐍🦀🌊
GraphEdgesarchetypes⁠/⁠graph_undirectedLog a simple undirected graph🐍🦀🌊
GraphNodesarchetypes⁠/⁠graph_directedLog a simple directed graph🐍🦀🌊
GraphNodesarchetypes⁠/⁠graph_undirectedLog a simple undirected graph🐍🦀🌊
GraphNodesviews⁠/⁠graphUse a blueprint to customize a graph view🐍
Imagearchetypes⁠/⁠image_simpleCreate and log an image🐍🦀🌊
Imagearchetypes⁠/⁠image_row_updatesUpdate an image over time🐍🦀🌊
Imagearchetypes⁠/⁠image_formatsCreate and log an image with various formats🐍🦀🌊
Imagearchetypes⁠/⁠image_advancedLog an image🐍
Imagearchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Imagearchetypes⁠/⁠pinhole_simpleLog a pinhole and a random image🐍🦀🌊
Imagearchetypes⁠/⁠text_documentLog a TextDocument🐍🦀🌊
Imagehowto⁠/⁠query_imagesQuery various image representations🐍
Imageviews⁠/⁠text_documentUse a blueprint to show a text document🐍
InstancePoses3Darchetypes⁠/⁠instance_poses3d_combinedLog a simple 3D box with a regular & instance pose transform🐍🦀🌊
InstancePoses3Darchetypes⁠/⁠mesh3d_instancingLog a simple 3D mesh with several instance pose transforms which instantiate the mesh several times and will not affect its children (known as mesh instancing)🐍🦀🌊
LineStrips2Darchetypes⁠/⁠line_strips2d_ui_radiusLog lines with ui points & scene unit radii🐍🦀🌊
LineStrips2Darchetypes⁠/⁠line_strips2d_simpleLog a simple line strip🐍🦀🌊
LineStrips2Darchetypes⁠/⁠line_strips2d_segments_simpleLog a couple 2D line segments using 2D line strips🐍🦀🌊
LineStrips2Darchetypes⁠/⁠line_strips2d_batchLog a batch of 2D line strips🐍🦀🌊
LineStrips2Darchetypes⁠/⁠entity_behaviorConfigure interactivity & visibility of entities🐍
LineStrips3Darchetypes⁠/⁠line_strips3d_ui_radiusLog lines with ui points & scene unit radii🐍🦀🌊
LineStrips3Darchetypes⁠/⁠line_strips3d_simpleLog a simple line strip🐍🦀🌊
LineStrips3Darchetypes⁠/⁠line_strips3d_segments_simple🐍🦀🌊
LineStrips3Darchetypes⁠/⁠line_strips3d_batchLog a batch of 3D line strips🐍🦀🌊
LineStrips3Darchetypes⁠/⁠transform3d_hierarchyLogs a transform hierarchy🐍🦀🌊
LineStrips3Darchetypes⁠/⁠transform3d_hierarchy_framesLogs a transform hierarchy using named transform frame relationships🐍🦀🌊
McapChannelarchetypes⁠/⁠mcap_channel_simpleLog a simple MCAP channel definition🐍🦀🌊
McapMessagearchetypes⁠/⁠mcap_message_simpleLog a simple MCAP message with binary data🐍🦀🌊
McapMessagehowto⁠/⁠convert_mcap_protobufConvert custom MCAP Protobuf messages to Rerun format🐍
McapMessagehowto⁠/⁠convert_mcap_protobuf_send_columnConvert custom MCAP Protobuf messages to Rerun format using send_columns🐍
McapSchemaarchetypes⁠/⁠mcap_schema_simpleLog a simple MCAP schema definition🐍🦀🌊
McapStatisticsarchetypes⁠/⁠mcap_statistics_simpleLog simple MCAP recording statistics🐍🦀🌊
Mesh3Darchetypes⁠/⁠mesh3d_simpleLog a simple colored triangle🐍🦀🌊
Mesh3Darchetypes⁠/⁠mesh3d_partial_updatesLog a simple colored triangle, then update its vertices' positions each frame🐍🦀🌊
Mesh3Darchetypes⁠/⁠mesh3d_instancingLog a simple 3D mesh with several instance pose transforms which instantiate the mesh several times and will not affect its children (known as mesh instancing)🐍🦀🌊
Mesh3Darchetypes⁠/⁠mesh3d_indexedLog a simple colored triangle🐍🦀🌊
Pinholearchetypes⁠/⁠pinhole_simpleLog a pinhole and a random image🐍🦀🌊
Pinholearchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Pinholearchetypes⁠/⁠pinhole_perspectiveLogs a point cloud and a perspective camera looking at it🐍🦀🌊
Pinholearchetypes⁠/⁠depth_image_3dCreate and log a depth image and pinhole camera🐍🦀🌊
Pinholehowto⁠/⁠convert_mcap_protobufConvert custom MCAP Protobuf messages to Rerun format🐍
Pinholehowto⁠/⁠convert_mcap_protobuf_send_columnConvert custom MCAP Protobuf messages to Rerun format using send_columns🐍
Points2Darchetypes⁠/⁠points2d_ui_radiusLog some points with ui points & scene unit radii🐍🦀🌊
Points2Darchetypes⁠/⁠points2d_simpleLog some very simple points🐍🦀🌊
Points2Darchetypes⁠/⁠points2d_randomLog some random points with color and radii🐍🦀🌊
Points2Darchetypes⁠/⁠entity_behaviorConfigure interactivity & visibility of entities🐍
Points2Dconcepts⁠/⁠different_data_per_timelineLog different data on different timelines🐍🦀🌊
Points2Dconcepts⁠/⁠indicesSet different types of indices🐍🦀🌊
Points2Dconcepts⁠/⁠query-and-transform⁠/⁠segment_propertiesQuery and display the first 10 rows of a recording🐍
Points2Dtutorials⁠/⁠extra_valuesLog extra values with a Points2D🐍🦀🌊
Points2Dviews⁠/⁠spatial2dUse a blueprint to customize a Spatial2DView🐍
Points3Darchetypes⁠/⁠points3d_ui_radiusLog some points with ui points & scene unit radii🐍🦀🌊
Points3Darchetypes⁠/⁠points3d_simpleLog some very simple points🐍🦀🌊
Points3Darchetypes⁠/⁠points3d_row_updatesUpdate a point cloud over time🐍🦀🌊
Points3Darchetypes⁠/⁠points3d_randomLog some random points with color and radii🐍🦀🌊
Points3Darchetypes⁠/⁠points3d_partial_updatesUpdate specific properties of a point cloud over time🐍🦀🌊
Points3Darchetypes⁠/⁠points3d_column_updatesUpdate a point cloud over time, in a single operation🐍🦀🌊
Points3Darchetypes⁠/⁠annotation_context_connectionsLog annotation context with connections between keypoints🐍🦀🌊
Points3Darchetypes⁠/⁠coordinate_frame_builtin_framesDemonstrates using explicit CoordinateFrame with implicit transform frames only🐍🦀🌊
Points3Darchetypes⁠/⁠ellipsoids3d_simpleLog random points and the corresponding covariance ellipsoid🐍🦀🌊
Points3Darchetypes⁠/⁠instance_poses3d_combinedLog a simple 3D box with a regular & instance pose transform🐍🦀🌊
Points3Darchetypes⁠/⁠pinhole_perspectiveLogs a point cloud and a perspective camera looking at it🐍🦀🌊
Points3Darchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Points3Dconcepts⁠/⁠explicit_recordingJust makes sure that explicit recordings actually work🐍
Points3Dconcepts⁠/⁠how_helix_was_logged🐍
Points3Dconcepts⁠/⁠recording_propertiesSets the recording properties🐍🦀🌊
Points3Ddescriptors⁠/⁠descr_builtin_archetype🐍🦀🌊
Points3Dhowto⁠/⁠dual_color_point_cloudDemonstrates how to visualize the same point cloud with two different color schemes🐍🦀
Points3Dhowto⁠/⁠set_sinksLog some data to a file and a Viewer at the same time🐍🦀🌊
Points3Dquick_start⁠/⁠quick_start_connectConnect to the viewer and log some data🐍🦀🌊
Points3Dquick_start⁠/⁠quick_start_spawnSpawn a viewer and log some data🐍🦀🌊
Points3Dtutorials⁠/⁠timelines_example🐍🦀🌊
Points3Dviews⁠/⁠spatial3dUse a blueprint to customize a Spatial3DView🐍
Scalarsarchetypes⁠/⁠scalars_simpleLog a scalar over time🐍🦀🌊
Scalarsarchetypes⁠/⁠scalars_row_updatesUpdate a scalar over time🐍🦀🌊
Scalarsarchetypes⁠/⁠scalars_multiple_plotsLog a scalar over time🐍🦀🌊
Scalarsarchetypes⁠/⁠scalars_column_updatesUpdate a scalar over time, in a single operation🐍🦀🌊
Scalarsarchetypes⁠/⁠series_lines_styleLog a scalar over time🐍🦀🌊
Scalarsarchetypes⁠/⁠series_points_styleLog a scalar over time🐍🦀🌊
Scalarsconcepts⁠/⁠query-and-transform⁠/⁠dataframe_query_exampleQuery and display the first 10 rows of a recording🐍
Scalarshowto⁠/⁠component_mappingDemonstrates how to configure visualizer component mappings from blueprint🐍🦀
Scalarstutorials⁠/⁠fixed_window_plot🐍
Scalarstutorials⁠/⁠visualizer-overridesLog a scalar over time and override the visualizer🐍
Scalarsviews⁠/⁠dataframeUse a blueprint to customize a DataframeView🐍
Scalarsviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍
SegmentationImagearchetypes⁠/⁠segmentation_image_simpleCreate and log a segmentation image🐍🦀🌊
SegmentationImagearchetypes⁠/⁠annotation_context_segmentationLog a segmentation image with annotations🐍🦀🌊
SeriesLinesarchetypes⁠/⁠series_lines_styleLog a scalar over time🐍🦀🌊
SeriesLinesarchetypes⁠/⁠scalars_multiple_plotsLog a scalar over time🐍🦀🌊
SeriesLineshowto⁠/⁠component_mappingDemonstrates how to configure visualizer component mappings from blueprint🐍🦀
SeriesLinestutorials⁠/⁠visualizer-overridesLog a scalar over time and override the visualizer🐍
SeriesLinesviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍
SeriesPointsarchetypes⁠/⁠series_points_styleLog a scalar over time🐍🦀🌊
SeriesPointsarchetypes⁠/⁠scalars_multiple_plotsLog a scalar over time🐍🦀🌊
SeriesPointstutorials⁠/⁠visualizer-overridesLog a scalar over time and override the visualizer🐍
Tensorviews⁠/⁠tensorUse a blueprint to show a tensor view🐍
Tensorarchetypes⁠/⁠tensor_simpleCreate and log a tensor🐍🦀🌊
TextDocumentviews⁠/⁠text_documentUse a blueprint to show a text document🐍
TextDocumentarchetypes⁠/⁠text_documentLog a TextDocument🐍🦀🌊
TextDocumentarchetypes⁠/⁠entity_path🐍🦀🌊
TextDocumenthowto⁠/⁠lerobot_exportDemonstrate converting Rerun recording to LeRobot dataset🐍
TextLogviews⁠/⁠text_logUse a blueprint to show a text log🐍
TextLogarchetypes⁠/⁠text_log_integrationShows integration of Rerun's TextLog with the native logging interface🐍🦀🌊
TextLogarchetypes⁠/⁠text_log🐍🦀🌊
TextLogconcepts⁠/⁠how-does-rerun-work⁠/⁠log-to-grpc🐍🦀🌊
TextLogconcepts⁠/⁠how-does-rerun-work⁠/⁠log-to-rrd🐍🦀🌊
TextLoghowto⁠/⁠micro_batchingShows how to configure micro-batching directly from code🐍🦀
Transform3Dconcepts⁠/⁠transform3d_hierarchy_simpleLogs a simple transform hierarchy🐍🦀🌊
Transform3Dconcepts⁠/⁠transform3d_hierarchy_named_framesLogs a simple transform hierarchy with named frames🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_simpleLog different transforms between three arrows🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_row_updatesUpdate a transform over time🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_partial_updatesUpdate specific properties of a transform over time🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_hierarchy_framesLogs a transform hierarchy using named transform frame relationships🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_hierarchyLogs a transform hierarchy🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_column_updatesUpdate a transform over time, in a single operation🐍🦀🌊
Transform3Darchetypes⁠/⁠transform3d_axesLog different transforms with visualized coordinates axes🐍🦀🌊
Transform3Darchetypes⁠/⁠coordinate_frame_builtin_framesDemonstrates using explicit CoordinateFrame with implicit transform frames only🐍🦀🌊
Transform3Darchetypes⁠/⁠instance_poses3d_combinedLog a simple 3D box with a regular & instance pose transform🐍🦀🌊
Transform3Darchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Transform3Dhowto⁠/⁠convert_mcap_protobufConvert custom MCAP Protobuf messages to Rerun format🐍
Transform3Dhowto⁠/⁠convert_mcap_protobuf_send_columnConvert custom MCAP Protobuf messages to Rerun format using send_columns🐍
Transform3Dhowto⁠/⁠load_urdf🐍
TransformAxes3Darchetypes⁠/⁠transform3d_axesLog different transforms with visualized coordinates axes🐍🦀🌊
TransformAxes3Darchetypes⁠/⁠transform3d_column_updatesUpdate a transform over time, in a single operation🐍🦀🌊
TransformAxes3Darchetypes⁠/⁠transform3d_row_updatesUpdate a transform over time🐍🦀🌊
VideoFrameReferencearchetypes⁠/⁠video_auto_framesLog a video asset using automatically determined frame references🐍🦀🌊
VideoFrameReferencearchetypes⁠/⁠video_manual_framesManual use of individual video frame references🐍🦀🌊
VideoStreamarchetypes⁠/⁠video_stream_syntheticVideo encode images using av and stream them to Rerun🐍
VideoStreamhowto⁠/⁠convert_mcap_protobufConvert custom MCAP Protobuf messages to Rerun format🐍
VideoStreamhowto⁠/⁠convert_mcap_protobuf_send_columnConvert custom MCAP Protobuf messages to Rerun format using send_columns🐍
VideoStreamhowto⁠/⁠lerobot_exportDemonstrate converting Rerun recording to LeRobot dataset🐍
ViewCoordinatesarchetypes⁠/⁠view_coordinates_simpleChange the view coordinates for the scene🐍🦀🌊
ViewCoordinatesarchetypes⁠/⁠asset3d_simpleLog a simple 3D asset🐍🦀🌊
ViewCoordinatesarchetypes⁠/⁠pinhole_perspectiveLogs a point cloud and a perspective camera looking at it🐍🦀🌊
ViewCoordinatesarchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
ViewCoordinatesarchetypes⁠/⁠transform3d_hierarchyLogs a transform hierarchy🐍🦀🌊
ViewCoordinatesarchetypes⁠/⁠transform3d_hierarchy_framesLogs a transform hierarchy using named transform frame relationships🐍🦀🌊

Views (blueprint)

All snippets, organized by the View(s) they use.

ComponentSnippetDescriptionPythonRustC+⁠+
BarChartViewtutorials⁠/⁠visualization⁠/⁠save_blueprintCraft an example blueprint with the python API and save it to a file for future use🐍
BarChartViewviews⁠/⁠bar_chartUse a blueprint to show a bar chart🐍
DataframeViewreference⁠/⁠dataframe_view_queryQuery and display the first 10 rows of a recording in a dataframe view🐍
DataframeViewviews⁠/⁠dataframeUse a blueprint to customize a DataframeView🐍
GraphViewviews⁠/⁠graphUse a blueprint to customize a graph view🐍
MapViewviews⁠/⁠mapUse a blueprint to customize a map view🐍
Spatial2DViewarchetypes⁠/⁠entity_behaviorConfigure interactivity & visibility of entities🐍
Spatial2DViewarchetypes⁠/⁠line_strips2d_batchLog a batch of 2D line strips🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠line_strips2d_segments_simpleLog a couple 2D line segments using 2D line strips🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠line_strips2d_simpleLog a simple line strip🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠line_strips2d_ui_radiusLog lines with ui points & scene unit radii🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Spatial2DViewarchetypes⁠/⁠points2d_randomLog some random points with color and radii🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠points2d_simpleLog some very simple points🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠points2d_ui_radiusLog some points with ui points & scene unit radii🐍🦀🌊
Spatial2DViewarchetypes⁠/⁠video_manual_framesManual use of individual video frame references🐍🦀🌊
Spatial2DViewconcepts⁠/⁠different_data_per_timelineLog different data on different timelines🐍🦀🌊
Spatial2DViewconcepts⁠/⁠viscomp-baseBase example🐍
Spatial2DViewconcepts⁠/⁠viscomp-component-defaultAdd a component default🐍
Spatial2DViewconcepts⁠/⁠viscomp-component-overrideOverride a component🐍
Spatial2DViewtutorials⁠/⁠extra_valuesLog extra values with a Points2D🐍🦀🌊
Spatial2DViewviews⁠/⁠spatial2dUse a blueprint to customize a Spatial2DView🐍
Spatial3DViewarchetypes⁠/⁠pinhole_projectionsDemonstrates pinhole camera projections with Rerun blueprints🐍
Spatial3DViewarchetypes⁠/⁠transform3d_hierarchyLogs a transform hierarchy🐍🦀🌊
Spatial3DViewhowto⁠/⁠dual_color_point_cloudDemonstrates how to visualize the same point cloud with two different color schemes🐍🦀
Spatial3DViewhowto⁠/⁠screenshotTake screenshots of the viewer or specific views from code🐍
Spatial3DViewviews⁠/⁠spatial3dUse a blueprint to customize a Spatial3DView🐍
TensorViewviews⁠/⁠tensorUse a blueprint to show a tensor view🐍
TextDocumentViewtutorials⁠/⁠visualization⁠/⁠save_blueprintCraft an example blueprint with the python API and save it to a file for future use🐍
TextDocumentViewviews⁠/⁠text_documentUse a blueprint to show a text document🐍
TextLogViewviews⁠/⁠text_logUse a blueprint to show a text log🐍
TimeSeriesViewhowto⁠/⁠component_mappingDemonstrates how to configure visualizer component mappings from blueprint🐍🦀
TimeSeriesViewhowto⁠/⁠visualization⁠/⁠save_blueprintCraft a blueprint with the python API and save it to a file for future use🐍
TimeSeriesViewtutorials⁠/⁠fixed_window_plot🐍
TimeSeriesViewtutorials⁠/⁠visualization⁠/⁠save_blueprintCraft an example blueprint with the python API and save it to a file for future use🐍
TimeSeriesViewtutorials⁠/⁠visualizer-overridesLog a scalar over time and override the visualizer🐍
TimeSeriesViewviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍

Archetypes (blueprint)

All snippets, organized by the blueprint-related Archetype(s) they use.

ArchetypeSnippetDescriptionPythonRustC+⁠+
Backgroundtutorials⁠/⁠annotation_context🐍🦀🌊
DataframeQueryreference⁠/⁠dataframe_view_queryQuery and display the first 10 rows of a recording in a dataframe view🐍
DataframeQueryviews⁠/⁠dataframeUse a blueprint to customize a DataframeView🐍
EntityBehaviorarchetypes⁠/⁠entity_behaviorConfigure interactivity & visibility of entities🐍
EyeControls3Dviews⁠/⁠spatial3dUse a blueprint to customize a Spatial3DView🐍
GraphBackgroundviews⁠/⁠graphUse a blueprint to customize a graph view🐍
LineGrid3Dviews⁠/⁠spatial3dUse a blueprint to customize a Spatial3DView🐍
PlotBackgroundviews⁠/⁠bar_chartUse a blueprint to show a bar chart🐍
PlotBackgroundviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍
PlotLegendviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍
ScalarAxisviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍
SpatialInformationviews⁠/⁠spatial3dUse a blueprint to customize a Spatial3DView🐍
TensorScalarMappingviews⁠/⁠tensorUse a blueprint to show a tensor view🐍
TensorSliceSelectionviews⁠/⁠tensorUse a blueprint to show a tensor view🐍
TextLogColumnsviews⁠/⁠text_logUse a blueprint to show a text log🐍
TextLogFormatviews⁠/⁠text_logUse a blueprint to show a text log🐍
TextLogRowsviews⁠/⁠text_logUse a blueprint to show a text log🐍
TimeAxisviews⁠/⁠timeseriesUse a blueprint to customize a TimeSeriesView🐍
VisualBounds2Darchetypes⁠/⁠line_strips2d_batchLog a batch of 2D line strips🐍🦀🌊
VisualBounds2Darchetypes⁠/⁠line_strips2d_segments_simpleLog a couple 2D line segments using 2D line strips🐍🦀🌊
VisualBounds2Darchetypes⁠/⁠line_strips2d_simpleLog a simple line strip🐍🦀🌊
VisualBounds2Darchetypes⁠/⁠line_strips2d_ui_radiusLog lines with ui points & scene unit radii🐍🦀🌊
VisualBounds2Darchetypes⁠/⁠points2d_randomLog some random points with color and radii🐍🦀🌊
VisualBounds2Darchetypes⁠/⁠points2d_simpleLog some very simple points🐍🦀🌊
VisualBounds2Darchetypes⁠/⁠points2d_ui_radiusLog some points with ui points & scene unit radii🐍🦀🌊
VisualBounds2Dconcepts⁠/⁠different_data_per_timelineLog different data on different timelines🐍🦀🌊
VisualBounds2Dtutorials⁠/⁠extra_valuesLog extra values with a Points2D🐍🦀🌊
VisualBounds2Dviews⁠/⁠graphUse a blueprint to customize a graph view🐍
VisualBounds2Dviews⁠/⁠spatial2dUse a blueprint to customize a Spatial2DView🐍