@kitware/vtk.js 24.5.4 → 24.5.5

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 (54) hide show
  1. package/Common/Core/Math/index.js +1 -1
  2. package/Common/Core/Math.js +1 -1
  3. package/Common/DataModel/Triangle.js +1 -1
  4. package/Common/Transform/LandmarkTransform.js +1 -1
  5. package/Filters/Core/PolyDataNormals.js +1 -1
  6. package/Filters/General/OBBTree.js +1 -1
  7. package/Filters/General/WindowedSincPolyDataFilter.js +1 -1
  8. package/Filters/Sources/CircleSource.js +1 -1
  9. package/Filters/Sources/PointSource.js +1 -1
  10. package/Filters/Texture/TextureMapToPlane.js +1 -1
  11. package/Interaction/Manipulators/MouseCameraTrackballRollManipulator.js +1 -1
  12. package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -1
  13. package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -1
  14. package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -1
  15. package/Interaction/Style/InteractorStyleTrackballCamera.js +1 -1
  16. package/Interaction/Widgets/PiecewiseGaussianWidget.js +1 -1
  17. package/Proxy/Core/View2DProxy.js +1 -1
  18. package/Rendering/Core/ColorTransferFunction.js +1 -1
  19. package/Rendering/Core/Coordinate.js +1 -1
  20. package/Rendering/Core/CubeAxesActor.js +1 -1
  21. package/Rendering/Core/Glyph3DMapper.js +1 -1
  22. package/Rendering/Core/ImageMapper.js +1 -1
  23. package/Rendering/Core/Mapper.js +1 -1
  24. package/Rendering/Core/Prop3D.js +1 -1
  25. package/Rendering/Core/RenderWindowInteractor.js +1 -1
  26. package/Rendering/Core/Renderer.js +1 -1
  27. package/Rendering/Core/ScalarBarActor.js +1 -1
  28. package/Rendering/Core/VolumeMapper.js +1 -1
  29. package/Rendering/OpenGL/PolyDataMapper2D.js +1 -1
  30. package/Rendering/OpenGL/Texture.js +1 -1
  31. package/Rendering/WebGPU/BufferManager.js +83 -14
  32. package/Rendering/WebGPU/CellArrayMapper.js +6 -44
  33. package/Rendering/WebGPU/Device.js +97 -57
  34. package/Rendering/WebGPU/Glyph3DMapper.js +2 -0
  35. package/Rendering/WebGPU/ImageMapper.js +1 -5
  36. package/Rendering/WebGPU/SphereMapper.js +29 -31
  37. package/Rendering/WebGPU/StickMapper.js +38 -42
  38. package/Rendering/WebGPU/StorageBuffer.js +0 -1
  39. package/Rendering/WebGPU/Texture.js +0 -2
  40. package/Rendering/WebGPU/TextureManager.js +37 -7
  41. package/Rendering/WebGPU/UniformBuffer.js +0 -1
  42. package/Rendering/WebGPU/VolumePass.js +1 -3
  43. package/Rendering/WebGPU/VolumePassFSQ.js +1 -5
  44. package/Widgets/Manipulators/LineManipulator.js +1 -1
  45. package/Widgets/Representations/PolyLineRepresentation.js +1 -1
  46. package/Widgets/Representations/ResliceCursorContextRepresentation.js +1 -1
  47. package/Widgets/Widgets3D/AngleWidget.js +1 -1
  48. package/Widgets/Widgets3D/LineWidget/helpers.js +1 -1
  49. package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
  50. package/Widgets/Widgets3D/ResliceCursorWidget/helpers.js +1 -1
  51. package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -1
  52. package/Widgets/Widgets3D/ShapeWidget/behavior.js +1 -1
  53. package/index.d.ts +2 -2
  54. package/package.json +1 -1
@@ -3,7 +3,7 @@ import vtkBoundingBox, { STATIC } from '../../../Common/DataModel/BoundingBox.js
3
3
  import vtkCubeSource from '../../../Filters/Sources/CubeSource.js';
4
4
  import vtkCutter from '../../../Filters/Core/Cutter.js';
5
5
  import vtkPlane from '../../../Common/DataModel/Plane.js';
