Imports VTK scenes generated by VTK (or ParaView) using vtkJSONSceneExporter. The exporter in VTK/ParaView leverages that format to capture the geometry/volume and its representation settings.
Source
import'@kitware/vtk.js/favicon';
// Load the rendering pieces we want to use (for both WebGL and WebGPU) import'@kitware/vtk.js/Rendering/Profiles/All';
// Force DataAccessHelper to have access to various data source import'@kitware/vtk.js/IO/Core/DataAccessHelper/HtmlDataAccessHelper'; import'@kitware/vtk.js/IO/Core/DataAccessHelper/HttpDataAccessHelper'; import'@kitware/vtk.js/IO/Core/DataAccessHelper/JSZipDataAccessHelper';