@kitware/vtk.js 22.0.1 → 22.1.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.
Files changed (62) hide show
  1. package/Common/Core/Math/index.js +1 -1
  2. package/Common/Core/Math.js +1 -1
  3. package/Common/DataModel/ITKHelper.js +1 -1
  4. package/Common/DataModel/ImageData.js +1 -1
  5. package/Common/DataModel/Line.js +1 -1
  6. package/Common/DataModel/Plane.js +1 -1
  7. package/Common/DataModel/Polygon.js +1 -1
  8. package/Common/DataModel/Triangle.js +1 -1
  9. package/Common/Transform/LandmarkTransform.js +1 -1
  10. package/Filters/General/ImageMarchingCubes.js +1 -1
  11. package/Filters/General/MoleculeToRepresentation.js +1 -1
  12. package/Filters/General/TubeFilter.js +1 -1
  13. package/Filters/General/WindowedSincPolyDataFilter.js +1 -1
  14. package/Filters/Sources/CircleSource.js +1 -1
  15. package/Filters/Sources/LineSource.js +1 -1
  16. package/Filters/Sources/PlaneSource.js +1 -1
  17. package/Filters/Sources/PointSource.js +1 -1
  18. package/Filters/Texture/TextureMapToPlane.js +1 -1
  19. package/Filters/Texture/TextureMapToSphere.js +1 -1
  20. package/Interaction/Manipulators/KeyboardCameraManipulator.js +1 -1
  21. package/Interaction/Manipulators/MouseCameraAxisRotateManipulator.js +1 -1
  22. package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.js +1 -1
  23. package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -1
  24. package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -1
  25. package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -1
  26. package/Interaction/Style/InteractorStyleMPRSlice.js +1 -1
  27. package/Interaction/Widgets/DistanceRepresentation.js +1 -1
  28. package/Interaction/Widgets/ImageCroppingRegionsRepresentation.js +1 -1
  29. package/Interaction/Widgets/ImageCroppingRegionsWidget.js +1 -1
  30. package/Interaction/Widgets/LabelRepresentation.js +1 -1
  31. package/Interaction/Widgets/ResliceCursor/ResliceCursor.js +1 -1
  32. package/Interaction/Widgets/ResliceCursor/ResliceCursorLineRepresentation.js +1 -1
  33. package/Interaction/Widgets/ResliceCursor/ResliceCursorRepresentation.js +1 -1
  34. package/Interaction/Widgets/SphereHandleRepresentation.js +1 -1
  35. package/Proxy/Core/View2DProxy.js +1 -1
  36. package/Rendering/Core/AnnotatedCubeActor.d.ts +3 -2
  37. package/Rendering/Core/Camera.js +1 -1
  38. package/Rendering/Core/CellPicker.js +1 -1
  39. package/Rendering/Core/Light.js +1 -1
  40. package/Rendering/Core/Picker.js +1 -1
  41. package/Rendering/Core/RenderWindowInteractor.js +27 -5
  42. package/Rendering/OpenGL/PolyDataMapper.js +1 -1
  43. package/Rendering/WebGPU/BufferManager.js +1 -1
  44. package/Rendering/WebGPU/VolumePass.js +332 -73
  45. package/Rendering/WebGPU/VolumePassFSQ.js +1 -1
  46. package/Widgets/Core/StateBuilder/orientationMixin.js +1 -1
  47. package/Widgets/Manipulators/LineManipulator.js +1 -1
  48. package/Widgets/Manipulators/TrackballManipulator.js +1 -1
  49. package/Widgets/Representations/PolyLineRepresentation.js +1 -1
  50. package/Widgets/Representations/ResliceCursorContextRepresentation.js +1 -1
  51. package/Widgets/Representations/WidgetRepresentation.js +1 -1
  52. package/Widgets/Widgets3D/AngleWidget.js +1 -1
  53. package/Widgets/Widgets3D/DistanceWidget.js +1 -1
  54. package/Widgets/Widgets3D/LineWidget/behavior.js +1 -1
  55. package/Widgets/Widgets3D/LineWidget/helpers.js +1 -1
  56. package/Widgets/Widgets3D/LineWidget.js +1 -1
  57. package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
  58. package/Widgets/Widgets3D/ResliceCursorWidget/helpers.js +1 -1
  59. package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -1
  60. package/Widgets/Widgets3D/ShapeWidget/behavior.js +1 -1
  61. package/macros.js +14 -30
  62. package/package.json +1 -1
@@ -2329,4 +2329,4 @@ var vtkMath$1 = /*#__PURE__*/Object.freeze({
2329
2329
  'default': vtkMath
2330
2330
  });
2331
2331
 
