@cornerstonejs/tools 1.28.3 → 1.30.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.
- package/dist/cjs/tools/StackScrollTool.d.ts +0 -1
- package/dist/cjs/tools/StackScrollTool.js +1 -10
- package/dist/cjs/tools/StackScrollTool.js.map +1 -1
- package/dist/cjs/tools/WindowLevelTool.d.ts +1 -1
- package/dist/cjs/tools/WindowLevelTool.js +18 -17
- package/dist/cjs/tools/WindowLevelTool.js.map +1 -1
- package/dist/cjs/types/index.d.ts +7 -7
- package/dist/cjs/utilities/stackPrefetch/stackPrefetch.js.map +1 -1
- package/dist/esm/tools/StackScrollTool.js +2 -11
- package/dist/esm/tools/StackScrollTool.js.map +1 -1
- package/dist/esm/tools/WindowLevelTool.js +17 -16
- package/dist/esm/tools/WindowLevelTool.js.map +1 -1
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.js.map +1 -1
- package/dist/types/constants/COLOR_LUT.d.ts +3 -0
- package/dist/types/constants/COLOR_LUT.d.ts.map +1 -0
- package/dist/types/constants/index.d.ts +3 -0
- package/dist/types/constants/index.d.ts.map +1 -0
- package/dist/types/cursors/ImageMouseCursor.d.ts +10 -0
- package/dist/types/cursors/ImageMouseCursor.d.ts.map +1 -0
- package/dist/types/cursors/MouseCursor.d.ts +13 -0
- package/dist/types/cursors/MouseCursor.d.ts.map +1 -0
- package/dist/types/cursors/SVGCursorDescriptor.d.ts +10 -0
- package/dist/types/cursors/SVGCursorDescriptor.d.ts.map +1 -0
- package/dist/types/cursors/SVGMouseCursor.d.ts +7 -0
- package/dist/types/cursors/SVGMouseCursor.d.ts.map +1 -0
- package/dist/types/cursors/elementCursor.d.ts +7 -0
- package/dist/types/cursors/elementCursor.d.ts.map +1 -0
- package/dist/types/cursors/index.d.ts +9 -0
- package/dist/types/cursors/index.d.ts.map +1 -0
- package/dist/types/cursors/setCursorForElement.d.ts +3 -0
- package/dist/types/cursors/setCursorForElement.d.ts.map +1 -0
- package/dist/types/drawingSvg/_getHash.d.ts +3 -0
- package/dist/types/drawingSvg/_getHash.d.ts.map +1 -0
- package/dist/types/drawingSvg/clearByToolType.d.ts +3 -0
- package/dist/types/drawingSvg/clearByToolType.d.ts.map +1 -0
- package/dist/types/drawingSvg/draw.d.ts +3 -0
- package/dist/types/drawingSvg/draw.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawArrow.d.ts +4 -0
- package/dist/types/drawingSvg/drawArrow.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawCircle.d.ts +5 -0
- package/dist/types/drawingSvg/drawCircle.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawEllipse.d.ts +5 -0
- package/dist/types/drawingSvg/drawEllipse.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawHandles.d.ts +5 -0
- package/dist/types/drawingSvg/drawHandles.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawLine.d.ts +4 -0
- package/dist/types/drawingSvg/drawLine.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawLink.d.ts +5 -0
- package/dist/types/drawingSvg/drawLink.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawLinkedTextBox.d.ts +5 -0
- package/dist/types/drawingSvg/drawLinkedTextBox.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawPolyline.d.ts +12 -0
- package/dist/types/drawingSvg/drawPolyline.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawRect.d.ts +4 -0
- package/dist/types/drawingSvg/drawRect.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawRedactionRect.d.ts +2 -0
- package/dist/types/drawingSvg/drawRedactionRect.d.ts.map +1 -0
- package/dist/types/drawingSvg/drawTextBox.d.ts +5 -0
- package/dist/types/drawingSvg/drawTextBox.d.ts.map +1 -0
- package/dist/types/drawingSvg/getSvgDrawingHelper.d.ts +4 -0
- package/dist/types/drawingSvg/getSvgDrawingHelper.d.ts.map +1 -0
- package/dist/types/drawingSvg/index.d.ts +15 -0
- package/dist/types/drawingSvg/index.d.ts.map +1 -0
- package/dist/types/drawingSvg/setAttributesIfNecessary.d.ts +3 -0
- package/dist/types/drawingSvg/setAttributesIfNecessary.d.ts.map +1 -0
- package/dist/types/drawingSvg/setNewAttributesIfValid.d.ts +3 -0
- package/dist/types/drawingSvg/setNewAttributesIfValid.d.ts.map +1 -0
- package/dist/types/enums/AnnotationStyleStates.d.ts +8 -0
- package/dist/types/enums/AnnotationStyleStates.d.ts.map +1 -0
- package/dist/types/enums/Events.d.ts +37 -0
- package/dist/types/enums/Events.d.ts.map +1 -0
- package/dist/types/enums/SegmentationRepresentations.d.ts +7 -0
- package/dist/types/enums/SegmentationRepresentations.d.ts.map +1 -0
- package/dist/types/enums/ToolBindings.d.ts +25 -0
- package/dist/types/enums/ToolBindings.d.ts.map +1 -0
- package/dist/types/enums/ToolModes.d.ts +8 -0
- package/dist/types/enums/ToolModes.d.ts.map +1 -0
- package/dist/types/enums/Touch.d.ts +8 -0
- package/dist/types/enums/Touch.d.ts.map +1 -0
- package/dist/types/enums/index.d.ts +9 -0
- package/dist/types/enums/index.d.ts.map +1 -0
- package/dist/types/eventDispatchers/annotationModifiedEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/annotationModifiedEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventDispatchers/cameraModifiedEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/cameraModifiedEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventDispatchers/imageRenderedEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/imageRenderedEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventDispatchers/index.d.ts +8 -0
- package/dist/types/eventDispatchers/index.d.ts.map +1 -0
- package/dist/types/eventDispatchers/keyboardEventHandlers/index.d.ts +4 -0
- package/dist/types/eventDispatchers/keyboardEventHandlers/index.d.ts.map +1 -0
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyDown.d.ts +3 -0
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyDown.d.ts.map +1 -0
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyUp.d.ts +3 -0
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyUp.d.ts.map +1 -0
- package/dist/types/eventDispatchers/keyboardToolEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/keyboardToolEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/index.d.ts +10 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/index.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseClick.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseClick.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDown.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDown.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseMove.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseMove.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseUp.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseUp.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts +3 -0
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts.map +1 -0
- package/dist/types/eventDispatchers/mouseToolEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/mouseToolEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/customCallbackHandler.d.ts +2 -0
- package/dist/types/eventDispatchers/shared/customCallbackHandler.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts +3 -0
- package/dist/types/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts +3 -0
- package/dist/types/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts +3 -0
- package/dist/types/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getMouseModifier.d.ts +4 -0
- package/dist/types/eventDispatchers/shared/getMouseModifier.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts +4 -0
- package/dist/types/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts +6 -0
- package/dist/types/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts.map +1 -0
- package/dist/types/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts +6 -0
- package/dist/types/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/index.d.ts +8 -0
- package/dist/types/eventDispatchers/touchEventHandlers/index.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchDrag.d.ts +3 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchDrag.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchEnd.d.ts +3 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchEnd.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchPress.d.ts +3 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchPress.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchStart.d.ts +3 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchStart.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts +3 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchTap.d.ts +3 -0
- package/dist/types/eventDispatchers/touchEventHandlers/touchTap.d.ts.map +1 -0
- package/dist/types/eventDispatchers/touchToolEventDispatcher.d.ts +6 -0
- package/dist/types/eventDispatchers/touchToolEventDispatcher.d.ts.map +1 -0
- package/dist/types/eventListeners/annotations/annotationModifiedListener.d.ts +3 -0
- package/dist/types/eventListeners/annotations/annotationModifiedListener.d.ts.map +1 -0
- package/dist/types/eventListeners/annotations/annotationSelectionListener.d.ts +3 -0
- package/dist/types/eventListeners/annotations/annotationSelectionListener.d.ts.map +1 -0
- package/dist/types/eventListeners/annotations/index.d.ts +4 -0
- package/dist/types/eventListeners/annotations/index.d.ts.map +1 -0
- package/dist/types/eventListeners/index.d.ts +8 -0
- package/dist/types/eventListeners/index.d.ts.map +1 -0
- package/dist/types/eventListeners/keyboard/index.d.ts +10 -0
- package/dist/types/eventListeners/keyboard/index.d.ts.map +1 -0
- package/dist/types/eventListeners/keyboard/keyDownListener.d.ts +5 -0
- package/dist/types/eventListeners/keyboard/keyDownListener.d.ts.map +1 -0
- package/dist/types/eventListeners/mouse/getMouseEventPoints.d.ts +3 -0
- package/dist/types/eventListeners/mouse/getMouseEventPoints.d.ts.map +1 -0
- package/dist/types/eventListeners/mouse/index.d.ts +8 -0
- package/dist/types/eventListeners/mouse/index.d.ts.map +1 -0
- package/dist/types/eventListeners/mouse/mouseDoubleClickListener.d.ts +3 -0
- package/dist/types/eventListeners/mouse/mouseDoubleClickListener.d.ts.map +1 -0
- package/dist/types/eventListeners/mouse/mouseDownListener.d.ts +5 -0
- package/dist/types/eventListeners/mouse/mouseDownListener.d.ts.map +1 -0
- package/dist/types/eventListeners/mouse/mouseMoveListener.d.ts +3 -0
- package/dist/types/eventListeners/mouse/mouseMoveListener.d.ts.map +1 -0
- package/dist/types/eventListeners/segmentation/index.d.ts +6 -0
- package/dist/types/eventListeners/segmentation/index.d.ts.map +1 -0
- package/dist/types/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts +4 -0
- package/dist/types/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts.map +1 -0
- package/dist/types/eventListeners/segmentation/segmentationModifiedEventListener.d.ts +4 -0
- package/dist/types/eventListeners/segmentation/segmentationModifiedEventListener.d.ts.map +1 -0
- package/dist/types/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.d.ts +4 -0
- package/dist/types/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.d.ts.map +1 -0
- package/dist/types/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.d.ts +4 -0
- package/dist/types/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.d.ts.map +1 -0
- package/dist/types/eventListeners/touch/getTouchEventPoints.d.ts +3 -0
- package/dist/types/eventListeners/touch/getTouchEventPoints.d.ts.map +1 -0
- package/dist/types/eventListeners/touch/index.d.ts +8 -0
- package/dist/types/eventListeners/touch/index.d.ts.map +1 -0
- package/dist/types/eventListeners/touch/preventGhostClick.d.ts +8 -0
- package/dist/types/eventListeners/touch/preventGhostClick.d.ts.map +1 -0
- package/dist/types/eventListeners/touch/touchStartListener.d.ts +3 -0
- package/dist/types/eventListeners/touch/touchStartListener.d.ts.map +1 -0
- package/dist/types/eventListeners/wheel/index.d.ts +8 -0
- package/dist/types/eventListeners/wheel/index.d.ts.map +1 -0
- package/dist/types/eventListeners/wheel/normalizeWheel.d.ts +7 -0
- package/dist/types/eventListeners/wheel/normalizeWheel.d.ts.map +1 -0
- package/dist/types/eventListeners/wheel/wheelListener.d.ts +3 -0
- package/dist/types/eventListeners/wheel/wheelListener.d.ts.map +1 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/init.d.ts +4 -0
- package/dist/types/init.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts +25 -0
- package/dist/types/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/annotationLocking.d.ts +9 -0
- package/dist/types/stateManagement/annotation/annotationLocking.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/annotationSelection.d.ts +8 -0
- package/dist/types/stateManagement/annotation/annotationSelection.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/annotationState.d.ts +13 -0
- package/dist/types/stateManagement/annotation/annotationState.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/annotationVisibility.d.ts +7 -0
- package/dist/types/stateManagement/annotation/annotationVisibility.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/config/ToolStyle.d.ts +19 -0
- package/dist/types/stateManagement/annotation/config/ToolStyle.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/config/getFont.d.ts +5 -0
- package/dist/types/stateManagement/annotation/config/getFont.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/config/getState.d.ts +5 -0
- package/dist/types/stateManagement/annotation/config/getState.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/config/helpers.d.ts +5 -0
- package/dist/types/stateManagement/annotation/config/helpers.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/config/index.d.ts +5 -0
- package/dist/types/stateManagement/annotation/config/index.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/helpers/state.d.ts +5 -0
- package/dist/types/stateManagement/annotation/helpers/state.d.ts.map +1 -0
- package/dist/types/stateManagement/annotation/index.d.ts +8 -0
- package/dist/types/stateManagement/annotation/index.d.ts.map +1 -0
- package/dist/types/stateManagement/index.d.ts +16 -0
- package/dist/types/stateManagement/index.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/SegmentationStateManager.d.ts +34 -0
- package/dist/types/stateManagement/segmentation/SegmentationStateManager.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/activeSegmentation.d.ts +5 -0
- package/dist/types/stateManagement/segmentation/activeSegmentation.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/addSegmentationRepresentations.d.ts +4 -0
- package/dist/types/stateManagement/segmentation/addSegmentationRepresentations.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/addSegmentations.d.ts +4 -0
- package/dist/types/stateManagement/segmentation/addSegmentations.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/config/index.d.ts +5 -0
- package/dist/types/stateManagement/segmentation/config/index.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/config/segmentationColor.d.ts +8 -0
- package/dist/types/stateManagement/segmentation/config/segmentationColor.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/config/segmentationConfig.d.ts +14 -0
- package/dist/types/stateManagement/segmentation/config/segmentationConfig.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/config/segmentationVisibility.d.ts +6 -0
- package/dist/types/stateManagement/segmentation/config/segmentationVisibility.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/helpers/index.d.ts +3 -0
- package/dist/types/stateManagement/segmentation/helpers/index.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts +4 -0
- package/dist/types/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts +4 -0
- package/dist/types/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/index.d.ts +11 -0
- package/dist/types/stateManagement/segmentation/index.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/removeSegmentationsFromToolGroup.d.ts +3 -0
- package/dist/types/stateManagement/segmentation/removeSegmentationsFromToolGroup.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/segmentIndex.d.ts +4 -0
- package/dist/types/stateManagement/segmentation/segmentIndex.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/segmentLocking.d.ts +5 -0
- package/dist/types/stateManagement/segmentation/segmentLocking.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/segmentationState.d.ts +25 -0
- package/dist/types/stateManagement/segmentation/segmentationState.d.ts.map +1 -0
- package/dist/types/stateManagement/segmentation/triggerSegmentationEvents.d.ts +7 -0
- package/dist/types/stateManagement/segmentation/triggerSegmentationEvents.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/Synchronizer.d.ts +34 -0
- package/dist/types/store/SynchronizerManager/Synchronizer.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/createSynchronizer.d.ts +5 -0
- package/dist/types/store/SynchronizerManager/createSynchronizer.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/destroy.d.ts +3 -0
- package/dist/types/store/SynchronizerManager/destroy.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/destroySynchronizer.d.ts +3 -0
- package/dist/types/store/SynchronizerManager/destroySynchronizer.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/getAllSynchronizers.d.ts +4 -0
- package/dist/types/store/SynchronizerManager/getAllSynchronizers.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/getSynchronizer.d.ts +4 -0
- package/dist/types/store/SynchronizerManager/getSynchronizer.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/getSynchronizersForViewport.d.ts +4 -0
- package/dist/types/store/SynchronizerManager/getSynchronizersForViewport.d.ts.map +1 -0
- package/dist/types/store/SynchronizerManager/index.d.ts +8 -0
- package/dist/types/store/SynchronizerManager/index.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/ToolGroup.d.ts +37 -0
- package/dist/types/store/ToolGroupManager/ToolGroup.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/createToolGroup.d.ts +4 -0
- package/dist/types/store/ToolGroupManager/createToolGroup.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/destroy.d.ts +3 -0
- package/dist/types/store/ToolGroupManager/destroy.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/destroyToolGroup.d.ts +3 -0
- package/dist/types/store/ToolGroupManager/destroyToolGroup.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/getAllToolGroups.d.ts +4 -0
- package/dist/types/store/ToolGroupManager/getAllToolGroups.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/getToolGroup.d.ts +4 -0
- package/dist/types/store/ToolGroupManager/getToolGroup.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/getToolGroupForViewport.d.ts +4 -0
- package/dist/types/store/ToolGroupManager/getToolGroupForViewport.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/getToolGroupsWithToolName.d.ts +4 -0
- package/dist/types/store/ToolGroupManager/getToolGroupsWithToolName.d.ts.map +1 -0
- package/dist/types/store/ToolGroupManager/index.d.ts +9 -0
- package/dist/types/store/ToolGroupManager/index.d.ts.map +1 -0
- package/dist/types/store/addEnabledElement.d.ts +3 -0
- package/dist/types/store/addEnabledElement.d.ts.map +1 -0
- package/dist/types/store/addTool.d.ts +4 -0
- package/dist/types/store/addTool.d.ts.map +1 -0
- package/dist/types/store/cancelActiveManipulations.d.ts +2 -0
- package/dist/types/store/cancelActiveManipulations.d.ts.map +1 -0
- package/dist/types/store/filterMoveableAnnotationTools.d.ts +4 -0
- package/dist/types/store/filterMoveableAnnotationTools.d.ts.map +1 -0
- package/dist/types/store/filterToolsWithAnnotationsForElement.d.ts +4 -0
- package/dist/types/store/filterToolsWithAnnotationsForElement.d.ts.map +1 -0
- package/dist/types/store/filterToolsWithMoveableHandles.d.ts +4 -0
- package/dist/types/store/filterToolsWithMoveableHandles.d.ts.map +1 -0
- package/dist/types/store/index.d.ts +11 -0
- package/dist/types/store/index.d.ts.map +1 -0
- package/dist/types/store/removeEnabledElement.d.ts +4 -0
- package/dist/types/store/removeEnabledElement.d.ts.map +1 -0
- package/dist/types/store/state.d.ts +18 -0
- package/dist/types/store/state.d.ts.map +1 -0
- package/dist/types/store/svgNodeCache.d.ts +4 -0
- package/dist/types/store/svgNodeCache.d.ts.map +1 -0
- package/dist/types/synchronizers/callbacks/areViewportsCoplanar .d.ts +3 -0
- package/dist/types/synchronizers/callbacks/areViewportsCoplanar .d.ts.map +1 -0
- package/dist/types/synchronizers/callbacks/cameraSyncCallback.d.ts +4 -0
- package/dist/types/synchronizers/callbacks/cameraSyncCallback.d.ts.map +1 -0
- package/dist/types/synchronizers/callbacks/stackImageSyncCallback.d.ts +4 -0
- package/dist/types/synchronizers/callbacks/stackImageSyncCallback.d.ts.map +1 -0
- package/dist/types/synchronizers/callbacks/voiSyncCallback.d.ts +3 -0
- package/dist/types/synchronizers/callbacks/voiSyncCallback.d.ts.map +1 -0
- package/dist/types/synchronizers/callbacks/zoomPanSyncCallback.d.ts +4 -0
- package/dist/types/synchronizers/callbacks/zoomPanSyncCallback.d.ts.map +1 -0
- package/dist/types/synchronizers/index.d.ts +6 -0
- package/dist/types/synchronizers/index.d.ts.map +1 -0
- package/dist/types/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts +3 -0
- package/dist/types/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts.map +1 -0
- package/dist/types/synchronizers/synchronizers/createStackImageSynchronizer.d.ts +3 -0
- package/dist/types/synchronizers/synchronizers/createStackImageSynchronizer.d.ts.map +1 -0
- package/dist/types/synchronizers/synchronizers/createVOISynchronizer.d.ts +7 -0
- package/dist/types/synchronizers/synchronizers/createVOISynchronizer.d.ts.map +1 -0
- package/dist/types/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts +3 -0
- package/dist/types/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts.map +1 -0
- package/dist/types/synchronizers/synchronizers/index.d.ts +6 -0
- package/dist/types/synchronizers/synchronizers/index.d.ts.map +1 -0
- package/dist/types/tools/AdvancedMagnifyTool.d.ts +37 -0
- package/dist/types/tools/AdvancedMagnifyTool.d.ts.map +1 -0
- package/dist/types/tools/AdvancedMagnifyViewport.d.ts +77 -0
- package/dist/types/tools/AdvancedMagnifyViewport.d.ts.map +1 -0
- package/dist/types/tools/AdvancedMagnifyViewportManager.d.ts +37 -0
- package/dist/types/tools/AdvancedMagnifyViewportManager.d.ts.map +1 -0
- package/dist/types/tools/CrosshairsTool.d.ts +72 -0
- package/dist/types/tools/CrosshairsTool.d.ts.map +1 -0
- package/dist/types/tools/MIPJumpToClickTool.d.ts +10 -0
- package/dist/types/tools/MIPJumpToClickTool.d.ts.map +1 -0
- package/dist/types/tools/MagnifyTool.d.ts +26 -0
- package/dist/types/tools/MagnifyTool.d.ts.map +1 -0
- package/dist/types/tools/OrientationMarkerTool.d.ts +91 -0
- package/dist/types/tools/OrientationMarkerTool.d.ts.map +1 -0
- package/dist/types/tools/OverlayGridTool.d.ts +32 -0
- package/dist/types/tools/OverlayGridTool.d.ts.map +1 -0
- package/dist/types/tools/PanTool.d.ts +11 -0
- package/dist/types/tools/PanTool.d.ts.map +1 -0
- package/dist/types/tools/PlanarRotateTool.d.ts +11 -0
- package/dist/types/tools/PlanarRotateTool.d.ts.map +1 -0
- package/dist/types/tools/ReferenceCursors.d.ts +28 -0
- package/dist/types/tools/ReferenceCursors.d.ts.map +1 -0
- package/dist/types/tools/ReferenceLinesTool.d.ts +29 -0
- package/dist/types/tools/ReferenceLinesTool.d.ts.map +1 -0
- package/dist/types/tools/ScaleOverlayTool.d.ts +41 -0
- package/dist/types/tools/ScaleOverlayTool.d.ts.map +1 -0
- package/dist/types/tools/SegmentationIntersectionTool.d.ts +19 -0
- package/dist/types/tools/SegmentationIntersectionTool.d.ts.map +1 -0
- package/dist/types/tools/StackScrollTool.d.ts +13 -0
- package/dist/types/tools/StackScrollTool.d.ts.map +1 -0
- package/dist/types/tools/StackScrollToolMouseWheelTool.d.ts +17 -0
- package/dist/types/tools/StackScrollToolMouseWheelTool.d.ts.map +1 -0
- package/dist/types/tools/TrackballRotateTool.d.ts +12 -0
- package/dist/types/tools/TrackballRotateTool.d.ts.map +1 -0
- package/dist/types/tools/VolumeRotateMouseWheelTool.d.ts +11 -0
- package/dist/types/tools/VolumeRotateMouseWheelTool.d.ts.map +1 -0
- package/dist/types/tools/WindowLevelTool.d.ts +38 -0
- package/dist/types/tools/WindowLevelTool.d.ts.map +1 -0
- package/dist/types/tools/ZoomTool.d.ts +20 -0
- package/dist/types/tools/ZoomTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/AngleTool.d.ts +37 -0
- package/dist/types/tools/annotation/AngleTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/ArrowAnnotateTool.d.ts +39 -0
- package/dist/types/tools/annotation/ArrowAnnotateTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/BidirectionalTool.d.ts +43 -0
- package/dist/types/tools/annotation/BidirectionalTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/CircleROITool.d.ts +39 -0
- package/dist/types/tools/annotation/CircleROITool.d.ts.map +1 -0
- package/dist/types/tools/annotation/CobbAngleTool.d.ts +64 -0
- package/dist/types/tools/annotation/CobbAngleTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/DragProbeTool.d.ts +26 -0
- package/dist/types/tools/annotation/DragProbeTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/EllipticalROITool.d.ts +45 -0
- package/dist/types/tools/annotation/EllipticalROITool.d.ts.map +1 -0
- package/dist/types/tools/annotation/LengthTool.d.ts +38 -0
- package/dist/types/tools/annotation/LengthTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/PlanarFreehandROITool.d.ts +40 -0
- package/dist/types/tools/annotation/PlanarFreehandROITool.d.ts.map +1 -0
- package/dist/types/tools/annotation/ProbeTool.d.ts +35 -0
- package/dist/types/tools/annotation/ProbeTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/RectangleROITool.d.ts +41 -0
- package/dist/types/tools/annotation/RectangleROITool.d.ts.map +1 -0
- package/dist/types/tools/annotation/VideoRedactionTool.d.ts +47 -0
- package/dist/types/tools/annotation/VideoRedactionTool.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts +3 -0
- package/dist/types/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/drawLoop.d.ts +3 -0
- package/dist/types/tools/annotation/planarFreehandROITool/drawLoop.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts +3 -0
- package/dist/types/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts +5 -0
- package/dist/types/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts +3 -0
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts +3 -0
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts.map +1 -0
- package/dist/types/tools/annotation/planarFreehandROITool/renderMethods.d.ts +3 -0
- package/dist/types/tools/annotation/planarFreehandROITool/renderMethods.d.ts.map +1 -0
- package/dist/types/tools/base/AnnotationDisplayTool.d.ts +14 -0
- package/dist/types/tools/base/AnnotationDisplayTool.d.ts.map +1 -0
- package/dist/types/tools/base/AnnotationTool.d.ts +20 -0
- package/dist/types/tools/base/AnnotationTool.d.ts.map +1 -0
- package/dist/types/tools/base/BaseTool.d.ts +32 -0
- package/dist/types/tools/base/BaseTool.d.ts.map +1 -0
- package/dist/types/tools/base/index.d.ts +5 -0
- package/dist/types/tools/base/index.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/addContourSetsToElement.d.ts +4 -0
- package/dist/types/tools/displayTools/Contour/addContourSetsToElement.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/addOrUpdateContourSets.d.ts +4 -0
- package/dist/types/tools/displayTools/Contour/addOrUpdateContourSets.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/contourConfig.d.ts +4 -0
- package/dist/types/tools/displayTools/Contour/contourConfig.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/contourConfigCache.d.ts +10 -0
- package/dist/types/tools/displayTools/Contour/contourConfigCache.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/contourDisplay.d.ts +12 -0
- package/dist/types/tools/displayTools/Contour/contourDisplay.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/index.d.ts +3 -0
- package/dist/types/tools/displayTools/Contour/index.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/removeContourFromElement.d.ts +3 -0
- package/dist/types/tools/displayTools/Contour/removeContourFromElement.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/updateContourSets.d.ts +4 -0
- package/dist/types/tools/displayTools/Contour/updateContourSets.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Contour/utils.d.ts +7 -0
- package/dist/types/tools/displayTools/Contour/utils.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Labelmap/addLabelmapToElement.d.ts +3 -0
- package/dist/types/tools/displayTools/Labelmap/addLabelmapToElement.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Labelmap/index.d.ts +4 -0
- package/dist/types/tools/displayTools/Labelmap/index.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Labelmap/labelmapConfig.d.ts +6 -0
- package/dist/types/tools/displayTools/Labelmap/labelmapConfig.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Labelmap/labelmapDisplay.d.ts +12 -0
- package/dist/types/tools/displayTools/Labelmap/labelmapDisplay.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts +3 -0
- package/dist/types/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Labelmap/validateRepresentationData.d.ts +4 -0
- package/dist/types/tools/displayTools/Labelmap/validateRepresentationData.d.ts.map +1 -0
- package/dist/types/tools/displayTools/SegmentationDisplayTool.d.ts +13 -0
- package/dist/types/tools/displayTools/SegmentationDisplayTool.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Surface/addSurfaceToElement.d.ts +3 -0
- package/dist/types/tools/displayTools/Surface/addSurfaceToElement.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Surface/index.d.ts +3 -0
- package/dist/types/tools/displayTools/Surface/index.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Surface/removeSurfaceFromElement.d.ts +3 -0
- package/dist/types/tools/displayTools/Surface/removeSurfaceFromElement.d.ts.map +1 -0
- package/dist/types/tools/displayTools/Surface/surfaceDisplay.d.ts +12 -0
- package/dist/types/tools/displayTools/Surface/surfaceDisplay.d.ts.map +1 -0
- package/dist/types/tools/index.d.ts +41 -0
- package/dist/types/tools/index.d.ts.map +1 -0
- package/dist/types/tools/segmentation/BrushTool.d.ts +25 -0
- package/dist/types/tools/segmentation/BrushTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/CircleScissorsTool.d.ts +31 -0
- package/dist/types/tools/segmentation/CircleScissorsTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/PaintFillTool.d.ts +14 -0
- package/dist/types/tools/segmentation/PaintFillTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts +57 -0
- package/dist/types/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/RectangleROIThresholdTool.d.ts +46 -0
- package/dist/types/tools/segmentation/RectangleROIThresholdTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/RectangleScissorsTool.d.ts +31 -0
- package/dist/types/tools/segmentation/RectangleScissorsTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/SphereScissorsTool.d.ts +32 -0
- package/dist/types/tools/segmentation/SphereScissorsTool.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/eraseCircle.d.ts +16 -0
- package/dist/types/tools/segmentation/strategies/eraseCircle.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/eraseRectangle.d.ts +13 -0
- package/dist/types/tools/segmentation/strategies/eraseRectangle.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/eraseSphere.d.ts +16 -0
- package/dist/types/tools/segmentation/strategies/eraseSphere.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/fillCircle.d.ts +18 -0
- package/dist/types/tools/segmentation/strategies/fillCircle.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/fillRectangle.d.ts +14 -0
- package/dist/types/tools/segmentation/strategies/fillRectangle.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/fillSphere.d.ts +18 -0
- package/dist/types/tools/segmentation/strategies/fillSphere.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/index.d.ts +4 -0
- package/dist/types/tools/segmentation/strategies/index.d.ts.map +1 -0
- package/dist/types/tools/segmentation/strategies/utils/isWithinThreshold.d.ts +4 -0
- package/dist/types/tools/segmentation/strategies/utils/isWithinThreshold.d.ts.map +1 -0
- package/dist/types/types/AnnotationGroupSelector.d.ts +3 -0
- package/dist/types/types/AnnotationGroupSelector.d.ts.map +1 -0
- package/dist/types/types/AnnotationStyle.d.ts +31 -0
- package/dist/types/types/AnnotationStyle.d.ts.map +1 -0
- package/dist/types/types/AnnotationTypes.d.ts +46 -0
- package/dist/types/types/AnnotationTypes.d.ts.map +1 -0
- package/dist/types/types/BoundsIJK.d.ts +4 -0
- package/dist/types/types/BoundsIJK.d.ts.map +1 -0
- package/dist/types/types/CINETypes.d.ts +30 -0
- package/dist/types/types/CINETypes.d.ts.map +1 -0
- package/dist/types/types/CalculatorTypes.d.ts +7 -0
- package/dist/types/types/CalculatorTypes.d.ts.map +1 -0
- package/dist/types/types/ContourTypes.d.ts +15 -0
- package/dist/types/types/ContourTypes.d.ts.map +1 -0
- package/dist/types/types/CursorTypes.d.ts +12 -0
- package/dist/types/types/CursorTypes.d.ts.map +1 -0
- package/dist/types/types/EventTypes.d.ts +216 -0
- package/dist/types/types/EventTypes.d.ts.map +1 -0
- package/dist/types/types/FloodFillTypes.d.ts +16 -0
- package/dist/types/types/FloodFillTypes.d.ts.map +1 -0
- package/dist/types/types/IAnnotationManager.d.ts +15 -0
- package/dist/types/types/IAnnotationManager.d.ts.map +1 -0
- package/dist/types/types/IDistance.d.ts +8 -0
- package/dist/types/types/IDistance.d.ts.map +1 -0
- package/dist/types/types/IPoints.d.ts +9 -0
- package/dist/types/types/IPoints.d.ts.map +1 -0
- package/dist/types/types/ISetToolModeOptions.d.ts +17 -0
- package/dist/types/types/ISetToolModeOptions.d.ts.map +1 -0
- package/dist/types/types/ISynchronizerEventHandler.d.ts +6 -0
- package/dist/types/types/ISynchronizerEventHandler.d.ts.map +1 -0
- package/dist/types/types/IToolClassReference.d.ts +4 -0
- package/dist/types/types/IToolClassReference.d.ts.map +1 -0
- package/dist/types/types/IToolGroup.d.ts +61 -0
- package/dist/types/types/IToolGroup.d.ts.map +1 -0
- package/dist/types/types/ITouchPoints.d.ts +12 -0
- package/dist/types/types/ITouchPoints.d.ts.map +1 -0
- package/dist/types/types/InteractionTypes.d.ts +3 -0
- package/dist/types/types/InteractionTypes.d.ts.map +1 -0
- package/dist/types/types/InternalToolTypes.d.ts +16 -0
- package/dist/types/types/InternalToolTypes.d.ts.map +1 -0
- package/dist/types/types/JumpToSliceOptions.d.ts +7 -0
- package/dist/types/types/JumpToSliceOptions.d.ts.map +1 -0
- package/dist/types/types/LabelmapTypes.d.ts +22 -0
- package/dist/types/types/LabelmapTypes.d.ts.map +1 -0
- package/dist/types/types/PlanarBoundingBox.d.ts +8 -0
- package/dist/types/types/PlanarBoundingBox.d.ts.map +1 -0
- package/dist/types/types/SVGDrawingHelper.d.ts +10 -0
- package/dist/types/types/SVGDrawingHelper.d.ts.map +1 -0
- package/dist/types/types/ScrollOptions.d.ts +8 -0
- package/dist/types/types/ScrollOptions.d.ts.map +1 -0
- package/dist/types/types/SegmentationStateTypes.d.ts +85 -0
- package/dist/types/types/SegmentationStateTypes.d.ts.map +1 -0
- package/dist/types/types/SurfaceTypes.d.ts +5 -0
- package/dist/types/types/SurfaceTypes.d.ts.map +1 -0
- package/dist/types/types/ToolAction.d.ts +9 -0
- package/dist/types/types/ToolAction.d.ts.map +1 -0
- package/dist/types/types/ToolHandle.d.ts +16 -0
- package/dist/types/types/ToolHandle.d.ts.map +1 -0
- package/dist/types/types/ToolProps.d.ts +14 -0
- package/dist/types/types/ToolProps.d.ts.map +1 -0
- package/dist/types/types/ToolSpecificAnnotationTypes.d.ts +374 -0
- package/dist/types/types/ToolSpecificAnnotationTypes.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +32 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts +4 -0
- package/dist/types/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts.map +1 -0
- package/dist/types/utilities/boundingBox/getBoundingBoxAroundShape.d.ts +4 -0
- package/dist/types/utilities/boundingBox/getBoundingBoxAroundShape.d.ts.map +1 -0
- package/dist/types/utilities/boundingBox/index.d.ts +4 -0
- package/dist/types/utilities/boundingBox/index.d.ts.map +1 -0
- package/dist/types/utilities/calibrateImageSpacing.d.ts +3 -0
- package/dist/types/utilities/calibrateImageSpacing.d.ts.map +1 -0
- package/dist/types/utilities/cine/events.d.ts +6 -0
- package/dist/types/utilities/cine/events.d.ts.map +1 -0
- package/dist/types/utilities/cine/index.d.ts +5 -0
- package/dist/types/utilities/cine/index.d.ts.map +1 -0
- package/dist/types/utilities/cine/playClip.d.ts +5 -0
- package/dist/types/utilities/cine/playClip.d.ts.map +1 -0
- package/dist/types/utilities/cine/state.d.ts +5 -0
- package/dist/types/utilities/cine/state.d.ts.map +1 -0
- package/dist/types/utilities/clip.d.ts +4 -0
- package/dist/types/utilities/clip.d.ts.map +1 -0
- package/dist/types/utilities/debounce.d.ts +7 -0
- package/dist/types/utilities/debounce.d.ts.map +1 -0
- package/dist/types/utilities/drawing/getTextBoxCoordsCanvas.d.ts +3 -0
- package/dist/types/utilities/drawing/getTextBoxCoordsCanvas.d.ts.map +1 -0
- package/dist/types/utilities/drawing/index.d.ts +3 -0
- package/dist/types/utilities/drawing/index.d.ts.map +1 -0
- package/dist/types/utilities/dynamicVolume/generateImageFromTimeData.d.ts +4 -0
- package/dist/types/utilities/dynamicVolume/generateImageFromTimeData.d.ts.map +1 -0
- package/dist/types/utilities/dynamicVolume/getDataInTime.d.ts +8 -0
- package/dist/types/utilities/dynamicVolume/getDataInTime.d.ts.map +1 -0
- package/dist/types/utilities/dynamicVolume/index.d.ts +5 -0
- package/dist/types/utilities/dynamicVolume/index.d.ts.map +1 -0
- package/dist/types/utilities/getAnnotationNearPoint.d.ts +6 -0
- package/dist/types/utilities/getAnnotationNearPoint.d.ts.map +1 -0
- package/dist/types/utilities/getCalibratedUnits.d.ts +7 -0
- package/dist/types/utilities/getCalibratedUnits.d.ts.map +1 -0
- package/dist/types/utilities/getModalityUnit.d.ts +7 -0
- package/dist/types/utilities/getModalityUnit.d.ts.map +1 -0
- package/dist/types/utilities/getToolsWithModesForElement.d.ts +5 -0
- package/dist/types/utilities/getToolsWithModesForElement.d.ts.map +1 -0
- package/dist/types/utilities/getVOIMultipliers.d.ts +6 -0
- package/dist/types/utilities/getVOIMultipliers.d.ts.map +1 -0
- package/dist/types/utilities/index.d.ts +35 -0
- package/dist/types/utilities/index.d.ts.map +1 -0
- package/dist/types/utilities/isObject.d.ts +3 -0
- package/dist/types/utilities/isObject.d.ts.map +1 -0
- package/dist/types/utilities/math/angle/angleBetweenLines.d.ts +7 -0
- package/dist/types/utilities/math/angle/angleBetweenLines.d.ts.map +1 -0
- package/dist/types/utilities/math/basic/BasicStatsCalculator.d.ts +15 -0
- package/dist/types/utilities/math/basic/BasicStatsCalculator.d.ts.map +1 -0
- package/dist/types/utilities/math/basic/Calculator.d.ts +9 -0
- package/dist/types/utilities/math/basic/Calculator.d.ts.map +1 -0
- package/dist/types/utilities/math/basic/index.d.ts +4 -0
- package/dist/types/utilities/math/basic/index.d.ts.map +1 -0
- package/dist/types/utilities/math/circle/_types.d.ts +6 -0
- package/dist/types/utilities/math/circle/_types.d.ts.map +1 -0
- package/dist/types/utilities/math/circle/getCanvasCircleCorners.d.ts +4 -0
- package/dist/types/utilities/math/circle/getCanvasCircleCorners.d.ts.map +1 -0
- package/dist/types/utilities/math/circle/getCanvasCircleRadius.d.ts +3 -0
- package/dist/types/utilities/math/circle/getCanvasCircleRadius.d.ts.map +1 -0
- package/dist/types/utilities/math/circle/index.d.ts +4 -0
- package/dist/types/utilities/math/circle/index.d.ts.map +1 -0
- package/dist/types/utilities/math/ellipse/getCanvasEllipseCorners.d.ts +10 -0
- package/dist/types/utilities/math/ellipse/getCanvasEllipseCorners.d.ts.map +1 -0
- package/dist/types/utilities/math/ellipse/index.d.ts +4 -0
- package/dist/types/utilities/math/ellipse/index.d.ts.map +1 -0
- package/dist/types/utilities/math/ellipse/pointInEllipse.d.ts +10 -0
- package/dist/types/utilities/math/ellipse/pointInEllipse.d.ts.map +1 -0
- package/dist/types/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts +10 -0
- package/dist/types/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts.map +1 -0
- package/dist/types/utilities/math/index.d.ts +9 -0
- package/dist/types/utilities/math/index.d.ts.map +1 -0
- package/dist/types/utilities/math/line/distanceToPoint.d.ts +3 -0
- package/dist/types/utilities/math/line/distanceToPoint.d.ts.map +1 -0
- package/dist/types/utilities/math/line/distanceToPointSquared.d.ts +3 -0
- package/dist/types/utilities/math/line/distanceToPointSquared.d.ts.map +1 -0
- package/dist/types/utilities/math/line/index.d.ts +5 -0
- package/dist/types/utilities/math/line/index.d.ts.map +1 -0
- package/dist/types/utilities/math/line/intersectLine.d.ts +3 -0
- package/dist/types/utilities/math/line/intersectLine.d.ts.map +1 -0
- package/dist/types/utilities/math/midPoint.d.ts +6 -0
- package/dist/types/utilities/math/midPoint.d.ts.map +1 -0
- package/dist/types/utilities/math/point/distanceToPoint.d.ts +5 -0
- package/dist/types/utilities/math/point/distanceToPoint.d.ts.map +1 -0
- package/dist/types/utilities/math/point/index.d.ts +3 -0
- package/dist/types/utilities/math/point/index.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/addCanvasPointsToArray.d.ts +5 -0
- package/dist/types/utilities/math/polyline/addCanvasPointsToArray.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/calculateAreaOfPoints.d.ts +3 -0
- package/dist/types/utilities/math/polyline/calculateAreaOfPoints.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/getIntersectionWithPolyline.d.ts +10 -0
- package/dist/types/utilities/math/polyline/getIntersectionWithPolyline.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts +8 -0
- package/dist/types/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/index.d.ts +8 -0
- package/dist/types/utilities/math/polyline/index.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts +24 -0
- package/dist/types/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/pointCanProjectOnLine.d.ts +4 -0
- package/dist/types/utilities/math/polyline/pointCanProjectOnLine.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/pointInPolyline.d.ts +3 -0
- package/dist/types/utilities/math/polyline/pointInPolyline.d.ts.map +1 -0
- package/dist/types/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts +4 -0
- package/dist/types/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts.map +1 -0
- package/dist/types/utilities/math/rectangle/distanceToPoint.d.ts +3 -0
- package/dist/types/utilities/math/rectangle/distanceToPoint.d.ts.map +1 -0
- package/dist/types/utilities/math/rectangle/index.d.ts +3 -0
- package/dist/types/utilities/math/rectangle/index.d.ts.map +1 -0
- package/dist/types/utilities/math/sphere/index.d.ts +3 -0
- package/dist/types/utilities/math/sphere/index.d.ts.map +1 -0
- package/dist/types/utilities/math/sphere/pointInSphere.d.ts +9 -0
- package/dist/types/utilities/math/sphere/pointInSphere.d.ts.map +1 -0
- package/dist/types/utilities/math/vec2/findClosestPoint.d.ts +3 -0
- package/dist/types/utilities/math/vec2/findClosestPoint.d.ts.map +1 -0
- package/dist/types/utilities/math/vec2/index.d.ts +4 -0
- package/dist/types/utilities/math/vec2/index.d.ts.map +1 -0
- package/dist/types/utilities/math/vec2/liangBarksyClip.d.ts +2 -0
- package/dist/types/utilities/math/vec2/liangBarksyClip.d.ts.map +1 -0
- package/dist/types/utilities/math/vec3/interpolateVec3.d.ts +3 -0
- package/dist/types/utilities/math/vec3/interpolateVec3.d.ts.map +1 -0
- package/dist/types/utilities/orientation/getOrientationStringLPS.d.ts +3 -0
- package/dist/types/utilities/orientation/getOrientationStringLPS.d.ts.map +1 -0
- package/dist/types/utilities/orientation/index.d.ts +4 -0
- package/dist/types/utilities/orientation/index.d.ts.map +1 -0
- package/dist/types/utilities/orientation/invertOrientationStringLPS.d.ts +2 -0
- package/dist/types/utilities/orientation/invertOrientationStringLPS.d.ts.map +1 -0
- package/dist/types/utilities/planar/filterAnnotationsForDisplay.d.ts +4 -0
- package/dist/types/utilities/planar/filterAnnotationsForDisplay.d.ts.map +1 -0
- package/dist/types/utilities/planar/filterAnnotationsWithinSlice.d.ts +4 -0
- package/dist/types/utilities/planar/filterAnnotationsWithinSlice.d.ts.map +1 -0
- package/dist/types/utilities/planar/getPointInLineOfSightWithCriteria.d.ts +3 -0
- package/dist/types/utilities/planar/getPointInLineOfSightWithCriteria.d.ts.map +1 -0
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts +6 -0
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts.map +1 -0
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts +6 -0
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts.map +1 -0
- package/dist/types/utilities/planar/index.d.ts +13 -0
- package/dist/types/utilities/planar/index.d.ts.map +1 -0
- package/dist/types/utilities/planarFreehandROITool/index.d.ts +7 -0
- package/dist/types/utilities/planarFreehandROITool/index.d.ts.map +1 -0
- package/dist/types/utilities/planarFreehandROITool/interpolateAnnotation.d.ts +4 -0
- package/dist/types/utilities/planarFreehandROITool/interpolateAnnotation.d.ts.map +1 -0
- package/dist/types/utilities/planarFreehandROITool/interpolatePoints.d.ts +4 -0
- package/dist/types/utilities/planarFreehandROITool/interpolatePoints.d.ts.map +1 -0
- package/dist/types/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts +3 -0
- package/dist/types/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts.map +1 -0
- package/dist/types/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts +3 -0
- package/dist/types/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts.map +1 -0
- package/dist/types/utilities/pointInShapeCallback.d.ts +18 -0
- package/dist/types/utilities/pointInShapeCallback.d.ts.map +1 -0
- package/dist/types/utilities/pointInSurroundingSphereCallback.d.ts +5 -0
- package/dist/types/utilities/pointInSurroundingSphereCallback.d.ts.map +1 -0
- package/dist/types/utilities/pointToString.d.ts +2 -0
- package/dist/types/utilities/pointToString.d.ts.map +1 -0
- package/dist/types/utilities/polyData/utils.d.ts +5 -0
- package/dist/types/utilities/polyData/utils.d.ts.map +1 -0
- package/dist/types/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts +6 -0
- package/dist/types/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts.map +1 -0
- package/dist/types/utilities/rectangleROITool/index.d.ts +3 -0
- package/dist/types/utilities/rectangleROITool/index.d.ts.map +1 -0
- package/dist/types/utilities/roundNumber.d.ts +3 -0
- package/dist/types/utilities/roundNumber.d.ts.map +1 -0
- package/dist/types/utilities/scroll.d.ts +5 -0
- package/dist/types/utilities/scroll.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/brushSizeForToolGroup.d.ts +3 -0
- package/dist/types/utilities/segmentation/brushSizeForToolGroup.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/brushThresholdForToolGroup.d.ts +4 -0
- package/dist/types/utilities/segmentation/brushThresholdForToolGroup.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/createLabelmapVolumeForViewport.d.ts +19 -0
- package/dist/types/utilities/segmentation/createLabelmapVolumeForViewport.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/createMergedLabelmapForIndex.d.ts +4 -0
- package/dist/types/utilities/segmentation/createMergedLabelmapForIndex.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/floodFill.d.ts +5 -0
- package/dist/types/utilities/segmentation/floodFill.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/getDefaultRepresentationConfig.d.ts +3 -0
- package/dist/types/utilities/segmentation/getDefaultRepresentationConfig.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/index.d.ts +13 -0
- package/dist/types/utilities/segmentation/index.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/isValidRepresentationConfig.d.ts +3 -0
- package/dist/types/utilities/segmentation/isValidRepresentationConfig.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts +20 -0
- package/dist/types/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/thresholdSegmentationByRange.d.ts +5 -0
- package/dist/types/utilities/segmentation/thresholdSegmentationByRange.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/thresholdVolumeByRange.d.ts +11 -0
- package/dist/types/utilities/segmentation/thresholdVolumeByRange.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/triggerSegmentationRender.d.ts +19 -0
- package/dist/types/utilities/segmentation/triggerSegmentationRender.d.ts.map +1 -0
- package/dist/types/utilities/segmentation/utilities.d.ts +13 -0
- package/dist/types/utilities/segmentation/utilities.d.ts.map +1 -0
- package/dist/types/utilities/stackPrefetch/index.d.ts +4 -0
- package/dist/types/utilities/stackPrefetch/index.d.ts.map +1 -0
- package/dist/types/utilities/stackPrefetch/stackContextPrefetch.d.ts +17 -0
- package/dist/types/utilities/stackPrefetch/stackContextPrefetch.d.ts.map +1 -0
- package/dist/types/utilities/stackPrefetch/stackPrefetch.d.ts +15 -0
- package/dist/types/utilities/stackPrefetch/stackPrefetch.d.ts.map +1 -0
- package/dist/types/utilities/stackPrefetch/stackPrefetchUtils.d.ts +15 -0
- package/dist/types/utilities/stackPrefetch/stackPrefetchUtils.d.ts.map +1 -0
- package/dist/types/utilities/stackPrefetch/state.d.ts +4 -0
- package/dist/types/utilities/stackPrefetch/state.d.ts.map +1 -0
- package/dist/types/utilities/throttle.d.ts +6 -0
- package/dist/types/utilities/throttle.d.ts.map +1 -0
- package/dist/types/utilities/touch/index.d.ts +11 -0
- package/dist/types/utilities/touch/index.d.ts.map +1 -0
- package/dist/types/utilities/triggerAnnotationRender.d.ts +23 -0
- package/dist/types/utilities/triggerAnnotationRender.d.ts.map +1 -0
- package/dist/types/utilities/triggerAnnotationRenderForViewportIds.d.ts +4 -0
- package/dist/types/utilities/triggerAnnotationRenderForViewportIds.d.ts.map +1 -0
- package/dist/types/utilities/viewport/index.d.ts +5 -0
- package/dist/types/utilities/viewport/index.d.ts.map +1 -0
- package/dist/types/utilities/viewport/isViewportPreScaled.d.ts +4 -0
- package/dist/types/utilities/viewport/isViewportPreScaled.d.ts.map +1 -0
- package/dist/types/utilities/viewport/jumpToSlice.d.ts +4 -0
- package/dist/types/utilities/viewport/jumpToSlice.d.ts.map +1 -0
- package/dist/types/utilities/viewport/jumpToWorld.d.ts +3 -0
- package/dist/types/utilities/viewport/jumpToWorld.d.ts.map +1 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts +3 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts.map +1 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts +3 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts.map +1 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts +3 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts.map +1 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts +3 -0
- package/dist/types/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts.map +1 -0
- package/dist/types/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts +2 -0
- package/dist/types/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts.map +1 -0
- package/dist/types/utilities/viewportFilters/index.d.ts +6 -0
- package/dist/types/utilities/viewportFilters/index.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/Colorbar.d.ts +45 -0
- package/dist/types/utilities/voi/colorbar/Colorbar.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/ColorbarCanvas.d.ts +30 -0
- package/dist/types/utilities/voi/colorbar/ColorbarCanvas.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/ColorbarTicks.d.ts +47 -0
- package/dist/types/utilities/voi/colorbar/ColorbarTicks.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/ViewportColorbar.d.ts +24 -0
- package/dist/types/utilities/voi/colorbar/ViewportColorbar.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/common/areColorbarRangesEqual.d.ts +4 -0
- package/dist/types/utilities/voi/colorbar/common/areColorbarRangesEqual.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/common/areColorbarSizesEqual.d.ts +4 -0
- package/dist/types/utilities/voi/colorbar/common/areColorbarSizesEqual.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/common/index.d.ts +5 -0
- package/dist/types/utilities/voi/colorbar/common/index.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/common/isColorbarSizeValid.d.ts +4 -0
- package/dist/types/utilities/voi/colorbar/common/isColorbarSizeValid.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/common/isRangeTextPositionValid.d.ts +4 -0
- package/dist/types/utilities/voi/colorbar/common/isRangeTextPositionValid.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/common/isRangeValid.d.ts +4 -0
- package/dist/types/utilities/voi/colorbar/common/isRangeValid.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.d.ts +7 -0
- package/dist/types/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/enums/index.d.ts +2 -0
- package/dist/types/utilities/voi/colorbar/enums/index.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/index.d.ts +7 -0
- package/dist/types/utilities/voi/colorbar/index.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarCanvasProps.d.ts +13 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarCanvasProps.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarCommonProps.d.ts +12 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarCommonProps.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarImageRange.d.ts +5 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarImageRange.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarProps.d.ts +8 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarProps.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarSize.d.ts +5 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarSize.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksProps.d.ts +8 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksProps.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksStyle.d.ts +9 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksStyle.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarVOIRange.d.ts +3 -0
- package/dist/types/utilities/voi/colorbar/types/ColorbarVOIRange.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/ViewportColorbarProps.d.ts +6 -0
- package/dist/types/utilities/voi/colorbar/types/ViewportColorbarProps.d.ts.map +1 -0
- package/dist/types/utilities/voi/colorbar/types/index.d.ts +9 -0
- package/dist/types/utilities/voi/colorbar/types/index.d.ts.map +1 -0
- package/dist/types/utilities/voi/index.d.ts +3 -0
- package/dist/types/utilities/voi/index.d.ts.map +1 -0
- package/dist/types/widgets/Widget.d.ts +18 -0
- package/dist/types/widgets/Widget.d.ts.map +1 -0
- package/dist/types/widgets/types/WidgetProps.d.ts +5 -0
- package/dist/types/widgets/types/WidgetProps.d.ts.map +1 -0
- package/dist/types/widgets/types/WidgetSize.d.ts +5 -0
- package/dist/types/widgets/types/WidgetSize.d.ts.map +1 -0
- package/dist/types/widgets/types/index.d.ts +3 -0
- package/dist/types/widgets/types/index.d.ts.map +1 -0
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +4 -4
- package/src/tools/StackScrollTool.ts +2 -18
- package/src/tools/WindowLevelTool.ts +17 -17
- package/src/types/index.ts +7 -7
- package/src/utilities/stackPrefetch/stackPrefetch.ts +0 -2
- package/dist/esm/constants/COLOR_LUT.d.ts +0 -2
- package/dist/esm/constants/index.d.ts +0 -2
- package/dist/esm/cursors/ImageMouseCursor.d.ts +0 -9
- package/dist/esm/cursors/MouseCursor.d.ts +0 -12
- package/dist/esm/cursors/SVGCursorDescriptor.d.ts +0 -9
- package/dist/esm/cursors/SVGMouseCursor.d.ts +0 -6
- package/dist/esm/cursors/elementCursor.d.ts +0 -6
- package/dist/esm/cursors/index.d.ts +0 -8
- package/dist/esm/cursors/setCursorForElement.d.ts +0 -2
- package/dist/esm/drawingSvg/_getHash.d.ts +0 -2
- package/dist/esm/drawingSvg/clearByToolType.d.ts +0 -2
- package/dist/esm/drawingSvg/draw.d.ts +0 -2
- package/dist/esm/drawingSvg/drawArrow.d.ts +0 -3
- package/dist/esm/drawingSvg/drawCircle.d.ts +0 -4
- package/dist/esm/drawingSvg/drawEllipse.d.ts +0 -4
- package/dist/esm/drawingSvg/drawHandles.d.ts +0 -4
- package/dist/esm/drawingSvg/drawLine.d.ts +0 -3
- package/dist/esm/drawingSvg/drawLink.d.ts +0 -4
- package/dist/esm/drawingSvg/drawLinkedTextBox.d.ts +0 -4
- package/dist/esm/drawingSvg/drawPolyline.d.ts +0 -11
- package/dist/esm/drawingSvg/drawRect.d.ts +0 -3
- package/dist/esm/drawingSvg/drawRedactionRect.d.ts +0 -1
- package/dist/esm/drawingSvg/drawTextBox.d.ts +0 -4
- package/dist/esm/drawingSvg/getSvgDrawingHelper.d.ts +0 -3
- package/dist/esm/drawingSvg/index.d.ts +0 -14
- package/dist/esm/drawingSvg/setAttributesIfNecessary.d.ts +0 -2
- package/dist/esm/drawingSvg/setNewAttributesIfValid.d.ts +0 -2
- package/dist/esm/enums/AnnotationStyleStates.d.ts +0 -7
- package/dist/esm/enums/Events.d.ts +0 -36
- package/dist/esm/enums/SegmentationRepresentations.d.ts +0 -6
- package/dist/esm/enums/ToolBindings.d.ts +0 -24
- package/dist/esm/enums/ToolModes.d.ts +0 -7
- package/dist/esm/enums/Touch.d.ts +0 -7
- package/dist/esm/enums/index.d.ts +0 -8
- package/dist/esm/eventDispatchers/annotationModifiedEventDispatcher.d.ts +0 -5
- package/dist/esm/eventDispatchers/cameraModifiedEventDispatcher.d.ts +0 -5
- package/dist/esm/eventDispatchers/imageRenderedEventDispatcher.d.ts +0 -5
- package/dist/esm/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts +0 -5
- package/dist/esm/eventDispatchers/index.d.ts +0 -7
- package/dist/esm/eventDispatchers/keyboardEventHandlers/index.d.ts +0 -3
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyDown.d.ts +0 -2
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyUp.d.ts +0 -2
- package/dist/esm/eventDispatchers/keyboardToolEventDispatcher.d.ts +0 -5
- package/dist/esm/eventDispatchers/mouseEventHandlers/index.d.ts +0 -9
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseClick.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDown.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseMove.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseUp.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts +0 -2
- package/dist/esm/eventDispatchers/mouseToolEventDispatcher.d.ts +0 -5
- package/dist/esm/eventDispatchers/shared/customCallbackHandler.d.ts +0 -1
- package/dist/esm/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts +0 -2
- package/dist/esm/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts +0 -2
- package/dist/esm/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts +0 -2
- package/dist/esm/eventDispatchers/shared/getMouseModifier.d.ts +0 -3
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts +0 -3
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts +0 -5
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts +0 -5
- package/dist/esm/eventDispatchers/touchEventHandlers/index.d.ts +0 -7
- package/dist/esm/eventDispatchers/touchEventHandlers/touchDrag.d.ts +0 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchEnd.d.ts +0 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchPress.d.ts +0 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStart.d.ts +0 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts +0 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchTap.d.ts +0 -2
- package/dist/esm/eventDispatchers/touchToolEventDispatcher.d.ts +0 -5
- package/dist/esm/eventListeners/annotations/annotationModifiedListener.d.ts +0 -2
- package/dist/esm/eventListeners/annotations/annotationSelectionListener.d.ts +0 -2
- package/dist/esm/eventListeners/annotations/index.d.ts +0 -3
- package/dist/esm/eventListeners/index.d.ts +0 -7
- package/dist/esm/eventListeners/keyboard/index.d.ts +0 -9
- package/dist/esm/eventListeners/keyboard/keyDownListener.d.ts +0 -4
- package/dist/esm/eventListeners/mouse/getMouseEventPoints.d.ts +0 -2
- package/dist/esm/eventListeners/mouse/index.d.ts +0 -7
- package/dist/esm/eventListeners/mouse/mouseDoubleClickListener.d.ts +0 -2
- package/dist/esm/eventListeners/mouse/mouseDownListener.d.ts +0 -4
- package/dist/esm/eventListeners/mouse/mouseMoveListener.d.ts +0 -2
- package/dist/esm/eventListeners/segmentation/index.d.ts +0 -5
- package/dist/esm/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts +0 -3
- package/dist/esm/eventListeners/segmentation/segmentationModifiedEventListener.d.ts +0 -3
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.d.ts +0 -3
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.d.ts +0 -3
- package/dist/esm/eventListeners/touch/getTouchEventPoints.d.ts +0 -2
- package/dist/esm/eventListeners/touch/index.d.ts +0 -7
- package/dist/esm/eventListeners/touch/preventGhostClick.d.ts +0 -7
- package/dist/esm/eventListeners/touch/touchStartListener.d.ts +0 -2
- package/dist/esm/eventListeners/wheel/index.d.ts +0 -7
- package/dist/esm/eventListeners/wheel/normalizeWheel.d.ts +0 -6
- package/dist/esm/eventListeners/wheel/wheelListener.d.ts +0 -2
- package/dist/esm/index.d.ts +0 -14
- package/dist/esm/init.d.ts +0 -3
- package/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts +0 -24
- package/dist/esm/stateManagement/annotation/annotationLocking.d.ts +0 -8
- package/dist/esm/stateManagement/annotation/annotationSelection.d.ts +0 -7
- package/dist/esm/stateManagement/annotation/annotationState.d.ts +0 -12
- package/dist/esm/stateManagement/annotation/annotationVisibility.d.ts +0 -6
- package/dist/esm/stateManagement/annotation/config/ToolStyle.d.ts +0 -18
- package/dist/esm/stateManagement/annotation/config/getFont.d.ts +0 -4
- package/dist/esm/stateManagement/annotation/config/getState.d.ts +0 -4
- package/dist/esm/stateManagement/annotation/config/helpers.d.ts +0 -4
- package/dist/esm/stateManagement/annotation/config/index.d.ts +0 -4
- package/dist/esm/stateManagement/annotation/helpers/state.d.ts +0 -4
- package/dist/esm/stateManagement/annotation/index.d.ts +0 -7
- package/dist/esm/stateManagement/index.d.ts +0 -15
- package/dist/esm/stateManagement/segmentation/SegmentationStateManager.d.ts +0 -33
- package/dist/esm/stateManagement/segmentation/activeSegmentation.d.ts +0 -4
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentations.d.ts +0 -3
- package/dist/esm/stateManagement/segmentation/addSegmentations.d.ts +0 -3
- package/dist/esm/stateManagement/segmentation/config/index.d.ts +0 -4
- package/dist/esm/stateManagement/segmentation/config/segmentationColor.d.ts +0 -7
- package/dist/esm/stateManagement/segmentation/config/segmentationConfig.d.ts +0 -13
- package/dist/esm/stateManagement/segmentation/config/segmentationVisibility.d.ts +0 -5
- package/dist/esm/stateManagement/segmentation/helpers/index.d.ts +0 -2
- package/dist/esm/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts +0 -3
- package/dist/esm/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts +0 -3
- package/dist/esm/stateManagement/segmentation/index.d.ts +0 -10
- package/dist/esm/stateManagement/segmentation/removeSegmentationsFromToolGroup.d.ts +0 -2
- package/dist/esm/stateManagement/segmentation/segmentIndex.d.ts +0 -3
- package/dist/esm/stateManagement/segmentation/segmentLocking.d.ts +0 -4
- package/dist/esm/stateManagement/segmentation/segmentationState.d.ts +0 -24
- package/dist/esm/stateManagement/segmentation/triggerSegmentationEvents.d.ts +0 -6
- package/dist/esm/store/SynchronizerManager/Synchronizer.d.ts +0 -33
- package/dist/esm/store/SynchronizerManager/createSynchronizer.d.ts +0 -4
- package/dist/esm/store/SynchronizerManager/destroy.d.ts +0 -2
- package/dist/esm/store/SynchronizerManager/destroySynchronizer.d.ts +0 -2
- package/dist/esm/store/SynchronizerManager/getAllSynchronizers.d.ts +0 -3
- package/dist/esm/store/SynchronizerManager/getSynchronizer.d.ts +0 -3
- package/dist/esm/store/SynchronizerManager/getSynchronizersForViewport.d.ts +0 -3
- package/dist/esm/store/SynchronizerManager/index.d.ts +0 -7
- package/dist/esm/store/ToolGroupManager/ToolGroup.d.ts +0 -36
- package/dist/esm/store/ToolGroupManager/createToolGroup.d.ts +0 -3
- package/dist/esm/store/ToolGroupManager/destroy.d.ts +0 -2
- package/dist/esm/store/ToolGroupManager/destroyToolGroup.d.ts +0 -2
- package/dist/esm/store/ToolGroupManager/getAllToolGroups.d.ts +0 -3
- package/dist/esm/store/ToolGroupManager/getToolGroup.d.ts +0 -3
- package/dist/esm/store/ToolGroupManager/getToolGroupForViewport.d.ts +0 -3
- package/dist/esm/store/ToolGroupManager/getToolGroupsWithToolName.d.ts +0 -3
- package/dist/esm/store/ToolGroupManager/index.d.ts +0 -8
- package/dist/esm/store/addEnabledElement.d.ts +0 -2
- package/dist/esm/store/addTool.d.ts +0 -3
- package/dist/esm/store/cancelActiveManipulations.d.ts +0 -1
- package/dist/esm/store/filterMoveableAnnotationTools.d.ts +0 -3
- package/dist/esm/store/filterToolsWithAnnotationsForElement.d.ts +0 -3
- package/dist/esm/store/filterToolsWithMoveableHandles.d.ts +0 -3
- package/dist/esm/store/index.d.ts +0 -10
- package/dist/esm/store/removeEnabledElement.d.ts +0 -3
- package/dist/esm/store/state.d.ts +0 -17
- package/dist/esm/store/svgNodeCache.d.ts +0 -3
- package/dist/esm/synchronizers/callbacks/areViewportsCoplanar .d.ts +0 -2
- package/dist/esm/synchronizers/callbacks/cameraSyncCallback.d.ts +0 -3
- package/dist/esm/synchronizers/callbacks/stackImageSyncCallback.d.ts +0 -3
- package/dist/esm/synchronizers/callbacks/voiSyncCallback.d.ts +0 -2
- package/dist/esm/synchronizers/callbacks/zoomPanSyncCallback.d.ts +0 -3
- package/dist/esm/synchronizers/index.d.ts +0 -5
- package/dist/esm/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts +0 -2
- package/dist/esm/synchronizers/synchronizers/createStackImageSynchronizer.d.ts +0 -2
- package/dist/esm/synchronizers/synchronizers/createVOISynchronizer.d.ts +0 -6
- package/dist/esm/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts +0 -2
- package/dist/esm/synchronizers/synchronizers/index.d.ts +0 -5
- package/dist/esm/tools/AdvancedMagnifyTool.d.ts +0 -36
- package/dist/esm/tools/AdvancedMagnifyViewport.d.ts +0 -76
- package/dist/esm/tools/AdvancedMagnifyViewportManager.d.ts +0 -36
- package/dist/esm/tools/CrosshairsTool.d.ts +0 -71
- package/dist/esm/tools/MIPJumpToClickTool.d.ts +0 -9
- package/dist/esm/tools/MagnifyTool.d.ts +0 -25
- package/dist/esm/tools/OrientationMarkerTool.d.ts +0 -90
- package/dist/esm/tools/OverlayGridTool.d.ts +0 -31
- package/dist/esm/tools/PanTool.d.ts +0 -10
- package/dist/esm/tools/PlanarRotateTool.d.ts +0 -10
- package/dist/esm/tools/ReferenceCursors.d.ts +0 -27
- package/dist/esm/tools/ReferenceLinesTool.d.ts +0 -28
- package/dist/esm/tools/ScaleOverlayTool.d.ts +0 -40
- package/dist/esm/tools/SegmentationIntersectionTool.d.ts +0 -18
- package/dist/esm/tools/StackScrollTool.d.ts +0 -13
- package/dist/esm/tools/StackScrollToolMouseWheelTool.d.ts +0 -16
- package/dist/esm/tools/TrackballRotateTool.d.ts +0 -11
- package/dist/esm/tools/VolumeRotateMouseWheelTool.d.ts +0 -10
- package/dist/esm/tools/WindowLevelTool.d.ts +0 -37
- package/dist/esm/tools/ZoomTool.d.ts +0 -19
- package/dist/esm/tools/annotation/AngleTool.d.ts +0 -36
- package/dist/esm/tools/annotation/ArrowAnnotateTool.d.ts +0 -38
- package/dist/esm/tools/annotation/BidirectionalTool.d.ts +0 -42
- package/dist/esm/tools/annotation/CircleROITool.d.ts +0 -38
- package/dist/esm/tools/annotation/CobbAngleTool.d.ts +0 -63
- package/dist/esm/tools/annotation/DragProbeTool.d.ts +0 -25
- package/dist/esm/tools/annotation/EllipticalROITool.d.ts +0 -44
- package/dist/esm/tools/annotation/LengthTool.d.ts +0 -37
- package/dist/esm/tools/annotation/PlanarFreehandROITool.d.ts +0 -39
- package/dist/esm/tools/annotation/ProbeTool.d.ts +0 -34
- package/dist/esm/tools/annotation/RectangleROITool.d.ts +0 -40
- package/dist/esm/tools/annotation/VideoRedactionTool.d.ts +0 -46
- package/dist/esm/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts +0 -2
- package/dist/esm/tools/annotation/planarFreehandROITool/drawLoop.d.ts +0 -2
- package/dist/esm/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts +0 -2
- package/dist/esm/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts +0 -4
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts +0 -2
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts +0 -2
- package/dist/esm/tools/annotation/planarFreehandROITool/renderMethods.d.ts +0 -2
- package/dist/esm/tools/base/AnnotationDisplayTool.d.ts +0 -13
- package/dist/esm/tools/base/AnnotationTool.d.ts +0 -19
- package/dist/esm/tools/base/BaseTool.d.ts +0 -31
- package/dist/esm/tools/base/index.d.ts +0 -4
- package/dist/esm/tools/displayTools/Contour/addContourSetsToElement.d.ts +0 -3
- package/dist/esm/tools/displayTools/Contour/addOrUpdateContourSets.d.ts +0 -3
- package/dist/esm/tools/displayTools/Contour/contourConfig.d.ts +0 -3
- package/dist/esm/tools/displayTools/Contour/contourConfigCache.d.ts +0 -9
- package/dist/esm/tools/displayTools/Contour/contourDisplay.d.ts +0 -11
- package/dist/esm/tools/displayTools/Contour/index.d.ts +0 -2
- package/dist/esm/tools/displayTools/Contour/removeContourFromElement.d.ts +0 -2
- package/dist/esm/tools/displayTools/Contour/updateContourSets.d.ts +0 -3
- package/dist/esm/tools/displayTools/Contour/utils.d.ts +0 -6
- package/dist/esm/tools/displayTools/Labelmap/addLabelmapToElement.d.ts +0 -2
- package/dist/esm/tools/displayTools/Labelmap/index.d.ts +0 -3
- package/dist/esm/tools/displayTools/Labelmap/labelmapConfig.d.ts +0 -5
- package/dist/esm/tools/displayTools/Labelmap/labelmapDisplay.d.ts +0 -11
- package/dist/esm/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts +0 -2
- package/dist/esm/tools/displayTools/Labelmap/validateRepresentationData.d.ts +0 -3
- package/dist/esm/tools/displayTools/SegmentationDisplayTool.d.ts +0 -12
- package/dist/esm/tools/displayTools/Surface/addSurfaceToElement.d.ts +0 -2
- package/dist/esm/tools/displayTools/Surface/index.d.ts +0 -2
- package/dist/esm/tools/displayTools/Surface/removeSurfaceFromElement.d.ts +0 -2
- package/dist/esm/tools/displayTools/Surface/surfaceDisplay.d.ts +0 -11
- package/dist/esm/tools/index.d.ts +0 -40
- package/dist/esm/tools/segmentation/BrushTool.d.ts +0 -24
- package/dist/esm/tools/segmentation/CircleScissorsTool.d.ts +0 -30
- package/dist/esm/tools/segmentation/PaintFillTool.d.ts +0 -13
- package/dist/esm/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts +0 -56
- package/dist/esm/tools/segmentation/RectangleROIThresholdTool.d.ts +0 -45
- package/dist/esm/tools/segmentation/RectangleScissorsTool.d.ts +0 -30
- package/dist/esm/tools/segmentation/SphereScissorsTool.d.ts +0 -31
- package/dist/esm/tools/segmentation/strategies/eraseCircle.d.ts +0 -15
- package/dist/esm/tools/segmentation/strategies/eraseRectangle.d.ts +0 -12
- package/dist/esm/tools/segmentation/strategies/eraseSphere.d.ts +0 -15
- package/dist/esm/tools/segmentation/strategies/fillCircle.d.ts +0 -17
- package/dist/esm/tools/segmentation/strategies/fillRectangle.d.ts +0 -13
- package/dist/esm/tools/segmentation/strategies/fillSphere.d.ts +0 -17
- package/dist/esm/tools/segmentation/strategies/index.d.ts +0 -3
- package/dist/esm/tools/segmentation/strategies/utils/isWithinThreshold.d.ts +0 -3
- package/dist/esm/types/AnnotationGroupSelector.d.ts +0 -2
- package/dist/esm/types/AnnotationStyle.d.ts +0 -30
- package/dist/esm/types/AnnotationTypes.d.ts +0 -45
- package/dist/esm/types/BoundsIJK.d.ts +0 -3
- package/dist/esm/types/CINETypes.d.ts +0 -29
- package/dist/esm/types/CalculatorTypes.d.ts +0 -6
- package/dist/esm/types/ContourTypes.d.ts +0 -14
- package/dist/esm/types/CursorTypes.d.ts +0 -11
- package/dist/esm/types/EventTypes.d.ts +0 -215
- package/dist/esm/types/FloodFillTypes.d.ts +0 -15
- package/dist/esm/types/IAnnotationManager.d.ts +0 -14
- package/dist/esm/types/IDistance.d.ts +0 -7
- package/dist/esm/types/IPoints.d.ts +0 -8
- package/dist/esm/types/ISetToolModeOptions.d.ts +0 -16
- package/dist/esm/types/ISynchronizerEventHandler.d.ts +0 -5
- package/dist/esm/types/IToolClassReference.d.ts +0 -3
- package/dist/esm/types/IToolGroup.d.ts +0 -60
- package/dist/esm/types/ITouchPoints.d.ts +0 -11
- package/dist/esm/types/InteractionTypes.d.ts +0 -2
- package/dist/esm/types/InternalToolTypes.d.ts +0 -15
- package/dist/esm/types/JumpToSliceOptions.d.ts +0 -6
- package/dist/esm/types/LabelmapTypes.d.ts +0 -21
- package/dist/esm/types/PlanarBoundingBox.d.ts +0 -7
- package/dist/esm/types/SVGDrawingHelper.d.ts +0 -9
- package/dist/esm/types/ScrollOptions.d.ts +0 -7
- package/dist/esm/types/SegmentationStateTypes.d.ts +0 -84
- package/dist/esm/types/SurfaceTypes.d.ts +0 -4
- package/dist/esm/types/ToolAction.d.ts +0 -8
- package/dist/esm/types/ToolHandle.d.ts +0 -15
- package/dist/esm/types/ToolProps.d.ts +0 -13
- package/dist/esm/types/ToolSpecificAnnotationTypes.d.ts +0 -373
- package/dist/esm/types/index.d.ts +0 -31
- package/dist/esm/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts +0 -3
- package/dist/esm/utilities/boundingBox/getBoundingBoxAroundShape.d.ts +0 -3
- package/dist/esm/utilities/boundingBox/index.d.ts +0 -3
- package/dist/esm/utilities/calibrateImageSpacing.d.ts +0 -2
- package/dist/esm/utilities/cine/events.d.ts +0 -5
- package/dist/esm/utilities/cine/index.d.ts +0 -4
- package/dist/esm/utilities/cine/playClip.d.ts +0 -4
- package/dist/esm/utilities/cine/state.d.ts +0 -4
- package/dist/esm/utilities/clip.d.ts +0 -3
- package/dist/esm/utilities/debounce.d.ts +0 -6
- package/dist/esm/utilities/drawing/getTextBoxCoordsCanvas.d.ts +0 -2
- package/dist/esm/utilities/drawing/index.d.ts +0 -2
- package/dist/esm/utilities/dynamicVolume/generateImageFromTimeData.d.ts +0 -3
- package/dist/esm/utilities/dynamicVolume/getDataInTime.d.ts +0 -7
- package/dist/esm/utilities/dynamicVolume/index.d.ts +0 -4
- package/dist/esm/utilities/getAnnotationNearPoint.d.ts +0 -5
- package/dist/esm/utilities/getCalibratedUnits.d.ts +0 -6
- package/dist/esm/utilities/getModalityUnit.d.ts +0 -6
- package/dist/esm/utilities/getToolsWithModesForElement.d.ts +0 -4
- package/dist/esm/utilities/getVOIMultipliers.d.ts +0 -5
- package/dist/esm/utilities/index.d.ts +0 -34
- package/dist/esm/utilities/isObject.d.ts +0 -2
- package/dist/esm/utilities/math/angle/angleBetweenLines.d.ts +0 -6
- package/dist/esm/utilities/math/basic/BasicStatsCalculator.d.ts +0 -14
- package/dist/esm/utilities/math/basic/Calculator.d.ts +0 -8
- package/dist/esm/utilities/math/basic/index.d.ts +0 -3
- package/dist/esm/utilities/math/circle/_types.d.ts +0 -5
- package/dist/esm/utilities/math/circle/getCanvasCircleCorners.d.ts +0 -3
- package/dist/esm/utilities/math/circle/getCanvasCircleRadius.d.ts +0 -2
- package/dist/esm/utilities/math/circle/index.d.ts +0 -3
- package/dist/esm/utilities/math/ellipse/getCanvasEllipseCorners.d.ts +0 -9
- package/dist/esm/utilities/math/ellipse/index.d.ts +0 -3
- package/dist/esm/utilities/math/ellipse/pointInEllipse.d.ts +0 -9
- package/dist/esm/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts +0 -9
- package/dist/esm/utilities/math/index.d.ts +0 -8
- package/dist/esm/utilities/math/line/distanceToPoint.d.ts +0 -2
- package/dist/esm/utilities/math/line/distanceToPointSquared.d.ts +0 -2
- package/dist/esm/utilities/math/line/index.d.ts +0 -4
- package/dist/esm/utilities/math/line/intersectLine.d.ts +0 -2
- package/dist/esm/utilities/math/midPoint.d.ts +0 -5
- package/dist/esm/utilities/math/point/distanceToPoint.d.ts +0 -4
- package/dist/esm/utilities/math/point/index.d.ts +0 -2
- package/dist/esm/utilities/math/polyline/addCanvasPointsToArray.d.ts +0 -4
- package/dist/esm/utilities/math/polyline/calculateAreaOfPoints.d.ts +0 -2
- package/dist/esm/utilities/math/polyline/getIntersectionWithPolyline.d.ts +0 -9
- package/dist/esm/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts +0 -7
- package/dist/esm/utilities/math/polyline/index.d.ts +0 -7
- package/dist/esm/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts +0 -23
- package/dist/esm/utilities/math/polyline/pointCanProjectOnLine.d.ts +0 -3
- package/dist/esm/utilities/math/polyline/pointInPolyline.d.ts +0 -2
- package/dist/esm/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts +0 -3
- package/dist/esm/utilities/math/rectangle/distanceToPoint.d.ts +0 -2
- package/dist/esm/utilities/math/rectangle/index.d.ts +0 -2
- package/dist/esm/utilities/math/sphere/index.d.ts +0 -2
- package/dist/esm/utilities/math/sphere/pointInSphere.d.ts +0 -8
- package/dist/esm/utilities/math/vec2/findClosestPoint.d.ts +0 -2
- package/dist/esm/utilities/math/vec2/index.d.ts +0 -3
- package/dist/esm/utilities/math/vec2/liangBarksyClip.d.ts +0 -1
- package/dist/esm/utilities/math/vec3/interpolateVec3.d.ts +0 -2
- package/dist/esm/utilities/orientation/getOrientationStringLPS.d.ts +0 -2
- package/dist/esm/utilities/orientation/index.d.ts +0 -3
- package/dist/esm/utilities/orientation/invertOrientationStringLPS.d.ts +0 -1
- package/dist/esm/utilities/planar/filterAnnotationsForDisplay.d.ts +0 -3
- package/dist/esm/utilities/planar/filterAnnotationsWithinSlice.d.ts +0 -3
- package/dist/esm/utilities/planar/getPointInLineOfSightWithCriteria.d.ts +0 -2
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts +0 -5
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts +0 -5
- package/dist/esm/utilities/planar/index.d.ts +0 -12
- package/dist/esm/utilities/planarFreehandROITool/index.d.ts +0 -6
- package/dist/esm/utilities/planarFreehandROITool/interpolateAnnotation.d.ts +0 -3
- package/dist/esm/utilities/planarFreehandROITool/interpolatePoints.d.ts +0 -3
- package/dist/esm/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts +0 -2
- package/dist/esm/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts +0 -2
- package/dist/esm/utilities/pointInShapeCallback.d.ts +0 -17
- package/dist/esm/utilities/pointInSurroundingSphereCallback.d.ts +0 -4
- package/dist/esm/utilities/pointToString.d.ts +0 -1
- package/dist/esm/utilities/polyData/utils.d.ts +0 -4
- package/dist/esm/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts +0 -5
- package/dist/esm/utilities/rectangleROITool/index.d.ts +0 -2
- package/dist/esm/utilities/roundNumber.d.ts +0 -2
- package/dist/esm/utilities/scroll.d.ts +0 -4
- package/dist/esm/utilities/segmentation/brushSizeForToolGroup.d.ts +0 -2
- package/dist/esm/utilities/segmentation/brushThresholdForToolGroup.d.ts +0 -3
- package/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.d.ts +0 -18
- package/dist/esm/utilities/segmentation/createMergedLabelmapForIndex.d.ts +0 -3
- package/dist/esm/utilities/segmentation/floodFill.d.ts +0 -4
- package/dist/esm/utilities/segmentation/getDefaultRepresentationConfig.d.ts +0 -2
- package/dist/esm/utilities/segmentation/index.d.ts +0 -12
- package/dist/esm/utilities/segmentation/isValidRepresentationConfig.d.ts +0 -2
- package/dist/esm/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts +0 -19
- package/dist/esm/utilities/segmentation/thresholdSegmentationByRange.d.ts +0 -4
- package/dist/esm/utilities/segmentation/thresholdVolumeByRange.d.ts +0 -10
- package/dist/esm/utilities/segmentation/triggerSegmentationRender.d.ts +0 -18
- package/dist/esm/utilities/segmentation/utilities.d.ts +0 -12
- package/dist/esm/utilities/stackPrefetch/index.d.ts +0 -3
- package/dist/esm/utilities/stackPrefetch/stackContextPrefetch.d.ts +0 -16
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.d.ts +0 -14
- package/dist/esm/utilities/stackPrefetch/stackPrefetchUtils.d.ts +0 -14
- package/dist/esm/utilities/stackPrefetch/state.d.ts +0 -3
- package/dist/esm/utilities/throttle.d.ts +0 -5
- package/dist/esm/utilities/touch/index.d.ts +0 -10
- package/dist/esm/utilities/triggerAnnotationRender.d.ts +0 -22
- package/dist/esm/utilities/triggerAnnotationRenderForViewportIds.d.ts +0 -3
- package/dist/esm/utilities/viewport/index.d.ts +0 -4
- package/dist/esm/utilities/viewport/isViewportPreScaled.d.ts +0 -3
- package/dist/esm/utilities/viewport/jumpToSlice.d.ts +0 -3
- package/dist/esm/utilities/viewport/jumpToWorld.d.ts +0 -2
- package/dist/esm/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts +0 -2
- package/dist/esm/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts +0 -2
- package/dist/esm/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts +0 -2
- package/dist/esm/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts +0 -2
- package/dist/esm/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts +0 -1
- package/dist/esm/utilities/viewportFilters/index.d.ts +0 -5
- package/dist/esm/utilities/voi/colorbar/Colorbar.d.ts +0 -44
- package/dist/esm/utilities/voi/colorbar/ColorbarCanvas.d.ts +0 -29
- package/dist/esm/utilities/voi/colorbar/ColorbarTicks.d.ts +0 -46
- package/dist/esm/utilities/voi/colorbar/ViewportColorbar.d.ts +0 -23
- package/dist/esm/utilities/voi/colorbar/common/areColorbarRangesEqual.d.ts +0 -3
- package/dist/esm/utilities/voi/colorbar/common/areColorbarSizesEqual.d.ts +0 -3
- package/dist/esm/utilities/voi/colorbar/common/index.d.ts +0 -4
- package/dist/esm/utilities/voi/colorbar/common/isColorbarSizeValid.d.ts +0 -3
- package/dist/esm/utilities/voi/colorbar/common/isRangeTextPositionValid.d.ts +0 -3
- package/dist/esm/utilities/voi/colorbar/common/isRangeValid.d.ts +0 -3
- package/dist/esm/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.d.ts +0 -6
- package/dist/esm/utilities/voi/colorbar/enums/index.d.ts +0 -1
- package/dist/esm/utilities/voi/colorbar/index.d.ts +0 -6
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCanvasProps.d.ts +0 -12
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCommonProps.d.ts +0 -11
- package/dist/esm/utilities/voi/colorbar/types/ColorbarImageRange.d.ts +0 -4
- package/dist/esm/utilities/voi/colorbar/types/ColorbarProps.d.ts +0 -7
- package/dist/esm/utilities/voi/colorbar/types/ColorbarSize.d.ts +0 -4
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksProps.d.ts +0 -7
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksStyle.d.ts +0 -8
- package/dist/esm/utilities/voi/colorbar/types/ColorbarVOIRange.d.ts +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ViewportColorbarProps.d.ts +0 -5
- package/dist/esm/utilities/voi/colorbar/types/index.d.ts +0 -8
- package/dist/esm/utilities/voi/index.d.ts +0 -2
- package/dist/esm/widgets/Widget.d.ts +0 -17
- package/dist/esm/widgets/types/WidgetProps.d.ts +0 -4
- package/dist/esm/widgets/types/WidgetSize.d.ts +0 -4
- package/dist/esm/widgets/types/index.d.ts +0 -2
|
@@ -8,6 +8,5 @@ declare class StackScrollTool extends BaseTool {
|
|
|
8
8
|
touchDragCallback(evt: EventTypes.InteractionEventType): void;
|
|
9
9
|
_dragCallback(evt: EventTypes.InteractionEventType): void;
|
|
10
10
|
_getPixelPerImage(viewport: any): number;
|
|
11
|
-
_getNumberOfSlices(viewport: any): number;
|
|
12
11
|
}
|
|
13
12
|
export default StackScrollTool;
|
|
@@ -52,18 +52,9 @@ class StackScrollTool extends base_1.BaseTool {
|
|
|
52
52
|
}
|
|
53
53
|
_getPixelPerImage(viewport) {
|
|
54
54
|
const { element } = viewport;
|
|
55
|
-
const numberOfSlices =
|
|
55
|
+
const numberOfSlices = viewport.getNumberOfSlices();
|
|
56
56
|
return Math.max(2, element.offsetHeight / Math.max(numberOfSlices, 8));
|
|
57
57
|
}
|
|
58
|
-
_getNumberOfSlices(viewport) {
|
|
59
|
-
if (viewport instanceof core_1.VolumeViewport) {
|
|
60
|
-
const { numberOfSlices } = core_1.utilities.getImageSliceDataForVolumeViewport(viewport);
|
|
61
|
-
return numberOfSlices;
|
|
62
|
-
}
|
|
63
|
-
else if (viewport instanceof core_1.StackViewport) {
|
|
64
|
-
return viewport.getImageIds().length;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
58
|
}
|
|
68
59
|
StackScrollTool.toolName = 'StackScroll';
|
|
69
60
|
exports.default = StackScrollTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackScrollTool.js","sourceRoot":"","sources":["../../../src/tools/StackScrollTool.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"StackScrollTool.js","sourceRoot":"","sources":["../../../src/tools/StackScrollTool.ts"],"names":[],"mappings":";;AAAA,8CAA6E;AAC7E,iCAAkC;AAClC,4CAAsC;AAOtC,MAAM,eAAgB,SAAQ,eAAQ;IAGpC,YACE,YAA6B,EAAE,EAC/B,mBAA8B;QAC5B,yBAAyB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;QAC7C,aAAa,EAAE;YACb,MAAM,EAAE,KAAK;YACb,mBAAmB,EAAE,IAAI;YACzB,IAAI,EAAE,KAAK;SACZ;KACF;QAED,KAAK,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;IAClB,CAAC;IAED,iBAAiB,CAAC,GAAoC;QACpD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IACD,iBAAiB,CAAC,GAAoC;QACpD,IAAI,CAAC,aAA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M,GAAG,MAAM,CAAC;SACtB;IACH,CAAC;IAED,iBAAiB,CAAC,QAAQ;QACxB,MAAM,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC;QAC7B,MAAM,cAAc,GAAG,QAAQ,CAAC,iBAAiB,EAAE,CAAC;QAGpD,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AAED,eAAe,CAAC,QAAQ,GAAG,aAAa,CAAC;AACzC,kBAAe,eAAe,CAAC"}
|
|
@@ -30,7 +30,7 @@ declare class WindowLevelTool extends BaseTool {
|
|
|
30
30
|
upper: number;
|
|
31
31
|
};
|
|
32
32
|
_getMultiplierFromDynamicRange(viewport: any, volumeId: any): number;
|
|
33
|
-
_getImageDynamicRangeFromViewport(viewport: any):
|
|
33
|
+
_getImageDynamicRangeFromViewport(viewport: any): any;
|
|
34
34
|
_getImageDynamicRangeFromMiddleSlice: (scalarData: any, dimensions: any) => number;
|
|
35
35
|
private _getMinMax;
|
|
36
36
|
}
|
|
@@ -42,29 +42,31 @@ class WindowLevelTool extends base_1.BaseTool {
|
|
|
42
42
|
this.mouseDragCallback(evt);
|
|
43
43
|
}
|
|
44
44
|
mouseDragCallback(evt) {
|
|
45
|
-
var _a;
|
|
45
|
+
var _a, _b;
|
|
46
46
|
const { element, deltaPoints } = evt.detail;
|
|
47
47
|
const enabledElement = (0, core_1.getEnabledElement)(element);
|
|
48
48
|
const { renderingEngine, viewport } = enabledElement;
|
|
49
49
|
let volumeId, lower, upper, modality, newRange, viewportsContainingVolumeUID;
|
|
50
50
|
let isPreScaled = false;
|
|
51
|
+
const properties = viewport.getProperties();
|
|
51
52
|
if (viewport instanceof core_1.VolumeViewport) {
|
|
52
53
|
const targetId = this.getTargetId(viewport);
|
|
53
54
|
volumeId = targetId.split('volumeId:')[1];
|
|
54
55
|
viewportsContainingVolumeUID = core_1.utilities.getViewportsWithVolumeId(volumeId, renderingEngine.id);
|
|
55
|
-
const properties = viewport.getProperties();
|
|
56
56
|
({ lower, upper } = properties.voiRange);
|
|
57
57
|
const volume = core_1.cache.getVolume(volumeId);
|
|
58
|
+
if (!volume) {
|
|
59
|
+
throw new Error('Volume not found ' + volumeId);
|
|
60
|
+
}
|
|
58
61
|
modality = volume.metadata.Modality;
|
|
59
62
|
isPreScaled = volume.scaling && Object.keys(volume.scaling).length > 0;
|
|
60
63
|
}
|
|
61
|
-
else if (
|
|
62
|
-
const properties = viewport.getProperties();
|
|
64
|
+
else if (properties.voiRange) {
|
|
63
65
|
modality = viewport.modality;
|
|
64
66
|
({ lower, upper } = properties.voiRange);
|
|
65
|
-
const { preScale } = viewport.getImageData();
|
|
67
|
+
const { preScale = { scaled: false } } = ((_a = viewport.getImageData) === null || _a === void 0 ? void 0 : _a.call(viewport)) || {};
|
|
66
68
|
isPreScaled =
|
|
67
|
-
preScale.scaled && ((
|
|
69
|
+
preScale.scaled && ((_b = preScale.scalingParameters) === null || _b === void 0 ? void 0 : _b.suvbw) !== undefined;
|
|
68
70
|
}
|
|
69
71
|
else {
|
|
70
72
|
throw new Error('Viewport is not a valid type');
|
|
@@ -89,19 +91,15 @@ class WindowLevelTool extends base_1.BaseTool {
|
|
|
89
91
|
upper,
|
|
90
92
|
});
|
|
91
93
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
viewport.render();
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
94
|
+
viewport.setProperties({
|
|
95
|
+
voiRange: newRange,
|
|
96
|
+
});
|
|
97
|
+
viewport.render();
|
|
99
98
|
if (viewport instanceof core_1.VolumeViewport) {
|
|
100
|
-
viewport.setProperties({
|
|
101
|
-
voiRange: newRange,
|
|
102
|
-
});
|
|
103
99
|
viewportsContainingVolumeUID.forEach((vp) => {
|
|
104
|
-
vp
|
|
100
|
+
if (viewport !== vp) {
|
|
101
|
+
vp.render();
|
|
102
|
+
}
|
|
105
103
|
});
|
|
106
104
|
return;
|
|
107
105
|
}
|
|
@@ -158,6 +156,9 @@ class WindowLevelTool extends base_1.BaseTool {
|
|
|
158
156
|
_getImageDynamicRangeFromViewport(viewport) {
|
|
159
157
|
const { imageData } = viewport.getImageData();
|
|
160
158
|
const dimensions = imageData.getDimensions();
|
|
159
|
+
if (imageData.getRange) {
|
|
160
|
+
return imageData.getRange();
|
|
161
|
+
}
|
|
161
162
|
let scalarData;
|
|
162
163
|
if (imageData.getScalarData) {
|
|
163
164
|
scalarData = imageData.getScalarData();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WindowLevelTool.js","sourceRoot":"","sources":["../../../src/tools/WindowLevelTool.ts"],"names":[],"mappings":";;AAAA,iCAAkC;AAClC,8CAO6B;AAI7B,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAC7B,MAAM,2BAA2B,GAAG,IAAI,CAAC;AACzC,MAAM,EAAE,GAAG,IAAI,CAAC;AAQhB,MAAM,eAAgB,SAAQ,eAAQ;IAEpC,YACE,SAAS,GAAG,EAAE,EACd,gBAAgB,GAAG;QACjB,yBAAyB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAC9C;QAED,KAAK,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;QAwMrC,yCAAoC,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE;YAChE,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YAEvD,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAClD,IAAI,aAAa,CAAC;YAClB,IAAI,qBAAqB,CAAC;YAE1B,IAAI,UAAU,YAAY,YAAY,EAAE;gBACtC,aAAa,GAAG,CAAC,CAAC;gBAClB,qBAAqB,GAAG,YAAY,CAAC;aACtC;iBAAM,I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IAAI,GAAG,GAAG,CAAC,QAAQ,CAAC;QAEpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,EAAE,CAAC,EAAE,EAAE;YACpC,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YAEvB,IAAI,KAAK,GAAG,GAAG,EAAE;gBACf,GAAG,GAAG,KAAK,CAAC;aACb;YAED,IAAI,KAAK,GAAG,GAAG,EAAE;gBACf,GAAG,GAAG,KAAK,CAAC;aACb;SACF;QACD,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IACtB,CAAC;CACF;AAED,eAAe,CAAC,QAAQ,GAAG,aAAa,CAAC;AACzC,kBAAe,eAAe,CAAC"}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stackPrefetch.js","sourceRoot":"","sources":["../../../../src/utilities/stackPrefetch/stackPrefetch.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"stackPrefetch.js","sourceRoot":"","sources":["../../../../src/utilities/stackPrefetch/stackPrefetch.ts"],"names":[],"mappings":";;AAAA,8CAO6B;AAC7B,mCAAqD;AACrD,6DAO8B;AAE9B,IAAI,aAAa,GAAG;IAClB,mBAAmB,EAAE,QAAQ;IAO7B,oBAAoB,EAAE,IAAI;CAC3B,CAAC;AAEF,IAAI,oBAAoB,CAAC;AACzB,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAE9B,SAAS,QAAQ,CAAC,OAAO;;IAEvB,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AM,EAAE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;AAE9E,kBAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getEnabledElementByIds, VolumeViewport
|
|
1
|
+
import { getEnabledElementByIds, VolumeViewport } from '@cornerstonejs/core';
|
|
2
2
|
import { BaseTool } from './base';
|
|
3
3
|
import { scroll } from '../utilities';
|
|
4
4
|
class StackScrollTool extends BaseTool {
|
|
@@ -50,18 +50,9 @@ class StackScrollTool extends BaseTool {
|
|
|
50
50
|
}
|
|
51
51
|
_getPixelPerImage(viewport) {
|
|
52
52
|
const { element } = viewport;
|
|
53
|
-
const numberOfSlices =
|
|
53
|
+
const numberOfSlices = viewport.getNumberOfSlices();
|
|
54
54
|
return Math.max(2, element.offsetHeight / Math.max(numberOfSlices, 8));
|
|
55
55
|
}
|
|
56
|
-
_getNumberOfSlices(viewport) {
|
|
57
|
-
if (viewport instanceof VolumeViewport) {
|
|
58
|
-
const { numberOfSlices } = csUtils.getImageSliceDataForVolumeViewport(viewport);
|
|
59
|
-
return numberOfSlices;
|
|
60
|
-
}
|
|
61
|
-
else if (viewport instanceof StackViewport) {
|
|
62
|
-
return viewport.getImageIds().length;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
56
|
}
|
|
66
57
|
StackScrollTool.toolName = 'StackScroll';
|
|
67
58
|
export default StackScrollTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackScrollTool.js","sourceRoot":"","sources":["../../../src/tools/StackScrollTool.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"StackScrollTool.js","sourceRoot":"","sources":["../../../src/tools/StackScrollTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE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C,IAAI,CAAC,cAAc,EAAE;YACnB,OAAO;SACR;QAED,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,cAAc,EAAE;YACtC,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,cAAc,CAAC,CAAC;YAE/D,MAAM,CAAC,QAAQ,EAAE;gBACf,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,kBAAkB;gBACxD,QAAQ;gBACR,eAAe,EAAE,mBAAmB;gBACpC,IAAI,EAAE,IAAI;aACX,CAAC,CAAC;YAEH,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,cAAc,CAAC;SACvC;aAAM;YACL,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;SACtB;IACH,CAAC;IAED,iBAAiB,CAAC,QAAQ;QACxB,MAAM,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC;QAC7B,MAAM,cAAc,GAAG,QAAQ,CAAC,iBAAiB,EAAE,CAAC;QAGpD,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AAED,eAAe,CAAC,QAAQ,GAAG,aAAa,CAAC;AACzC,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseTool } from './base';
|
|
2
|
-
import { getEnabledElement, VolumeViewport,
|
|
2
|
+
import { getEnabledElement, VolumeViewport, utilities, cache, } from '@cornerstonejs/core';
|
|
3
3
|
const DEFAULT_MULTIPLIER = 4;
|
|
4
4
|
const DEFAULT_IMAGE_DYNAMIC_RANGE = 1024;
|
|
5
5
|
const PT = 'PT';
|
|
@@ -45,21 +45,23 @@ class WindowLevelTool extends BaseTool {
|
|
|
45
45
|
const { renderingEngine, viewport } = enabledElement;
|
|
46
46
|
let volumeId, lower, upper, modality, newRange, viewportsContainingVolumeUID;
|
|
47
47
|
let isPreScaled = false;
|
|
48
|
+
const properties = viewport.getProperties();
|
|
48
49
|
if (viewport instanceof VolumeViewport) {
|
|
49
50
|
const targetId = this.getTargetId(viewport);
|
|
50
51
|
volumeId = targetId.split('volumeId:')[1];
|
|
51
52
|
viewportsContainingVolumeUID = utilities.getViewportsWithVolumeId(volumeId, renderingEngine.id);
|
|
52
|
-
const properties = viewport.getProperties();
|
|
53
53
|
({ lower, upper } = properties.voiRange);
|
|
54
54
|
const volume = cache.getVolume(volumeId);
|
|
55
|
+
if (!volume) {
|
|
56
|
+
throw new Error('Volume not found ' + volumeId);
|
|
57
|
+
}
|
|
55
58
|
modality = volume.metadata.Modality;
|
|
56
59
|
isPreScaled = volume.scaling && Object.keys(volume.scaling).length > 0;
|
|
57
60
|
}
|
|
58
|
-
else if (
|
|
59
|
-
const properties = viewport.getProperties();
|
|
61
|
+
else if (properties.voiRange) {
|
|
60
62
|
modality = viewport.modality;
|
|
61
63
|
({ lower, upper } = properties.voiRange);
|
|
62
|
-
const { preScale } = viewport.getImageData();
|
|
64
|
+
const { preScale = { scaled: false } } = viewport.getImageData?.() || {};
|
|
63
65
|
isPreScaled =
|
|
64
66
|
preScale.scaled && preScale.scalingParameters?.suvbw !== undefined;
|
|
65
67
|
}
|
|
@@ -86,19 +88,15 @@ class WindowLevelTool extends BaseTool {
|
|
|
86
88
|
upper,
|
|
87
89
|
});
|
|
88
90
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
viewport.render();
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
91
|
+
viewport.setProperties({
|
|
92
|
+
voiRange: newRange,
|
|
93
|
+
});
|
|
94
|
+
viewport.render();
|
|
96
95
|
if (viewport instanceof VolumeViewport) {
|
|
97
|
-
viewport.setProperties({
|
|
98
|
-
voiRange: newRange,
|
|
99
|
-
});
|
|
100
96
|
viewportsContainingVolumeUID.forEach((vp) => {
|
|
101
|
-
vp
|
|
97
|
+
if (viewport !== vp) {
|
|
98
|
+
vp.render();
|
|
99
|
+
}
|
|
102
100
|
});
|
|
103
101
|
return;
|
|
104
102
|
}
|
|
@@ -154,6 +152,9 @@ class WindowLevelTool extends BaseTool {
|
|
|
154
152
|
_getImageDynamicRangeFromViewport(viewport) {
|
|
155
153
|
const { imageData } = viewport.getImageData();
|
|
156
154
|
const dimensions = imageData.getDimensions();
|
|
155
|
+
if (imageData.getRange) {
|
|
156
|
+
return imageData.getRange();
|
|
157
|
+
}
|
|
157
158
|
let scalarData;
|
|
158
159
|
if (imageData.getScalarData) {
|
|
159
160
|
scalarData = imageData.getScalarData();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WindowLevelTool.js","sourceRoot":"","sources":["../../../src/tools/WindowLevelTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,cAAc,
|
|
1
|
+
{"version":3,"file":"WindowLevelTool.js","sourceRoot":"","sources":["../../../src/tools/WindowLevelTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,cAAc,EAEd,SAAS,EACT,KAAK,GAEN,MAAM,qBAAqB,CAAC;AAI7B,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAC7B,MAAM,2BAA2B,GAAG,IAAI,CAAC;AACzC,MAAM,EAAE,GAAG,IAAI,CAAC;AAQhB,MAAM,eAAgB,SAAQ,QAAQ;IAEpC,YACE,SAAS,GAAG,EAAE,EACd,gBAAgB,GAAG;QACjB,yBAAyB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAC9C;QAED,KAAK,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;QAwMrC,yCAAoC,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE;YAChE,MAAM,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AAC;SAC1E;QAED,IAAI,KAAK,CAAC;QACV,IAAI,UAAU,CAAC,QAAQ,EAAE;YACvB,KAAK,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC;SAC/B;aAAM;YACL,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;YACpE,KAAK,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;SACpB;QAED,OAAO,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC7B,CAAC;IAgCO,UAAU,CAAC,KAAgC,EAAE,WAAmB;QACtE,IAAI,GAAG,GAAG,QAAQ,CAAC;QACnB,IAAI,GAAG,GAAG,CAAC,QAAQ,CAAC;QAEpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,EAAE,CAAC,EAAE,EAAE;YACpC,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YAEvB,IAAI,KAAK,GAAG,GAAG,EAAE;gBACf,GAAG,GAAG,KAAK,CAAC;aACb;YAED,IAAI,KAAK,GAAG,GAAG,EAAE;gBACf,GAAG,GAAG,KAAK,CAAC;aACb;SACF;QACD,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IACtB,CAAC;CACF;AAED,eAAe,CAAC,QAAQ,GAAG,aAAa,CAAC;AACzC,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stackPrefetch.js","sourceRoot":"","sources":["../../../../src/utilities/stackPrefetch/stackPrefetch.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"stackPrefetch.js","sourceRoot":"","sources":["../../../../src/utilities/stackPrefetch/stackPrefetch.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,oBAAoB,EACpB,K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AAC,OAAO,GAAG,KAAK,CAAC;QAGlC,oBAAoB,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;KACrD;AACH,CAAC;AAED,SAAS,gBAAgB;IACvB,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAS,gBAAgB,CAAC,MAAM;IAC9B,aAAa,GAAG,MAAM,CAAC;AACzB,CAAC;AAED,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;AAE9E,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"COLOR_LUT.d.ts","sourceRoot":"","sources":["../../../src/constants/COLOR_LUT.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,qBAAqB,YAgQ1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import MouseCursor from './MouseCursor';
|
|
2
|
+
export default class ImageMouseCursor extends MouseCursor {
|
|
3
|
+
private url;
|
|
4
|
+
private x;
|
|
5
|
+
private y;
|
|
6
|
+
constructor(url: string, x?: number, y?: number, name?: string | undefined, fallback?: MouseCursor | undefined);
|
|
7
|
+
getStyleProperty(): string;
|
|
8
|
+
static getUniqueInstanceName(prefix: string): string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ImageMouseCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageMouseCursor.d.ts","sourceRoot":"","sources":["../../../src/cursors/ImageMouseCursor.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,eAAe,CAAC;AAIxC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,CAAC,CAAS;IAClB,OAAO,CAAC,CAAC,CAAS;gBAGhB,GAAG,EAAE,MAAM,EACX,CAAC,CAAC,EAAE,MAAM,EACV,CAAC,CAAC,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,EACzB,QAAQ,CAAC,EAAE,WAAW,GAAG,SAAS;IAWpC,gBAAgB,IAAI,MAAM;IAS1B,MAAM,CAAC,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;CAGrD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default class MouseCursor {
|
|
2
|
+
private name;
|
|
3
|
+
private fallback;
|
|
4
|
+
constructor(name: string, fallback?: MouseCursor | undefined);
|
|
5
|
+
getName(): string;
|
|
6
|
+
addFallbackStyleProperty(style: string): string;
|
|
7
|
+
getStyleProperty(): string;
|
|
8
|
+
static getDefinedCursor(name: string): MouseCursor | undefined;
|
|
9
|
+
static setDefinedCursor(name: string, cursor: MouseCursor): boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const standardCursorNames: IterableIterator<string>;
|
|
12
|
+
export { standardCursorNames };
|
|
13
|
+
//# sourceMappingURL=MouseCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MouseCursor.d.ts","sourceRoot":"","sources":["../../../src/cursors/MouseCursor.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,QAAQ,CAA0B;gBAE9B,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,WAAW,GAAG,SAAS;IAK5D,OAAO,IAAI,MAAM;IAIjB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAQ/C,gBAAgB,IAAI,MAAM;IAI1B,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAiB9D,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO;CAYpE;AAkBD,QAAA,MAAM,mBAAmB,0BAA4B,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SVGCursorDescriptor } from '../types';
|
|
2
|
+
declare const CursorSVG: Record<string, SVGCursorDescriptor>;
|
|
3
|
+
declare function registerCursor(toolName: string, iconContent: string, viewBox: {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
}): void;
|
|
7
|
+
declare function getDefinedSVGCursorDescriptor(name: string): SVGCursorDescriptor | undefined;
|
|
8
|
+
declare const svgCursorNames: string[];
|
|
9
|
+
export { getDefinedSVGCursorDescriptor, registerCursor, svgCursorNames, CursorSVG, };
|
|
10
|
+
//# sourceMappingURL=SVGCursorDescriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SVGCursorDescriptor.d.ts","sourceRoot":"","sources":["../../../src/cursors/SVGCursorDescriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAyC/C,QAAA,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAkXlD,CAAC;AAqBF,iBAAS,cAAc,CACrB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,QAMlC;AAED,iBAAS,6BAA6B,CACpC,IAAI,EAAE,MAAM,GACX,mBAAmB,GAAG,SAAS,CAEjC;AAKD,QAAA,MAAM,cAAc,UAAyB,CAAC;AAE9C,OAAO,EACL,6BAA6B,EAC7B,cAAc,EACd,cAAc,EACd,SAAS,GACV,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import MouseCursor from './MouseCursor';
|
|
2
|
+
import ImageMouseCursor from './ImageMouseCursor';
|
|
3
|
+
export default class SVGMouseCursor extends ImageMouseCursor {
|
|
4
|
+
constructor(url: string, x?: number, y?: number, name?: string | undefined, fallback?: MouseCursor | undefined);
|
|
5
|
+
static getDefinedCursor(name: string, pointer?: boolean, color?: string): MouseCursor;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=SVGMouseCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SVGMouseCursor.d.ts","sourceRoot":"","sources":["../../../src/cursors/SVGMouseCursor.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAWlD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,gBAAgB;gBAExD,GAAG,EAAE,MAAM,EACX,CAAC,CAAC,EAAE,MAAM,EACV,CAAC,CAAC,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,EACzB,QAAQ,CAAC,EAAE,WAAW,GAAG,SAAS;IAepC,MAAM,CAAC,gBAAgB,CACrB,IAAI,EAAE,MAAM,EACZ,OAAO,UAAQ,EACf,KAAK,CAAC,EAAE,MAAM,GACb,WAAW;CAqBf"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MouseCursor } from '.';
|
|
2
|
+
declare function initElementCursor(element: HTMLDivElement, cursor: MouseCursor | null): void;
|
|
3
|
+
declare function _setElementCursor(element: HTMLDivElement, cursor: MouseCursor | null): void;
|
|
4
|
+
declare function resetElementCursor(element: HTMLDivElement): void;
|
|
5
|
+
declare function hideElementCursor(element: HTMLDivElement): void;
|
|
6
|
+
export { initElementCursor, resetElementCursor, hideElementCursor, _setElementCursor as setElementCursor, };
|
|
7
|
+
//# sourceMappingURL=elementCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementCursor.d.ts","sourceRoot":"","sources":["../../../src/cursors/elementCursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AAQhC,iBAAS,iBAAiB,CACxB,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,WAAW,GAAG,IAAI,GACzB,IAAI,CAGN;AAED,iBAAS,iBAAiB,CACxB,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,WAAW,GAAG,IAAI,GACzB,IAAI,CASN;AAED,iBAAS,kBAAkB,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAEzD;AAED,iBAAS,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAExD;AA2BD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,IAAI,gBAAgB,GACtC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import MouseCursor from './MouseCursor';
|
|
2
|
+
import ImageMouseCursor from './ImageMouseCursor';
|
|
3
|
+
import SVGMouseCursor from './SVGMouseCursor';
|
|
4
|
+
import * as elementCursor from './elementCursor';
|
|
5
|
+
import setCursorForElement from './setCursorForElement';
|
|
6
|
+
import { registerCursor, CursorSVG } from './SVGCursorDescriptor';
|
|
7
|
+
declare const CursorNames: string[];
|
|
8
|
+
export { MouseCursor, ImageMouseCursor, SVGMouseCursor, elementCursor, registerCursor, CursorNames, CursorSVG, setCursorForElement, };
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cursors/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAoC,MAAM,eAAe,CAAC;AACjE,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,cAAc,EAEd,SAAS,EACV,MAAM,uBAAuB,CAAC;AAG/B,QAAA,MAAM,WAAW,UAA8C,CAAC;AAEhE,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,SAAS,EACT,mBAAmB,GACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setCursorForElement.d.ts","sourceRoot":"","sources":["../../../src/cursors/setCursorForElement.ts"],"names":[],"mappings":"AAaA,iBAAS,mBAAmB,CAC1B,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,MAAM,GACjB,IAAI,CAcN;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_getHash.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/_getHash.ts"],"names":[],"mappings":"AAAA,iBAAS,QAAQ,CACf,aAAa,EAAE,MAAM,EACrB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearByToolType.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/clearByToolType.ts"],"names":[],"mappings":"AAQA,iBAAS,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAexE;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/draw.ts"],"names":[],"mappings":"AAEA,iBAAS,IAAI,CACX,OAAO,EAAE,cAAc,EACvB,EAAE,EAAE,CAAC,iBAAiB,EAAE,GAAG,KAAK,GAAG,GAClC,IAAI,CAQN;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
2
|
+
import { SVGDrawingHelper } from '../types';
|
|
3
|
+
export default function drawArrow(svgDrawingHelper: SVGDrawingHelper, annotationUID: string, arrowUID: string, start: Types.Point2, end: Types.Point2, options?: {}): void;
|
|
4
|
+
//# sourceMappingURL=drawArrow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawArrow.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/drawArrow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,CAAC,OAAO,UAAU,SAAS,CAC/B,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,CAAC,MAAM,EACnB,GAAG,EAAE,KAAK,CAAC,MAAM,EACjB,OAAO,KAAK,GACX,IAAI,CAsEN"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
2
|
+
import { SVGDrawingHelper } from '../types';
|
|
3
|
+
declare function drawCircle(svgDrawingHelper: SVGDrawingHelper, annotationUID: string, circleUID: string, center: Types.Point2, radius: number, options?: {}, dataId?: string): void;
|
|
4
|
+
export default drawCircle;
|
|
5
|
+
//# sourceMappingURL=drawCircle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawCircle.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/drawCircle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAO5C,iBAAS,UAAU,CACjB,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,OAAO,KAAK,EACZ,MAAM,SAAK,GACV,IAAI,CAyDN;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
2
|
+
import { SVGDrawingHelper } from '../types';
|
|
3
|
+
declare function drawEllipse(svgDrawingHelper: SVGDrawingHelper, annotationUID: string, ellipseUID: string, corner1: Types.Point2, corner2: Types.Point2, options?: {}, dataId?: string): void;
|
|
4
|
+
export default drawEllipse;
|
|
5
|
+
//# sourceMappingURL=drawEllipse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawEllipse.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/drawEllipse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAM5C,iBAAS,WAAW,CAClB,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,KAAK,CAAC,MAAM,EACrB,OAAO,EAAE,KAAK,CAAC,MAAM,EACrB,OAAO,KAAK,EACZ,MAAM,SAAK,GACV,IAAI,CAqDN;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
2
|
+
import { SVGDrawingHelper } from '../types';
|
|
3
|
+
declare function drawHandles(svgDrawingHelper: SVGDrawingHelper, annotationUID: string, handleGroupUID: string, handlePoints: Array<Types.Point2>, options?: {}): void;
|
|
4
|
+
export default drawHandles;
|
|
5
|
+
//# sourceMappingURL=drawHandles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawHandles.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/drawHandles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,iBAAS,WAAW,CAClB,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,EACjC,OAAO,KAAK,GACX,IAAI,CA2EN;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
2
|
+
import { SVGDrawingHelper } from '../types';
|
|
3
|
+
export default function drawLine(svgDrawingHelper: SVGDrawingHelper, annotationUID: string, lineUID: string, start: Types.Point2, end: Types.Point2, options?: {}, dataId?: string): void;
|
|
4
|
+
//# sourceMappingURL=drawLine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawLine.d.ts","sourceRoot":"","sources":["../../../src/drawingSvg/drawLine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC9B,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,KAAK,CAAC,MAAM,EACnB,GAAG,EAAE,KAAK,CAAC,MAAM,EACjB,OAAO,KAAK,EACZ,MAAM,SAAK,GACV,IAAI,CAsDN"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
2
|
+
import { PlanarBoundingBox, SVGDrawingHelper } from '../types';
|
|
3
|
+
declare function drawLink(svgDrawingHelper: SVGDrawingHelper, annotationUID: string, linkUID: string, annotationAnchorPoints: Array<Types.Point2>, refPoint: Types.Point2, boundingBox: PlanarBoundingBox, options?: {}): void;
|
|
4
|
+
export default drawLink;
|
|
5
|
+
//# sourceMappingURL=drawLink.d.ts.map
|