Porting C++ app to VTK.js

VTK without rendering can be used with the Emscripten Toolchain by using itk.js and the kitware/itk-js-vtk Docker image. This can be used to compile processing pipelines on Windows. itk.js and the Docker image provide:

  • The Emscripten toolchain
  • CMake configuration
  • VTK built with the Emscripten toolchain
  • A method to efficiently call the resulting JavaScript and WebAssembly

These are the required components.