Skip to main content

Remote Controlled Area widget for trame

Project description

Remote Controlled Area widget for trame provide components and communication infrastructure to display remote generated image based content while allowing interaction forwarding such as mouse, touch and multi-pointer devices.

This library aims to provide a core that can then be extended or specialized for any backend. But its initial integration will be focused toward VTK and/or ParaView for enabling interactive remote rendering. But because it aims to be generic, you should be able to rely on its core to connect and drive any kind of backend that could produce images/video-stream and react to mouse interaction.

License

trame-rca is made available under the Apache Software License.

Development

Build and install the Vue components

cd vue-components
npm i
npm run build
cd -

Install the component

pip install -e .

Optional dependencies

TurboJPEG

Faster Jpeg encoding using TurboJPEG.

macOS system install

# macOS
brew install jpeg-turbo

Windows install

Download and install from Github: https://github.com/libjpeg-turbo/libjpeg-turbo/releases

Linux install

# RHEL/CentOS/Fedora
# YUM doc: https://libjpeg-turbo.org/Downloads/YUM

# Ubuntu
apt-get install libturbojpeg

Once your system is ready, you can try our code example:

pip install trame trame-vuetify vtk
pip install "trame-rca[turbo]"

# other encoders: jpeg, avif, turbo-jpeg, png, webp
python ./examples/01_vtk/vtk_cone_simple.py --encoder turbo-jpeg

Video encoding with VTKStreaming

VTKStreaming provides tools for encoding and streaming frames from a VTK OpenGL render window using video codecs. When NVENC is available, it enables H.264/H.265 hardware encoding; otherwise, software encoding falls back to VP9 via libvpx.

You can try our code example:

pip install trame trame-vuetify vtk
pip install "trame-rca[vtkstreaming]"

python ./examples/05_video/vtk_cone_simple_video.py

Project details


Download files

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

Source Distribution

trame_rca-2.6.1.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

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

trame_rca-2.6.1-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

Details for the file trame_rca-2.6.1.tar.gz.

File metadata

  • Download URL: trame_rca-2.6.1.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trame_rca-2.6.1.tar.gz
Algorithm Hash digest
SHA256 898b1198f83d918dd8a94af40e42b351b8315f87f9b22de71f561a8e738e8a5d
MD5 6f20d660ea30753b850187831bb024a1
BLAKE2b-256 4b5ba6d2bb5944e974090b2b596c42a4021b02738d1f9a97e206c17924487803

See more details on using hashes here.

Provenance

The following attestation bundles were made for trame_rca-2.6.1.tar.gz:

Publisher: test_and_release.yml on Kitware/trame-rca

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

File details

Details for the file trame_rca-2.6.1-py3-none-any.whl.

File metadata

  • Download URL: trame_rca-2.6.1-py3-none-any.whl
  • Upload date:
  • Size: 49.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trame_rca-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49e3fb9758a6b2848303042484ffc0bcf25472c5372298720c51b2c7d7d962d3
MD5 7ae59f31d41b51a68fb3e24b5c533471
BLAKE2b-256 2aadcb6ad482079fa81fd5cedd456eef6dc41025f0d35e53e867f89d7d068d9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for trame_rca-2.6.1-py3-none-any.whl:

Publisher: test_and_release.yml on Kitware/trame-rca

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