Published July 10, 2024 | Version v1

Seamless integration across developer ecosystems with python and wasm in VTK

  • 1. GDI
  • 2. SLB
  • 3. University of North Carolina
  • 4. Curvenote
  • 5. Deloitte
  • 6. Aptos
  • 7. Arm

Description

Visualizing large-scale simulation datasets is vital for research in scientific and engineering fields. To this end, VTK, an open-source C++ visualization library, and its Python counterparts VTK Python, PyVista and Vedo are streamlining 3D visualization, though shortcomings remain. We significantly improved VTK's automated wrappers and enabled VTK WebAssembly thus simplifying creation of visualizations in Python or on the web using Trame. This also made it easier to execute VTK native code directly in a web browser. We discuss challenges and lessons learned in extending large C++ software to diverse languages through API wrapping and cross-compilation to ultimately benefit the Python community.

Files

trame-vtk-wasm.pdf

Files (11.5 MB)

Name Size Download all
md5:76bf15f4b75d55b97ebc1a1b353cfeee
11.5 MB Preview Download