@kitware/vtk.js 25.6.0 → 25.7.0

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 (73) hide show
  1. package/Common/Core/CellArray.d.ts +20 -8
  2. package/Common/Core/CellArray.js +25 -6
  3. package/Common/Core/DataArray.d.ts +159 -15
  4. package/Common/Core/DataArray.js +181 -26
  5. package/Common/Core/Math/index.js +1 -1
  6. package/Common/Core/Math.js +1 -1
  7. package/Common/Core/Points.d.ts +6 -5
  8. package/Common/Core/Points.js +8 -4
  9. package/Common/DataModel/AbstractPointLocator.d.ts +54 -0
  10. package/Common/DataModel/AbstractPointLocator.js +40 -0
  11. package/Common/DataModel/DataSetAttributes/FieldData.d.ts +33 -22
  12. package/Common/DataModel/DataSetAttributes/FieldData.js +91 -9
  13. package/Common/DataModel/DataSetAttributes.d.ts +44 -0
  14. package/Common/DataModel/DataSetAttributes.js +11 -0
  15. package/Common/DataModel/IncrementalOctreeNode.d.ts +282 -0
  16. package/Common/DataModel/IncrementalOctreeNode.js +621 -0
  17. package/Common/DataModel/IncrementalOctreePointLocator.d.ts +61 -0
  18. package/Common/DataModel/IncrementalOctreePointLocator.js +342 -0
  19. package/Common/DataModel/Line.js +1 -1
  20. package/Common/DataModel/Locator.d.ts +43 -0
  21. package/Common/DataModel/Locator.js +37 -0
  22. package/Common/DataModel/Plane.js +1 -1
  23. package/Common/DataModel/Polygon/Constants.js +12 -0
  24. package/Common/DataModel/Polygon.d.ts +38 -4
  25. package/Common/DataModel/Polygon.js +210 -6
  26. package/Common/DataModel/Quad/Constants.js +9 -0
  27. package/Common/DataModel/Quad.d.ts +91 -0
  28. package/Common/DataModel/Quad.js +235 -0
  29. package/Common/DataModel/Triangle.d.ts +106 -81
  30. package/Common/DataModel/Triangle.js +1 -1
  31. package/Common/Transform/LandmarkTransform.js +1 -1
  32. package/Filters/Core/PolyDataNormals.js +1 -1
  33. package/Filters/General/ClipClosedSurface/Constants.js +10 -0
  34. package/Filters/General/ClipClosedSurface/ccsEdgeLocator.js +40 -0
  35. package/Filters/General/ClipClosedSurface.d.ts +95 -0
  36. package/Filters/General/ClipClosedSurface.js +970 -0
  37. package/Filters/General/ContourTriangulator/Constants.js +6 -0
  38. package/Filters/General/ContourTriangulator/helper.js +1951 -0
  39. package/Filters/General/ContourTriangulator.d.ts +122 -0
  40. package/Filters/General/ContourTriangulator.js +200 -0
  41. package/Filters/General/ImageMarchingCubes.js +1 -1
  42. package/Filters/General/MoleculeToRepresentation.js +1 -1
  43. package/Filters/General/OBBTree.js +1 -1
  44. package/Filters/General/TubeFilter.js +1 -1
  45. package/Filters/General/WindowedSincPolyDataFilter.js +1 -1
  46. package/Filters/Sources/PlaneSource.js +1 -1
  47. package/Filters/Texture/TextureMapToPlane.js +1 -1
  48. package/Interaction/Manipulators/KeyboardCameraManipulator.js +1 -1
  49. package/Interaction/Manipulators/MouseCameraAxisRotateManipulator.js +1 -1
  50. package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.js +1 -1
  51. package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -1
  52. package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -1
  53. package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -1
  54. package/Interaction/Style/InteractorStyleMPRSlice.js +1 -1
  55. package/Proxy/Core/View2DProxy.js +1 -1
  56. package/Rendering/Core/Camera.js +1 -1
  57. package/Rendering/Core/CellPicker.js +3 -2
  58. package/Rendering/Core/Light.js +1 -1
  59. package/Rendering/Core/Picker.js +1 -1
  60. package/Rendering/OpenGL/PolyDataMapper.js +1 -1
  61. package/Rendering/WebGPU/BufferManager.js +1 -1
  62. package/Widgets/Core/StateBuilder/orientationMixin.js +1 -1
  63. package/Widgets/Manipulators/LineManipulator.js +1 -1
  64. package/Widgets/Manipulators/TrackballManipulator.js +1 -1
  65. package/Widgets/Representations/ResliceCursorContextRepresentation.js +1 -1
  66. package/Widgets/Widgets3D/LineWidget/behavior.js +1 -1
  67. package/Widgets/Widgets3D/LineWidget/helpers.js +1 -1
  68. package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
  69. package/Widgets/Widgets3D/ResliceCursorWidget/helpers.js +1 -1
  70. package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -1
  71. package/Widgets/Widgets3D/ShapeWidget/behavior.js +1 -1
  72. package/index.d.ts +7 -0
  73. package/package.json +1 -1
