-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
184 changed files
with
3,795 additions
and
4,687 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
43 changes: 43 additions & 0 deletions
43
crates/store/re_types/definitions/rerun/archetypes/leaf_transforms3d.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,43 @@ | ||
namespace rerun.archetypes; | ||
|
||
|
||
/// One or more transforms between the parent and the current entity which are *not* propagated in the transform hierarchy. | ||
/// | ||
/// For transforms that are propagated in the transform hierarchy, see [archetypes.Transform3D]. | ||
/// | ||
/// If both [archetypes.LeafTransforms3D] and [archetypes.Transform3D] are present, | ||
/// first the tree propagating [archetypes.Transform3D] is applied, then [archetypes.LeafTransforms3D]. | ||
/// | ||
/// Currently, most visualizers support only a single leaf transform per entity. | ||
/// Check archetype documentations for details - if not otherwise specified, only the first leaf transform is applied. | ||
/// | ||
/// From the point of view of the entity's coordinate system, | ||
/// all components are applied in the inverse order they are listed here. | ||
/// E.g. if both a translation and a max3x3 transform are present, | ||
/// the 3x3 matrix is applied first, followed by the translation. | ||
/// | ||
/// \example archetypes/leaf_transforms3d_combined title="Regular & leaf transform in tandom" image="https://static.rerun.io/leaf_transform3d/41674f0082d6de489f8a1cd1583f60f6b5820ddf/1200w.png" | ||
table LeafTransforms3D ( | ||
"attr.rust.derive": "Default, PartialEq", | ||
"attr.rust.generate_field_info", | ||
"attr.docs.category": "Spatial 3D", | ||
"attr.docs.view_types": "Spatial3DView, Spatial2DView: if logged above active projection" | ||
) { | ||
/// Translation vectors. | ||
translations: [rerun.components.LeafTranslation3D] ("attr.rerun.component_optional", nullable, order: 1100); | ||
|
||
/// Rotations via axis + angle. | ||
rotation_axis_angles: [rerun.components.LeafRotationAxisAngle] ("attr.rerun.component_optional", nullable, order: 1200); | ||
|
||
/// Rotations via quaternion. | ||
quaternions: [rerun.components.LeafRotationQuat] ("attr.rerun.component_optional", nullable, order: 1300); | ||
|
||
/// Scaling factors. | ||
scales: [rerun.components.LeafScale3D] ("attr.rerun.component_optional", nullable, order: 1400); | ||
|
||
/// 3x3 transformation matrices. | ||
mat3x3: [rerun.components.LeafTransformMat3x3] ("attr.rerun.component_optional", nullable, order: 1500); | ||
|
||
// TODO(andreas): Support TransformRelation? | ||
// TODO(andreas): Support axis_length? | ||
} |
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.
13 changes: 0 additions & 13 deletions
13
crates/store/re_types/definitions/rerun/components/out_of_tree_transform3d.fbs
This file was deleted.
Oops, something went wrong.
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
11 changes: 0 additions & 11 deletions
11
crates/store/re_types/definitions/rerun/components/transform3d.fbs
This file was deleted.
Oops, something went wrong.
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.
27 changes: 0 additions & 27 deletions
27
crates/store/re_types/definitions/rerun/datatypes/scale3d.fbs
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
crates/store/re_types/definitions/rerun/datatypes/transform3d.fbs
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
crates/store/re_types/definitions/rerun/datatypes/translation_rotation_scale3d.fbs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.