2332
- export { binomial as $, clampValue as A, projectVector as B, arrayRange as C, getMajorAxisIndex as D, isInf as E, rgb2hsv as F, rgb2lab as G, lab2rgb as H, floor as I, round as J, nearestPowerOfTwo as K, normalize2D as L, createUninitializedBounds as M, multiply3x3_vect3 as N, areBoundsInitialized as O, isPowerOfTwo as P, multiplyAccumulate as Q, angleBetweenVectors as R, signedAngleBetweenVectors as S, Pi as T, ceil as U, min as V, max as W, arrayMin as X, arrayMax as Y, ceilLog2 as Z, factorial as _, areMatricesEqual as a, beginCombination as a0, nextCombination as a1, randomSeed as a2, getSeed as a3, gaussian as a4, multiplyScalar2D as a5, multiplyAccumulate2D as a6, outer as a7, dot2D as a8, projectVector2D as a9, hex2float as aA, lab2xyz as aB, xyz2lab as aC, xyz2rgb as aD, rgb2xyz as aE, clampAndNormalizeValue as aF, getScalarTypeFittingRange as aG, getAdjustedScalarRange as aH, extentIsWithinOtherExtent as aI, boundsIsWithinOtherBounds as aJ, pointIsWithinBounds as aK, solve3PointCircle as aL, inf as aM, negInf as aN, isFinite as aO, isNaN as aP, floatToHex2 as aQ, floatRGB2HexCode as aR, float2CssRGBA as aS, gaussianAmplitude as aa, gaussianWeight as ab, outer2D as ac, norm2D as ad, LUFactor3x3 as ae, LUSolve3x3 as af, linearSolve3x3 as ag, multiply3x3_mat3 as ah, multiplyMatrix as ai, transpose3x3 as aj, invert3x3 as ak, identity3x3 as al, quaternionToMatrix3x3 as am, roundNumber as an, matrix3x3ToQuaternion as ao, multiplyQuaternion as ap, orthogonalize3x3 as aq, diagonalize3x3 as ar, singularValueDecomposition3x3 as as, luFactorLinearSystem as at, luSolveLinearSystem as au, invertMatrix as av, estimateMatrixCondition as aw, jacobi as ax, solveHomogeneousLeastSquares as ay, solveLeastSquares as az, roundVector as b, computeBoundsFromPoints as c, dot as d, clampVector as e, distance2BetweenPoints as f, subtract as g, hsv2rgb as h, isNan as i, cross as j, add as k, normalize as l, determinant2x2 as m, norm as n, jacobiN as o, perpendiculars as p, vtkMath as q, radiansFromDegrees as r, solveLinearSystem as s, multiplyScalar as t, uninitializeBounds as u, vtkMath$1 as v, random as w, determinant3x3 as x, degreesFromRadians as y, areEquals as z };
2332
+ export { binomial as $, clampValue as A, projectVector as B, arrayRange as C, getMajorAxisIndex as D, isInf as E, rgb2hsv as F, rgb2lab as G, lab2rgb as H, floor as I, round as J, nearestPowerOfTwo as K, normalize2D as L, createUninitializedBounds as M, multiply3x3_vect3 as N, areBoundsInitialized as O, isPowerOfTwo as P, multiplyAccumulate as Q, angleBetweenVectors as R, signedAngleBetweenVectors as S, Pi as T, ceil as U, min as V, max as W, arrayMin as X, arrayMax as Y, ceilLog2 as Z, factorial as _, areMatricesEqual as a, beginCombination as a0, nextCombination as a1, randomSeed as a2, getSeed as a3, gaussian as a4, multiplyScalar2D as a5, multiplyAccumulate2D as a6, outer as a7, dot2D as a8, projectVector2D as a9, hex2float as aA, lab2xyz as aB, xyz2lab as aC, xyz2rgb as aD, rgb2xyz as aE, clampAndNormalizeValue as aF, getScalarTypeFittingRange as aG, getAdjustedScalarRange as aH, extentIsWithinOtherExtent as aI, boundsIsWithinOtherBounds as aJ, pointIsWithinBounds as aK, solve3PointCircle as aL, inf as aM, negInf as aN, isFinite as aO, isNaN as aP, floatToHex2 as aQ, floatRGB2HexCode as aR, float2CssRGBA as aS, gaussianAmplitude as aa, gaussianWeight as ab, outer2D as ac, norm2D as ad, LUFactor3x3 as ae, LUSolve3x3 as af, linearSolve3x3 as ag, multiply3x3_mat3 as ah, multiplyMatrix as ai, transpose3x3 as aj, invert3x3 as ak, identity3x3 as al, quaternionToMatrix3x3 as am, roundNumber as an, matrix3x3ToQuaternion as ao, multiplyQuaternion as ap, orthogonalize3x3 as aq, diagonalize3x3 as ar, singularValueDecomposition3x3 as as, luFactorLinearSystem as at, luSolveLinearSystem as au, invertMatrix as av, estimateMatrixCondition as aw, jacobi as ax, solveHomogeneousLeastSquares as ay, solveLeastSquares as az, distance2BetweenPoints as b, subtract as c, dot as d, cross as e, add as f, normalize as g, hsv2rgb as h, isNan as i, determinant2x2 as j, jacobiN as k, vtkMath as l, multiplyScalar as m, norm as n, random as o, perpendiculars as p, determinant3x3 as q, radiansFromDegrees as r, solveLinearSystem as s, computeBoundsFromPoints as t, uninitializeBounds as u, vtkMath$1 as v, roundVector as w, clampVector as x, degreesFromRadians as y, areEquals as z };
@@ -1,4 +1,4 @@
1
1
  import '@babel/runtime/helpers/slicedToArray';
2
2
  import 'seedrandom';
3
3
  import '../../macros.js';