@@ -5,7 +5,7 @@ import vtkAbstractWidgetFactory from '../Core/AbstractWidgetFactory.js';
5
5
  import vtkPlane from '../../Common/DataModel/Plane.js';
6
6
  import vtkPlaneSource from '../../Filters/Sources/PlaneSource.js';
7
7
  import vtkResliceCursorContextRepresentation from '../Representations/ResliceCursorContextRepresentation.js';
8
- import { f as distance2BetweenPoints, m as multiplyAccumulate, s as subtract, l as normalize, x as multiplyScalar, k as add } from '../../Common/Core/Math/index.js';
8
+ import { f as distance2BetweenPoints, o as multiplyAccumulate, s as subtract, m as normalize, x as multiplyScalar, l as add } from '../../Common/Core/Math/index.js';
9
9
  import widgetBehavior from './ResliceCursorWidget/behavior.js';
10
10
  import generateState from './ResliceCursorWidget/state.js';
11
11
  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 { t as vtkMath } from '../../../Common/Core/Math/index.js';
4
+ import { g 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
@@ -16,6 +16,7 @@
16
16
  /// <reference path="./Common/Core/StringArray.d.ts" />
17
17
  /// <reference path="./Common/Core/URLExtract.d.ts" />
18
18
  /// <reference path="./Common/Core/VariantArray.d.ts" />
19
+ /// <reference path="./Common/DataModel/AbstractPointLocator.d.ts" />
19
20
  /// <reference path="./Common/DataModel/Box.d.ts" />
20
21
  /// <reference path="./Common/DataModel/CardinalSpline1D.d.ts" />
21
22
  /// <reference path="./Common/DataModel/Cell.d.ts" />
@@ -27,8 +28,11 @@
27
28
  /// <reference path="./Common/DataModel/DataSetAttributes.d.ts" />
28
29
  /// <reference path="./Common/DataModel/ITKHelper.d.ts" />
29
30
  /// <reference path="./Common/DataModel/ImageData.d.ts" />
31
+ /// <reference path="./Common/DataModel/IncrementalOctreeNode.d.ts" />
32
+ /// <reference path="./Common/DataModel/IncrementalOctreePointLocator.d.ts" />
30
33
  /// <reference path="./Common/DataModel/KochanekSpline1D.d.ts" />
31
34
  /// <reference path="./Common/DataModel/Line.d.ts" />
35
+ /// <reference path="./Common/DataModel/Locator.d.ts" />
32
36
  /// <reference path="./Common/DataModel/PiecewiseFunction.d.ts" />
33
37
  /// <reference path="./Common/DataModel/Plane.d.ts" />
34
38
  /// <reference path="./Common/DataModel/PointSet.d.ts" />
@@ -36,6 +40,7 @@
36
40
  /// <reference path="./Common/DataModel/PolyData.d.ts" />
37
41
  /// <reference path="./Common/DataModel/PolyLine.d.ts" />
38
42
  /// <reference path="./Common/DataModel/Polygon.d.ts" />
43
+ /// <reference path="./Common/DataModel/Quad.d.ts" />
39
44
  /// <reference path="./Common/DataModel/SelectionNode.d.ts" />
40
45
  /// <reference path="./Common/DataModel/Sphere.d.ts" />
41
46
  /// <reference path="./Common/DataModel/Spline1D.d.ts" />
@@ -44,6 +49,8 @@
44
49
  /// <reference path="./Common/DataModel/Triangle.d.ts" />
45
50
  /// <reference path="./Common/Transform/LandmarkTransform.d.ts" />
46
51
  /// <reference path="./Filters/General/AppendPolyData.d.ts" />
52
+ /// <reference path="./Filters/General/ClipClosedSurface.d.ts" />
53
+ /// <reference path="./Filters/General/ContourTriangulator.d.ts" />
47
54
  /// <reference path="./Filters/General/ImageCropFilter.d.ts" />
48
55
  /// <reference path="./Filters/General/ImageOutlineFilter.d.ts" />
49
56
  /// <reference path="./Filters/General/ImageSliceFilter.d.ts" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "25.6.0",
3
+ "version": "25.7.0",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",