-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate crate for tensor space view (#2334)
<!-- Open the PR up as a draft until you feel it is ready for a proper review. Do not make PR:s from your own `main` branch, as that makes it difficult for reviewers to add their own fixes. Add any improvements to the branch as new commits to make it easier for reviewers to follow the progress. All commits will be squashed to a single commit once the PR is merged into `main`. Make sure you mention any issues that this PR closes in the description, as well as any other related issues. To get an auto-generated PR description you can put "copilot:summary" or "copilot:walkthrough" anywhere. --> ### What Moves the last Space View to the new Space View framework and a separate crate. One of the last pieces of #2249 Detangles viewport from all concrete Space Views: `cargo depgraph --all-deps --workspace-only --all-features --dedup-transitive-deps | dot -Tpng > deps.png` ![deps](https://github.com/rerun-io/rerun/assets/1220815/c5996f26-fd31-461b-9043-484ec2fb7637) ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) <!-- This line will get updated when the PR build summary job finishes. --> PR Build Summary: https://build.rerun.io/pr/2334 <!-- pr-link-docs:start --> Docs preview: https://rerun.io/preview/89dd232/docs Examples preview: https://rerun.io/preview/89dd232/examples <!-- pr-link-docs:end -->
- Loading branch information
Showing
18 changed files
with
284 additions
and
196 deletions.
There are no files selected for viewing
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
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,41 @@ | ||
[package] | ||
authors.workspace = true | ||
description = "A Space View dedicated to visualizing tensors with arbitrary dimensionality." | ||
edition.workspace = true | ||
homepage.workspace = true | ||
license.workspace = true | ||
name = "re_space_view_tensor" | ||
publish = true | ||
readme = "README.md" | ||
repository.workspace = true | ||
rust-version.workspace = true | ||
version.workspace = true | ||
include = ["../../LICENSE-APACHE", "../../LICENSE-MIT", "**/*.rs", "Cargo.toml"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[dependencies] | ||
re_arrow_store.workspace = true | ||
re_components.workspace = true | ||
re_data_store.workspace = true | ||
re_data_ui.workspace = true | ||
re_log_types.workspace = true | ||
re_log.workspace = true | ||
re_renderer.workspace = true | ||
re_space_view.workspace = true | ||
re_tensor_ops.workspace = true | ||
re_tracing.workspace = true | ||
re_ui.workspace = true | ||
re_viewer_context.workspace = true | ||
|
||
anyhow.workspace = true | ||
ahash.workspace = true | ||
bytemuck.workspace = true | ||
eframe.workspace = true | ||
egui.workspace = true | ||
half.workspace = true | ||
ndarray.workspace = true | ||
thiserror.workspace = true | ||
vec1.workspace = true | ||
wgpu.workspace = true |
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 @@ | ||
# re_space_view_tensor | ||
|
||
Part of the [`rerun`](https://github.com/rerun-io/rerun) family of crates. | ||
|
||
[![Latest version](https://img.shields.io/crates/v/re_space_view_tensor.svg)](https://crates.io/crates/re_space_view_tensor) | ||
[![Documentation](https://docs.rs/re_space_view_tensor/badge.svg)](https://docs.rs/re_space_view_tensor) | ||
![MIT](https://img.shields.io/badge/license-MIT-blue.svg) | ||
![Apache](https://img.shields.io/badge/license-Apache-blue.svg) | ||
|
||
A Space View dedicated to visualizing tensors with arbitrary dimensionality. | ||
|
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,10 @@ | ||
//! Rerun tensor Space View. | ||
//! | ||
//! A Space View dedicated to visualizing tensors with arbitrary dimensionality. | ||
mod scene_part; | ||
mod space_view_class; | ||
mod tensor_dimension_mapper; | ||
mod tensor_slice_to_gpu; | ||
|
||
pub use space_view_class::TensorSpaceView; |
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
Oops, something went wrong.