4
- export { ae as LUFactor3x3, af as LUSolve3x3, T as Pi, k as add, R as angleBetweenVectors, O as areBoundsInitialized, z as areEquals, a as areMatricesEqual, Y as arrayMax, X as arrayMin, C as arrayRange, a0 as beginCombination, $ as binomial, aJ as boundsIsWithinOtherBounds, U as ceil, Z as ceilLog2, aF as clampAndNormalizeValue, A as clampValue, e as clampVector, c as computeBoundsFromPoints, M as createUninitializedBounds, j as cross, q as default, y as degreesFromRadians, m as determinant2x2, x as determinant3x3, ar as diagonalize3x3, f as distance2BetweenPoints, d as dot, a8 as dot2D, aw as estimateMatrixCondition, aI as extentIsWithinOtherExtent, _ as factorial, aS as float2CssRGBA, aR as floatRGB2HexCode, aQ as floatToHex2, I as floor, a4 as gaussian, aa as gaussianAmplitude, ab as gaussianWeight, aH as getAdjustedScalarRange, D as getMajorAxisIndex, aG as getScalarTypeFittingRange, a3 as getSeed, aA as hex2float, h as hsv2rgb, al as identity3x3, aM as inf, ak as invert3x3, av as invertMatrix, aO as isFinite, E as isInf, aP as isNaN, i as isNan, P as isPowerOfTwo, ax as jacobi, o as jacobiN, H as lab2rgb, aB as lab2xyz, ag as linearSolve3x3, at as luFactorLinearSystem, au as luSolveLinearSystem, ao as matrix3x3ToQuaternion, W as max, V as min, ah as multiply3x3_mat3, N as multiply3x3_vect3, Q as multiplyAccumulate, a6 as multiplyAccumulate2D, ai as multiplyMatrix, ap as multiplyQuaternion, t as multiplyScalar, a5 as multiplyScalar2D, K as nearestPowerOfTwo, aN as negInf, a1 as nextCombination, n as norm, ad as norm2D, l as normalize, L as normalize2D, aq as orthogonalize3x3, a7 as outer, ac as outer2D, p as perpendiculars, aK as pointIsWithinBounds, B as projectVector, a9 as projectVector2D, am as quaternionToMatrix3x3, r as radiansFromDegrees, w as random, a2 as randomSeed, F as rgb2hsv, G as rgb2lab, aE as rgb2xyz, J as round, an as roundNumber, b as roundVector, S as signedAngleBetweenVectors, as as singularValueDecomposition3x3, aL as solve3PointCircle, ay as solveHomogeneousLeastSquares, az as solveLeastSquares, s as solveLinearSystem, g as subtract, aj as transpose3x3, u as uninitializeBounds, aC as xyz2lab, aD as xyz2rgb } from './Math/index.js';
4
+ export { ae as LUFactor3x3, af as LUSolve3x3, T as Pi, f as add, R as angleBetweenVectors, O as areBoundsInitialized, z as areEquals, a as areMatricesEqual, Y as arrayMax, X as arrayMin, C as arrayRange, a0 as beginCombination, $ as binomial, aJ as boundsIsWithinOtherBounds, U as ceil, Z as ceilLog2, aF as clampAndNormalizeValue, A as clampValue, x as clampVector, t as computeBoundsFromPoints, M as createUninitializedBounds, e as cross, l as default, y as degreesFromRadians, j as determinant2x2, q as determinant3x3, ar as diagonalize3x3, b as distance2BetweenPoints, d as dot, a8 as dot2D, aw as estimateMatrixCondition, aI as extentIsWithinOtherExtent, _ as factorial, aS as float2CssRGBA, aR as floatRGB2HexCode, aQ as floatToHex2, I as floor, a4 as gaussian, aa as gaussianAmplitude, ab as gaussianWeight, aH as getAdjustedScalarRange, D as getMajorAxisIndex, aG as getScalarTypeFittingRange, a3 as getSeed, aA as hex2float, h as hsv2rgb, al as identity3x3, aM as inf, ak as invert3x3, av as invertMatrix, aO as isFinite, E as isInf, aP as isNaN, i as isNan, P as isPowerOfTwo, ax as jacobi, k as jacobiN, H as lab2rgb, aB as lab2xyz, ag as linearSolve3x3, at as luFactorLinearSystem, au as luSolveLinearSystem, ao as matrix3x3ToQuaternion, W as max, V as min, ah as multiply3x3_mat3, N as multiply3x3_vect3, Q as multiplyAccumulate, a6 as multiplyAccumulate2D, ai as multiplyMatrix, ap as multiplyQuaternion, m as multiplyScalar, a5 as multiplyScalar2D, K as nearestPowerOfTwo, aN as negInf, a1 as nextCombination, n as norm, ad as norm2D, g as normalize, L as normalize2D, aq as orthogonalize3x3, a7 as outer, ac as outer2D, p as perpendiculars, aK as pointIsWithinBounds, B as projectVector, a9 as projectVector2D, am as quaternionToMatrix3x3, r as radiansFromDegrees, o as random, a2 as randomSeed, F as rgb2hsv, G as rgb2lab, aE as rgb2xyz, J as round, an as roundNumber, w as roundVector, S as signedAngleBetweenVectors, as as singularValueDecomposition3x3, aL as solve3PointCircle, ay as solveHomogeneousLeastSquares, az as solveLeastSquares, s as solveLinearSystem, c as subtract, aj as transpose3x3, u as uninitializeBounds, aC as xyz2lab, aD as xyz2rgb } from './Math/index.js';
@@ -92,7 +92,7 @@ function convertItkToVtkImage(itkImage) {
92
92
  imageData.getPointData().setScalars(pointData); // Associate the point data that are 3D vectors / tensors
93
93
  // Refer to itk-js/src/PixelTypes.js for numerical values
94
94
 
95
- switch (ITKPixelTypes[itkImage.imageType.pixelType]) {
95
+ switch (isITKWasm ? ITKPixelTypes[itkImage.imageType.pixelType] : itkImage.imageType.pixelType) {
96
96
  case ITKPixelTypes.Scalar:
97
97
  break;
98
98
 
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import macro from '../../macros.js';
3
- import { c as computeBoundsFromPoints, b as roundVector, e as clampVector } from '../Core/Math/index.js';
3
+ import { t as computeBoundsFromPoints, w as roundVector, x as clampVector } from '../Core/Math/index.js';
4
4
  import vtkBoundingBox from './BoundingBox.js';
5
5
  import vtkDataSet from './DataSet.js';
6
6
  import vtkStructuredData from './StructuredData.js';
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import macro from '../../macros.js';
3
3
  import Constants from './Line/Constants.js';
4
4
  import vtkCell from './Cell.js';
5
- import { d as dot, f as distance2BetweenPoints, s as solveLinearSystem } from '../Core/Math/index.js';
5
+ import { d as dot, b as distance2BetweenPoints, s as solveLinearSystem } from '../Core/Math/index.js';
6
6
 
7
7
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
8
8
 
@@ -1,5 +1,5 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import { g as subtract, d as dot, j as cross, k as add } from '../Core/Math/index.js';
2
+ import { c as subtract, d as dot, e as cross, f as add } from '../Core/Math/index.js';
3
3
  import macro from '../../macros.js';
4
4
 
5
5
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -1,6 +1,6 @@
1
1
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import macro from '../../macros.js';
3
- import { l as normalize, g as subtract, j as cross, k as add, d as dot, n as norm } from '../Core/Math/index.js';
3
+ import { g as normalize, c as subtract, e as cross, f as add, d as dot, n as norm } from '../Core/Math/index.js';
4
4
  import vtkLine from './Line.js';
5
5
  import vtkPlane from './Plane.js';
6
6
  import vtkPriorityQueue from '../Core/PriorityQueue.js';
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import macro from '../../macros.js';
3
3
  import vtkCell from './Cell.js';
4
- import { f as distance2BetweenPoints, d as dot, m as determinant2x2 } from '../Core/Math/index.js';
4
+ import { b as distance2BetweenPoints, d as dot, j as determinant2x2 } from '../Core/Math/index.js';
5
5
  import vtkLine from './Line.js';
6
6
  import vtkPlane from './Plane.js';
7
7
 
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import { mat4, mat3 } from 'gl-matrix';
3
3
  import Constants from './LandmarkTransform/Constants.js';
4
4
  import macro from '../../macros.js';
5
- import { o as jacobiN, p as perpendiculars } from '../Core/Math/index.js';
5
+ import { k as jacobiN, p as perpendiculars } from '../Core/Math/index.js';
6
6
 
7
7
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
8
8
 
@@ -1,7 +1,7 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkDataArray from '../../Common/Core/DataArray.js';
3
3
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
4
- import { l as normalize } from '../../Common/Core/Math/index.js';
4
+ import { g as normalize } from '../../Common/Core/Math/index.js';
5
5
  import vtkCaseTable from './ImageMarchingCubes/caseTable.js';
6
6
 
7
7
  var vtkErrorMacro = macro.vtkErrorMacro,
@@ -1,7 +1,7 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
3
3
  import vtkDataArray from '../../Common/Core/DataArray.js';
4
- import { l as normalize } from '../../Common/Core/Math/index.js';
4
+ import { g as normalize } from '../../Common/Core/Math/index.js';
5
5
  import { a as atomElem } from '../../Utilities/XMLConverter/chemistry/elements.json.js';
6
6
 
7
7
  var vtkErrorMacro = macro.vtkErrorMacro,
@@ -1,7 +1,7 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkCellArray from '../../Common/Core/CellArray.js';
3
3
  import vtkDataArray from '../../Common/Core/DataArray.js';
4
- import { l as normalize, j as cross, n as norm, d as dot, f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
4
+ import { g as normalize, e as cross, n as norm, d as dot, b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
5
5
  import vtkPoints from '../../Common/Core/Points.js';
6
6
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
7
7
  import { DesiredOutputPrecision } from '../../Common/DataModel/DataSetAttributes/Constants.js';
@@ -2,7 +2,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import macro from '../../macros.js';
3
3
  import vtkBoundingBox from '../../Common/DataModel/BoundingBox.js';
4
4
  import vtkDataArray from '../../Common/Core/DataArray.js';
5
- import { q as vtkMath } from '../../Common/Core/Math/index.js';
5
+ import { l as vtkMath } from '../../Common/Core/Math/index.js';
6
6
  import { AttributeTypes } from '../../Common/DataModel/DataSetAttributes/Constants.js';
7
7
  import vtkPoints from '../../Common/Core/Points.js';
8
8
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
@@ -3,7 +3,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
3
3
  import macro from '../../macros.js';
4
4
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
5
5
  import vtkMatrixBuilder from '../../Common/Core/MatrixBuilder.js';
6
- import { t as multiplyScalar } from '../../Common/Core/Math/index.js';
6
+ import { m as multiplyScalar } from '../../Common/Core/Math/index.js';
7
7
 
8
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9
9
 
@@ -1,6 +1,6 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
3
- import { g as subtract, n as norm } from '../../Common/Core/Math/index.js';
3
+ import { c as subtract, n as norm } from '../../Common/Core/Math/index.js';
4
4
 
5
5
  var vtkWarningMacro = macro.vtkWarningMacro; // ----------------------------------------------------------------------------
6
6
  // vtkLineSource methods
@@ -2,7 +2,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import { mat4, vec3 } from 'gl-matrix';
3
3
  import macro from '../../macros.js';
4
4
  import vtkDataArray from '../../Common/Core/DataArray.js';
5
- import { g as subtract, l as normalize, d as dot, j as cross, r as radiansFromDegrees } from '../../Common/Core/Math/index.js';
5
+ import { c as subtract, g as normalize, d as dot, e as cross, r as radiansFromDegrees } from '../../Common/Core/Math/index.js';
6
6
  import vtkMatrixBuilder from '../../Common/Core/MatrixBuilder.js';
7
7
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
8
8
 
@@ -1,5 +1,5 @@
1
1
  import macro from '../../macros.js';
2
- import { w as random } from '../../Common/Core/Math/index.js';
2
+ import { o as random } from '../../Common/Core/Math/index.js';
3
3
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
4
4
 
5
5
  // vtkPointSource methods
@@ -1,6 +1,6 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkDataArray from '../../Common/Core/DataArray.js';
3
- import { l as normalize, d as dot, j as cross, f as distance2BetweenPoints, x as determinant3x3 } from '../../Common/Core/Math/index.js';
3
+ import { g as normalize, d as dot, e as cross, b as distance2BetweenPoints, q as determinant3x3 } from '../../Common/Core/Math/index.js';
4
4
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
5
5
 
6
6
  var vtkErrorMacro = macro.vtkErrorMacro; // ----------------------------------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkDataArray from '../../Common/Core/DataArray.js';
3
- import { f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
3
+ import { b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
4
4
  import vtkPolyData from '../../Common/DataModel/PolyData.js';
5
5
 
6
6
  var vtkErrorMacro = macro.vtkErrorMacro; // ----------------------------------------------------------------------------
@@ -1,7 +1,7 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkBoundingBox from '../../Common/DataModel/BoundingBox.js';
3
3
  import vtkCompositeKeyboardManipulator from './CompositeKeyboardManipulator.js';
4
- import { k as add, l as normalize, j as cross } from '../../Common/Core/Math/index.js';
4
+ import { f as add, g as normalize, e as cross } from '../../Common/Core/Math/index.js';
5
5
 
6
6
  var vtkErrorMacro = macro.vtkErrorMacro;
7
7
  var ANIMATION_REQUESTER = 'vtkKeyboardCameraManipulator'; // ----------------------------------------------------------------------------
@@ -3,7 +3,7 @@ import { mat4, vec3 } from 'gl-matrix';
3
3
  import macro from '../../macros.js';
4
4
  import vtkCompositeCameraManipulator from './CompositeCameraManipulator.js';
5
5
  import vtkCompositeMouseManipulator from './CompositeMouseManipulator.js';
6
- import { r as radiansFromDegrees, j as cross } from '../../Common/Core/Math/index.js';
6
+ import { r as radiansFromDegrees, e as cross } from '../../Common/Core/Math/index.js';
7
7
  import vtkMatrixBuilder from '../../Common/Core/MatrixBuilder.js';
8
8
 
9
9
  // vtkMouseCameraAxisRotateManipulator methods
@@ -1,7 +1,7 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkCompositeCameraManipulator from './CompositeCameraManipulator.js';
3
3
  import vtkCompositeMouseManipulator from './CompositeMouseManipulator.js';
4
- import { j as cross } from '../../Common/Core/Math/index.js';
4
+ import { e as cross } from '../../Common/Core/Math/index.js';
5
5
 
6
6
  // vtkMouseCameraTrackballPanManipulator methods
7
7
  // ----------------------------------------------------------------------------
@@ -2,7 +2,7 @@ import { mat4, vec3 } from 'gl-matrix';
2
2
  import macro from '../../macros.js';
3
3
  import vtkCompositeCameraManipulator from './CompositeCameraManipulator.js';
4
4
  import vtkCompositeMouseManipulator from './CompositeMouseManipulator.js';
5
- import { t as multiplyScalar, d as dot, k as add, r as radiansFromDegrees, j as cross } from '../../Common/Core/Math/index.js';
5
+ import { m as multiplyScalar, d as dot, f as add, r as radiansFromDegrees, e as cross } from '../../Common/Core/Math/index.js';
6
6
 
7
7
  // vtkMouseCameraTrackballRotateManipulator methods
8
8
  // ----------------------------------------------------------------------------
@@ -5,7 +5,7 @@ import vtkCompositeMouseManipulator from './CompositeMouseManipulator.js';
5
5
  import vtkInteractorStyleConstants from '../../Rendering/Core/InteractorStyle/Constants.js';
6
6
  import vtkMouseCameraUnicamRotateManipulator from './MouseCameraUnicamRotateManipulator.js';
7
7
  import macro from '../../macros.js';
8
- import { g as subtract, t as multiplyScalar, l as normalize, d as dot, r as radiansFromDegrees, j as cross } from '../../Common/Core/Math/index.js';
8
+ import { c as subtract, m as multiplyScalar, g as normalize, d as dot, r as radiansFromDegrees, e as cross } from '../../Common/Core/Math/index.js';
9
9
 
10
10
  var States = vtkInteractorStyleConstants.States; // ----------------------------------------------------------------------------
11
11
  // vtkMouseCameraUnicamManipulator methods
@@ -10,7 +10,7 @@ import vtkSphereSource from '../../Filters/Sources/SphereSource.js';
10
10
  import { FieldAssociations } from '../../Common/DataModel/DataSet/Constants.js';
11
11
  import { mat4, vec3 } from 'gl-matrix';
12
12
  import macro from '../../macros.js';
13
- import { z as areEquals, l as normalize, d as dot, A as clampValue, g as subtract, j as cross, t as multiplyScalar, f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
13
+ import { z as areEquals, g as normalize, d as dot, A as clampValue, c as subtract, e as cross, m as multiplyScalar, b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
14
14
 
15
15
  var States = vtkInteractorStyleConstants.States; // ----------------------------------------------------------------------------
16
16
  // vtkMouseCameraUnicamRotateManipulator methods
@@ -1,6 +1,6 @@
1
1
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import macro from '../../macros.js';
3
- import { l as normalize, f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
3
+ import { g as normalize, b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
4
4
  import vtkMatrixBuilder from '../../Common/Core/MatrixBuilder.js';
5
5
  import vtkInteractorStyleManipulator from './InteractorStyleManipulator.js';
6
6
  import vtkMouseCameraTrackballRotateManipulator from '../Manipulators/MouseCameraTrackballRotateManipulator.js';
@@ -3,7 +3,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
3
3
  import macro from '../../macros.js';
4
4
  import vtkLabelRepresentation from './LabelRepresentation.js';
5
5
  import vtkLineRepresentation from './LineRepresentation.js';
6
- import { f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
6
+ import { b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
7
7
 
8
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9
9
 
@@ -1,6 +1,6 @@
1
1
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import macro from '../../macros.js';
3
- import { f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
3
+ import { b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
4
4
  import vtkCellPicker from '../../Rendering/Core/CellPicker.js';
5
5
  import vtkActor from '../../Rendering/Core/Actor.js';
6
6
  import vtkWidgetRepresentation from './WidgetRepresentation.js';
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
3
3
  import macro from '../../macros.js';
4
- import { l as normalize, d as dot, g as subtract, B as projectVector, k as add } from '../../Common/Core/Math/index.js';
4
+ import { g as normalize, d as dot, c as subtract, B as projectVector, f as add } from '../../Common/Core/Math/index.js';
5
5
  import vtkPlane from '../../Common/DataModel/Plane.js';
6
6
  import vtkAbstractWidget from './AbstractWidget.js';
7
7
  import vtkImageCroppingRegionsRepresentation from './ImageCroppingRegionsRepresentation.js';
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import macro from '../../macros.js';
3
3
  import vtkActor from '../../Rendering/Core/Actor.js';
4
4
  import vtkInteractorObserver from '../../Rendering/Core/InteractorObserver.js';
5
- import { g as subtract, k as add } from '../../Common/Core/Math/index.js';
5
+ import { c as subtract, f as add } from '../../Common/Core/Math/index.js';
6
6
  import vtkPixelSpaceCallbackMapper from '../../Rendering/Core/PixelSpaceCallbackMapper.js';
7
7
  import vtkPointSource from '../../Filters/Sources/PointSource.js';
8
8
  import vtkHandleRepresentation from './HandleRepresentation.js';
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
3
3
  import macro from '../../../macros.js';
4
- import { j as cross, l as normalize, A as clampValue } from '../../../Common/Core/Math/index.js';
4
+ import { e as cross, g as normalize, A as clampValue } from '../../../Common/Core/Math/index.js';
5
5
  import vtkPolyData from '../../../Common/DataModel/PolyData.js';
6
6
  import vtkPlane from '../../../Common/DataModel/Plane.js';
7
7
  import vtkCellArray from '../../../Common/Core/CellArray.js';
@@ -2,7 +2,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import macro from '../../../macros.js';
3
3
  import vtkInteractorObserver from '../../../Rendering/Core/InteractorObserver.js';
4
4
  import vtkLine from '../../../Common/DataModel/Line.js';
5
- import { f as distance2BetweenPoints, l as normalize, d as dot, j as cross, u as uninitializeBounds } from '../../../Common/Core/Math/index.js';
5
+ import { b as distance2BetweenPoints, g as normalize, d as dot, e as cross, u as uninitializeBounds } from '../../../Common/Core/Math/index.js';
6
6
  import vtkMatrixBuilder from '../../../Common/Core/MatrixBuilder.js';
7
7
  import vtkPlane from '../../../Common/DataModel/Plane.js';
8
8
  import vtkResliceCursorActor from './ResliceCursorActor.js';
@@ -4,7 +4,7 @@ import { mat4, vec4 } from 'gl-matrix';
4
4
  import vtkImageMapper from '../../../Rendering/Core/ImageMapper.js';
5
5
  import vtkImageReslice from '../../../Imaging/Core/ImageReslice.js';
6
6
  import vtkImageSlice from '../../../Rendering/Core/ImageSlice.js';
7
- import { k as add, g as subtract, l as normalize } from '../../../Common/Core/Math/index.js';
7
+ import { f as add, c as subtract, g as normalize } from '../../../Common/Core/Math/index.js';
8
8
  import vtkPlaneSource from '../../../Filters/Sources/PlaneSource.js';
9
9
  import vtkWidgetRepresentation from '../WidgetRepresentation.js';
10
10
  import { transformPlane, boundPlane } from '../../../Widgets/Widgets3D/ResliceCursorWidget/helpers.js';
@@ -5,7 +5,7 @@ import vtkCellPicker from '../../Rendering/Core/CellPicker.js';
5
5
  import vtkHandleRepresentation from './HandleRepresentation.js';
6
6
  import vtkInteractorObserver from '../../Rendering/Core/InteractorObserver.js';
7
7
  import vtkMapper from '../../Rendering/Core/Mapper.js';
8
- import { f as distance2BetweenPoints, n as norm } from '../../Common/Core/Math/index.js';
8
+ import { b as distance2BetweenPoints, n as norm } from '../../Common/Core/Math/index.js';
9
9
  import vtkProperty from '../../Rendering/Core/Property.js';
10
10
  import vtkSphereSource from '../../Filters/Sources/SphereSource.js';
11
11
  import { InteractionState } from './HandleRepresentation/Constants.js';
@@ -1,7 +1,7 @@
1
1
  import macro from '../../macros.js';
2
2
  import vtkMouseRangeManipulator from '../../Interaction/Manipulators/MouseRangeManipulator.js';
3
3
  import vtkViewProxy from './ViewProxy.js';
4
- import { j as cross, D as getMajorAxisIndex } from '../../Common/Core/Math/index.js';
4
+ import { e as cross, D as getMajorAxisIndex } from '../../Common/Core/Math/index.js';
5
5
 
6
6
  var DEFAULT_STEP_WIDTH = 512;
7
7
 
@@ -10,15 +10,16 @@ export interface IStyle {
10
10
  fontSizeScale?: (res: number) => number;
11
11
  edgeThickness?: number;
12
12
  edgeColor?: string;
13
+ resolution?: number;
13
14
  }
14
15
 
15
- export interface IFaceProperty {
16
+ export interface IFaceProperty extends IStyle {
16
17
  text?: string;
17
18
  faceRotation?: number;
18
19
  }
19
20
 
20
21
  /**
21
- *
22
+ *
22
23
  */
23
24
  export interface IAnnotatedCubeActorInitialValues extends IActorInitialValues {
24
25
  }
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
2
2
  import { mat4, vec4, vec3, quat } from 'gl-matrix';
3
3
  import macro from '../../macros.js';
4
- import { r as radiansFromDegrees, k as add, j as cross } from '../../Common/Core/Math/index.js';
4
+ import { r as radiansFromDegrees, f as add, e as cross } from '../../Common/Core/Math/index.js';
5
5
 
6
6
  var vtkDebugMacro = macro.vtkDebugMacro;
7
7
  /* eslint-disable new-cap */
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import macro from '../../macros.js';
3
- import { l as normalize } from '../../Common/Core/Math/index.js';
3
+ import { g as normalize } from '../../Common/Core/Math/index.js';
4
4
  import vtkPicker from './Picker.js';
5
5
  import vtkPoints from '../../Common/Core/Points.js';
6
6
  import vtkTriangle from '../../Common/DataModel/Triangle.js';
@@ -1,5 +1,5 @@
1
1
  import macro from '../../macros.js';
2
- import { l as normalize, r as radiansFromDegrees } from '../../Common/Core/Math/index.js';
2
+ import { g as normalize, r as radiansFromDegrees } from '../../Common/Core/Math/index.js';
3
3
 
4
4
  var LIGHT_TYPES = ['HeadLight', 'CameraLight', 'SceneLight']; // ----------------------------------------------------------------------------
5
5
  // vtkLight methods
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import macro from '../../macros.js';
3
3
  import vtkAbstractPicker from './AbstractPicker.js';
4
4
  import vtkBoundingBox from '../../Common/DataModel/BoundingBox.js';
5
- import { d as dot, l as normalize, n as norm, f as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
5
+ import { d as dot, g as normalize, n as norm, b as distance2BetweenPoints } from '../../Common/Core/Math/index.js';
6
6
  import { mat4, vec4 } from 'gl-matrix';
7
7
 
8
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -18,7 +18,7 @@ var vtkWarningMacro = macro.vtkWarningMacro,
18
18
  var deviceInputMap = {
19
19
  'xr-standard': [Input.Trigger, Input.Grip, Input.TrackPad, Input.Thumbstick, Input.A, Input.B]
20
20
  };
21
- var handledEvents = ['StartAnimation', 'Animation', 'EndAnimation', 'MouseEnter', 'MouseLeave', 'StartMouseMove', 'MouseMove', 'EndMouseMove', 'LeftButtonPress', 'LeftButtonRelease', 'MiddleButtonPress', 'MiddleButtonRelease', 'RightButtonPress', 'RightButtonRelease', 'KeyPress', 'KeyDown', 'KeyUp', 'StartMouseWheel', 'MouseWheel', 'EndMouseWheel', 'StartPinch', 'Pinch', 'EndPinch', 'StartPan', 'Pan', 'EndPan', 'StartRotate', 'Rotate', 'EndRotate', 'Button3D', 'Move3D', 'StartPointerLock', 'EndPointerLock', 'StartInteraction', 'Interaction', 'EndInteraction'];
21
+ var handledEvents = ['StartAnimation', 'Animation', 'EndAnimation', 'MouseEnter', 'MouseLeave', 'StartMouseMove', 'MouseMove', 'EndMouseMove', 'LeftButtonPress', 'LeftButtonRelease', 'MiddleButtonPress', 'MiddleButtonRelease', 'RightButtonPress', 'RightButtonRelease', 'KeyPress', 'KeyDown', 'KeyUp', 'StartMouseWheel', 'MouseWheel', 'EndMouseWheel', 'StartPinch', 'Pinch', 'EndPinch', 'StartPan', 'Pan', 'EndPan', 'StartRotate', 'Rotate', 'EndRotate', 'Button3D', 'Move3D', 'StartPointerLock', 'EndPointerLock', 'StartInteraction', 'Interaction', 'EndInteraction', 'AnimationFrameRateUpdate'];
22
22
 
23
23
  function preventDefault(event) {
24
24
  if (event.cancelable) {
@@ -326,6 +326,8 @@ function vtkRenderWindowInteractor(publicAPI, model) {
326
326
  animationRequesters.add(requestor);
327
327
 
328
328
  if (animationRequesters.size === 1 && !model.xrAnimation) {
329
+ model._animationStartTime = Date.now();
330
+ model._animationFrameCount = 0;
329
331
  model.lastFrameTime = 0.1;
330
332
  model.lastFrameStart = Date.now();
331
333
  model.animationRequest = requestAnimationFrame(publicAPI.handleAnimation);
@@ -450,6 +452,14 @@ function vtkRenderWindowInteractor(publicAPI, model) {
450
452
 
451
453
  publicAPI.handleAnimation = function () {
452
454
  var currTime = Date.now();
455
+ model._animationFrameCount++;
456
+
457
+ if (currTime - model._animationStartTime > 1000.0 && model._animationFrameCount > 1) {
458
+ model.recentAnimationFrameRate = 1000.0 * (model._animationFrameCount - 1) / (currTime - model._animationStartTime);
459
+ publicAPI.animationFrameRateUpdateEvent();
460
+ model._animationStartTime = currTime;
461
+ model._animationFrameCount = 1;
462
+ }
453
463
 
454
464
  if (model.FrameTime === -1.0) {
455
465
  model.lastFrameTime = 0.1;
@@ -498,7 +508,7 @@ function vtkRenderWindowInteractor(publicAPI, model) {
498
508
  model.wheelTimeoutID = setTimeout(function () {
499
509
  publicAPI.endMouseWheelEvent();
500
510
  model.wheelTimeoutID = 0;
501
- }, 200);
511
+ }, 800);
502
512
  };
503
513
 
504
514
  publicAPI.handleMouseEnter = function (event) {
@@ -660,10 +670,14 @@ function vtkRenderWindowInteractor(publicAPI, model) {
660
670
  };
661
671
 
662
672
  publicAPI.getFirstRenderer = function () {
663
- return model.view.getRenderable().getRenderersByReference()[0];
673
+ var _model$view, _model$view$getRender, _model$view$getRender2;
674
+
675
+ return (_model$view = model.view) === null || _model$view === void 0 ? void 0 : (_model$view$getRender = _model$view.getRenderable()) === null || _model$view$getRender === void 0 ? void 0 : (_model$view$getRender2 = _model$view$getRender.getRenderersByReference()) === null || _model$view$getRender2 === void 0 ? void 0 : _model$view$getRender2[0];
664
676
  };
665
677
 
666
678
  publicAPI.findPokedRenderer = function () {
679
+ var _model$view2, _model$view2$getRende;
680
+
667
681
  var x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
668
682
  var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
669
683
 
@@ -673,7 +687,12 @@ function vtkRenderWindowInteractor(publicAPI, model) {
673
687
  // the first one is the one we want to manipulate the camera on.
674
688
 
675
689
 
676
- var rc = model.view.getRenderable().getRenderers();
690
+ var rc = (_model$view2 = model.view) === null || _model$view2 === void 0 ? void 0 : (_model$view2$getRende = _model$view2.getRenderable()) === null || _model$view2$getRende === void 0 ? void 0 : _model$view2$getRende.getRenderers();
691
+
692
+ if (!rc) {
693
+ return null;
694
+ }
695
+
677
696
  rc.sort(function (a, b) {
678
697
  return a.getLayer() - b.getLayer();
679
698
  });
@@ -915,6 +934,8 @@ function vtkRenderWindowInteractor(publicAPI, model) {
915
934
 
916
935
  publicAPI.handleVisibilityChange = function () {
917
936
  model.lastFrameStart = Date.now();
937
+ model._animationStartTime = Date.now();
938
+ model._animationFrameCount = 0;
918
939
  };
919
940
 
920
941
  publicAPI.setCurrentRenderer = function (r) {
@@ -966,6 +987,7 @@ var DEFAULT_VALUES = {
966
987
  currentGesture: 'Start',
967
988
  animationRequest: null,
968
989
  lastFrameTime: 0.1,
990
+ recentAnimationFrameRate: 10.0,
969
991
  wheelTimeoutID: 0,
970
992
  moveTimeoutID: 0,
971
993
  lastGamepadValues: {}
@@ -981,7 +1003,7 @@ function extend(publicAPI, model) {
981
1003
  return macro.event(publicAPI, model, eventName);
982
1004
  }); // Create get-only macros
983
1005
 
984
- macro.get(publicAPI, model, ['initialized', 'container', 'interactorStyle', 'lastFrameTime', 'view']); // Create get-set macros
1006
+ macro.get(publicAPI, model, ['initialized', 'container', 'interactorStyle', 'lastFrameTime', 'recentAnimationFrameRate', 'view']); // Create get-set macros
985
1007
 
986
1008
  macro.setGet(publicAPI, model, ['lightFollowCamera', 'enabled', 'enableRender', 'recognizeGestures', 'desiredUpdateRate', 'stillUpdateRate', 'picker']); // For more macro methods, see "Sources/macros.js"
987
1009
  // Object specific methods
@@ -3,7 +3,7 @@ import { mat3, mat4, vec3 } from 'gl-matrix';
3
3
  import { newInstance as newInstance$1, setGet, obj, vtkErrorMacro as vtkErrorMacro$1 } from '../../macros.js';
4
4
  import vtkHelper from './Helper.js';
5
5
  import vtkMapper from '../Core/Mapper.js';
6
- import { l as normalize, u as uninitializeBounds } from '../../Common/Core/Math/index.js';
6
+ import { g as normalize, u as uninitializeBounds } from '../../Common/Core/Math/index.js';
7
7
  import vtkOpenGLTexture from './Texture.js';
8
8
  import vtkProperty from '../Core/Property.js';
9
9
  import vtkShaderProgram from './ShaderProgram.js';
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import { newInstance as newInstance$1, obj, setGet, newTypedArray, vtkDebugMacro as vtkDebugMacro$1 } from '../../macros.js';
3
- import { j as cross, l as normalize } from '../../Common/Core/Math/index.js';
3
+ import { e as cross, g as normalize } from '../../Common/Core/Math/index.js';
4
4
  import vtkWebGPUBuffer from './Buffer.js';
5
5
  import vtkWebGPUTypes from './Types.js';
6
6
  import vtkProperty from '../Core/Property.js';