Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ table SpatialInformation (
/// Defaults to the coordinate frame used by the space origin entity.
target_frame: rerun.components.TransformFrameId ("attr.rerun.component_optional", order: 50);

/// Determines which time is used to resolve entity transforms.
///
/// Defaults to resolving every transform at the global time cursor.
transform_resolution_mode: rerun.blueprint.components.TransformResolutionMode ("attr.rerun.component_optional", nullable, order: 60);

/// The local component identifier whose timestamp anchors component-time transform resolution.
///
/// If this component isn't configured or isn't present on an entity, that entity falls back to
/// transform resolution at the global time cursor.
transform_time_component: rerun.blueprint.components.TransformTimeComponent ("attr.rerun.component_optional", nullable, order: 70);

/// Whether the bounding box should be shown.
// TODO(andreas): Make this an enum so the user can choose between showing bounding boxes,
// regions of interest, or per-entity bounding boxes.
Expand Down

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
namespace rerun.blueprint.components;

/// Determines which time is used to resolve entity transforms in a spatial view.
enum TransformResolutionMode: ubyte (
"attr.rerun.scope": "blueprint"
) {
/// Invalid value. Won't show up in generated types.
Invalid = 0,

/// Resolve all transforms at the global time cursor.
///
/// This is Rerun's default behavior.
GlobalTimeCursor (default),

/// Resolve each entity's transform at the latest timestamp of a configured component.
///
/// The component is configured by [components.TransformTimeComponent].
ComponentTime,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace rerun.blueprint.components;

/// The local component identifier whose timestamp anchors transform resolution for an entity.
///
/// For example, `Points3D:positions` anchors a point cloud's transform to the time at which its
/// positions were logged.
table TransformTimeComponent (
"attr.arrow.transparent",
"attr.python.aliases": "str",
"attr.python.array_aliases": "str | Sequence[str]",
"attr.rust.derive": "PartialEq, Eq, PartialOrd, Ord, Hash",
"attr.rust.repr": "transparent",
"attr.rerun.scope": "blueprint"
) {
value: rerun.datatypes.Utf8 (order: 100);
}

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

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

4 changes: 4 additions & 0 deletions crates/store/re_sdk_types/src/blueprint/components/mod.rs

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

Loading
Loading