6
- import { g as subtract, l as normalize, j as cross, t as multiplyScalar, P as multiplyAccumulate, R as signedAngleBetweenVectors } from '../../../Common/Core/Math/index.js';
6
+ import { g as subtract, l as normalize, j as cross, x as multiplyScalar, m as multiplyAccumulate, S as signedAngleBetweenVectors } from '../../../Common/Core/Math/index.js';
7
7
  import vtkMatrixBuilder from '../../../Common/Core/MatrixBuilder.js';
8
8
  import { ViewTypes } from '../../Core/WidgetManager/Constants.js';
9
9
 
@@ -4,7 +4,7 @@ import vtkAbstractWidgetFactory from '../Core/AbstractWidgetFactory.js';
4
4
  import vtkPlane from '../../Common/DataModel/Plane.js';
5
5
  import vtkPlaneSource from '../../Filters/Sources/PlaneSource.js';
6
6
  import vtkResliceCursorContextRepresentation from '../Representations/ResliceCursorContextRepresentation.js';
7
- import { f as distance2BetweenPoints, P as multiplyAccumulate, g as subtract, l as normalize, t as multiplyScalar, k as add } from '../../Common/Core/Math/index.js';
7
+ import { f as distance2BetweenPoints, m as multiplyAccumulate, g as subtract, l as normalize, x as multiplyScalar, k as add } from '../../Common/Core/Math/index.js';
8
8
  import widgetBehavior from './ResliceCursorWidget/behavior.js';
9
9
  import generateState from './ResliceCursorWidget/state.js';
10
10
  import { updateState, transformPlane, boundPlane } from './ResliceCursorWidget/helpers.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 { o as vtkMath } from '../../../Common/Core/Math/index.js';
4
+ import { t as vtkMath } from '../../../Common/Core/Math/index.js';
5
5
  import vtkBoundingBox from '../../../Common/DataModel/BoundingBox.js';
6
6
  import vtkPlane from '../../../Common/DataModel/Plane.js';
7
7
  import { ShapeBehavior, BehaviorCategory, TextPosition } from './Constants.js';
package/index.d.ts CHANGED
@@ -37,6 +37,7 @@
37
37
  /// <reference path="./Common/DataModel/Sphere.d.ts" />
38
38
  /// <reference path="./Common/DataModel/Spline1D.d.ts" />
39
39
  /// <reference path="./Common/DataModel/Spline3D.d.ts" />
40
+ /// <reference path="./Common/DataModel/Triangle.d.ts" />
40
41
  /// <reference path="./Common/Transform/LandmarkTransform.d.ts" />
41
42
  /// <reference path="./Filters/General/AppendPolyData.d.ts" />
42
43
  /// <reference path="./Filters/General/ImageCropFilter.d.ts" />
@@ -61,8 +62,8 @@
61
62
  /// <reference path="./Filters/Texture/TextureMapToPlane.d.ts" />
62
63
  /// <reference path="./Filters/Texture/TextureMapToSphere.d.ts" />
63
64
  /// <reference path="./Interaction/Widgets/OrientationMarkerWidget.d.ts" />
64
- /// <reference path="./IO/Core/DataAccessHelper/HttpDataAccessHelper.d.ts" />
65
65
  /// <reference path="./IO/Core/DataAccessHelper/HtmlDataAccessHelper.d.ts" />
66
+ /// <reference path="./IO/Core/DataAccessHelper/HttpDataAccessHelper.d.ts" />
66
67
  /// <reference path="./IO/Core/DataAccessHelper.d.ts" />
67
68
  /// <reference path="./IO/Core/DataAccessHelper/JSZipDataAccessHelper.d.ts" />
68
69
  /// <reference path="./IO/Core/DataAccessHelper/LiteHttpDataAccessHelper.d.ts" />
@@ -143,5 +144,4 @@
143
144
  /// <reference path="./Widgets/Representations/ResliceCursorContextRepresentation.d.ts" />
144
145
  /// <reference path="./Widgets/Representations/WidgetRepresentation.d.ts" />
145
146
  /// <reference path="./Widgets/Widgets3D/SphereWidget.d.ts" />
146
- /// <reference path="./Common/DataModel/Triangle.d.ts" />
147
147
  /// <reference path="./Common/Core/Math.d.ts" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "24.5.4",
3
+ "version": "24.5.5",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",