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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_aarch64.whl (42.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

dimos_viewer-0.32.0a2-cp312-cp312-macosx_11_0_arm64.whl (38.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_aarch64.whl (42.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

dimos_viewer-0.32.0a2-cp311-cp311-macosx_11_0_arm64.whl (38.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_aarch64.whl (42.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

dimos_viewer-0.32.0a2-cp310-cp310-macosx_11_0_arm64.whl (38.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a32c39c8cc8e9a03f2cc9d8446e7d49a132692f833cbd7277c185f171ede614
MD5 f90d51fce1c5427deb8c667d4da76753
BLAKE2b-256 2e15b38b583cdf07082d58ca33500343da8153d7859133e2c924922873364c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f22e03a6c1290911c467723407c5ed8fd189a4c6447d32647feb706b87dc727
MD5 bb3a6d8197ef1456a85a267448763633
BLAKE2b-256 f360f48f22a1ab1a8208d9cc6892ceb37c74baf80859be7f3c75e76a3e082ddf

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bdeb607ffef680d1e56dcdf5cd7c11eca148dbb2e957cbd43b8642efe0857d3a
MD5 859fe30ccafcd0121347a76982f854aa
BLAKE2b-256 5cd19582095e8b2fdc8708afe3e9e4b9bfaba925c7d53ede8e675bf556bdd593

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c13479d8266606b1e7dcf1296d091b229374a83d84ba16849b2bbd830413ed5f
MD5 09517cfd54e58751a17960b1052855cd
BLAKE2b-256 8eb115d3579109ee6b6f8aa93642340eced7c444849433fc04ed0c3715f963ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1d44158e854109c48c243640d8a88cc2eced3c5bcd1932b93080252e45de4ca6
MD5 595f6cd26f2f0c70ea430def14389059
BLAKE2b-256 046768a3bab1a817a9f143f7f50355afb93c45d999814f386c3a0c7c7cd6becc

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f284e5d9271334c93190c64d6eff7fd4addc5f1ad19c3598f1976a93e3ff85fd
MD5 1950bbea9bd722c1841281df8b10a73b
BLAKE2b-256 daae159ff85671a4f13d683ed181ab2d917747a7cc837b7aa81a9b32a4aaad19

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c38af675e708494aad8d66b4a7a35974633400d897e4dd73f9dba8562c04282a
MD5 a0f6be509a84a98229a5569059060e9a
BLAKE2b-256 492ab413d4f86bc306dd26f6ee1206cc3f4f0df6e3f9e9ec2a4d20ec5824d616

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f75f72d39c8cde15ebb17e3edefca3523992d3991ec44f54fb004840ba077f7e
MD5 b63ccc27aa0c3d0efb3045884e5ef2cf
BLAKE2b-256 5dca3c610ccb10c334e06b40c8d0894801323dbebd506746011c989cd0473b20

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_aarch64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.32.0a2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22281f7db2d4524710f3bb68a68a75e7017868b9d4fd4a58673876afcff2e3d9
MD5 42c93627bd3869bb67266f8729c6a668
BLAKE2b-256 2c57df6e81ca83379e264a63bb87fc9fceb3dc7e445300ac8655756be3619ec5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page