-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into antoine/dataframe-instance-expansion
- Loading branch information
Showing
85 changed files
with
2,472 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
...es/definitions/rerun/archetypes/video.fbs → ...initions/rerun/archetypes/asset_video.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
crates/store/re_types/definitions/rerun/archetypes/video_frame_reference.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
namespace rerun.archetypes; | ||
|
||
/// References a single video frame. | ||
/// | ||
/// Used to display video frames from a [archetypes.AssetVideo]. | ||
// TODO(#7368): More docs and examples on how to use this. | ||
table VideoFrameReference ( | ||
"attr.rerun.experimental" | ||
){ | ||
// --- Required --- | ||
|
||
/// References the closest video frame to this timestamp. | ||
/// | ||
/// Note that this uses the closest video frame instead of the latest at this timestamp | ||
/// in order to be more forgiving of rounding errors for inprecise timestamp types. | ||
timestamp: rerun.components.VideoTimestamp ("attr.rerun.component_required", required, order: 1000); | ||
|
||
// --- Optional --- | ||
|
||
/// Optional reference to an entity with a [archetypes.AssetVideo]. | ||
/// | ||
/// If none is specified, the video is assumed to be at the same entity. | ||
/// Note that blueprint overrides on the referenced video will be ignored regardless, | ||
/// as this is always interpreted as a reference to the data store. | ||
video_reference: rerun.components.EntityPath ("attr.rerun.component_optional", nullable, order: 2000); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
crates/store/re_types/definitions/rerun/components/entity_path.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace rerun.components; | ||
|
||
/// A path to an entity, usually to reference some data that is part of the target entity. | ||
table EntityPath ( | ||
"attr.arrow.transparent", | ||
"attr.python.aliases": "str", | ||
"attr.python.array_aliases": "str, Sequence[str]", | ||
"attr.rust.derive": "Default, PartialEq, Eq, PartialOrd, Ord", | ||
"attr.rust.repr": "transparent" | ||
) { | ||
value: rerun.datatypes.EntityPath (order: 100); | ||
} |
11 changes: 11 additions & 0 deletions
11
crates/store/re_types/definitions/rerun/components/video_timestamp.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
namespace rerun.components; | ||
|
||
/// Timestamp inside a [archetypes.AssetVideo]. | ||
struct VideoTimestamp ( | ||
"attr.rust.derive": "Copy, PartialEq, Eq, Default", | ||
"attr.rust.repr": "transparent", | ||
"attr.rerun.experimental" | ||
) { | ||
timestamp: rerun.datatypes.VideoTimestamp (order: 100); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
crates/store/re_types/definitions/rerun/datatypes/video_timestamp.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
namespace rerun.datatypes; | ||
|
||
/// Specifies how to interpret the `video_time` field of a [datatypes.VideoTimestamp]. | ||
enum VideoTimeMode: ubyte{ | ||
/// Invalid value. Won't show up in generated types. | ||
Invalid = 0, | ||
|
||
/// Presentation timestamp in nanoseconds since the beginning of the video. | ||
Nanoseconds = 1 (default), | ||
|
||
// Future values: FrameNr | ||
} | ||
|
||
/// Timestamp inside a [archetypes.AssetVideo]. | ||
struct VideoTimestamp ( | ||
"attr.rust.derive": "Copy, PartialEq, Eq", | ||
"attr.rerun.experimental" | ||
) { | ||
/// Timestamp value, type defined by `time_mode`. | ||
video_time: long (order: 100); | ||
|
||
/// How to interpret `video_time`. | ||
time_mode: VideoTimeMode (order: 200); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.