@cornerstonejs/tools 2.0.0-beta.3 → 2.0.0-beta.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 (491) hide show
  1. package/dist/cjs/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts +1 -1
  2. package/dist/cjs/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts +1 -1
  3. package/dist/cjs/eventListeners/keyboard/keyDownListener.js +1 -2
  4. package/dist/cjs/eventListeners/keyboard/keyDownListener.js.map +1 -1
  5. package/dist/cjs/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js +4 -8
  6. package/dist/cjs/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js.map +1 -1
  7. package/dist/cjs/stateManagement/segmentation/SegmentationStateManager.js +2 -3
  8. package/dist/cjs/stateManagement/segmentation/SegmentationStateManager.js.map +1 -1
  9. package/dist/cjs/stateManagement/segmentation/addSegmentationRepresentations.js.map +1 -1
  10. package/dist/cjs/stateManagement/segmentation/addSegmentations.js +1 -5
  11. package/dist/cjs/stateManagement/segmentation/addSegmentations.js.map +1 -1
  12. package/dist/cjs/store/ToolGroupManager/ToolGroup.js +1 -2
  13. package/dist/cjs/store/ToolGroupManager/ToolGroup.js.map +1 -1
  14. package/dist/cjs/store/state.js +1 -5
  15. package/dist/cjs/store/state.js.map +1 -1
  16. package/dist/cjs/synchronizers/synchronizers/createVOISynchronizer.d.ts +1 -1
  17. package/dist/cjs/tools/AdvancedMagnifyViewport.d.ts +2 -2
  18. package/dist/cjs/tools/AdvancedMagnifyViewportManager.d.ts +1 -1
  19. package/dist/cjs/tools/WindowLevelTool.js +3 -0
  20. package/dist/cjs/tools/WindowLevelTool.js.map +1 -1
  21. package/dist/cjs/tools/displayTools/Contour/contourConfigCache.d.ts +1 -1
  22. package/dist/cjs/tools/displayTools/Contour/contourDisplay.js.map +1 -1
  23. package/dist/cjs/tools/segmentation/strategies/eraseCircle.d.ts +1 -1
  24. package/dist/cjs/tools/segmentation/strategies/eraseRectangle.d.ts +1 -1
  25. package/dist/cjs/tools/segmentation/strategies/eraseSphere.d.ts +1 -1
  26. package/dist/cjs/tools/segmentation/strategies/fillCircle.d.ts +1 -1
  27. package/dist/cjs/tools/segmentation/strategies/fillRectangle.d.ts +1 -1
  28. package/dist/cjs/tools/segmentation/strategies/fillSphere.d.ts +1 -1
  29. package/dist/cjs/types/AnnotationGroupSelector.d.ts +1 -1
  30. package/dist/cjs/types/AnnotationStyle.d.ts +7 -7
  31. package/dist/cjs/types/AnnotationTypes.d.ts +4 -4
  32. package/dist/cjs/types/BoundsIJK.d.ts +1 -1
  33. package/dist/cjs/types/CINETypes.d.ts +2 -2
  34. package/dist/cjs/types/CalculatorTypes.d.ts +1 -1
  35. package/dist/cjs/types/ContourTypes.d.ts +3 -3
  36. package/dist/cjs/types/CursorTypes.d.ts +2 -2
  37. package/dist/cjs/types/EventTypes.d.ts +81 -81
  38. package/dist/cjs/types/FloodFillTypes.d.ts +5 -5
  39. package/dist/cjs/types/IDistance.d.ts +1 -1
  40. package/dist/cjs/types/IPoints.d.ts +1 -1
  41. package/dist/cjs/types/ISetToolModeOptions.d.ts +5 -5
  42. package/dist/cjs/types/IToolClassReference.d.ts +1 -1
  43. package/dist/cjs/types/ITouchPoints.d.ts +1 -1
  44. package/dist/cjs/types/InteractionTypes.d.ts +1 -1
  45. package/dist/cjs/types/InternalToolTypes.d.ts +3 -3
  46. package/dist/cjs/types/JumpToSliceOptions.d.ts +1 -1
  47. package/dist/cjs/types/LabelmapTypes.d.ts +3 -3
  48. package/dist/cjs/types/PlanarBoundingBox.d.ts +1 -1
  49. package/dist/cjs/types/SVGDrawingHelper.d.ts +1 -1
  50. package/dist/cjs/types/ScrollOptions.d.ts +1 -1
  51. package/dist/cjs/types/SegmentationStateTypes.d.ts +15 -15
  52. package/dist/cjs/types/ToolAction.d.ts +1 -1
  53. package/dist/cjs/types/ToolHandle.d.ts +3 -3
  54. package/dist/cjs/types/ToolProps.d.ts +4 -4
  55. package/dist/cjs/types/index.d.ts +7 -7
  56. package/dist/cjs/utilities/getModalityUnit.d.ts +1 -1
  57. package/dist/cjs/utilities/getToolsWithModesForElement.d.ts +1 -1
  58. package/dist/cjs/utilities/math/angle/angleBetweenLines.d.ts +3 -3
  59. package/dist/cjs/utilities/math/basic/BasicStatsCalculator.js.map +1 -1
  60. package/dist/cjs/utilities/math/circle/_types.d.ts +1 -1
  61. package/dist/cjs/utilities/math/ellipse/getCanvasEllipseCorners.d.ts +1 -1
  62. package/dist/cjs/utilities/math/ellipse/pointInEllipse.d.ts +1 -1
  63. package/dist/cjs/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts +1 -1
  64. package/dist/cjs/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts +3 -3
  65. package/dist/cjs/utilities/math/sphere/pointInSphere.d.ts +1 -1
  66. package/dist/cjs/utilities/pointInShapeCallback.d.ts +3 -3
  67. package/dist/cjs/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts +1 -1
  68. package/dist/cjs/utilities/segmentation/createLabelmapVolumeForViewport.d.ts +8 -8
  69. package/dist/cjs/utilities/segmentation/createLabelmapVolumeForViewport.js +1 -2
  70. package/dist/cjs/utilities/segmentation/createLabelmapVolumeForViewport.js.map +1 -1
  71. package/dist/cjs/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts +2 -2
  72. package/dist/cjs/utilities/segmentation/thresholdVolumeByRange.d.ts +1 -1
  73. package/dist/cjs/utilities/segmentation/utilities.d.ts +1 -1
  74. package/dist/cjs/utilities/stackPrefetch/stackPrefetch.js.map +1 -1
  75. package/dist/esm/eventListeners/keyboard/keyDownListener.js +1 -2
  76. package/dist/esm/eventListeners/keyboard/keyDownListener.js.map +1 -1
  77. package/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js +4 -5
  78. package/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js.map +1 -1
  79. package/dist/esm/stateManagement/segmentation/SegmentationStateManager.js +2 -3
  80. package/dist/esm/stateManagement/segmentation/SegmentationStateManager.js.map +1 -1
  81. package/dist/esm/stateManagement/segmentation/addSegmentationRepresentations.js.map +1 -1
  82. package/dist/esm/stateManagement/segmentation/addSegmentations.js +1 -2
  83. package/dist/esm/stateManagement/segmentation/addSegmentations.js.map +1 -1
  84. package/dist/esm/store/ToolGroupManager/ToolGroup.js +1 -2
  85. package/dist/esm/store/ToolGroupManager/ToolGroup.js.map +1 -1
  86. package/dist/esm/store/state.js +9 -2
  87. package/dist/esm/store/state.js.map +1 -1
  88. package/dist/esm/tools/OrientationMarkerTool.js +4 -4
  89. package/dist/esm/tools/OrientationMarkerTool.js.map +1 -1
  90. package/dist/esm/tools/WindowLevelTool.js +3 -0
  91. package/dist/esm/tools/WindowLevelTool.js.map +1 -1
  92. package/dist/esm/tools/displayTools/Contour/contourDisplay.js.map +1 -1
  93. package/dist/esm/utilities/math/basic/BasicStatsCalculator.js.map +1 -1
  94. package/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.js +1 -2
  95. package/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.js.map +1 -1
  96. package/dist/esm/utilities/stackPrefetch/stackPrefetch.js.map +1 -1
  97. package/dist/{esm → types}/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts +1 -1
  98. package/dist/{esm → types}/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts +1 -1
  99. package/dist/{esm → types}/synchronizers/synchronizers/createVOISynchronizer.d.ts +1 -1
  100. package/dist/{esm → types}/tools/AdvancedMagnifyViewport.d.ts +2 -2
  101. package/dist/{esm → types}/tools/AdvancedMagnifyViewportManager.d.ts +1 -1
  102. package/dist/{esm → types}/tools/displayTools/Contour/contourConfigCache.d.ts +1 -1
  103. package/dist/{esm → types}/tools/segmentation/strategies/eraseCircle.d.ts +1 -1
  104. package/dist/{esm → types}/tools/segmentation/strategies/eraseRectangle.d.ts +1 -1
  105. package/dist/{esm → types}/tools/segmentation/strategies/eraseSphere.d.ts +1 -1
  106. package/dist/{esm → types}/tools/segmentation/strategies/fillCircle.d.ts +1 -1
  107. package/dist/{esm → types}/tools/segmentation/strategies/fillRectangle.d.ts +1 -1
  108. package/dist/{esm → types}/tools/segmentation/strategies/fillSphere.d.ts +1 -1
  109. package/dist/types/types/AnnotationGroupSelector.d.ts +2 -0
  110. package/dist/{esm → types}/types/AnnotationStyle.d.ts +7 -7
  111. package/dist/{esm → types}/types/AnnotationTypes.d.ts +4 -4
  112. package/dist/{esm → types}/types/BoundsIJK.d.ts +1 -1
  113. package/dist/{esm → types}/types/CINETypes.d.ts +2 -2
  114. package/dist/{esm → types}/types/CalculatorTypes.d.ts +1 -1
  115. package/dist/{esm → types}/types/ContourTypes.d.ts +3 -3
  116. package/dist/{esm → types}/types/CursorTypes.d.ts +2 -2
  117. package/dist/types/types/EventTypes.d.ts +215 -0
  118. package/dist/{esm → types}/types/FloodFillTypes.d.ts +5 -5
  119. package/dist/{esm → types}/types/IDistance.d.ts +1 -1
  120. package/dist/{esm → types}/types/IPoints.d.ts +1 -1
  121. package/dist/{esm → types}/types/ISetToolModeOptions.d.ts +5 -5
  122. package/dist/types/types/IToolClassReference.d.ts +3 -0
  123. package/dist/{esm → types}/types/ITouchPoints.d.ts +1 -1
  124. package/dist/types/types/InteractionTypes.d.ts +2 -0
  125. package/dist/{esm → types}/types/InternalToolTypes.d.ts +3 -3
  126. package/dist/{esm → types}/types/JumpToSliceOptions.d.ts +1 -1
  127. package/dist/{esm → types}/types/LabelmapTypes.d.ts +3 -3
  128. package/dist/{esm → types}/types/PlanarBoundingBox.d.ts +1 -1
  129. package/dist/{esm → types}/types/SVGDrawingHelper.d.ts +1 -1
  130. package/dist/{esm → types}/types/ScrollOptions.d.ts +1 -1
  131. package/dist/{esm → types}/types/SegmentationStateTypes.d.ts +15 -15
  132. package/dist/{esm → types}/types/ToolAction.d.ts +1 -1
  133. package/dist/{esm → types}/types/ToolHandle.d.ts +3 -3
  134. package/dist/{esm → types}/types/ToolProps.d.ts +4 -4
  135. package/dist/{esm → types}/types/index.d.ts +7 -7
  136. package/dist/{esm → types}/utilities/getModalityUnit.d.ts +1 -1
  137. package/dist/{esm → types}/utilities/getToolsWithModesForElement.d.ts +1 -1
  138. package/dist/types/utilities/math/angle/angleBetweenLines.d.ts +6 -0
  139. package/dist/{esm → types}/utilities/math/circle/_types.d.ts +1 -1
  140. package/dist/{esm → types}/utilities/math/ellipse/getCanvasEllipseCorners.d.ts +1 -1
  141. package/dist/{esm → types}/utilities/math/ellipse/pointInEllipse.d.ts +1 -1
  142. package/dist/{esm → types}/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts +1 -1
  143. package/dist/{esm → types}/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts +3 -3
  144. package/dist/{esm → types}/utilities/math/sphere/pointInSphere.d.ts +1 -1
  145. package/dist/{esm → types}/utilities/pointInShapeCallback.d.ts +3 -3
  146. package/dist/{esm → types}/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts +1 -1
  147. package/dist/{esm → types}/utilities/segmentation/createLabelmapVolumeForViewport.d.ts +8 -8
  148. package/dist/{esm → types}/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts +2 -2
  149. package/dist/{esm → types}/utilities/segmentation/thresholdVolumeByRange.d.ts +1 -1
  150. package/dist/{esm → types}/utilities/segmentation/utilities.d.ts +1 -1
  151. package/dist/umd/index.js +1 -1
  152. package/dist/umd/index.js.map +1 -1
  153. package/package.json +4 -4
  154. package/src/eventListeners/keyboard/keyDownListener.ts +1 -2
  155. package/src/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.ts +4 -5
  156. package/src/stateManagement/segmentation/SegmentationStateManager.ts +2 -3
  157. package/src/stateManagement/segmentation/addSegmentationRepresentations.ts +0 -1
  158. package/src/stateManagement/segmentation/addSegmentations.ts +1 -2
  159. package/src/store/ToolGroupManager/ToolGroup.ts +1 -2
  160. package/src/store/state.ts +9 -3
  161. package/src/tools/WindowLevelTool.ts +3 -0
  162. package/src/tools/displayTools/Contour/contourDisplay.ts +0 -1
  163. package/src/types/index.ts +7 -7
  164. package/src/utilities/segmentation/createLabelmapVolumeForViewport.ts +9 -10
  165. package/src/utilities/stackPrefetch/stackPrefetch.ts +0 -2
  166. package/dist/esm/types/AnnotationGroupSelector.d.ts +0 -2
  167. package/dist/esm/types/EventTypes.d.ts +0 -215
  168. package/dist/esm/types/IToolClassReference.d.ts +0 -3
  169. package/dist/esm/types/InteractionTypes.d.ts +0 -2
  170. package/dist/esm/utilities/math/angle/angleBetweenLines.d.ts +0 -6
  171. /package/dist/{esm → types}/constants/COLOR_LUT.d.ts +0 -0
  172. /package/dist/{esm → types}/constants/index.d.ts +0 -0
  173. /package/dist/{esm → types}/cursors/ImageMouseCursor.d.ts +0 -0
  174. /package/dist/{esm → types}/cursors/MouseCursor.d.ts +0 -0
  175. /package/dist/{esm → types}/cursors/SVGCursorDescriptor.d.ts +0 -0
  176. /package/dist/{esm → types}/cursors/SVGMouseCursor.d.ts +0 -0
  177. /package/dist/{esm → types}/cursors/elementCursor.d.ts +0 -0
  178. /package/dist/{esm → types}/cursors/index.d.ts +0 -0
  179. /package/dist/{esm → types}/cursors/setCursorForElement.d.ts +0 -0
  180. /package/dist/{esm → types}/drawingSvg/_getHash.d.ts +0 -0
  181. /package/dist/{esm → types}/drawingSvg/clearByToolType.d.ts +0 -0
  182. /package/dist/{esm → types}/drawingSvg/draw.d.ts +0 -0
  183. /package/dist/{esm → types}/drawingSvg/drawArrow.d.ts +0 -0
  184. /package/dist/{esm → types}/drawingSvg/drawCircle.d.ts +0 -0
  185. /package/dist/{esm → types}/drawingSvg/drawEllipse.d.ts +0 -0
  186. /package/dist/{esm → types}/drawingSvg/drawHandles.d.ts +0 -0
  187. /package/dist/{esm → types}/drawingSvg/drawLine.d.ts +0 -0
  188. /package/dist/{esm → types}/drawingSvg/drawLink.d.ts +0 -0
  189. /package/dist/{esm → types}/drawingSvg/drawLinkedTextBox.d.ts +0 -0
  190. /package/dist/{esm → types}/drawingSvg/drawPolyline.d.ts +0 -0
  191. /package/dist/{esm → types}/drawingSvg/drawRect.d.ts +0 -0
  192. /package/dist/{esm → types}/drawingSvg/drawTextBox.d.ts +0 -0
  193. /package/dist/{esm → types}/drawingSvg/getSvgDrawingHelper.d.ts +0 -0
  194. /package/dist/{esm → types}/drawingSvg/index.d.ts +0 -0
  195. /package/dist/{esm → types}/drawingSvg/setAttributesIfNecessary.d.ts +0 -0
  196. /package/dist/{esm → types}/drawingSvg/setNewAttributesIfValid.d.ts +0 -0
  197. /package/dist/{esm → types}/enums/AnnotationStyleStates.d.ts +0 -0
  198. /package/dist/{esm → types}/enums/Events.d.ts +0 -0
  199. /package/dist/{esm → types}/enums/SegmentationRepresentations.d.ts +0 -0
  200. /package/dist/{esm → types}/enums/ToolBindings.d.ts +0 -0
  201. /package/dist/{esm → types}/enums/ToolModes.d.ts +0 -0
  202. /package/dist/{esm → types}/enums/Touch.d.ts +0 -0
  203. /package/dist/{esm → types}/enums/index.d.ts +0 -0
  204. /package/dist/{esm → types}/eventDispatchers/annotationModifiedEventDispatcher.d.ts +0 -0
  205. /package/dist/{esm → types}/eventDispatchers/cameraModifiedEventDispatcher.d.ts +0 -0
  206. /package/dist/{esm → types}/eventDispatchers/imageRenderedEventDispatcher.d.ts +0 -0
  207. /package/dist/{esm → types}/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts +0 -0
  208. /package/dist/{esm → types}/eventDispatchers/index.d.ts +0 -0
  209. /package/dist/{esm → types}/eventDispatchers/keyboardEventHandlers/index.d.ts +0 -0
  210. /package/dist/{esm → types}/eventDispatchers/keyboardEventHandlers/keyDown.d.ts +0 -0
  211. /package/dist/{esm → types}/eventDispatchers/keyboardEventHandlers/keyUp.d.ts +0 -0
  212. /package/dist/{esm → types}/eventDispatchers/keyboardToolEventDispatcher.d.ts +0 -0
  213. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/index.d.ts +0 -0
  214. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseClick.d.ts +0 -0
  215. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts +0 -0
  216. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseDown.d.ts +0 -0
  217. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts +0 -0
  218. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts +0 -0
  219. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts +0 -0
  220. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseMove.d.ts +0 -0
  221. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseUp.d.ts +0 -0
  222. /package/dist/{esm → types}/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts +0 -0
  223. /package/dist/{esm → types}/eventDispatchers/mouseToolEventDispatcher.d.ts +0 -0
  224. /package/dist/{esm → types}/eventDispatchers/shared/customCallbackHandler.d.ts +0 -0
  225. /package/dist/{esm → types}/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts +0 -0
  226. /package/dist/{esm → types}/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts +0 -0
  227. /package/dist/{esm → types}/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts +0 -0
  228. /package/dist/{esm → types}/eventDispatchers/shared/getMouseModifier.d.ts +0 -0
  229. /package/dist/{esm → types}/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts +0 -0
  230. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/index.d.ts +0 -0
  231. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/touchDrag.d.ts +0 -0
  232. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/touchEnd.d.ts +0 -0
  233. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/touchPress.d.ts +0 -0
  234. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/touchStart.d.ts +0 -0
  235. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts +0 -0
  236. /package/dist/{esm → types}/eventDispatchers/touchEventHandlers/touchTap.d.ts +0 -0
  237. /package/dist/{esm → types}/eventDispatchers/touchToolEventDispatcher.d.ts +0 -0
  238. /package/dist/{esm → types}/eventListeners/annotations/annotationModifiedListener.d.ts +0 -0
  239. /package/dist/{esm → types}/eventListeners/annotations/annotationSelectionListener.d.ts +0 -0
  240. /package/dist/{esm → types}/eventListeners/annotations/index.d.ts +0 -0
  241. /package/dist/{esm → types}/eventListeners/index.d.ts +0 -0
  242. /package/dist/{esm → types}/eventListeners/keyboard/index.d.ts +0 -0
  243. /package/dist/{esm → types}/eventListeners/keyboard/keyDownListener.d.ts +0 -0
  244. /package/dist/{esm → types}/eventListeners/mouse/getMouseEventPoints.d.ts +0 -0
  245. /package/dist/{esm → types}/eventListeners/mouse/index.d.ts +0 -0
  246. /package/dist/{esm → types}/eventListeners/mouse/mouseDoubleClickListener.d.ts +0 -0
  247. /package/dist/{esm → types}/eventListeners/mouse/mouseDownListener.d.ts +0 -0
  248. /package/dist/{esm → types}/eventListeners/mouse/mouseMoveListener.d.ts +0 -0
  249. /package/dist/{esm → types}/eventListeners/segmentation/index.d.ts +0 -0
  250. /package/dist/{esm → types}/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts +0 -0
  251. /package/dist/{esm → types}/eventListeners/segmentation/segmentationModifiedEventListener.d.ts +0 -0
  252. /package/dist/{esm → types}/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.d.ts +0 -0
  253. /package/dist/{esm → types}/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.d.ts +0 -0
  254. /package/dist/{esm → types}/eventListeners/touch/getTouchEventPoints.d.ts +0 -0
  255. /package/dist/{esm → types}/eventListeners/touch/index.d.ts +0 -0
  256. /package/dist/{esm → types}/eventListeners/touch/preventGhostClick.d.ts +0 -0
  257. /package/dist/{esm → types}/eventListeners/touch/touchStartListener.d.ts +0 -0
  258. /package/dist/{esm → types}/eventListeners/wheel/index.d.ts +0 -0
  259. /package/dist/{esm → types}/eventListeners/wheel/normalizeWheel.d.ts +0 -0
  260. /package/dist/{esm → types}/eventListeners/wheel/wheelListener.d.ts +0 -0
  261. /package/dist/{esm → types}/index.d.ts +0 -0
  262. /package/dist/{esm → types}/init.d.ts +0 -0
  263. /package/dist/{esm → types}/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts +0 -0
  264. /package/dist/{esm → types}/stateManagement/annotation/annotationLocking.d.ts +0 -0
  265. /package/dist/{esm → types}/stateManagement/annotation/annotationSelection.d.ts +0 -0
  266. /package/dist/{esm → types}/stateManagement/annotation/annotationState.d.ts +0 -0
  267. /package/dist/{esm → types}/stateManagement/annotation/annotationVisibility.d.ts +0 -0
  268. /package/dist/{esm → types}/stateManagement/annotation/config/ToolStyle.d.ts +0 -0
  269. /package/dist/{esm → types}/stateManagement/annotation/config/getFont.d.ts +0 -0
  270. /package/dist/{esm → types}/stateManagement/annotation/config/getState.d.ts +0 -0
  271. /package/dist/{esm → types}/stateManagement/annotation/config/helpers.d.ts +0 -0
  272. /package/dist/{esm → types}/stateManagement/annotation/config/index.d.ts +0 -0
  273. /package/dist/{esm → types}/stateManagement/annotation/helpers/state.d.ts +0 -0
  274. /package/dist/{esm → types}/stateManagement/annotation/index.d.ts +0 -0
  275. /package/dist/{esm → types}/stateManagement/index.d.ts +0 -0
  276. /package/dist/{esm → types}/stateManagement/segmentation/SegmentationStateManager.d.ts +0 -0
  277. /package/dist/{esm → types}/stateManagement/segmentation/activeSegmentation.d.ts +0 -0
  278. /package/dist/{esm → types}/stateManagement/segmentation/addSegmentationRepresentations.d.ts +0 -0
  279. /package/dist/{esm → types}/stateManagement/segmentation/addSegmentations.d.ts +0 -0
  280. /package/dist/{esm → types}/stateManagement/segmentation/config/index.d.ts +0 -0
  281. /package/dist/{esm → types}/stateManagement/segmentation/config/segmentationColor.d.ts +0 -0
  282. /package/dist/{esm → types}/stateManagement/segmentation/config/segmentationConfig.d.ts +0 -0
  283. /package/dist/{esm → types}/stateManagement/segmentation/config/segmentationVisibility.d.ts +0 -0
  284. /package/dist/{esm → types}/stateManagement/segmentation/helpers/index.d.ts +0 -0
  285. /package/dist/{esm → types}/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts +0 -0
  286. /package/dist/{esm → types}/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts +0 -0
  287. /package/dist/{esm → types}/stateManagement/segmentation/index.d.ts +0 -0
  288. /package/dist/{esm → types}/stateManagement/segmentation/removeSegmentationsFromToolGroup.d.ts +0 -0
  289. /package/dist/{esm → types}/stateManagement/segmentation/segmentIndex.d.ts +0 -0
  290. /package/dist/{esm → types}/stateManagement/segmentation/segmentLocking.d.ts +0 -0
  291. /package/dist/{esm → types}/stateManagement/segmentation/segmentationState.d.ts +0 -0
  292. /package/dist/{esm → types}/stateManagement/segmentation/triggerSegmentationEvents.d.ts +0 -0
  293. /package/dist/{esm → types}/store/SynchronizerManager/Synchronizer.d.ts +0 -0
  294. /package/dist/{esm → types}/store/SynchronizerManager/createSynchronizer.d.ts +0 -0
  295. /package/dist/{esm → types}/store/SynchronizerManager/destroy.d.ts +0 -0
  296. /package/dist/{esm → types}/store/SynchronizerManager/destroySynchronizer.d.ts +0 -0
  297. /package/dist/{esm → types}/store/SynchronizerManager/getAllSynchronizers.d.ts +0 -0
  298. /package/dist/{esm → types}/store/SynchronizerManager/getSynchronizer.d.ts +0 -0
  299. /package/dist/{esm → types}/store/SynchronizerManager/getSynchronizersForViewport.d.ts +0 -0
  300. /package/dist/{esm → types}/store/SynchronizerManager/index.d.ts +0 -0
  301. /package/dist/{esm → types}/store/ToolGroupManager/ToolGroup.d.ts +0 -0
  302. /package/dist/{esm → types}/store/ToolGroupManager/createToolGroup.d.ts +0 -0
  303. /package/dist/{esm → types}/store/ToolGroupManager/destroy.d.ts +0 -0
  304. /package/dist/{esm → types}/store/ToolGroupManager/destroyToolGroup.d.ts +0 -0
  305. /package/dist/{esm → types}/store/ToolGroupManager/getAllToolGroups.d.ts +0 -0
  306. /package/dist/{esm → types}/store/ToolGroupManager/getToolGroup.d.ts +0 -0
  307. /package/dist/{esm → types}/store/ToolGroupManager/getToolGroupForViewport.d.ts +0 -0
  308. /package/dist/{esm → types}/store/ToolGroupManager/getToolGroupsWithToolName.d.ts +0 -0
  309. /package/dist/{esm → types}/store/ToolGroupManager/index.d.ts +0 -0
  310. /package/dist/{esm → types}/store/addEnabledElement.d.ts +0 -0
  311. /package/dist/{esm → types}/store/addTool.d.ts +0 -0
  312. /package/dist/{esm → types}/store/cancelActiveManipulations.d.ts +0 -0
  313. /package/dist/{esm → types}/store/filterMoveableAnnotationTools.d.ts +0 -0
  314. /package/dist/{esm → types}/store/filterToolsWithAnnotationsForElement.d.ts +0 -0
  315. /package/dist/{esm → types}/store/filterToolsWithMoveableHandles.d.ts +0 -0
  316. /package/dist/{esm → types}/store/index.d.ts +0 -0
  317. /package/dist/{esm → types}/store/removeEnabledElement.d.ts +0 -0
  318. /package/dist/{esm → types}/store/state.d.ts +0 -0
  319. /package/dist/{esm → types}/store/svgNodeCache.d.ts +0 -0
  320. /package/dist/{esm → types}/synchronizers/callbacks/areViewportsCoplanar .d.ts +0 -0
  321. /package/dist/{esm → types}/synchronizers/callbacks/cameraSyncCallback.d.ts +0 -0
  322. /package/dist/{esm → types}/synchronizers/callbacks/stackImageSyncCallback.d.ts +0 -0
  323. /package/dist/{esm → types}/synchronizers/callbacks/voiSyncCallback.d.ts +0 -0
  324. /package/dist/{esm → types}/synchronizers/callbacks/zoomPanSyncCallback.d.ts +0 -0
  325. /package/dist/{esm → types}/synchronizers/index.d.ts +0 -0
  326. /package/dist/{esm → types}/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts +0 -0
  327. /package/dist/{esm → types}/synchronizers/synchronizers/createStackImageSynchronizer.d.ts +0 -0
  328. /package/dist/{esm → types}/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts +0 -0
  329. /package/dist/{esm → types}/synchronizers/synchronizers/index.d.ts +0 -0
  330. /package/dist/{esm → types}/tools/AdvancedMagnifyTool.d.ts +0 -0
  331. /package/dist/{esm → types}/tools/CrosshairsTool.d.ts +0 -0
  332. /package/dist/{esm → types}/tools/MIPJumpToClickTool.d.ts +0 -0
  333. /package/dist/{esm → types}/tools/MagnifyTool.d.ts +0 -0
  334. /package/dist/{esm → types}/tools/OrientationMarkerTool.d.ts +0 -0
  335. /package/dist/{esm → types}/tools/OverlayGridTool.d.ts +0 -0
  336. /package/dist/{esm → types}/tools/PanTool.d.ts +0 -0
  337. /package/dist/{esm → types}/tools/PlanarRotateTool.d.ts +0 -0
  338. /package/dist/{esm → types}/tools/ReferenceCursors.d.ts +0 -0
  339. /package/dist/{esm → types}/tools/ReferenceLinesTool.d.ts +0 -0
  340. /package/dist/{esm → types}/tools/ScaleOverlayTool.d.ts +0 -0
  341. /package/dist/{esm → types}/tools/StackScrollTool.d.ts +0 -0
  342. /package/dist/{esm → types}/tools/StackScrollToolMouseWheelTool.d.ts +0 -0
  343. /package/dist/{esm → types}/tools/TrackballRotateTool.d.ts +0 -0
  344. /package/dist/{esm → types}/tools/VolumeRotateMouseWheelTool.d.ts +0 -0
  345. /package/dist/{esm → types}/tools/WindowLevelTool.d.ts +0 -0
  346. /package/dist/{esm → types}/tools/ZoomTool.d.ts +0 -0
  347. /package/dist/{esm → types}/tools/annotation/AngleTool.d.ts +0 -0
  348. /package/dist/{esm → types}/tools/annotation/ArrowAnnotateTool.d.ts +0 -0
  349. /package/dist/{esm → types}/tools/annotation/BidirectionalTool.d.ts +0 -0
  350. /package/dist/{esm → types}/tools/annotation/CircleROITool.d.ts +0 -0
  351. /package/dist/{esm → types}/tools/annotation/CobbAngleTool.d.ts +0 -0
  352. /package/dist/{esm → types}/tools/annotation/DragProbeTool.d.ts +0 -0
  353. /package/dist/{esm → types}/tools/annotation/EllipticalROITool.d.ts +0 -0
  354. /package/dist/{esm → types}/tools/annotation/LengthTool.d.ts +0 -0
  355. /package/dist/{esm → types}/tools/annotation/PlanarFreehandROITool.d.ts +0 -0
  356. /package/dist/{esm → types}/tools/annotation/ProbeTool.d.ts +0 -0
  357. /package/dist/{esm → types}/tools/annotation/RectangleROITool.d.ts +0 -0
  358. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts +0 -0
  359. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/drawLoop.d.ts +0 -0
  360. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts +0 -0
  361. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts +0 -0
  362. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts +0 -0
  363. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts +0 -0
  364. /package/dist/{esm → types}/tools/annotation/planarFreehandROITool/renderMethods.d.ts +0 -0
  365. /package/dist/{esm → types}/tools/base/AnnotationDisplayTool.d.ts +0 -0
  366. /package/dist/{esm → types}/tools/base/AnnotationTool.d.ts +0 -0
  367. /package/dist/{esm → types}/tools/base/BaseTool.d.ts +0 -0
  368. /package/dist/{esm → types}/tools/base/index.d.ts +0 -0
  369. /package/dist/{esm → types}/tools/displayTools/Contour/addContourSetsToElement.d.ts +0 -0
  370. /package/dist/{esm → types}/tools/displayTools/Contour/addOrUpdateContourSets.d.ts +0 -0
  371. /package/dist/{esm → types}/tools/displayTools/Contour/contourConfig.d.ts +0 -0
  372. /package/dist/{esm → types}/tools/displayTools/Contour/contourDisplay.d.ts +0 -0
  373. /package/dist/{esm → types}/tools/displayTools/Contour/index.d.ts +0 -0
  374. /package/dist/{esm → types}/tools/displayTools/Contour/removeContourFromElement.d.ts +0 -0
  375. /package/dist/{esm → types}/tools/displayTools/Contour/updateContourSets.d.ts +0 -0
  376. /package/dist/{esm → types}/tools/displayTools/Contour/utils.d.ts +0 -0
  377. /package/dist/{esm → types}/tools/displayTools/Labelmap/addLabelmapToElement.d.ts +0 -0
  378. /package/dist/{esm → types}/tools/displayTools/Labelmap/index.d.ts +0 -0
  379. /package/dist/{esm → types}/tools/displayTools/Labelmap/labelmapConfig.d.ts +0 -0
  380. /package/dist/{esm → types}/tools/displayTools/Labelmap/labelmapDisplay.d.ts +0 -0
  381. /package/dist/{esm → types}/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts +0 -0
  382. /package/dist/{esm → types}/tools/displayTools/Labelmap/validateRepresentationData.d.ts +0 -0
  383. /package/dist/{esm → types}/tools/displayTools/SegmentationDisplayTool.d.ts +0 -0
  384. /package/dist/{esm → types}/tools/index.d.ts +0 -0
  385. /package/dist/{esm → types}/tools/segmentation/BrushTool.d.ts +0 -0
  386. /package/dist/{esm → types}/tools/segmentation/CircleScissorsTool.d.ts +0 -0
  387. /package/dist/{esm → types}/tools/segmentation/PaintFillTool.d.ts +0 -0
  388. /package/dist/{esm → types}/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts +0 -0
  389. /package/dist/{esm → types}/tools/segmentation/RectangleROIThresholdTool.d.ts +0 -0
  390. /package/dist/{esm → types}/tools/segmentation/RectangleScissorsTool.d.ts +0 -0
  391. /package/dist/{esm → types}/tools/segmentation/SphereScissorsTool.d.ts +0 -0
  392. /package/dist/{esm → types}/tools/segmentation/strategies/index.d.ts +0 -0
  393. /package/dist/{esm → types}/tools/segmentation/strategies/utils/isWithinThreshold.d.ts +0 -0
  394. /package/dist/{esm → types}/types/IAnnotationManager.d.ts +0 -0
  395. /package/dist/{esm → types}/types/ISynchronizerEventHandler.d.ts +0 -0
  396. /package/dist/{esm → types}/types/IToolGroup.d.ts +0 -0
  397. /package/dist/{esm → types}/types/ToolSpecificAnnotationTypes.d.ts +0 -0
  398. /package/dist/{esm → types}/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts +0 -0
  399. /package/dist/{esm → types}/utilities/boundingBox/getBoundingBoxAroundShape.d.ts +0 -0
  400. /package/dist/{esm → types}/utilities/boundingBox/index.d.ts +0 -0
  401. /package/dist/{esm → types}/utilities/calibrateImageSpacing.d.ts +0 -0
  402. /package/dist/{esm → types}/utilities/cine/events.d.ts +0 -0
  403. /package/dist/{esm → types}/utilities/cine/index.d.ts +0 -0
  404. /package/dist/{esm → types}/utilities/cine/playClip.d.ts +0 -0
  405. /package/dist/{esm → types}/utilities/cine/state.d.ts +0 -0
  406. /package/dist/{esm → types}/utilities/clip.d.ts +0 -0
  407. /package/dist/{esm → types}/utilities/debounce.d.ts +0 -0
  408. /package/dist/{esm → types}/utilities/drawing/getTextBoxCoordsCanvas.d.ts +0 -0
  409. /package/dist/{esm → types}/utilities/drawing/index.d.ts +0 -0
  410. /package/dist/{esm → types}/utilities/dynamicVolume/generateImageFromTimeData.d.ts +0 -0
  411. /package/dist/{esm → types}/utilities/dynamicVolume/getDataInTime.d.ts +0 -0
  412. /package/dist/{esm → types}/utilities/dynamicVolume/index.d.ts +0 -0
  413. /package/dist/{esm → types}/utilities/getAnnotationNearPoint.d.ts +0 -0
  414. /package/dist/{esm → types}/utilities/getCalibratedUnits.d.ts +0 -0
  415. /package/dist/{esm → types}/utilities/index.d.ts +0 -0
  416. /package/dist/{esm → types}/utilities/isObject.d.ts +0 -0
  417. /package/dist/{esm → types}/utilities/math/basic/BasicStatsCalculator.d.ts +0 -0
  418. /package/dist/{esm → types}/utilities/math/basic/Calculator.d.ts +0 -0
  419. /package/dist/{esm → types}/utilities/math/basic/index.d.ts +0 -0
  420. /package/dist/{esm → types}/utilities/math/circle/getCanvasCircleCorners.d.ts +0 -0
  421. /package/dist/{esm → types}/utilities/math/circle/getCanvasCircleRadius.d.ts +0 -0
  422. /package/dist/{esm → types}/utilities/math/circle/index.d.ts +0 -0
  423. /package/dist/{esm → types}/utilities/math/ellipse/index.d.ts +0 -0
  424. /package/dist/{esm → types}/utilities/math/index.d.ts +0 -0
  425. /package/dist/{esm → types}/utilities/math/line/distanceToPoint.d.ts +0 -0
  426. /package/dist/{esm → types}/utilities/math/line/distanceToPointSquared.d.ts +0 -0
  427. /package/dist/{esm → types}/utilities/math/line/index.d.ts +0 -0
  428. /package/dist/{esm → types}/utilities/math/line/intersectLine.d.ts +0 -0
  429. /package/dist/{esm → types}/utilities/math/midPoint.d.ts +0 -0
  430. /package/dist/{esm → types}/utilities/math/point/distanceToPoint.d.ts +0 -0
  431. /package/dist/{esm → types}/utilities/math/point/index.d.ts +0 -0
  432. /package/dist/{esm → types}/utilities/math/polyline/addCanvasPointsToArray.d.ts +0 -0
  433. /package/dist/{esm → types}/utilities/math/polyline/calculateAreaOfPoints.d.ts +0 -0
  434. /package/dist/{esm → types}/utilities/math/polyline/getIntersectionWithPolyline.d.ts +0 -0
  435. /package/dist/{esm → types}/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts +0 -0
  436. /package/dist/{esm → types}/utilities/math/polyline/index.d.ts +0 -0
  437. /package/dist/{esm → types}/utilities/math/polyline/pointCanProjectOnLine.d.ts +0 -0
  438. /package/dist/{esm → types}/utilities/math/polyline/pointInPolyline.d.ts +0 -0
  439. /package/dist/{esm → types}/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts +0 -0
  440. /package/dist/{esm → types}/utilities/math/rectangle/distanceToPoint.d.ts +0 -0
  441. /package/dist/{esm → types}/utilities/math/rectangle/index.d.ts +0 -0
  442. /package/dist/{esm → types}/utilities/math/sphere/index.d.ts +0 -0
  443. /package/dist/{esm → types}/utilities/math/vec2/findClosestPoint.d.ts +0 -0
  444. /package/dist/{esm → types}/utilities/math/vec2/index.d.ts +0 -0
  445. /package/dist/{esm → types}/utilities/math/vec2/liangBarksyClip.d.ts +0 -0
  446. /package/dist/{esm → types}/utilities/orientation/getOrientationStringLPS.d.ts +0 -0
  447. /package/dist/{esm → types}/utilities/orientation/index.d.ts +0 -0
  448. /package/dist/{esm → types}/utilities/orientation/invertOrientationStringLPS.d.ts +0 -0
  449. /package/dist/{esm → types}/utilities/planar/filterAnnotationsForDisplay.d.ts +0 -0
  450. /package/dist/{esm → types}/utilities/planar/filterAnnotationsWithinSlice.d.ts +0 -0
  451. /package/dist/{esm → types}/utilities/planar/getPointInLineOfSightWithCriteria.d.ts +0 -0
  452. /package/dist/{esm → types}/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts +0 -0
  453. /package/dist/{esm → types}/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts +0 -0
  454. /package/dist/{esm → types}/utilities/planar/index.d.ts +0 -0
  455. /package/dist/{esm → types}/utilities/planarFreehandROITool/index.d.ts +0 -0
  456. /package/dist/{esm → types}/utilities/planarFreehandROITool/interpolateAnnotation.d.ts +0 -0
  457. /package/dist/{esm → types}/utilities/planarFreehandROITool/interpolatePoints.d.ts +0 -0
  458. /package/dist/{esm → types}/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts +0 -0
  459. /package/dist/{esm → types}/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts +0 -0
  460. /package/dist/{esm → types}/utilities/pointInSurroundingSphereCallback.d.ts +0 -0
  461. /package/dist/{esm → types}/utilities/rectangleROITool/index.d.ts +0 -0
  462. /package/dist/{esm → types}/utilities/roundNumber.d.ts +0 -0
  463. /package/dist/{esm → types}/utilities/scroll.d.ts +0 -0
  464. /package/dist/{esm → types}/utilities/segmentation/brushSizeForToolGroup.d.ts +0 -0
  465. /package/dist/{esm → types}/utilities/segmentation/brushThresholdForToolGroup.d.ts +0 -0
  466. /package/dist/{esm → types}/utilities/segmentation/createMergedLabelmapForIndex.d.ts +0 -0
  467. /package/dist/{esm → types}/utilities/segmentation/floodFill.d.ts +0 -0
  468. /package/dist/{esm → types}/utilities/segmentation/getDefaultRepresentationConfig.d.ts +0 -0
  469. /package/dist/{esm → types}/utilities/segmentation/index.d.ts +0 -0
  470. /package/dist/{esm → types}/utilities/segmentation/isValidRepresentationConfig.d.ts +0 -0
  471. /package/dist/{esm → types}/utilities/segmentation/thresholdSegmentationByRange.d.ts +0 -0
  472. /package/dist/{esm → types}/utilities/segmentation/triggerSegmentationRender.d.ts +0 -0
  473. /package/dist/{esm → types}/utilities/stackPrefetch/index.d.ts +0 -0
  474. /package/dist/{esm → types}/utilities/stackPrefetch/stackContextPrefetch.d.ts +0 -0
  475. /package/dist/{esm → types}/utilities/stackPrefetch/stackPrefetch.d.ts +0 -0
  476. /package/dist/{esm → types}/utilities/stackPrefetch/stackPrefetchUtils.d.ts +0 -0
  477. /package/dist/{esm → types}/utilities/stackPrefetch/state.d.ts +0 -0
  478. /package/dist/{esm → types}/utilities/throttle.d.ts +0 -0
  479. /package/dist/{esm → types}/utilities/touch/index.d.ts +0 -0
  480. /package/dist/{esm → types}/utilities/triggerAnnotationRender.d.ts +0 -0
  481. /package/dist/{esm → types}/utilities/triggerAnnotationRenderForViewportIds.d.ts +0 -0
  482. /package/dist/{esm → types}/utilities/viewport/index.d.ts +0 -0
  483. /package/dist/{esm → types}/utilities/viewport/isViewportPreScaled.d.ts +0 -0
  484. /package/dist/{esm → types}/utilities/viewport/jumpToSlice.d.ts +0 -0
  485. /package/dist/{esm → types}/utilities/viewport/jumpToWorld.d.ts +0 -0
  486. /package/dist/{esm → types}/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts +0 -0
  487. /package/dist/{esm → types}/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts +0 -0
  488. /package/dist/{esm → types}/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts +0 -0
  489. /package/dist/{esm → types}/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts +0 -0
  490. /package/dist/{esm → types}/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts +0 -0
  491. /package/dist/{esm → types}/utilities/viewportFilters/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- declare type SVGDrawingHelper = {
1
+ type SVGDrawingHelper = {
2
2
  svgLayerElement: HTMLDivElement;
3
3
  svgNodeCacheForCanvas: Record<string, unknown>;
4
4
  getSvgNode: (cacheKey: string) => SVGGElement | undefined;
@@ -1,4 +1,4 @@
1
- declare type ScrollOptions = {
1
+ type ScrollOptions = {
2
2
  delta: number;
3
3
  volumeId?: string;
4
4
  debounceLoading?: boolean;
@@ -1,24 +1,24 @@
1
1
  import * as Enums from '../enums';
2
2
  import { ContourConfig, ContourRenderingConfig, ContourSegmentationData } from './ContourTypes';
3
3
  import type { LabelmapConfig, LabelmapRenderingConfig, LabelmapSegmentationData } from './LabelmapTypes';
4
- export declare type Color = [number, number, number, number];
5
- export declare type ColorLUT = Array<Color>;
6
- export declare type SegmentSpecificRepresentationConfig = {
4
+ export type Color = [number, number, number, number];
5
+ export type ColorLUT = Array<Color>;
6
+ export type SegmentSpecificRepresentationConfig = {
7
7
  [key: number | string]: RepresentationConfig;
8
8
  };
9
- export declare type RepresentationConfig = {
9
+ export type RepresentationConfig = {
10
10
  LABELMAP?: LabelmapConfig;
11
11
  CONTOUR?: ContourConfig;
12
12
  };
13
- export declare type SegmentationRepresentationConfig = {
13
+ export type SegmentationRepresentationConfig = {
14
14
  renderInactiveSegmentations: boolean;
15
15
  representations: RepresentationConfig;
16
16
  };
17
- export declare type SegmentationRepresentationData = {
17
+ export type SegmentationRepresentationData = {
18
18
  LABELMAP?: LabelmapSegmentationData;
19
19
  CONTOUR?: ContourSegmentationData;
20
20
  };
21
- export declare type Segmentation = {
21
+ export type Segmentation = {
22
22
  segmentationId: string;
23
23
  type: Enums.SegmentationRepresentations;
24
24
  label: string;
@@ -32,7 +32,7 @@ export declare type Segmentation = {
32
32
  };
33
33
  representationData: SegmentationRepresentationData;
34
34
  };
35
- export declare type ToolGroupSpecificRepresentationState = {
35
+ export type ToolGroupSpecificRepresentationState = {
36
36
  segmentationRepresentationUID: string;
37
37
  segmentationId: string;
38
38
  type: Enums.SegmentationRepresentations;
@@ -40,19 +40,19 @@ export declare type ToolGroupSpecificRepresentationState = {
40
40
  segmentsHidden: Set<number>;
41
41
  colorLUTIndex: number;
42
42
  };
43
- export declare type ToolGroupSpecificLabelmapRepresentation = ToolGroupSpecificRepresentationState & {
43
+ export type ToolGroupSpecificLabelmapRepresentation = ToolGroupSpecificRepresentationState & {
44
44
  config: LabelmapRenderingConfig;
45
45
  segmentationRepresentationSpecificConfig?: RepresentationConfig;
46
46
  segmentSpecificConfig?: SegmentSpecificRepresentationConfig;
47
47
  };
48
- export declare type ToolGroupSpecificContourRepresentation = ToolGroupSpecificRepresentationState & {
48
+ export type ToolGroupSpecificContourRepresentation = ToolGroupSpecificRepresentationState & {
49
49
  config: ContourRenderingConfig;
50
50
  segmentationRepresentationSpecificConfig?: RepresentationConfig;
51
51
  segmentSpecificConfig?: SegmentSpecificRepresentationConfig;
52
52
  };
53
- export declare type ToolGroupSpecificRepresentation = ToolGroupSpecificLabelmapRepresentation | ToolGroupSpecificContourRepresentation;
54
- export declare type ToolGroupSpecificRepresentations = Array<ToolGroupSpecificRepresentation>;
55
- export declare type SegmentationState = {
53
+ export type ToolGroupSpecificRepresentation = ToolGroupSpecificLabelmapRepresentation | ToolGroupSpecificContourRepresentation;
54
+ export type ToolGroupSpecificRepresentations = Array<ToolGroupSpecificRepresentation>;
55
+ export type SegmentationState = {
56
56
  colorLUT: ColorLUT[];
57
57
  segmentations: Segmentation[];
58
58
  globalConfig: SegmentationRepresentationConfig;
@@ -63,14 +63,14 @@ export declare type SegmentationState = {
63
63
  };
64
64
  };
65
65
  };
66
- export declare type SegmentationPublicInput = {
66
+ export type SegmentationPublicInput = {
67
67
  segmentationId: string;
68
68
  representation: {
69
69
  type: Enums.SegmentationRepresentations;
70
70
  data: LabelmapSegmentationData | ContourSegmentationData;
71
71
  };
72
72
  };
73
- export declare type RepresentationPublicInput = {
73
+ export type RepresentationPublicInput = {
74
74
  segmentationId: string;
75
75
  type: Enums.SegmentationRepresentations;
76
76
  };
@@ -1,7 +1,7 @@
1
1
  import type { Annotation } from './AnnotationTypes';
2
2
  import type { InteractionEventType } from './EventTypes';
3
3
  import type { SetToolBindingsType } from './ISetToolModeOptions';
4
- declare type ToolAction = {
4
+ type ToolAction = {
5
5
  method: string | ((evt: InteractionEventType, annotation: Annotation) => void);
6
6
  bindings: SetToolBindingsType[];
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
- declare type AnnotationHandle = Types.Point3;
3
- declare type TextBoxHandle = {
2
+ type AnnotationHandle = Types.Point3;
3
+ type TextBoxHandle = {
4
4
  hasMoved: boolean;
5
5
  worldBoundingBox: {
6
6
  bottomLeft: Types.Point3;
@@ -10,6 +10,6 @@ declare type TextBoxHandle = {
10
10
  };
11
11
  worldPosition: Types.Point3;
12
12
  };
13
- declare type ToolHandle = AnnotationHandle | TextBoxHandle;
13
+ type ToolHandle = AnnotationHandle | TextBoxHandle;
14
14
  export default ToolHandle;
15
15
  export type { AnnotationHandle, TextBoxHandle };
@@ -1,13 +1,13 @@
1
1
  import { Calculator } from '../utilities/math/basic';
2
- declare type SharedToolProp = {
2
+ type SharedToolProp = {
3
3
  supportedInteractionTypes?: Array<string>;
4
4
  configuration?: ToolConfiguration;
5
5
  };
6
- export declare type ToolConfiguration = Record<string, any> & {
6
+ export type ToolConfiguration = Record<string, any> & {
7
7
  statsCalculator?: Calculator;
8
8
  };
9
- export declare type ToolProps = SharedToolProp;
10
- export declare type PublicToolProps = SharedToolProp & {
9
+ export type ToolProps = SharedToolProp;
10
+ export type PublicToolProps = SharedToolProp & {
11
11
  name?: string;
12
12
  };
13
13
  export {};
@@ -21,11 +21,11 @@ import type BoundsIJK from './BoundsIJK';
21
21
  import type SVGDrawingHelper from './SVGDrawingHelper';
22
22
  import type * as CINETypes from './CINETypes';
23
23
  import type { Color, ColorLUT, RepresentationConfig, SegmentationRepresentationConfig, SegmentationRepresentationData, Segmentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, SegmentationState, RepresentationPublicInput } from './SegmentationStateTypes';
24
- import ISynchronizerEventHandler from './ISynchronizerEventHandler';
25
- import { FloodFillGetter, FloodFillOptions, FloodFillResult } from './FloodFillTypes';
26
- import IToolClassReference from './IToolClassReference';
27
- import { ContourSegmentationData } from './ContourTypes';
28
- import IAnnotationManager from './IAnnotationManager';
29
- import AnnotationGroupSelector from './AnnotationGroupSelector';
30
- import { Statistics } from './CalculatorTypes';
24
+ import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
25
+ import type { FloodFillGetter, FloodFillOptions, FloodFillResult } from './FloodFillTypes';
26
+ import type IToolClassReference from './IToolClassReference';
27
+ import type { ContourSegmentationData } from './ContourTypes';
28
+ import type IAnnotationManager from './IAnnotationManager';
29
+ import type AnnotationGroupSelector from './AnnotationGroupSelector';
30
+ import type { Statistics } from './CalculatorTypes';
31
31
  export type { Annotation, Annotations, IAnnotationManager, GroupSpecificAnnotations, AnnotationState, AnnotationStyle, ToolSpecificAnnotationTypes, JumpToSliceOptions, AnnotationGroupSelector, PlanarBoundingBox, ToolProps, PublicToolProps, ToolConfiguration, EventTypes, IPoints, ITouchPoints, IDistance, IToolBinding, SetToolBindingsType, ToolOptionsType, InteractionTypes, ToolAction, IToolGroup, IToolClassReference, ISynchronizerEventHandler, ToolHandle, AnnotationHandle, TextBoxHandle, Segmentation, SegmentationState, SegmentationRepresentationData, SegmentationRepresentationConfig, RepresentationConfig, ToolGroupSpecificRepresentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, RepresentationPublicInput, Color, ColorLUT, LabelmapTypes, SVGCursorDescriptor, SVGPoint, ScrollOptions, CINETypes, BoundsIJK, SVGDrawingHelper, FloodFillResult, FloodFillGetter, FloodFillOptions, ContourSegmentationData, Statistics, };
@@ -1,4 +1,4 @@
1
- declare type ModalityUnitOptions = {
1
+ type ModalityUnitOptions = {
2
2
  isPreScaled: boolean;
3
3
  isSuvScaled: boolean;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { ToolModes } from '../enums';
2
- declare type ModesFilter = Array<ToolModes>;
2
+ type ModesFilter = Array<ToolModes>;
3
3
  export default function getToolsWithModesForElement(element: HTMLDivElement, modesFilter: ModesFilter): any[];
4
4
  export {};
@@ -0,0 +1,6 @@
1
+ import type { Types } from '@cornerstonejs/core';
2
+ type Line2D = [Types.Point2, Types.Point2];
3
+ type Line3D = [Types.Point3, Types.Point3];
4
+ type Line = Line2D | Line3D;
5
+ export default function angleBetweenLines(line1: Line, line2: Line): number;
6
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
- export declare type canvasCoordinates = [
2
+ export type canvasCoordinates = [
3
3
  Types.Point2,
4
4
  Types.Point2
5
5
  ];
@@ -1,5 +1,5 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
- declare type canvasCoordinates = [
2
+ type canvasCoordinates = [
3
3
  Types.Point2,
4
4
  Types.Point2,
5
5
  Types.Point2,
@@ -1,5 +1,5 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
- declare type Ellipse = {
2
+ type Ellipse = {
3
3
  center: Types.Point3;
4
4
  xRadius: number;
5
5
  yRadius: number;
@@ -1,5 +1,5 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
- declare type ellipsoid = {
2
+ type ellipsoid = {
3
3
  center: [number, number, number];
4
4
  width: number;
5
5
  height: number;
@@ -1,10 +1,10 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
2
  import { PlanarFreehandROIAnnotation } from '../../../types/ToolSpecificAnnotationTypes';
3
- declare type PlanarFreehandROIDrawData = {
3
+ type PlanarFreehandROIDrawData = {
4
4
  polylineIndex: number;
5
5
  canvasPoints: Types.Point2[];
6
6
  };
7
- declare type PlanarFreehandROIEditData = {
7
+ type PlanarFreehandROIEditData = {
8
8
  prevCanvasPoints: Types.Point2[];
9
9
  editCanvasPoints: Types.Point2[];
10
10
  fusedCanvasPoints: Types.Point2[];
@@ -12,7 +12,7 @@ declare type PlanarFreehandROIEditData = {
12
12
  editIndex: number;
13
13
  snapIndex?: number;
14
14
  };
15
- declare type PlanarFreehandROICommonData = {
15
+ type PlanarFreehandROICommonData = {
16
16
  annotation: PlanarFreehandROIAnnotation;
17
17
  viewportIdsToRender: string[];
18
18
  spacing: Types.Point2;
@@ -1,6 +1,6 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
2
  import { vec3 } from 'gl-matrix';
3
- declare type Sphere = {
3
+ type Sphere = {
4
4
  center: Types.Point3 | vec3;
5
5
  radius: number;
6
6
  };
@@ -1,17 +1,17 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
2
  import type { vtkImageData } from '@kitware/vtk.js/Common/DataModel/ImageData';
3
3
  import BoundsIJK from '../types/BoundsIJK';
4
- export declare type PointInShape = {
4
+ export type PointInShape = {
5
5
  value: number;
6
6
  index: number;
7
7
  pointIJK: Types.Point3;
8
8
  pointLPS: Types.Point3;
9
9
  };
10
- export declare type PointInShapeCallback = ({ value, index, pointIJK, pointLPS, }: {
10
+ export type PointInShapeCallback = ({ value, index, pointIJK, pointLPS, }: {
11
11
  value: number;
12
12
  index: number;
13
13
  pointIJK: Types.Point3;
14
14
  pointLPS: Types.Point3;
15
15
  }) => void;
16
- export declare type ShapeFnCriteria = (pointIJK: Types.Point3, pointLPS: Types.Point3) => boolean;
16
+ export type ShapeFnCriteria = (pointIJK: Types.Point3, pointLPS: Types.Point3) => boolean;
17
17
  export default function pointInShapeCallback(imageData: vtkImageData | Types.CPUImageData, pointInShapeFn: ShapeFnCriteria, callback?: PointInShapeCallback, boundsIJK?: BoundsIJK): Array<PointInShape>;
@@ -1,4 +1,4 @@
1
- declare type Options = {
1
+ type Options = {
2
2
  numSlicesToProject?: number;
3
3
  };
4
4
  declare function getBoundsIJKFromRectangleAnnotations(annotations: any, referenceVolume: any, options?: Options): any;
@@ -4,15 +4,15 @@ export default function createLabelmapVolumeForViewport(input: {
4
4
  renderingEngineId: string;
5
5
  segmentationId?: string;
6
6
  options?: {
7
- volumeId?: string;
8
- scalarData?: Float32Array | Uint8Array | Uint16Array | Int16Array;
9
- targetBuffer?: {
7
+ volumeId: string;
8
+ scalarData: Float32Array | Uint8Array | Uint16Array | Int16Array;
9
+ targetBuffer: {
10
10
  type: 'Float32Array' | 'Uint8Array' | 'Uint16Array' | 'Int8Array';
11
11
  };
12
- metadata?: any;
13
- dimensions?: Types.Point3;
14
- spacing?: Types.Point3;
15
- origin?: Types.Point3;
16
- direction?: Float32Array;
12
+ metadata: Types.Metadata;
13
+ dimensions: Types.Point3;
14
+ spacing: Types.Point3;
15
+ origin: Types.Point3;
16
+ direction: Types.Mat3;
17
17
  };
18
18
  }): Promise<string>;
@@ -1,11 +1,11 @@
1
1
  import type { Types } from '@cornerstonejs/core';
2
2
  import { ThresholdInformation } from './utilities';
3
- export declare type ThresholdOptions = {
3
+ export type ThresholdOptions = {
4
4
  numSlicesToProject?: number;
5
5
  overwrite: boolean;
6
6
  overlapType?: number;
7
7
  };
8
- export declare type AnnotationForThresholding = {
8
+ export type AnnotationForThresholding = {
9
9
  data: {
10
10
  handles: {
11
11
  points: Types.Point3[];
@@ -1,7 +1,7 @@
1
1
  import { Types } from '@cornerstonejs/core';
2
2
  import { BoundsIJK } from '../../types';
3
3
  import { ThresholdInformation } from './utilities';
4
- export declare type ThresholdRangeOptions = {
4
+ export type ThresholdRangeOptions = {
5
5
  overwrite: boolean;
6
6
  boundsIJK: BoundsIJK;
7
7
  overlapType?: number;
@@ -1,5 +1,5 @@
1
1
  import { Types } from '@cornerstonejs/core';
2
- export declare type ThresholdInformation = {
2
+ export type ThresholdInformation = {
3
3
  volume: Types.IImageVolume;
4
4
  lower: number;
5
5
  upper: number;