Skip to content

Commit

Permalink
Eagerly serialized, partially updatable 2D & 3D line strips (#8650)
Browse files Browse the repository at this point in the history
This PR makes `LineStrips2D` and `LineStrips3D` eagerly serialized and
partially update-able.

This demonstrates how to migrate an archetype in the simple case.

* DNM: requires #8649  
* Part of #8581
  • Loading branch information
teh-cmc authored Jan 13, 2025
1 parent e905439 commit e26d858
Show file tree
Hide file tree
Showing 6 changed files with 261 additions and 351 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace rerun.archetypes;
/// \example archetypes/line_strips2d_batch image="https://static.rerun.io/line_strip2d_batch/c6f4062bcf510462d298a5dfe9fdbe87c754acee/1200w.png"
/// \example archetypes/line_strips2d_ui_radius title="Lines with scene & UI radius each" image="https://static.rerun.io/line_strip2d_ui_radius/d3d7d5bd36278564ee37e2ed6932963ec16f5131/1200w.png
table LineStrips2D (
"attr.rust.archetype_eager": "",
"attr.rust.derive": "PartialEq",
"attr.docs.category": "Spatial 2D",
"attr.docs.view_types": "Spatial2DView, Spatial3DView: if logged under a projection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace rerun.archetypes;
/// \example archetypes/line_strips3d_batch title="Many strips" image="https://static.rerun.io/line_strip3d_batch/15e8ff18a6c95a3191acb0eae6eb04adea3b4874/1200w.png"
/// \example archetypes/line_strips3d_ui_radius title="Lines with scene & UI radius each" image="https://static.rerun.io/line_strip3d_ui_radius/36b98f47e45747b5a3601511ff39b8d74c61d120/1200w.png"
table LineStrips3D (
"attr.rust.archetype_eager": "",
"attr.rust.derive": "PartialEq",
"attr.docs.category": "Spatial 3D",
"attr.docs.view_types": "Spatial3DView, Spatial2DView: if logged above active projection"
Expand Down
266 changes: 104 additions & 162 deletions crates/store/re_types/src/archetypes/line_strips2d.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e26d858

Please sign in to comment.