@kitware/vtk.js 25.5.0 → 25.7.1

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 (85) 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 +971 -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/Actor2D.d.ts +12 -6
  57. package/Rendering/Core/Camera.js +1 -1
  58. package/Rendering/Core/CellPicker.js +3 -2
  59. package/Rendering/Core/ColorTransferFunction/ColorMaps.d.ts +24 -0
  60. package/Rendering/Core/Light.js +1 -1
  61. package/Rendering/Core/Picker.js +1 -1
  62. package/Rendering/Core/Property2D.d.ts +1 -1
  63. package/Rendering/Core/VolumeProperty.d.ts +4 -4
  64. package/Rendering/Core/VolumeProperty.js +1 -1
  65. package/Rendering/OpenGL/PolyDataMapper.js +1 -1
  66. package/Rendering/WebGPU/BufferManager.js +1 -1
  67. package/Rendering/WebGPU/ForwardPass.js +93 -15
  68. package/Rendering/WebGPU/OpaquePass.js +1 -1
  69. package/Rendering/WebGPU/OrderIndependentTranslucentPass.js +1 -1
  70. package/Rendering/WebGPU/RenderEncoder.js +9 -5
  71. package/Rendering/WebGPU/RenderWindow.js +15 -13
  72. package/Rendering/WebGPU/TextureView.js +15 -2
  73. package/Rendering/WebGPU/VolumePass.js +1 -1
  74. package/Widgets/Core/StateBuilder/orientationMixin.js +1 -1
  75. package/Widgets/Manipulators/LineManipulator.js +1 -1
  76. package/Widgets/Manipulators/TrackballManipulator.js +1 -1
  77. package/Widgets/Representations/ResliceCursorContextRepresentation.js +1 -1
  78. package/Widgets/Widgets3D/LineWidget/behavior.js +1 -1
  79. package/Widgets/Widgets3D/LineWidget/helpers.js +1 -1
  80. package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
  81. package/Widgets/Widgets3D/ResliceCursorWidget/helpers.js +1 -1
  82. package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -1
  83. package/Widgets/Widgets3D/ShapeWidget/behavior.js +1 -1
  84. package/index.d.ts +8 -0
  85. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ var CCS_POLYGON_TOLERANCE = 1e-5;
2
+ var Constants = {
3
+ CCS_POLYGON_TOLERANCE: CCS_POLYGON_TOLERANCE
4
+ };
5
+
6
+ export { CCS_POLYGON_TOLERANCE, Constants as default };