diff --git a/package-lock.json b/package-lock.json index 8de693ee3..873ea7c19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@aws-sdk/client-s3": "^3.435.0", "@itk-wasm/dicom": "^3.2.1", - "@kitware/vtk.js": "^28.13.0", + "@kitware/vtk.js": "^29.0.0", "@netlify/edge-functions": "^2.0.0", "@sentry/vue": "^7.54.0", "@vueuse/core": "^8.5.0", @@ -2890,11 +2890,12 @@ } }, "node_modules/@kitware/vtk.js": { - "version": "28.13.0", - "resolved": "https://registry.npmjs.org/@kitware/vtk.js/-/vtk.js-28.13.0.tgz", - "integrity": "sha512-ZwJJ3Hp4SLssBd0yFJ04RVWutdqYfLHamBGt8uWs2j1SBAtZ75XPZ9c2PBqTGUAZKbmtRvucNpOKM8cFNQI1Eg==", + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/@kitware/vtk.js/-/vtk.js-29.0.0.tgz", + "integrity": "sha512-3nRo+6fPyFT4IoRBF3Js8VlRPHPcOHf78tqQRKi+jNekeyYG2Kzx0il8hUvX9e8+hTi9rs3Dv3CduHU4e1wViA==", "dependencies": { "@babel/runtime": "7.22.11", + "@types/webxr": "^0.5.5", "commander": "9.2.0", "d3-scale": "4.0.2", "fast-deep-equal": "^3.1.3", @@ -4457,6 +4458,26 @@ "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.14.tgz", "integrity": "sha512-5d2RhCard1nQUC3aHcq/gHzWYO6K0WJmAbjO7mQJgCQKtZpgXxv1rOM6O/dBDhDYYVutk1sciOgNSe+5YyfM8A==" }, + "node_modules/@types/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog==", + "dev": true + }, + "node_modules/@types/webxr": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.7.tgz", + "integrity": "sha512-Rcgs5c2eNFnHp53YOjgtKfl/zWX1Y+uFGUwlSXrWcZWu3yhANRezmph4MninmqybUYT6g9ZE0aQ9QIdPkLR3Kg==" + }, + "node_modules/@types/whatwg-url": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-4F6szvZP3FM5HvJAmcInXBfrAhvM4tLIc8MO1nXwabG5TZVOLxVmAXRpICqXYd3lBlomSRGmLCopYV+yTocgpQ==", + "dev": true, + "dependencies": { + "@types/webidl-conversions": "*" + } + }, "node_modules/@types/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@types/which/-/which-2.0.2.tgz", @@ -24644,11 +24665,12 @@ } }, "@kitware/vtk.js": { - "version": "28.13.0", - "resolved": "https://registry.npmjs.org/@kitware/vtk.js/-/vtk.js-28.13.0.tgz", - "integrity": "sha512-ZwJJ3Hp4SLssBd0yFJ04RVWutdqYfLHamBGt8uWs2j1SBAtZ75XPZ9c2PBqTGUAZKbmtRvucNpOKM8cFNQI1Eg==", + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/@kitware/vtk.js/-/vtk.js-29.0.0.tgz", + "integrity": "sha512-3nRo+6fPyFT4IoRBF3Js8VlRPHPcOHf78tqQRKi+jNekeyYG2Kzx0il8hUvX9e8+hTi9rs3Dv3CduHU4e1wViA==", "requires": { "@babel/runtime": "7.22.11", + "@types/webxr": "^0.5.5", "commander": "9.2.0", "d3-scale": "4.0.2", "fast-deep-equal": "^3.1.3", @@ -25939,6 +25961,26 @@ "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.14.tgz", "integrity": "sha512-5d2RhCard1nQUC3aHcq/gHzWYO6K0WJmAbjO7mQJgCQKtZpgXxv1rOM6O/dBDhDYYVutk1sciOgNSe+5YyfM8A==" }, + "@types/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog==", + "dev": true + }, + "@types/webxr": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.7.tgz", + "integrity": "sha512-Rcgs5c2eNFnHp53YOjgtKfl/zWX1Y+uFGUwlSXrWcZWu3yhANRezmph4MninmqybUYT6g9ZE0aQ9QIdPkLR3Kg==" + }, + "@types/whatwg-url": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-4F6szvZP3FM5HvJAmcInXBfrAhvM4tLIc8MO1nXwabG5TZVOLxVmAXRpICqXYd3lBlomSRGmLCopYV+yTocgpQ==", + "dev": true, + "requires": { + "@types/webidl-conversions": "*" + } + }, "@types/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@types/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 85eb107d2..b4b0c3b75 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dependencies": { "@aws-sdk/client-s3": "^3.435.0", "@itk-wasm/dicom": "^3.2.1", - "@kitware/vtk.js": "^28.13.0", + "@kitware/vtk.js": "^29.0.0", "@netlify/edge-functions": "^2.0.0", "@sentry/vue": "^7.54.0", "@vueuse/core": "^8.5.0", diff --git a/src/components/RenderingModule.vue b/src/components/RenderingModule.vue index 258fd6d2e..a47c21a3d 100644 --- a/src/components/RenderingModule.vue +++ b/src/components/RenderingModule.vue @@ -4,10 +4,11 @@ import { useCurrentImage } from '../composables/useCurrentImage'; import VolumeProperties from './VolumeProperties.vue'; import VolumeRendering from './VolumeRendering.vue'; import VolumePresets from './VolumePresets.vue'; +import WebXRRendering from './WebXRRendering.vue'; import LayerList from './LayerList.vue'; export default defineComponent({ - components: { VolumeRendering, VolumePresets, VolumeProperties, LayerList }, + components: { VolumeRendering, VolumePresets, VolumeProperties, WebXRRendering, LayerList }, setup() { const { currentImageData } = useCurrentImage(); const hasCurrentImage = computed(() => !!currentImageData.value); @@ -31,6 +32,7 @@ export default defineComponent({