vtk.js 26.9.1 → 26.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @project vtk.js
3
- * @build Wed, Mar 15, 2023 2:07 PM ET
3
+ * @build Wed, Mar 15, 2023 4:15 PM ET
4
4
  * @copyright Copyright (c) 2023 Kitware, Inc.
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @project vtk.js
3
- * @build Wed, Mar 15, 2023 2:07 PM ET
3
+ * @build Wed, Mar 15, 2023 4:15 PM ET
4
4
  * @copyright Copyright (c) 2023 Kitware, Inc.
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @project vtk.js
3
- * @build Wed, Mar 15, 2023 2:07 PM ET
3
+ * @build Wed, Mar 15, 2023 4:15 PM ET
4
4
  * @copyright Copyright (c) 2023 Kitware, Inc.
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @project vtk.js
3
- * @build Wed, Mar 15, 2023 2:07 PM ET
3
+ * @build Wed, Mar 15, 2023 4:15 PM ET
4
4
  * @copyright Copyright (c) 2023 Kitware, Inc.
5
5
  *
6
6
  */
@@ -72,7 +72,7 @@ const itkComponentTypeToVtkArrayType = new Map([
72
72
  *
73
73
  * Requires an itk-wasm Image as input.
74
74
  */
75
- function convertItkToVtkImage(itkImage, options = {}) {
75
+ export function convertItkToVtkImage(itkImage, options = {}) {
76
76
  const vtkImage = {
77
77
  origin: [0, 0, 0],
78
78
  spacing: [1, 1, 1],
@@ -197,7 +197,7 @@ function convertItkToVtkImage(itkImage, options = {}) {
197
197
  * Requires a vtk.js vtkImageData as input.
198
198
  *
199
199
  */
200
- function convertVtkToItkImage(vtkImage, copyData = false) {
200
+ export function convertVtkToItkImage(vtkImage, copyData = false) {
201
201
  const dimension = 3;
202
202
  const itkImage = {
203
203
  imageType: {
@@ -255,7 +255,7 @@ function convertVtkToItkImage(vtkImage, copyData = false) {
255
255
  *
256
256
  * Requires an itk-wasm PolyData as input.
257
257
  */
258
- function convertItkToVtkPolyData(itkPolyData, options = {}) {
258
+ export function convertItkToVtkPolyData(itkPolyData, options = {}) {
259
259
  const pointDataArrays = [];
260
260
  if (itkPolyData.pointData.length) {
261
261
  pointDataArrays.push({
@@ -485,7 +485,7 @@ function convertItkToVtkPolyData(itkPolyData, options = {}) {
485
485
  * Requires a vtk.js vtkPolyData as input.
486
486
  *
487
487
  */
488
- function convertVtkToItkPolyData(polyData, options = {}) {
488
+ export function convertVtkToItkPolyData(polyData, options = {}) {
489
489
  const itkPolyData = {
490
490
  polyDataType: {
491
491
  pointPixelComponentType: 'float32',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtk.js",
3
- "version": "26.9.1",
3
+ "version": "26.9.2",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",