Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Advanced example showing how to control an external application from the Rerun viewer, by extending the viewer UI.

Custom Viewer Callback example screenshot

[!NOTE] #2337: In order to spawn a web viewer with these customizations applied, you have to build the web viewer of the version yourself. This is currently not supported outside of the Rerun repository.

Overview

This example is divided into two parts:

In the app, an additional gRPC server is opened to allow the viewer to send messages to the app. Similar to the extend_viewer_ui example, the viewer is wrapped in an eframe app, which allows us to handle the extra communication logic and define our own control UI using egui.

The communication between the viewer and the app is implemented in the comms module. It defines a simple protocol to send messages between the viewer and the app using bincode. The protocol supports basic commands that the viewer can send to the app, such as logging a Boxes3D or Point3D to an entity, or changing the radius of a set of points that is being logged.

Usage

First start the Rerun SDK app with cargo run -p custom_callback --bin custom_callback_app, and then start the extended viewer with cargo run -p custom_callback --bin custom_callback_viewer.

Relationship with Viewer callbacks

The [re_viewer] crate also exposes some baseline Viewer events through the StartupOptions.on_event field, which can exist alongside your own events from widgets added by extending the UI.

Metadata

Release files for dimos-viewer-jeff 0.30.0a6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for dimos-viewer-jeff 0.30.0a6
File
dimos_viewer_jeff-0.30.0a6-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
dimos_viewer_jeff-0.30.0a6-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
dimos_viewer_jeff-0.30.0a6-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
dimos_viewer_jeff-0.30.0a6-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
dimos_viewer_jeff-0.30.0a6-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
dimos_viewer_jeff-0.30.0a6-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
dimos_viewer_jeff-0.30.0a6-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
dimos_viewer_jeff-0.30.0a6-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details
dimos_viewer_jeff-0.30.0a6-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 348.3 MB

Release files / dimos_viewer_jeff-0.30.0a6-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp312-cp312-manylinux_2_28_x86_64.whl
Size 41.5 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bea0082e0e91ce6ec72e3708931e77eabd2eb06f7a5f2e12d167d69532f3d5e4
BLAKE2b-256 checksum
How to use checksums
787340e5b8b5273415a627e8b87a3e38ab7d02536d0f86177f72097c77c86123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp312-cp312-manylinux_2_28_aarch64.whl
Size 39.2 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8c416c78bcc547dee0f54d8c716ac25f7845e837e5476304372a61e72a17338a
BLAKE2b-256 checksum
How to use checksums
39eabf9120f4805389f0271268249e89e9481aa3b24f89ff76a97a5282ab4b5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp312-cp312-macosx_11_0_arm64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp312-cp312-macosx_11_0_arm64.whl
Size 35.4 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f3353455b1f6837959ff0aaf2f174cfd693c29002c3308db168577ea179ca963
BLAKE2b-256 checksum
How to use checksums
20512bacf0908ecad659aec097e3496e96a47f1946ff9776bfed43ed27192e08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp311-cp311-manylinux_2_28_x86_64.whl
Size 41.5 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
55e2bfba382b60c629086747fe7576c61b65af1b2619e0684690938a885bfcbc
BLAKE2b-256 checksum
How to use checksums
398144ebeb30799ce25edb8af9a592c9a51a5fcc8781399cc501797478e41552
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp311-cp311-manylinux_2_28_aarch64.whl
Size 39.2 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fef9a96b1e9fbec3c2c0d3d93c759390653320787c528d759b6fdbfd4dd5fa8a
BLAKE2b-256 checksum
How to use checksums
abd5a69defe574abfdcc3d0a08f3f2eae9976f25c4ddff19a0c4cc0073b968bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp311-cp311-macosx_11_0_arm64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp311-cp311-macosx_11_0_arm64.whl
Size 35.4 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
63ffba6b26ca3c354b993fcf8515659963a38b8e70bd74feb0409de6a4c7fc9c
BLAKE2b-256 checksum
How to use checksums
81a933adeac19824dba5eb5a957779da7cfb4c510eab686747f7582fe8e62b21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp310-cp310-manylinux_2_28_x86_64.whl
Size 41.5 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5caf31610773a50b60480e0d9dcee8cb5995559922a94898fcd703881616a717
BLAKE2b-256 checksum
How to use checksums
1b5b0c4bb9d4486edccb4723a1efda4f68b032075432c7c1be6df1e0b88dacc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp310-cp310-manylinux_2_28_aarch64.whl
Size 39.2 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4baa716c2e42d867d2bb78089a5c1fee9b13ea534988c587b154141a2fc48ee1
BLAKE2b-256 checksum
How to use checksums
6d9de54da16ee4e690a47ede16a438b985c8726d79704ebbc7e10375d73a936e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dimos_viewer_jeff-0.30.0a6-cp310-cp310-macosx_11_0_arm64.whl

Download URL dimos_viewer_jeff-0.30.0a6-cp310-cp310-macosx_11_0_arm64.whl
Size 35.4 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
30030ee2e99f6b619fc68e137e7fb7f4f89566e5a8ff53e56f099bca10149029
BLAKE2b-256 checksum
How to use checksums
f10ce5a6e4ee544d8d99487e9a72af8a9afea517d1e58c8610f3566146105a11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.30.0a6 This release

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page