@cornerstonejs/tools 2.0.0-beta.7 → 2.0.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/esm/constants/COLOR_LUT.d.ts +3 -0
- package/dist/esm/constants/COLOR_LUT.js +0 -1
- package/dist/esm/constants/index.d.ts +2 -0
- package/dist/esm/constants/index.js +0 -1
- package/dist/esm/cursors/ImageMouseCursor.d.ts +9 -0
- package/dist/esm/cursors/ImageMouseCursor.js +0 -1
- package/dist/esm/cursors/MouseCursor.d.ts +12 -0
- package/dist/esm/cursors/MouseCursor.js +0 -1
- package/dist/esm/cursors/SVGCursorDescriptor.d.ts +9 -0
- package/dist/esm/cursors/SVGCursorDescriptor.js +7 -1
- package/dist/esm/cursors/SVGMouseCursor.d.ts +6 -0
- package/dist/esm/cursors/SVGMouseCursor.js +0 -1
- package/dist/esm/cursors/elementCursor.d.ts +6 -0
- package/dist/esm/cursors/elementCursor.js +1 -2
- package/dist/esm/cursors/index.d.ts +8 -0
- package/dist/esm/cursors/index.js +0 -1
- package/dist/esm/cursors/setCursorForElement.d.ts +2 -0
- package/dist/esm/cursors/setCursorForElement.js +0 -1
- package/dist/esm/drawingSvg/_getHash.d.ts +2 -0
- package/dist/esm/drawingSvg/_getHash.js +0 -1
- package/dist/esm/drawingSvg/clearByToolType.d.ts +2 -0
- package/dist/esm/drawingSvg/clearByToolType.js +0 -1
- package/dist/esm/drawingSvg/draw.d.ts +3 -0
- package/dist/esm/drawingSvg/draw.js +0 -1
- package/dist/esm/drawingSvg/drawArrow.d.ts +3 -0
- package/dist/esm/drawingSvg/drawArrow.js +0 -1
- package/dist/esm/drawingSvg/drawCircle.d.ts +4 -0
- package/dist/esm/drawingSvg/drawCircle.js +0 -1
- package/dist/esm/drawingSvg/drawEllipse.d.ts +4 -0
- package/dist/esm/drawingSvg/drawEllipse.js +1 -1
- package/dist/esm/drawingSvg/drawEllipseByCoordinates.d.ts +4 -0
- package/dist/esm/drawingSvg/drawEllipseByCoordinates.js +0 -1
- package/dist/esm/drawingSvg/drawHandle.d.ts +4 -0
- package/dist/esm/drawingSvg/drawHandle.js +0 -1
- package/dist/esm/drawingSvg/drawHandles.d.ts +4 -0
- package/dist/esm/drawingSvg/drawHandles.js +0 -1
- package/dist/esm/drawingSvg/drawHeight.d.ts +3 -0
- package/dist/esm/drawingSvg/drawHeight.js +42 -0
- package/dist/esm/drawingSvg/drawLine.d.ts +3 -0
- package/dist/esm/drawingSvg/drawLine.js +0 -1
- package/dist/esm/drawingSvg/drawLink.d.ts +4 -0
- package/dist/esm/drawingSvg/drawLink.js +0 -1
- package/dist/esm/drawingSvg/drawLinkedTextBox.d.ts +4 -0
- package/dist/esm/drawingSvg/drawLinkedTextBox.js +0 -1
- package/dist/esm/drawingSvg/drawPath.d.ts +11 -0
- package/dist/esm/drawingSvg/drawPath.js +0 -1
- package/dist/esm/drawingSvg/drawPolyline.d.ts +11 -0
- package/dist/esm/drawingSvg/drawPolyline.js +0 -1
- package/dist/esm/drawingSvg/drawRect.d.ts +3 -0
- package/dist/esm/drawingSvg/drawRect.js +1 -1
- package/dist/esm/drawingSvg/drawRectByCoordinates.d.ts +3 -0
- package/dist/esm/drawingSvg/drawRectByCoordinates.js +0 -1
- package/dist/esm/drawingSvg/drawRedactionRect.d.ts +3 -0
- package/dist/esm/drawingSvg/drawRedactionRect.js +0 -1
- package/dist/esm/drawingSvg/drawTextBox.d.ts +4 -0
- package/dist/esm/drawingSvg/drawTextBox.js +0 -1
- package/dist/esm/drawingSvg/getSvgDrawingHelper.d.ts +3 -0
- package/dist/esm/drawingSvg/getSvgDrawingHelper.js +2 -3
- package/dist/esm/drawingSvg/index.d.ts +19 -0
- package/dist/esm/drawingSvg/index.js +2 -2
- package/dist/esm/drawingSvg/setAttributesIfNecessary.d.ts +2 -0
- package/dist/esm/drawingSvg/setAttributesIfNecessary.js +0 -1
- package/dist/esm/drawingSvg/setNewAttributesIfValid.d.ts +2 -0
- package/dist/esm/drawingSvg/setNewAttributesIfValid.js +0 -1
- package/dist/esm/enums/AnnotationStyleStates.d.ts +8 -0
- package/dist/esm/enums/AnnotationStyleStates.js +0 -1
- package/dist/esm/enums/ChangeTypes.d.ts +9 -0
- package/dist/esm/enums/ChangeTypes.js +0 -1
- package/dist/esm/enums/Events.d.ts +41 -0
- package/dist/esm/enums/Events.js +1 -1
- package/dist/esm/enums/SegmentationRepresentations.d.ts +6 -0
- package/dist/esm/enums/SegmentationRepresentations.js +3 -4
- package/dist/esm/enums/StrategyCallbacks.d.ts +14 -0
- package/dist/esm/enums/StrategyCallbacks.js +0 -1
- package/dist/esm/enums/ToolBindings.d.ts +26 -0
- package/dist/esm/enums/ToolBindings.js +2 -1
- package/dist/esm/enums/ToolModes.d.ts +7 -0
- package/dist/esm/enums/ToolModes.js +0 -1
- package/dist/esm/enums/Touch.d.ts +7 -0
- package/dist/esm/enums/Touch.js +0 -1
- package/dist/esm/enums/WorkerTypes.d.ts +8 -0
- package/dist/esm/enums/WorkerTypes.js +5 -6
- package/dist/esm/enums/index.d.ts +11 -0
- package/dist/esm/enums/index.js +0 -1
- package/dist/esm/eventDispatchers/annotationInterpolationEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/annotationInterpolationEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/annotationModifiedEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/annotationModifiedEventDispatcher.js +1 -2
- package/dist/esm/eventDispatchers/cameraModifiedEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/cameraModifiedEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/cameraResetEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/cameraResetEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/imageRenderedEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/imageRenderedEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/imageSpacingCalibratedEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/index.d.ts +9 -0
- package/dist/esm/eventDispatchers/index.js +0 -1
- package/dist/esm/eventDispatchers/keyboardEventHandlers/index.d.ts +3 -0
- package/dist/esm/eventDispatchers/keyboardEventHandlers/index.js +0 -1
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyDown.d.ts +2 -0
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyDown.js +2 -3
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyUp.d.ts +2 -0
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyUp.js +2 -3
- package/dist/esm/eventDispatchers/keyboardToolEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/keyboardToolEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/index.d.ts +9 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/index.js +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseClick.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseClick.js +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDoubleClick.js +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDown.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDown.js +12 -6
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownActivate.js +1 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.js +1 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDrag.js +1 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseMove.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseMove.js +5 -2
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseUp.d.ts +2 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseUp.js +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts +3 -0
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseWheel.js +15 -3
- package/dist/esm/eventDispatchers/mouseToolEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/mouseToolEventDispatcher.js +0 -1
- package/dist/esm/eventDispatchers/shared/customCallbackHandler.d.ts +1 -0
- package/dist/esm/eventDispatchers/shared/customCallbackHandler.js +3 -3
- package/dist/esm/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts +2 -0
- package/dist/esm/eventDispatchers/shared/getActiveToolForKeyboardEvent.js +2 -3
- package/dist/esm/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts +2 -0
- package/dist/esm/eventDispatchers/shared/getActiveToolForMouseEvent.js +5 -7
- package/dist/esm/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts +2 -0
- package/dist/esm/eventDispatchers/shared/getActiveToolForTouchEvent.js +2 -3
- package/dist/esm/eventDispatchers/shared/getMouseModifier.d.ts +3 -0
- package/dist/esm/eventDispatchers/shared/getMouseModifier.js +0 -1
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForKeyboardEvents.d.ts +3 -0
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForKeyboardEvents.js +2 -3
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts +4 -0
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForMouseEvent.js +2 -3
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts +5 -0
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForMouseEvent.js +2 -3
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts +5 -0
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForTouchEvent.js +2 -3
- package/dist/esm/eventDispatchers/touchEventHandlers/index.d.ts +7 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/index.js +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchDrag.d.ts +2 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/touchDrag.js +1 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchEnd.d.ts +2 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/touchEnd.js +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchPress.d.ts +2 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/touchPress.js +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStart.d.ts +2 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStart.js +2 -3
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts +2 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStartActivate.js +1 -2
- package/dist/esm/eventDispatchers/touchEventHandlers/touchTap.d.ts +2 -0
- package/dist/esm/eventDispatchers/touchEventHandlers/touchTap.js +0 -1
- package/dist/esm/eventDispatchers/touchToolEventDispatcher.d.ts +5 -0
- package/dist/esm/eventDispatchers/touchToolEventDispatcher.js +0 -1
- package/dist/esm/eventListeners/annotations/annotationCompletedListener.d.ts +2 -0
- package/dist/esm/eventListeners/annotations/annotationCompletedListener.js +0 -1
- package/dist/esm/eventListeners/annotations/annotationModifiedListener.d.ts +2 -0
- package/dist/esm/eventListeners/annotations/annotationModifiedListener.js +2 -5
- package/dist/esm/eventListeners/annotations/annotationRemovedListener.d.ts +2 -0
- package/dist/esm/eventListeners/annotations/annotationRemovedListener.js +0 -1
- package/dist/esm/eventListeners/annotations/annotationSelectionListener.d.ts +2 -0
- package/dist/esm/eventListeners/annotations/annotationSelectionListener.js +2 -3
- package/dist/esm/eventListeners/annotations/contourSegmentation/contourSegmentationCompleted.d.ts +5 -0
- package/dist/esm/eventListeners/annotations/contourSegmentation/contourSegmentationCompleted.js +24 -27
- package/dist/esm/eventListeners/annotations/contourSegmentation/contourSegmentationRemoved.d.ts +2 -0
- package/dist/esm/eventListeners/annotations/contourSegmentation/contourSegmentationRemoved.js +0 -1
- package/dist/esm/eventListeners/annotations/contourSegmentation/index.js +0 -1
- package/dist/esm/eventListeners/annotations/index.d.ts +5 -0
- package/dist/esm/eventListeners/annotations/index.js +0 -1
- package/dist/esm/eventListeners/index.d.ts +7 -0
- package/dist/esm/eventListeners/index.js +2 -3
- package/dist/esm/eventListeners/keyboard/index.d.ts +9 -0
- package/dist/esm/eventListeners/keyboard/index.js +0 -1
- package/dist/esm/eventListeners/keyboard/keyDownListener.d.ts +4 -0
- package/dist/esm/eventListeners/keyboard/keyDownListener.js +0 -1
- package/dist/esm/eventListeners/mouse/getMouseEventPoints.d.ts +2 -0
- package/dist/esm/eventListeners/mouse/getMouseEventPoints.js +4 -2
- package/dist/esm/eventListeners/mouse/index.d.ts +7 -0
- package/dist/esm/eventListeners/mouse/index.js +0 -1
- package/dist/esm/eventListeners/mouse/mouseDoubleClickListener.d.ts +2 -0
- package/dist/esm/eventListeners/mouse/mouseDoubleClickListener.js +0 -1
- package/dist/esm/eventListeners/mouse/mouseDownListener.d.ts +4 -0
- package/dist/esm/eventListeners/mouse/mouseDownListener.js +17 -2
- package/dist/esm/eventListeners/mouse/mouseMoveListener.d.ts +2 -0
- package/dist/esm/eventListeners/mouse/mouseMoveListener.js +0 -1
- package/dist/esm/eventListeners/segmentation/imageChangeEventListener.d.ts +5 -0
- package/dist/esm/eventListeners/segmentation/imageChangeEventListener.js +63 -87
- package/dist/esm/eventListeners/segmentation/index.d.ts +4 -0
- package/dist/esm/eventListeners/segmentation/index.js +1 -4
- package/dist/esm/eventListeners/segmentation/labelmap/onLabelmapSegmentationDataModified.d.ts +3 -0
- package/dist/esm/eventListeners/segmentation/labelmap/onLabelmapSegmentationDataModified.js +53 -45
- package/dist/esm/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts +3 -0
- package/dist/esm/eventListeners/segmentation/segmentationDataModifiedEventListener.js +5 -10
- package/dist/esm/eventListeners/segmentation/segmentationModifiedEventListener.d.ts +3 -0
- package/dist/esm/eventListeners/segmentation/segmentationModifiedEventListener.js +2 -12
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationModifiedListener.d.ts +3 -0
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationModifiedListener.js +6 -0
- package/dist/esm/eventListeners/touch/getTouchEventPoints.d.ts +2 -0
- package/dist/esm/eventListeners/touch/getTouchEventPoints.js +0 -1
- package/dist/esm/eventListeners/touch/index.d.ts +7 -0
- package/dist/esm/eventListeners/touch/index.js +0 -1
- package/dist/esm/eventListeners/touch/preventGhostClick.d.ts +7 -0
- package/dist/esm/eventListeners/touch/preventGhostClick.js +0 -1
- package/dist/esm/eventListeners/touch/touchStartListener.d.ts +2 -0
- package/dist/esm/eventListeners/touch/touchStartListener.js +0 -1
- package/dist/esm/eventListeners/wheel/index.d.ts +7 -0
- package/dist/esm/eventListeners/wheel/index.js +0 -1
- package/dist/esm/eventListeners/wheel/normalizeWheel.d.ts +6 -0
- package/dist/esm/eventListeners/wheel/normalizeWheel.js +0 -1
- package/dist/esm/eventListeners/wheel/wheelListener.d.ts +2 -0
- package/dist/esm/eventListeners/wheel/wheelListener.js +0 -1
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/init.d.ts +3 -0
- package/dist/esm/init.js +8 -8
- package/dist/esm/stateManagement/annotation/AnnotationGroup.d.ts +18 -0
- package/dist/esm/stateManagement/annotation/AnnotationGroup.js +0 -1
- package/dist/esm/stateManagement/annotation/AnnotationRenderingEngine.d.ts +20 -0
- package/dist/esm/stateManagement/annotation/AnnotationRenderingEngine.js +112 -0
- package/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts +27 -0
- package/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js +6 -8
- package/dist/esm/stateManagement/annotation/annotationLocking.d.ts +7 -0
- package/dist/esm/stateManagement/annotation/annotationLocking.js +38 -53
- package/dist/esm/stateManagement/annotation/annotationSelection.d.ts +7 -0
- package/dist/esm/stateManagement/annotation/annotationSelection.js +15 -2
- package/dist/esm/stateManagement/annotation/annotationState.d.ts +19 -0
- package/dist/esm/stateManagement/annotation/annotationState.js +17 -8
- package/dist/esm/stateManagement/annotation/annotationVisibility.d.ts +5 -0
- package/dist/esm/stateManagement/annotation/annotationVisibility.js +8 -30
- package/dist/esm/stateManagement/annotation/config/ToolStyle.d.ts +18 -0
- package/dist/esm/stateManagement/annotation/config/ToolStyle.js +2 -3
- package/dist/esm/stateManagement/annotation/config/getFont.d.ts +4 -0
- package/dist/esm/stateManagement/annotation/config/getFont.js +0 -1
- package/dist/esm/stateManagement/annotation/config/getState.d.ts +4 -0
- package/dist/esm/stateManagement/annotation/config/getState.js +1 -2
- package/dist/esm/stateManagement/annotation/config/helpers.d.ts +4 -0
- package/dist/esm/stateManagement/annotation/config/helpers.js +0 -1
- package/dist/esm/stateManagement/annotation/config/index.d.ts +4 -0
- package/dist/esm/stateManagement/annotation/config/index.js +0 -1
- package/dist/esm/stateManagement/annotation/getAnnotation.d.ts +2 -0
- package/dist/esm/stateManagement/annotation/getAnnotation.js +6 -0
- package/dist/esm/stateManagement/annotation/helpers/state.d.ts +10 -0
- package/dist/esm/stateManagement/annotation/helpers/state.js +0 -1
- package/dist/esm/stateManagement/annotation/index.d.ts +8 -0
- package/dist/esm/stateManagement/annotation/index.js +0 -1
- package/dist/esm/stateManagement/annotation/utilities/defineProperties.d.ts +4 -0
- package/dist/esm/stateManagement/annotation/utilities/defineProperties.js +0 -1
- package/dist/esm/stateManagement/index.d.ts +18 -0
- package/dist/esm/stateManagement/index.js +1 -3
- package/dist/esm/stateManagement/segmentation/SegmentationRenderingEngine.d.ts +20 -0
- package/dist/esm/stateManagement/segmentation/SegmentationRenderingEngine.js +153 -0
- package/dist/esm/stateManagement/segmentation/SegmentationStateManager.d.ts +87 -0
- package/dist/esm/stateManagement/segmentation/SegmentationStateManager.js +388 -146
- package/dist/esm/stateManagement/segmentation/SegmentationStyle.d.ts +39 -0
- package/dist/esm/stateManagement/segmentation/SegmentationStyle.js +223 -0
- package/dist/esm/stateManagement/segmentation/activeSegmentation.d.ts +4 -0
- package/dist/esm/stateManagement/segmentation/activeSegmentation.js +7 -24
- package/dist/esm/stateManagement/segmentation/addColorLUT.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/addColorLUT.js +25 -0
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentationsToViewport.d.ts +15 -0
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentationsToViewport.js +49 -0
- package/dist/esm/stateManagement/segmentation/addSegmentations.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/addSegmentations.js +11 -8
- package/dist/esm/stateManagement/segmentation/config/index.d.ts +4 -0
- package/dist/esm/stateManagement/segmentation/config/index.js +2 -3
- package/dist/esm/stateManagement/segmentation/config/segmentationColor.d.ts +6 -0
- package/dist/esm/stateManagement/segmentation/config/segmentationColor.js +27 -26
- package/dist/esm/stateManagement/segmentation/config/segmentationVisibility.d.ts +22 -0
- package/dist/esm/stateManagement/segmentation/config/segmentationVisibility.js +38 -59
- package/dist/esm/stateManagement/segmentation/config/styleHelpers.d.ts +25 -0
- package/dist/esm/stateManagement/segmentation/config/styleHelpers.js +37 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationDataModified.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationDataModified.js +11 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationModified.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationModified.js +8 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationRemoved.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationRemoved.js +8 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationRepresentationModified.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationRepresentationModified.js +10 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationRepresentationRemoved.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/events/triggerSegmentationRepresentationRemoved.js +10 -0
- package/dist/esm/stateManagement/segmentation/getActiveSegmentIndex.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/getActiveSegmentIndex.js +9 -0
- package/dist/esm/stateManagement/segmentation/getActiveSegmentation.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/getActiveSegmentation.js +5 -0
- package/dist/esm/stateManagement/segmentation/getColorLUT.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/getColorLUT.js +5 -0
- package/dist/esm/stateManagement/segmentation/getCurrentLabelmapImageIdForViewport.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/getCurrentLabelmapImageIdForViewport.js +5 -0
- package/dist/esm/stateManagement/segmentation/getGlobalStyle.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/getGlobalStyle.js +4 -0
- package/dist/esm/stateManagement/segmentation/getLabelmapImageIds.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/getLabelmapImageIds.js +7 -0
- package/dist/esm/stateManagement/segmentation/getNextColorLUTIndex.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/getNextColorLUTIndex.js +5 -0
- package/dist/esm/stateManagement/segmentation/getSegmentation.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/getSegmentation.js +5 -0
- package/dist/esm/stateManagement/segmentation/getSegmentationRepresentation.d.ts +10 -0
- package/dist/esm/stateManagement/segmentation/getSegmentationRepresentation.js +13 -0
- package/dist/esm/stateManagement/segmentation/getSegmentationRepresentationVisibility.d.ts +5 -0
- package/dist/esm/stateManagement/segmentation/getSegmentationRepresentationVisibility.js +5 -0
- package/dist/esm/stateManagement/segmentation/getSegmentations.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/getSegmentations.js +6 -0
- package/dist/esm/stateManagement/segmentation/getStackSegmentationImageIdsForViewport.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/getStackSegmentationImageIdsForViewport.js +5 -0
- package/dist/esm/stateManagement/segmentation/getViewportIdsWithSegmentation.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/getViewportIdsWithSegmentation.js +10 -0
- package/dist/esm/stateManagement/segmentation/getViewportSegmentations.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/getViewportSegmentations.js +15 -0
- package/dist/esm/stateManagement/segmentation/helpers/clearSegmentValue.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/helpers/clearSegmentValue.js +30 -0
- package/dist/esm/stateManagement/segmentation/helpers/clipAndCacheSurfacesForViewport.d.ts +16 -0
- package/dist/esm/stateManagement/segmentation/helpers/clipAndCacheSurfacesForViewport.js +13 -16
- package/dist/esm/stateManagement/segmentation/helpers/computeStackLabelmapFromVolume.d.ts +13 -0
- package/dist/esm/stateManagement/segmentation/helpers/computeStackLabelmapFromVolume.js +22 -0
- package/dist/esm/stateManagement/segmentation/helpers/computeVolumeLabelmapFromStack.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/helpers/computeVolumeLabelmapFromStack.js +4 -0
- package/dist/esm/stateManagement/segmentation/helpers/convertStackToVolumeLabelmap.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/helpers/convertStackToVolumeLabelmap.js +7 -0
- package/dist/esm/stateManagement/segmentation/helpers/getSegmentationActor.d.ts +4 -0
- package/dist/esm/stateManagement/segmentation/helpers/getSegmentationActor.js +30 -0
- package/dist/esm/stateManagement/segmentation/helpers/index.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/helpers/index.js +2 -2
- package/dist/esm/stateManagement/segmentation/helpers/internalGetHiddenSegmentIndices.d.ts +5 -0
- package/dist/esm/stateManagement/segmentation/helpers/internalGetHiddenSegmentIndices.js +14 -0
- package/dist/esm/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/helpers/normalizeSegmentationInput.js +55 -16
- package/dist/esm/stateManagement/segmentation/helpers/updateStackSegmentationState.d.ts +8 -0
- package/dist/esm/stateManagement/segmentation/helpers/updateStackSegmentationState.js +31 -0
- package/dist/esm/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/helpers/validateSegmentationInput.js +0 -1
- package/dist/esm/stateManagement/segmentation/index.d.ts +25 -0
- package/dist/esm/stateManagement/segmentation/index.js +18 -8
- package/dist/esm/stateManagement/segmentation/internalAddRepresentationData.d.ts +12 -0
- package/dist/esm/stateManagement/segmentation/internalAddRepresentationData.js +32 -0
- package/dist/esm/stateManagement/segmentation/internalAddSegmentationRepresentation.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/internalAddSegmentationRepresentation.js +34 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/computeAndAddContourRepresentation.d.ts +4 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/computeAndAddContourRepresentation.js +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/contourComputationStrategies.d.ts +8 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/contourComputationStrategies.js +19 -21
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/createAndAddContourSegmentationsFromClippedSurfaces.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/createAndAddContourSegmentationsFromClippedSurfaces.js +1 -2
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/extractContourData.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/extractContourData.js +6 -11
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/updateContoursOnCameraModified.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/updateContoursOnCameraModified.js +1 -2
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/computeAndAddLabelmapRepresentation.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/computeAndAddLabelmapRepresentation.js +9 -3
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/convertContourToLabelmap.d.ts +7 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/convertContourToLabelmap.js +18 -28
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/convertSurfaceToLabelmap.d.ts +6 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/convertSurfaceToLabelmap.js +5 -10
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/labelmapComputationStrategies.d.ts +6 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/labelmapComputationStrategies.js +17 -25
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/computeAndAddSurfaceRepresentation.d.ts +4 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/computeAndAddSurfaceRepresentation.js +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/convertContourToSurface.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/convertContourToSurface.js +8 -8
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/convertLabelmapToSurface.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/convertLabelmapToSurface.js +13 -14
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/createAndCacheSurfacesFromRaw.d.ts +5 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/createAndCacheSurfacesFromRaw.js +6 -14
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/surfaceComputationStrategies.d.ts +12 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/surfaceComputationStrategies.js +8 -11
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/updateSurfaceData.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/updateSurfaceData.js +20 -20
- package/dist/esm/stateManagement/segmentation/polySeg/canComputeRequestedRepresentation.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/polySeg/canComputeRequestedRepresentation.js +5 -15
- package/dist/esm/stateManagement/segmentation/polySeg/computeAndAddRepresentation.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/polySeg/computeAndAddRepresentation.js +7 -7
- package/dist/esm/stateManagement/segmentation/polySeg/index.d.ts +5 -0
- package/dist/esm/stateManagement/segmentation/polySeg/index.js +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/registerPolySegWorker.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/polySeg/registerPolySegWorker.js +1 -1
- package/dist/esm/stateManagement/segmentation/removeColorLUT.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/removeColorLUT.js +5 -0
- package/dist/esm/stateManagement/segmentation/removeSegment.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/removeSegment.js +50 -0
- package/dist/esm/stateManagement/segmentation/removeSegmentation.d.ts +2 -0
- package/dist/esm/stateManagement/segmentation/removeSegmentation.js +23 -0
- package/dist/esm/stateManagement/segmentation/removeSegmentationRepresentations.d.ts +20 -0
- package/dist/esm/stateManagement/segmentation/removeSegmentationRepresentations.js +73 -0
- package/dist/esm/stateManagement/segmentation/segmentIndex.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/segmentIndex.js +37 -15
- package/dist/esm/stateManagement/segmentation/segmentLocking.d.ts +4 -0
- package/dist/esm/stateManagement/segmentation/segmentLocking.js +10 -15
- package/dist/esm/stateManagement/segmentation/segmentationState.d.ts +17 -0
- package/dist/esm/stateManagement/segmentation/segmentationState.js +18 -175
- package/dist/esm/stateManagement/segmentation/setActiveSegmentation.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/setActiveSegmentation.js +5 -0
- package/dist/esm/stateManagement/segmentation/setGlobalStyle.d.ts +3 -0
- package/dist/esm/stateManagement/segmentation/setGlobalStyle.js +8 -0
- package/dist/esm/stateManagement/segmentation/setSegmentationRepresentationVisibility.d.ts +5 -0
- package/dist/esm/stateManagement/segmentation/setSegmentationRepresentationVisibility.js +5 -0
- package/dist/esm/stateManagement/segmentation/triggerSegmentationEvents.d.ts +6 -0
- package/dist/esm/stateManagement/segmentation/triggerSegmentationEvents.js +6 -61
- package/dist/esm/stateManagement/segmentation/updateLabelmapSegmentationImageReferences.d.ts +1 -0
- package/dist/esm/stateManagement/segmentation/updateLabelmapSegmentationImageReferences.js +5 -0
- package/dist/esm/stateManagement/segmentation/updateSegmentations.d.ts +5 -0
- package/dist/esm/stateManagement/segmentation/updateSegmentations.js +11 -0
- package/dist/esm/store/SynchronizerManager/Synchronizer.d.ts +48 -0
- package/dist/esm/store/SynchronizerManager/Synchronizer.js +40 -38
- package/dist/esm/store/SynchronizerManager/createSynchronizer.d.ts +4 -0
- package/dist/esm/store/SynchronizerManager/createSynchronizer.js +2 -3
- package/dist/esm/store/SynchronizerManager/destroy.d.ts +2 -0
- package/dist/esm/store/SynchronizerManager/destroy.js +1 -2
- package/dist/esm/store/SynchronizerManager/destroySynchronizer.d.ts +2 -0
- package/dist/esm/store/SynchronizerManager/destroySynchronizer.js +1 -2
- package/dist/esm/store/SynchronizerManager/getAllSynchronizers.d.ts +3 -0
- package/dist/esm/store/SynchronizerManager/getAllSynchronizers.js +1 -2
- package/dist/esm/store/SynchronizerManager/getSynchronizer.d.ts +3 -0
- package/dist/esm/store/SynchronizerManager/getSynchronizer.js +1 -2
- package/dist/esm/store/SynchronizerManager/getSynchronizersForViewport.d.ts +3 -0
- package/dist/esm/store/SynchronizerManager/getSynchronizersForViewport.js +1 -2
- package/dist/esm/store/SynchronizerManager/index.d.ts +7 -0
- package/dist/esm/store/SynchronizerManager/index.js +0 -1
- package/dist/esm/store/ToolGroupManager/ToolGroup.d.ts +48 -0
- package/dist/esm/store/ToolGroupManager/ToolGroup.js +40 -13
- package/dist/esm/store/ToolGroupManager/createToolGroup.d.ts +3 -0
- package/dist/esm/store/ToolGroupManager/createToolGroup.js +1 -2
- package/dist/esm/store/ToolGroupManager/destroy.d.ts +2 -0
- package/dist/esm/store/ToolGroupManager/destroy.js +3 -4
- package/dist/esm/store/ToolGroupManager/destroyToolGroup.d.ts +2 -0
- package/dist/esm/store/ToolGroupManager/destroyToolGroup.js +1 -6
- package/dist/esm/store/ToolGroupManager/getAllToolGroups.d.ts +3 -0
- package/dist/esm/store/ToolGroupManager/getAllToolGroups.js +1 -2
- package/dist/esm/store/ToolGroupManager/getToolGroup.d.ts +3 -0
- package/dist/esm/store/ToolGroupManager/getToolGroup.js +1 -2
- package/dist/esm/store/ToolGroupManager/getToolGroupForViewport.d.ts +3 -0
- package/dist/esm/store/ToolGroupManager/getToolGroupForViewport.js +1 -2
- package/dist/esm/store/ToolGroupManager/getToolGroupsWithToolName.d.ts +3 -0
- package/dist/esm/store/ToolGroupManager/getToolGroupsWithToolName.js +1 -2
- package/dist/esm/store/ToolGroupManager/index.d.ts +8 -0
- package/dist/esm/store/ToolGroupManager/index.js +0 -1
- package/dist/esm/store/addEnabledElement.d.ts +2 -0
- package/dist/esm/store/addEnabledElement.js +1 -2
- package/dist/esm/store/addTool.d.ts +5 -0
- package/dist/esm/store/addTool.js +3 -4
- package/dist/esm/store/cancelActiveManipulations.d.ts +1 -0
- package/dist/esm/store/cancelActiveManipulations.js +0 -1
- package/dist/esm/store/filterMoveableAnnotationTools.d.ts +3 -0
- package/dist/esm/store/filterMoveableAnnotationTools.js +0 -1
- package/dist/esm/store/filterToolsWithAnnotationsForElement.d.ts +3 -0
- package/dist/esm/store/filterToolsWithAnnotationsForElement.js +0 -1
- package/dist/esm/store/filterToolsWithMoveableHandles.d.ts +3 -0
- package/dist/esm/store/filterToolsWithMoveableHandles.js +0 -1
- package/dist/esm/store/index.d.ts +9 -0
- package/dist/esm/store/index.js +1 -3
- package/dist/esm/store/removeEnabledElement.d.ts +3 -0
- package/dist/esm/store/removeEnabledElement.js +1 -2
- package/dist/esm/store/state.d.ts +18 -0
- package/dist/esm/store/state.js +1 -2
- package/dist/esm/store/svgNodeCache.d.ts +3 -0
- package/dist/esm/store/svgNodeCache.js +0 -1
- package/dist/esm/synchronizers/callbacks/areViewportsCoplanar .d.ts +2 -0
- package/dist/esm/synchronizers/callbacks/areViewportsCoplanar .js +0 -1
- package/dist/esm/synchronizers/callbacks/cameraSyncCallback.d.ts +3 -0
- package/dist/esm/synchronizers/callbacks/cameraSyncCallback.js +0 -1
- package/dist/esm/synchronizers/callbacks/imageSliceSyncCallback.d.ts +3 -0
- package/dist/esm/synchronizers/callbacks/imageSliceSyncCallback.js +1 -3
- package/dist/esm/synchronizers/callbacks/presentationViewSyncCallback.d.ts +2 -0
- package/dist/esm/synchronizers/callbacks/presentationViewSyncCallback.js +0 -1
- package/dist/esm/synchronizers/callbacks/slabThicknessSyncCallback.d.ts +2 -0
- package/dist/esm/synchronizers/callbacks/slabThicknessSyncCallback.js +0 -1
- package/dist/esm/synchronizers/callbacks/voiSyncCallback.d.ts +5 -0
- package/dist/esm/synchronizers/callbacks/voiSyncCallback.js +0 -1
- package/dist/esm/synchronizers/callbacks/zoomPanSyncCallback.d.ts +3 -0
- package/dist/esm/synchronizers/callbacks/zoomPanSyncCallback.js +0 -1
- package/dist/esm/synchronizers/index.d.ts +8 -0
- package/dist/esm/synchronizers/index.js +0 -1
- package/dist/esm/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts +2 -0
- package/dist/esm/synchronizers/synchronizers/createCameraPositionSynchronizer.js +0 -1
- package/dist/esm/synchronizers/synchronizers/createImageSliceSynchronizer.d.ts +2 -0
- package/dist/esm/synchronizers/synchronizers/createImageSliceSynchronizer.js +5 -2
- package/dist/esm/synchronizers/synchronizers/createPresentationViewSynchronizer.d.ts +3 -0
- package/dist/esm/synchronizers/synchronizers/createPresentationViewSynchronizer.js +1 -2
- package/dist/esm/synchronizers/synchronizers/createSlabThicknessSynchronizer.d.ts +2 -0
- package/dist/esm/synchronizers/synchronizers/createSlabThicknessSynchronizer.js +0 -1
- package/dist/esm/synchronizers/synchronizers/createVOISynchronizer.d.ts +7 -0
- package/dist/esm/synchronizers/synchronizers/createVOISynchronizer.js +5 -2
- package/dist/esm/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts +2 -0
- package/dist/esm/synchronizers/synchronizers/createZoomPanSynchronizer.js +0 -1
- package/dist/esm/synchronizers/synchronizers/index.d.ts +7 -0
- package/dist/esm/synchronizers/synchronizers/index.js +0 -1
- package/dist/esm/tools/AdvancedMagnifyTool.d.ts +130 -0
- package/dist/esm/tools/AdvancedMagnifyTool.js +515 -26
- package/dist/esm/tools/AnnotationEraserTool.d.ts +10 -0
- package/dist/esm/tools/AnnotationEraserTool.js +2 -3
- package/dist/esm/tools/CrosshairsTool.d.ts +73 -0
- package/dist/esm/tools/CrosshairsTool.js +19 -18
- package/dist/esm/tools/MIPJumpToClickTool.d.ts +8 -0
- package/dist/esm/tools/MIPJumpToClickTool.js +3 -6
- package/dist/esm/tools/MagnifyTool.d.ts +25 -0
- package/dist/esm/tools/MagnifyTool.js +3 -4
- package/dist/esm/tools/OrientationMarkerTool.d.ts +77 -0
- package/dist/esm/tools/OrientationMarkerTool.js +8 -8
- package/dist/esm/tools/OverlayGridTool.d.ts +29 -0
- package/dist/esm/tools/OverlayGridTool.js +1 -2
- package/dist/esm/tools/PanTool.d.ts +10 -0
- package/dist/esm/tools/PanTool.js +5 -1
- package/dist/esm/tools/PlanarRotateTool.d.ts +12 -0
- package/dist/esm/tools/PlanarRotateTool.js +19 -6
- package/dist/esm/tools/ReferenceCursors.d.ts +24 -0
- package/dist/esm/tools/ReferenceCursors.js +2 -4
- package/dist/esm/tools/ReferenceLinesTool.d.ts +27 -0
- package/dist/esm/tools/ReferenceLinesTool.js +7 -5
- package/dist/esm/tools/ScaleOverlayTool.d.ts +38 -0
- package/dist/esm/tools/ScaleOverlayTool.js +24 -23
- package/dist/esm/tools/SculptorTool/CircleSculptCursor.d.ts +20 -0
- package/dist/esm/tools/SculptorTool/CircleSculptCursor.js +0 -1
- package/dist/esm/tools/SculptorTool.d.ts +41 -0
- package/dist/esm/tools/SculptorTool.js +4 -5
- package/dist/esm/tools/SegmentationIntersectionTool.d.ts +18 -0
- package/dist/esm/tools/SegmentationIntersectionTool.js +1 -2
- package/dist/esm/tools/StackScrollTool.d.ts +15 -0
- package/dist/esm/tools/StackScrollTool.js +25 -6
- package/dist/esm/tools/TrackballRotateTool.d.ts +19 -0
- package/dist/esm/tools/TrackballRotateTool.js +4 -1
- package/dist/esm/tools/VolumeRotateTool.d.ts +10 -0
- package/dist/esm/tools/VolumeRotateTool.js +52 -0
- package/dist/esm/tools/WindowLevelRegionTool.d.ts +26 -0
- package/dist/esm/tools/WindowLevelRegionTool.js +7 -11
- package/dist/esm/tools/WindowLevelTool.d.ts +37 -0
- package/dist/esm/tools/WindowLevelTool.js +15 -10
- package/dist/esm/tools/ZoomTool.d.ts +19 -0
- package/dist/esm/tools/ZoomTool.js +2 -3
- package/dist/esm/tools/annotation/AngleTool.d.ts +34 -0
- package/dist/esm/tools/annotation/AngleTool.js +12 -14
- package/dist/esm/tools/annotation/ArrowAnnotateTool.d.ts +36 -0
- package/dist/esm/tools/annotation/ArrowAnnotateTool.js +10 -14
- package/dist/esm/tools/annotation/BidirectionalTool.d.ts +40 -0
- package/dist/esm/tools/annotation/BidirectionalTool.js +16 -20
- package/dist/esm/tools/annotation/CircleROITool.d.ts +36 -0
- package/dist/esm/tools/annotation/CircleROITool.js +30 -30
- package/dist/esm/tools/annotation/CobbAngleTool.d.ts +61 -0
- package/dist/esm/tools/annotation/CobbAngleTool.js +8 -9
- package/dist/esm/tools/annotation/DragProbeTool.d.ts +23 -0
- package/dist/esm/tools/annotation/DragProbeTool.js +1 -7
- package/dist/esm/tools/annotation/EllipticalROITool.d.ts +42 -0
- package/dist/esm/tools/annotation/EllipticalROITool.js +27 -26
- package/dist/esm/tools/annotation/HeightTool.d.ts +36 -0
- package/dist/esm/tools/annotation/HeightTool.js +434 -0
- package/dist/esm/tools/annotation/KeyImageTool.d.ts +32 -0
- package/dist/esm/tools/annotation/KeyImageTool.js +5 -6
- package/dist/esm/tools/annotation/LengthTool.d.ts +35 -0
- package/dist/esm/tools/annotation/LengthTool.js +17 -19
- package/dist/esm/tools/annotation/LivewireContourSegmentationTool.d.ts +10 -0
- package/dist/esm/tools/annotation/LivewireContourSegmentationTool.js +0 -1
- package/dist/esm/tools/annotation/LivewireContourTool.d.ts +67 -0
- package/dist/esm/tools/annotation/LivewireContourTool.js +171 -24
- package/dist/esm/tools/annotation/PlanarFreehandContourSegmentationTool.d.ts +9 -0
- package/dist/esm/tools/annotation/PlanarFreehandContourSegmentationTool.js +0 -1
- package/dist/esm/tools/annotation/PlanarFreehandROITool.d.ts +59 -0
- package/dist/esm/tools/annotation/PlanarFreehandROITool.js +162 -123
- package/dist/esm/tools/annotation/ProbeTool.d.ts +32 -0
- package/dist/esm/tools/annotation/ProbeTool.js +26 -44
- package/dist/esm/tools/annotation/RectangleROITool.d.ts +40 -0
- package/dist/esm/tools/annotation/RectangleROITool.js +25 -24
- package/dist/esm/tools/annotation/SplineContourSegmentationTool.d.ts +8 -0
- package/dist/esm/tools/annotation/SplineContourSegmentationTool.js +0 -1
- package/dist/esm/tools/annotation/SplineROITool.d.ts +69 -0
- package/dist/esm/tools/annotation/SplineROITool.js +23 -22
- package/dist/esm/tools/annotation/UltrasoundDirectionalTool.d.ts +34 -0
- package/dist/esm/tools/annotation/UltrasoundDirectionalTool.js +12 -16
- package/dist/esm/tools/annotation/VideoRedactionTool.d.ts +45 -0
- package/dist/esm/tools/annotation/VideoRedactionTool.js +7 -16
- package/dist/esm/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts +2 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/closedContourEditLoop.js +4 -5
- package/dist/esm/tools/annotation/planarFreehandROITool/drawLoop.d.ts +2 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/drawLoop.js +5 -6
- package/dist/esm/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts +2 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/editLoopCommon.js +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts +4 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.js +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts +2 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEditLoop.js +5 -6
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts +2 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEndEditLoop.js +1 -2
- package/dist/esm/tools/annotation/planarFreehandROITool/renderMethods.d.ts +2 -0
- package/dist/esm/tools/annotation/planarFreehandROITool/renderMethods.js +1 -2
- package/dist/esm/tools/annotation/splines/BSpline.d.ts +5 -0
- package/dist/esm/tools/annotation/splines/BSpline.js +0 -1
- package/dist/esm/tools/annotation/splines/CardinalSpline.d.ts +12 -0
- package/dist/esm/tools/annotation/splines/CardinalSpline.js +0 -1
- package/dist/esm/tools/annotation/splines/CatmullRomSpline.d.ts +5 -0
- package/dist/esm/tools/annotation/splines/CatmullRomSpline.js +0 -1
- package/dist/esm/tools/annotation/splines/CubicSpline.d.ts +13 -0
- package/dist/esm/tools/annotation/splines/CubicSpline.js +0 -1
- package/dist/esm/tools/annotation/splines/LinearSpline.d.ts +5 -0
- package/dist/esm/tools/annotation/splines/LinearSpline.js +0 -1
- package/dist/esm/tools/annotation/splines/QuadraticBezier.d.ts +6 -0
- package/dist/esm/tools/annotation/splines/QuadraticBezier.js +0 -1
- package/dist/esm/tools/annotation/splines/QuadraticSpline.d.ts +9 -0
- package/dist/esm/tools/annotation/splines/QuadraticSpline.js +0 -1
- package/dist/esm/tools/annotation/splines/Spline.d.ts +51 -0
- package/dist/esm/tools/annotation/splines/Spline.js +0 -1
- package/dist/esm/tools/base/AnnotationDisplayTool.d.ts +13 -0
- package/dist/esm/tools/base/AnnotationDisplayTool.js +3 -10
- package/dist/esm/tools/base/AnnotationTool.d.ts +26 -0
- package/dist/esm/tools/base/AnnotationTool.js +2 -3
- package/dist/esm/tools/base/BaseTool.d.ts +20 -0
- package/dist/esm/tools/base/BaseTool.js +6 -20
- package/dist/esm/tools/base/ContourBaseTool.d.ts +23 -0
- package/dist/esm/tools/base/ContourBaseTool.js +5 -6
- package/dist/esm/tools/base/ContourSegmentationBaseTool.d.ts +17 -0
- package/dist/esm/tools/base/ContourSegmentationBaseTool.js +67 -47
- package/dist/esm/tools/base/index.d.ts +4 -0
- package/dist/esm/tools/base/index.js +0 -1
- package/dist/esm/tools/displayTools/Contour/contourConfig.d.ts +3 -0
- package/dist/esm/tools/displayTools/Contour/contourConfig.js +4 -5
- package/dist/esm/tools/displayTools/Contour/contourDisplay.d.ts +9 -0
- package/dist/esm/tools/displayTools/Contour/contourDisplay.js +26 -38
- package/dist/esm/tools/displayTools/Contour/contourHandler/handleContourSegmentation.d.ts +5 -0
- package/dist/esm/tools/displayTools/Contour/contourHandler/handleContourSegmentation.js +21 -64
- package/dist/esm/tools/displayTools/Contour/contourHandler/utils.d.ts +4 -0
- package/dist/esm/tools/displayTools/Contour/contourHandler/utils.js +4 -16
- package/dist/esm/tools/displayTools/Contour/index.d.ts +2 -0
- package/dist/esm/tools/displayTools/Contour/index.js +0 -1
- package/dist/esm/tools/displayTools/Contour/removeContourFromElement.d.ts +2 -0
- package/dist/esm/tools/displayTools/Contour/removeContourFromElement.js +3 -6
- package/dist/esm/tools/displayTools/Labelmap/addLabelmapToElement.d.ts +3 -0
- package/dist/esm/tools/displayTools/Labelmap/addLabelmapToElement.js +40 -9
- package/dist/esm/tools/displayTools/Labelmap/index.d.ts +4 -0
- package/dist/esm/tools/displayTools/Labelmap/index.js +0 -1
- package/dist/esm/tools/displayTools/Labelmap/labelmapConfig.d.ts +3 -0
- package/dist/esm/tools/displayTools/Labelmap/labelmapConfig.js +6 -20
- package/dist/esm/tools/displayTools/Labelmap/labelmapDisplay.d.ts +10 -0
- package/dist/esm/tools/displayTools/Labelmap/labelmapDisplay.js +130 -145
- package/dist/esm/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts +2 -0
- package/dist/esm/tools/displayTools/Labelmap/removeLabelmapFromElement.js +3 -3
- package/dist/esm/tools/displayTools/Labelmap/validateLabelmap.d.ts +4 -0
- package/dist/esm/tools/displayTools/Labelmap/validateLabelmap.js +3 -4
- package/dist/esm/tools/displayTools/Surface/addOrUpdateSurfaceToElement.d.ts +3 -0
- package/dist/esm/tools/displayTools/Surface/addOrUpdateSurfaceToElement.js +15 -17
- package/dist/esm/tools/displayTools/Surface/index.d.ts +2 -0
- package/dist/esm/tools/displayTools/Surface/index.js +0 -1
- package/dist/esm/tools/displayTools/Surface/removeSurfaceFromElement.d.ts +2 -0
- package/dist/esm/tools/displayTools/Surface/removeSurfaceFromElement.js +5 -7
- package/dist/esm/tools/displayTools/Surface/surfaceConfig.d.ts +3 -0
- package/dist/esm/tools/displayTools/Surface/surfaceConfig.js +2 -3
- package/dist/esm/tools/displayTools/Surface/surfaceDisplay.d.ts +10 -0
- package/dist/esm/tools/displayTools/Surface/surfaceDisplay.js +29 -40
- package/dist/esm/tools/distancePointToContour.d.ts +3 -0
- package/dist/esm/tools/distancePointToContour.js +0 -1
- package/dist/esm/tools/index.d.ts +50 -0
- package/dist/esm/tools/index.js +3 -6
- package/dist/esm/tools/segmentation/BrushTool.d.ts +129 -0
- package/dist/esm/tools/segmentation/BrushTool.js +87 -49
- package/dist/esm/tools/segmentation/CircleROIStartEndThresholdTool.d.ts +68 -0
- package/dist/esm/tools/segmentation/CircleROIStartEndThresholdTool.js +211 -73
- package/dist/esm/tools/segmentation/CircleScissorsTool.d.ts +32 -0
- package/dist/esm/tools/segmentation/CircleScissorsTool.js +23 -19
- package/dist/esm/tools/segmentation/PaintFillTool.d.ts +13 -0
- package/dist/esm/tools/segmentation/PaintFillTool.js +18 -23
- package/dist/esm/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts +69 -0
- package/dist/esm/tools/segmentation/RectangleROIStartEndThresholdTool.js +187 -59
- package/dist/esm/tools/segmentation/RectangleROIThresholdTool.d.ts +45 -0
- package/dist/esm/tools/segmentation/RectangleROIThresholdTool.js +2 -3
- package/dist/esm/tools/segmentation/RectangleScissorsTool.d.ts +32 -0
- package/dist/esm/tools/segmentation/RectangleScissorsTool.js +16 -18
- package/dist/esm/tools/segmentation/SegmentSelectTool.d.ts +20 -0
- package/dist/esm/tools/segmentation/SegmentSelectTool.js +21 -31
- package/dist/esm/tools/segmentation/SphereScissorsTool.d.ts +33 -0
- package/dist/esm/tools/segmentation/SphereScissorsTool.js +20 -19
- package/dist/esm/tools/segmentation/strategies/BrushStrategy.d.ts +93 -0
- package/dist/esm/tools/segmentation/strategies/BrushStrategy.js +14 -6
- package/dist/esm/tools/segmentation/strategies/compositions/determineSegmentIndex.d.ts +6 -0
- package/dist/esm/tools/segmentation/strategies/compositions/determineSegmentIndex.js +5 -4
- package/dist/esm/tools/segmentation/strategies/compositions/dynamicThreshold.d.ts +7 -0
- package/dist/esm/tools/segmentation/strategies/compositions/dynamicThreshold.js +7 -4
- package/dist/esm/tools/segmentation/strategies/compositions/erase.d.ts +5 -0
- package/dist/esm/tools/segmentation/strategies/compositions/erase.js +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/index.d.ts +36 -0
- package/dist/esm/tools/segmentation/strategies/compositions/index.js +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/islandRemoval.d.ts +5 -0
- package/dist/esm/tools/segmentation/strategies/compositions/islandRemoval.js +2 -3
- package/dist/esm/tools/segmentation/strategies/compositions/preview.d.ts +8 -0
- package/dist/esm/tools/segmentation/strategies/compositions/preview.js +9 -10
- package/dist/esm/tools/segmentation/strategies/compositions/regionFill.d.ts +5 -0
- package/dist/esm/tools/segmentation/strategies/compositions/regionFill.js +6 -4
- package/dist/esm/tools/segmentation/strategies/compositions/setValue.d.ts +8 -0
- package/dist/esm/tools/segmentation/strategies/compositions/setValue.js +6 -5
- package/dist/esm/tools/segmentation/strategies/compositions/threshold.d.ts +5 -0
- package/dist/esm/tools/segmentation/strategies/compositions/threshold.js +0 -1
- package/dist/esm/tools/segmentation/strategies/eraseCircle.d.ts +2 -0
- package/dist/esm/tools/segmentation/strategies/eraseCircle.js +0 -1
- package/dist/esm/tools/segmentation/strategies/eraseRectangle.d.ts +8 -0
- package/dist/esm/tools/segmentation/strategies/eraseRectangle.js +0 -1
- package/dist/esm/tools/segmentation/strategies/eraseSphere.d.ts +2 -0
- package/dist/esm/tools/segmentation/strategies/eraseSphere.js +0 -1
- package/dist/esm/tools/segmentation/strategies/fillCircle.d.ts +14 -0
- package/dist/esm/tools/segmentation/strategies/fillCircle.js +3 -4
- package/dist/esm/tools/segmentation/strategies/fillRectangle.d.ts +8 -0
- package/dist/esm/tools/segmentation/strategies/fillRectangle.js +10 -8
- package/dist/esm/tools/segmentation/strategies/fillSphere.d.ts +6 -0
- package/dist/esm/tools/segmentation/strategies/fillSphere.js +7 -17
- package/dist/esm/tools/segmentation/strategies/index.d.ts +3 -0
- package/dist/esm/tools/segmentation/strategies/index.js +0 -1
- package/dist/esm/tools/segmentation/strategies/utils/getStrategyData.d.ts +11 -0
- package/dist/esm/tools/segmentation/strategies/utils/getStrategyData.js +26 -31
- package/dist/esm/tools/segmentation/strategies/utils/isWithinThreshold.d.ts +10 -0
- package/dist/esm/tools/segmentation/strategies/utils/isWithinThreshold.js +0 -1
- package/dist/esm/types/AnnotationGroupSelector.d.ts +2 -0
- package/dist/esm/types/AnnotationGroupSelector.js +0 -2
- package/dist/esm/types/AnnotationRenderContext.d.ts +12 -0
- package/dist/esm/types/AnnotationRenderContext.js +0 -2
- package/dist/esm/types/AnnotationStyle.d.ts +30 -0
- package/dist/esm/types/AnnotationStyle.js +0 -2
- package/dist/esm/types/AnnotationTypes.d.ts +44 -0
- package/dist/esm/types/AnnotationTypes.js +0 -2
- package/dist/esm/types/BoundsIJK.d.ts +3 -0
- package/dist/esm/types/BoundsIJK.js +0 -2
- package/dist/esm/types/CINETypes.d.ts +30 -0
- package/dist/esm/types/CINETypes.js +0 -2
- package/dist/esm/types/CalculatorTypes.d.ts +36 -0
- package/dist/esm/types/CalculatorTypes.js +0 -2
- package/dist/esm/types/CardinalSplineProps.d.ts +5 -0
- package/dist/esm/types/CardinalSplineProps.js +0 -2
- package/dist/esm/types/ClosestControlPoint.d.ts +4 -0
- package/dist/esm/types/ClosestControlPoint.js +0 -2
- package/dist/esm/types/ClosestPoint.d.ts +5 -0
- package/dist/esm/types/ClosestPoint.js +0 -2
- package/dist/esm/types/ClosestSplinePoint.d.ts +4 -0
- package/dist/esm/types/ClosestSplinePoint.js +0 -2
- package/dist/esm/types/ContourAnnotation.d.ts +18 -0
- package/dist/esm/types/ContourAnnotation.js +0 -1
- package/dist/esm/types/ContourSegmentationAnnotation.d.ts +24 -0
- package/dist/esm/types/ContourSegmentationAnnotation.js +0 -2
- package/dist/esm/types/ContourTypes.d.ts +27 -0
- package/dist/esm/types/ContourTypes.js +0 -2
- package/dist/esm/types/ControlPointInfo.d.ts +5 -0
- package/dist/esm/types/ControlPointInfo.js +0 -2
- package/dist/esm/types/CursorTypes.d.ts +11 -0
- package/dist/esm/types/CursorTypes.js +0 -2
- package/dist/esm/types/EventTypes.d.ts +229 -0
- package/dist/esm/types/EventTypes.js +0 -2
- package/dist/esm/types/FloodFillTypes.d.ts +15 -0
- package/dist/esm/types/FloodFillTypes.js +0 -2
- package/dist/esm/types/IAnnotationManager.d.ts +14 -0
- package/dist/esm/types/IAnnotationManager.js +0 -2
- package/dist/esm/types/IBaseTool.d.ts +2 -0
- package/dist/esm/types/IBaseTool.js +0 -0
- package/dist/esm/types/IDistance.d.ts +7 -0
- package/dist/esm/types/IDistance.js +0 -2
- package/dist/esm/types/IPoints.d.ts +8 -0
- package/dist/esm/types/IPoints.js +0 -2
- package/dist/esm/types/ISculptToolShape.d.ts +12 -0
- package/dist/esm/types/ISculptToolShape.js +0 -2
- package/dist/esm/types/ISetToolModeOptions.d.ts +16 -0
- package/dist/esm/types/ISetToolModeOptions.js +0 -2
- package/dist/esm/types/ISpline.d.ts +30 -0
- package/dist/esm/types/ISpline.js +0 -2
- package/dist/esm/types/ISynchronizerEventHandler.d.ts +5 -0
- package/dist/esm/types/ISynchronizerEventHandler.js +0 -2
- package/dist/esm/types/IToolClassReference.d.ts +3 -0
- package/dist/esm/types/IToolClassReference.js +0 -2
- package/dist/esm/types/IToolGroup.d.ts +3 -0
- package/dist/esm/types/IToolGroup.js +0 -2
- package/dist/esm/types/ITouchPoints.d.ts +11 -0
- package/dist/esm/types/ITouchPoints.js +0 -2
- package/dist/esm/types/InteractionTypes.d.ts +2 -0
- package/dist/esm/types/InteractionTypes.js +0 -2
- package/dist/esm/types/InternalToolTypes.d.ts +15 -0
- package/dist/esm/types/InternalToolTypes.js +0 -2
- package/dist/esm/types/InterpolationTypes.d.ts +20 -0
- package/dist/esm/types/InterpolationTypes.js +0 -2
- package/dist/esm/types/LabelmapToolOperationData.d.ts +24 -0
- package/dist/esm/types/LabelmapToolOperationData.js +0 -2
- package/dist/esm/types/LabelmapTypes.d.ts +29 -0
- package/dist/esm/types/LabelmapTypes.js +0 -2
- package/dist/esm/types/PlanarBoundingBox.d.ts +7 -0
- package/dist/esm/types/PlanarBoundingBox.js +0 -2
- package/dist/esm/types/PolySeg.d.ts +6 -0
- package/dist/esm/types/PolySeg.js +0 -2
- package/dist/esm/types/SVGDrawingHelper.d.ts +9 -0
- package/dist/esm/types/SVGDrawingHelper.js +0 -2
- package/dist/esm/types/SegmentationStateTypes.d.ts +93 -0
- package/dist/esm/types/SegmentationStateTypes.js +0 -2
- package/dist/esm/types/SplineCurveSegment.d.ts +14 -0
- package/dist/esm/types/SplineCurveSegment.js +0 -2
- package/dist/esm/types/SplineLineSegment.d.ts +10 -0
- package/dist/esm/types/SplineLineSegment.js +0 -2
- package/dist/esm/types/SplineProps.d.ts +5 -0
- package/dist/esm/types/SplineProps.js +0 -2
- package/dist/esm/types/SurfaceTypes.d.ts +5 -0
- package/dist/esm/types/SurfaceTypes.js +0 -2
- package/dist/esm/types/ToolAction.d.ts +8 -0
- package/dist/esm/types/ToolAction.js +0 -2
- package/dist/esm/types/ToolHandle.d.ts +15 -0
- package/dist/esm/types/ToolHandle.js +0 -2
- package/dist/esm/types/ToolProps.d.ts +13 -0
- package/dist/esm/types/ToolProps.js +0 -2
- package/dist/esm/types/ToolSpecificAnnotationTypes.d.ts +463 -0
- package/dist/esm/types/ToolSpecificAnnotationTypes.js +0 -2
- package/dist/esm/types/index.d.ts +50 -0
- package/dist/esm/types/index.js +0 -2
- package/dist/esm/utilities/BucketQueue.d.ts +20 -0
- package/dist/esm/utilities/BucketQueue.js +0 -1
- package/dist/esm/utilities/annotationFrameRange.d.ts +13 -0
- package/dist/esm/utilities/annotationFrameRange.js +0 -1
- package/dist/esm/utilities/annotationHydration.d.ts +9 -0
- package/dist/esm/utilities/annotationHydration.js +2 -3
- package/dist/esm/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts +3 -0
- package/dist/esm/utilities/boundingBox/extend2DBoundingBoxInViewAxis.js +0 -1
- package/dist/esm/utilities/boundingBox/getBoundingBoxAroundShape.d.ts +5 -0
- package/dist/esm/utilities/boundingBox/getBoundingBoxAroundShape.js +0 -1
- package/dist/esm/utilities/boundingBox/index.d.ts +3 -0
- package/dist/esm/utilities/boundingBox/index.js +0 -1
- package/dist/esm/utilities/calibrateImageSpacing.d.ts +2 -0
- package/dist/esm/utilities/calibrateImageSpacing.js +0 -1
- package/dist/esm/utilities/cine/events.d.ts +5 -0
- package/dist/esm/utilities/cine/events.js +0 -1
- package/dist/esm/utilities/cine/index.d.ts +4 -0
- package/dist/esm/utilities/cine/index.js +0 -1
- package/dist/esm/utilities/cine/playClip.d.ts +8 -0
- package/dist/esm/utilities/cine/playClip.js +56 -11
- package/dist/esm/utilities/cine/state.d.ts +5 -0
- package/dist/esm/utilities/cine/state.js +0 -1
- package/dist/esm/utilities/contourSegmentation/addContourSegmentationAnnotation.d.ts +2 -0
- package/dist/esm/utilities/contourSegmentation/addContourSegmentationAnnotation.js +4 -5
- package/dist/esm/utilities/contourSegmentation/areSameSegment.d.ts +2 -0
- package/dist/esm/utilities/contourSegmentation/areSameSegment.js +0 -1
- package/dist/esm/utilities/contourSegmentation/index.js +0 -1
- package/dist/esm/utilities/contourSegmentation/isContourSegmentationAnnotation.d.ts +3 -0
- package/dist/esm/utilities/contourSegmentation/isContourSegmentationAnnotation.js +0 -1
- package/dist/esm/utilities/contourSegmentation/removeContourSegmentationAnnotation.d.ts +2 -0
- package/dist/esm/utilities/contourSegmentation/removeContourSegmentationAnnotation.js +3 -4
- package/dist/esm/utilities/contours/AnnotationToPointData.d.ts +11 -0
- package/dist/esm/utilities/contours/AnnotationToPointData.js +1 -2
- package/dist/esm/utilities/contours/RectangleROIStartEndThreshold.d.ts +6 -0
- package/dist/esm/utilities/contours/RectangleROIStartEndThreshold.js +0 -1
- package/dist/esm/utilities/contours/areCoplanarContours.d.ts +2 -0
- package/dist/esm/utilities/contours/areCoplanarContours.js +0 -1
- package/dist/esm/utilities/contours/calculatePerimeter.d.ts +2 -0
- package/dist/esm/utilities/contours/calculatePerimeter.js +0 -1
- package/dist/esm/utilities/contours/contourFinder.d.ts +7 -0
- package/dist/esm/utilities/contours/contourFinder.js +0 -1
- package/dist/esm/utilities/contours/detectContourHoles.d.ts +5 -0
- package/dist/esm/utilities/contours/detectContourHoles.js +0 -1
- package/dist/esm/utilities/contours/findHandlePolylineIndex.d.ts +2 -0
- package/dist/esm/utilities/contours/findHandlePolylineIndex.js +0 -1
- package/dist/esm/utilities/contours/generateContourSetsFromLabelmap.d.ts +4 -0
- package/dist/esm/utilities/contours/generateContourSetsFromLabelmap.js +8 -9
- package/dist/esm/utilities/contours/getContourHolesDataCanvas.d.ts +3 -0
- package/dist/esm/utilities/contours/getContourHolesDataCanvas.js +0 -1
- package/dist/esm/utilities/contours/getContourHolesDataWorld.d.ts +3 -0
- package/dist/esm/utilities/contours/getContourHolesDataWorld.js +1 -2
- package/dist/esm/utilities/contours/getDeduplicatedVTKPolyDataPoints.d.ts +11 -0
- package/dist/esm/utilities/contours/getDeduplicatedVTKPolyDataPoints.js +0 -1
- package/dist/esm/utilities/contours/index.d.ts +13 -0
- package/dist/esm/utilities/contours/index.js +1 -3
- package/dist/esm/utilities/contours/interpolation/acceptAutogeneratedInterpolations.d.ts +3 -0
- package/dist/esm/utilities/contours/interpolation/acceptAutogeneratedInterpolations.js +0 -1
- package/dist/esm/utilities/contours/interpolation/createPolylineToolData.d.ts +2 -0
- package/dist/esm/utilities/contours/interpolation/createPolylineToolData.js +0 -1
- package/dist/esm/utilities/contours/interpolation/findAnnotationForInterpolation.d.ts +7 -0
- package/dist/esm/utilities/contours/interpolation/findAnnotationForInterpolation.js +0 -1
- package/dist/esm/utilities/contours/interpolation/getInterpolationData.d.ts +7 -0
- package/dist/esm/utilities/contours/interpolation/getInterpolationData.js +0 -1
- package/dist/esm/utilities/contours/interpolation/getInterpolationDataCollection.d.ts +4 -0
- package/dist/esm/utilities/contours/interpolation/getInterpolationDataCollection.js +0 -1
- package/dist/esm/utilities/contours/interpolation/interpolate.d.ts +11 -0
- package/dist/esm/utilities/contours/interpolation/interpolate.js +0 -1
- package/dist/esm/utilities/contours/interpolation/selectHandles.d.ts +4 -0
- package/dist/esm/utilities/contours/interpolation/selectHandles.js +0 -1
- package/dist/esm/utilities/contours/interpolation/updateChildInterpolationUID.d.ts +2 -0
- package/dist/esm/utilities/contours/interpolation/updateChildInterpolationUID.js +0 -1
- package/dist/esm/utilities/contours/reverseIfAntiClockwise.d.ts +2 -0
- package/dist/esm/utilities/contours/reverseIfAntiClockwise.js +0 -1
- package/dist/esm/utilities/contours/updateContourPolyline.d.ts +16 -0
- package/dist/esm/utilities/contours/updateContourPolyline.js +4 -2
- package/dist/esm/utilities/debounce.d.ts +6 -0
- package/dist/esm/utilities/debounce.js +0 -1
- package/dist/esm/utilities/drawing/getTextBoxCoordsCanvas.d.ts +2 -0
- package/dist/esm/utilities/drawing/getTextBoxCoordsCanvas.js +0 -1
- package/dist/esm/utilities/drawing/index.d.ts +2 -0
- package/dist/esm/utilities/drawing/index.js +0 -1
- package/dist/esm/utilities/dynamicVolume/generateImageFromTimeData.d.ts +10 -0
- package/dist/esm/utilities/dynamicVolume/generateImageFromTimeData.js +79 -34
- package/dist/esm/utilities/dynamicVolume/getDataInTime.d.ts +7 -0
- package/dist/esm/utilities/dynamicVolume/getDataInTime.js +18 -14
- package/dist/esm/utilities/dynamicVolume/index.d.ts +4 -0
- package/dist/esm/utilities/dynamicVolume/index.js +2 -3
- package/dist/esm/utilities/getAnnotationNearPoint.d.ts +5 -0
- package/dist/esm/utilities/getAnnotationNearPoint.js +0 -1
- package/dist/esm/utilities/getCalibratedUnits.d.ts +16 -0
- package/dist/esm/utilities/getCalibratedUnits.js +29 -13
- package/dist/esm/utilities/getPixelValueUnits.d.ts +7 -0
- package/dist/esm/utilities/getPixelValueUnits.js +27 -0
- package/dist/esm/utilities/getSphereBoundsInfo.d.ts +11 -0
- package/dist/esm/utilities/getSphereBoundsInfo.js +0 -1
- package/dist/esm/utilities/getToolsWithModesForElement.d.ts +4 -0
- package/dist/esm/utilities/getToolsWithModesForElement.js +2 -3
- package/dist/esm/utilities/getVOIMultipliers.d.ts +5 -0
- package/dist/esm/utilities/getVOIMultipliers.js +0 -1
- package/dist/esm/utilities/getViewportForAnnotation.d.ts +3 -0
- package/dist/esm/utilities/getViewportForAnnotation.js +0 -1
- package/dist/esm/utilities/getViewportsForAnnotation.d.ts +3 -0
- package/dist/esm/utilities/getViewportsForAnnotation.js +0 -1
- package/dist/esm/utilities/index.d.ts +36 -0
- package/dist/esm/utilities/index.js +3 -9
- package/dist/esm/utilities/isObject.d.ts +2 -0
- package/dist/esm/utilities/isObject.js +0 -1
- package/dist/esm/utilities/livewire/LiveWirePath.d.ts +19 -0
- package/dist/esm/utilities/livewire/LiveWirePath.js +0 -1
- package/dist/esm/utilities/livewire/LivewireScissors.d.ts +38 -0
- package/dist/esm/utilities/livewire/LivewireScissors.js +0 -1
- package/dist/esm/utilities/math/aabb/distanceToPoint.d.ts +2 -0
- package/dist/esm/utilities/math/aabb/distanceToPoint.js +0 -1
- package/dist/esm/utilities/math/aabb/distanceToPointSquared.d.ts +2 -0
- package/dist/esm/utilities/math/aabb/distanceToPointSquared.js +0 -1
- package/dist/esm/utilities/math/aabb/index.js +0 -1
- package/dist/esm/utilities/math/aabb/intersectAABB.d.ts +2 -0
- package/dist/esm/utilities/math/aabb/intersectAABB.js +0 -1
- package/dist/esm/utilities/math/angle/angleBetweenLines.d.ts +6 -0
- package/dist/esm/utilities/math/angle/angleBetweenLines.js +0 -1
- package/dist/esm/utilities/math/basic/BasicStatsCalculator.d.ts +21 -0
- package/dist/esm/utilities/math/basic/BasicStatsCalculator.js +1 -2
- package/dist/esm/utilities/math/basic/Calculator.d.ts +8 -0
- package/dist/esm/utilities/math/basic/Calculator.js +0 -1
- package/dist/esm/utilities/math/basic/index.d.ts +3 -0
- package/dist/esm/utilities/math/basic/index.js +0 -1
- package/dist/esm/utilities/math/circle/_types.d.ts +5 -0
- package/dist/esm/utilities/math/circle/_types.js +0 -2
- package/dist/esm/utilities/math/circle/getCanvasCircleCorners.d.ts +3 -0
- package/dist/esm/utilities/math/circle/getCanvasCircleCorners.js +0 -1
- package/dist/esm/utilities/math/circle/getCanvasCircleRadius.d.ts +2 -0
- package/dist/esm/utilities/math/circle/getCanvasCircleRadius.js +0 -1
- package/dist/esm/utilities/math/circle/index.d.ts +3 -0
- package/dist/esm/utilities/math/circle/index.js +0 -1
- package/dist/esm/utilities/math/ellipse/getCanvasEllipseCorners.d.ts +8 -0
- package/dist/esm/utilities/math/ellipse/getCanvasEllipseCorners.js +0 -1
- package/dist/esm/utilities/math/ellipse/index.d.ts +3 -0
- package/dist/esm/utilities/math/ellipse/index.js +0 -1
- package/dist/esm/utilities/math/ellipse/pointInEllipse.d.ts +11 -0
- package/dist/esm/utilities/math/ellipse/pointInEllipse.js +0 -1
- package/dist/esm/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts +9 -0
- package/dist/esm/utilities/math/ellipse/pointInEllipsoidWithConstraint.js +0 -1
- package/dist/esm/utilities/math/index.d.ts +9 -0
- package/dist/esm/utilities/math/index.js +0 -1
- package/dist/esm/utilities/math/line/distanceToPoint.d.ts +2 -0
- package/dist/esm/utilities/math/line/distanceToPoint.js +0 -1
- package/dist/esm/utilities/math/line/distanceToPointSquared.d.ts +2 -0
- package/dist/esm/utilities/math/line/distanceToPointSquared.js +0 -1
- package/dist/esm/utilities/math/line/distanceToPointSquaredInfo.d.ts +5 -0
- package/dist/esm/utilities/math/line/distanceToPointSquaredInfo.js +3 -4
- package/dist/esm/utilities/math/line/index.d.ts +6 -0
- package/dist/esm/utilities/math/line/index.js +0 -1
- package/dist/esm/utilities/math/line/intersectLine.d.ts +2 -0
- package/dist/esm/utilities/math/line/intersectLine.js +0 -1
- package/dist/esm/utilities/math/line/isPointOnLineSegment.d.ts +2 -0
- package/dist/esm/utilities/math/line/isPointOnLineSegment.js +0 -1
- package/dist/esm/utilities/math/midPoint.d.ts +5 -0
- package/dist/esm/utilities/math/midPoint.js +0 -1
- package/dist/esm/utilities/math/point/distanceToPoint.d.ts +4 -0
- package/dist/esm/utilities/math/point/distanceToPoint.js +0 -1
- package/dist/esm/utilities/math/point/distanceToPointSquared.d.ts +4 -0
- package/dist/esm/utilities/math/point/distanceToPointSquared.js +0 -1
- package/dist/esm/utilities/math/point/index.js +0 -1
- package/dist/esm/utilities/math/point/mirror.d.ts +2 -0
- package/dist/esm/utilities/math/point/mirror.js +0 -1
- package/dist/esm/utilities/math/polyline/addCanvasPointsToArray.d.ts +4 -0
- package/dist/esm/utilities/math/polyline/addCanvasPointsToArray.js +0 -1
- package/dist/esm/utilities/math/polyline/areLineSegmentsIntersecting.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/areLineSegmentsIntersecting.js +0 -1
- package/dist/esm/utilities/math/polyline/combinePolyline.d.ts +4 -0
- package/dist/esm/utilities/math/polyline/combinePolyline.js +0 -1
- package/dist/esm/utilities/math/polyline/containsPoint.d.ts +5 -0
- package/dist/esm/utilities/math/polyline/containsPoint.js +0 -1
- package/dist/esm/utilities/math/polyline/containsPoints.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/containsPoints.js +0 -1
- package/dist/esm/utilities/math/polyline/decimate.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/decimate.js +0 -1
- package/dist/esm/utilities/math/polyline/getAABB.d.ts +4 -0
- package/dist/esm/utilities/math/polyline/getAABB.js +0 -1
- package/dist/esm/utilities/math/polyline/getArea.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getArea.js +0 -1
- package/dist/esm/utilities/math/polyline/getClosestLineSegmentIntersection.d.ts +5 -0
- package/dist/esm/utilities/math/polyline/getClosestLineSegmentIntersection.js +0 -1
- package/dist/esm/utilities/math/polyline/getFirstLineSegmentIntersectionIndexes.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getFirstLineSegmentIntersectionIndexes.js +0 -1
- package/dist/esm/utilities/math/polyline/getLineSegmentIntersectionsCoordinates.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getLineSegmentIntersectionsCoordinates.js +0 -1
- package/dist/esm/utilities/math/polyline/getLineSegmentIntersectionsIndexes.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getLineSegmentIntersectionsIndexes.js +0 -1
- package/dist/esm/utilities/math/polyline/getLinesIntersection.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getLinesIntersection.js +0 -1
- package/dist/esm/utilities/math/polyline/getNormal2.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getNormal2.js +0 -1
- package/dist/esm/utilities/math/polyline/getNormal3.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getNormal3.js +0 -1
- package/dist/esm/utilities/math/polyline/getSignedArea.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getSignedArea.js +0 -1
- package/dist/esm/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts +7 -0
- package/dist/esm/utilities/math/polyline/getSubPixelSpacingAndXYDirections.js +0 -1
- package/dist/esm/utilities/math/polyline/getWindingDirection.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/getWindingDirection.js +0 -1
- package/dist/esm/utilities/math/polyline/index.d.ts +23 -0
- package/dist/esm/utilities/math/polyline/index.js +0 -1
- package/dist/esm/utilities/math/polyline/intersectPolyline.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/intersectPolyline.js +0 -1
- package/dist/esm/utilities/math/polyline/isClosed.d.ts +2 -0
- package/dist/esm/utilities/math/polyline/isClosed.js +2 -3
- package/dist/esm/utilities/math/polyline/isPointInsidePolyline3D.d.ts +4 -0
- package/dist/esm/utilities/math/polyline/isPointInsidePolyline3D.js +0 -1
- package/dist/esm/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts +24 -0
- package/dist/esm/utilities/math/polyline/planarFreehandROIInternalTypes.js +0 -2
- package/dist/esm/utilities/math/polyline/pointCanProjectOnLine.d.ts +3 -0
- package/dist/esm/utilities/math/polyline/pointCanProjectOnLine.js +0 -1
- package/dist/esm/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts +3 -0
- package/dist/esm/utilities/math/polyline/pointsAreWithinCloseContourProximity.js +0 -1
- package/dist/esm/utilities/math/polyline/projectTo2D.d.ts +5 -0
- package/dist/esm/utilities/math/polyline/projectTo2D.js +0 -1
- package/dist/esm/utilities/math/rectangle/distanceToPoint.d.ts +2 -0
- package/dist/esm/utilities/math/rectangle/distanceToPoint.js +0 -1
- package/dist/esm/utilities/math/rectangle/index.d.ts +2 -0
- package/dist/esm/utilities/math/rectangle/index.js +0 -1
- package/dist/esm/utilities/math/sphere/index.d.ts +2 -0
- package/dist/esm/utilities/math/sphere/index.js +0 -1
- package/dist/esm/utilities/math/sphere/pointInSphere.d.ts +9 -0
- package/dist/esm/utilities/math/sphere/pointInSphere.js +0 -1
- package/dist/esm/utilities/math/vec2/findClosestPoint.d.ts +2 -0
- package/dist/esm/utilities/math/vec2/findClosestPoint.js +0 -1
- package/dist/esm/utilities/math/vec2/index.d.ts +3 -0
- package/dist/esm/utilities/math/vec2/index.js +0 -1
- package/dist/esm/utilities/math/vec2/liangBarksyClip.d.ts +1 -0
- package/dist/esm/utilities/math/vec2/liangBarksyClip.js +0 -1
- package/dist/esm/utilities/math/vec3/interpolateVec3.d.ts +2 -0
- package/dist/esm/utilities/math/vec3/interpolateVec3.js +0 -1
- package/dist/esm/utilities/orientation/getOrientationStringLPS.d.ts +2 -0
- package/dist/esm/utilities/orientation/getOrientationStringLPS.js +0 -1
- package/dist/esm/utilities/orientation/index.d.ts +3 -0
- package/dist/esm/utilities/orientation/index.js +0 -1
- package/dist/esm/utilities/orientation/invertOrientationStringLPS.d.ts +1 -0
- package/dist/esm/utilities/orientation/invertOrientationStringLPS.js +0 -1
- package/dist/esm/utilities/planar/filterAnnotationsForDisplay.d.ts +3 -0
- package/dist/esm/utilities/planar/filterAnnotationsForDisplay.js +0 -1
- package/dist/esm/utilities/planar/filterAnnotationsWithinPlane.d.ts +3 -0
- package/dist/esm/utilities/planar/filterAnnotationsWithinPlane.js +26 -0
- package/dist/esm/utilities/planar/filterAnnotationsWithinSlice.d.ts +3 -0
- package/dist/esm/utilities/planar/filterAnnotationsWithinSlice.js +0 -1
- package/dist/esm/utilities/planar/getPointInLineOfSightWithCriteria.d.ts +2 -0
- package/dist/esm/utilities/planar/getPointInLineOfSightWithCriteria.js +0 -1
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts +5 -0
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromCorners.js +0 -1
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts +5 -0
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromTwoPoints.js +0 -1
- package/dist/esm/utilities/planar/index.d.ts +16 -0
- package/dist/esm/utilities/planar/index.js +3 -2
- package/dist/esm/utilities/planar/isPlaneIntersectingAABB.d.ts +1 -0
- package/dist/esm/utilities/planar/isPlaneIntersectingAABB.js +0 -1
- package/dist/esm/utilities/planarFreehandROITool/index.d.ts +6 -0
- package/dist/esm/utilities/planarFreehandROITool/index.js +0 -1
- package/dist/esm/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts +2 -0
- package/dist/esm/utilities/planarFreehandROITool/interpolation/algorithms/bspline.js +0 -1
- package/dist/esm/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts +2 -0
- package/dist/esm/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.js +0 -1
- package/dist/esm/utilities/planarFreehandROITool/smoothAnnotation.d.ts +6 -0
- package/dist/esm/utilities/planarFreehandROITool/smoothAnnotation.js +43 -27
- package/dist/esm/utilities/planarFreehandROITool/smoothPoints.d.ts +11 -0
- package/dist/esm/utilities/planarFreehandROITool/smoothPoints.js +0 -1
- package/dist/esm/utilities/pointInSurroundingSphereCallback.d.ts +8 -0
- package/dist/esm/utilities/pointInSurroundingSphereCallback.js +11 -4
- package/dist/esm/utilities/pointToString.d.ts +1 -0
- package/dist/esm/utilities/pointToString.js +0 -1
- package/dist/esm/utilities/polyData/utils.d.ts +5 -0
- package/dist/esm/utilities/polyData/utils.js +0 -1
- package/dist/esm/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts +5 -0
- package/dist/esm/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.js +0 -1
- package/dist/esm/utilities/rectangleROITool/index.d.ts +3 -0
- package/dist/esm/utilities/rectangleROITool/index.js +0 -1
- package/dist/esm/utilities/rectangleROITool/isAxisAlignedRectangle.d.ts +2 -0
- package/dist/esm/utilities/rectangleROITool/isAxisAlignedRectangle.js +0 -1
- package/dist/esm/utilities/segmentation/InterpolationManager/InterpolationManager.d.ts +11 -0
- package/dist/esm/utilities/segmentation/InterpolationManager/InterpolationManager.js +0 -1
- package/dist/esm/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.d.ts +2 -0
- package/dist/esm/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.js +0 -1
- package/dist/esm/utilities/segmentation/brushSizeForToolGroup.d.ts +2 -0
- package/dist/esm/utilities/segmentation/brushSizeForToolGroup.js +2 -3
- package/dist/esm/utilities/segmentation/brushThresholdForToolGroup.d.ts +3 -0
- package/dist/esm/utilities/segmentation/brushThresholdForToolGroup.js +2 -3
- package/dist/esm/utilities/segmentation/contourAndFindLargestBidirectional.d.ts +1 -0
- package/dist/esm/utilities/segmentation/contourAndFindLargestBidirectional.js +0 -1
- package/dist/esm/utilities/segmentation/createBidirectionalToolData.d.ts +14 -0
- package/dist/esm/utilities/segmentation/createBidirectionalToolData.js +0 -1
- package/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.d.ts +9 -0
- package/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.js +3 -4
- package/dist/esm/utilities/segmentation/createMergedLabelmapForIndex.d.ts +3 -0
- package/dist/esm/utilities/segmentation/createMergedLabelmapForIndex.js +7 -8
- package/dist/esm/utilities/segmentation/findLargestBidirectional.d.ts +1 -0
- package/dist/esm/utilities/segmentation/findLargestBidirectional.js +0 -1
- package/dist/esm/utilities/segmentation/floodFill.d.ts +4 -0
- package/dist/esm/utilities/segmentation/floodFill.js +0 -1
- package/dist/esm/utilities/segmentation/getBrushToolInstances.d.ts +1 -0
- package/dist/esm/utilities/segmentation/getBrushToolInstances.js +17 -0
- package/dist/esm/utilities/segmentation/getHoveredContourSegmentationAnnotation.d.ts +1 -0
- package/dist/esm/utilities/segmentation/getHoveredContourSegmentationAnnotation.js +1 -2
- package/dist/esm/utilities/segmentation/getSegmentIndexAtLabelmapBorder.d.ts +7 -0
- package/dist/esm/utilities/segmentation/getSegmentIndexAtLabelmapBorder.js +76 -0
- package/dist/esm/utilities/segmentation/getSegmentIndexAtWorldPoint.d.ts +11 -0
- package/dist/esm/utilities/segmentation/getSegmentIndexAtWorldPoint.js +74 -0
- package/dist/esm/utilities/segmentation/getUniqueSegmentIndices.d.ts +2 -0
- package/dist/esm/utilities/segmentation/getUniqueSegmentIndices.js +26 -49
- package/dist/esm/utilities/segmentation/index.d.ts +19 -0
- package/dist/esm/utilities/segmentation/index.js +5 -9
- package/dist/esm/utilities/segmentation/invalidateBrushCursor.d.ts +1 -0
- package/dist/esm/utilities/segmentation/invalidateBrushCursor.js +2 -6
- package/dist/esm/utilities/segmentation/isLineInSegment.d.ts +9 -0
- package/dist/esm/utilities/segmentation/isLineInSegment.js +3 -4
- package/dist/esm/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts +20 -0
- package/dist/esm/utilities/segmentation/rectangleROIThresholdVolumeByRange.js +5 -4
- package/dist/esm/utilities/segmentation/segmentContourAction.d.ts +17 -0
- package/dist/esm/utilities/segmentation/segmentContourAction.js +11 -13
- package/dist/esm/utilities/segmentation/thresholdSegmentationByRange.d.ts +4 -0
- package/dist/esm/utilities/segmentation/thresholdSegmentationByRange.js +24 -18
- package/dist/esm/utilities/segmentation/thresholdVolumeByRange.d.ts +11 -0
- package/dist/esm/utilities/segmentation/thresholdVolumeByRange.js +21 -13
- package/dist/esm/utilities/segmentation/utilities.d.ts +25 -0
- package/dist/esm/utilities/segmentation/utilities.js +28 -24
- package/dist/esm/utilities/stackPrefetch/index.d.ts +3 -0
- package/dist/esm/utilities/stackPrefetch/index.js +0 -1
- package/dist/esm/utilities/stackPrefetch/stackContextPrefetch.d.ts +16 -0
- package/dist/esm/utilities/stackPrefetch/stackContextPrefetch.js +30 -31
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.d.ts +14 -0
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.js +3 -12
- package/dist/esm/utilities/stackPrefetch/stackPrefetchUtils.d.ts +14 -0
- package/dist/esm/utilities/stackPrefetch/stackPrefetchUtils.js +2 -4
- package/dist/esm/utilities/stackPrefetch/state.d.ts +22 -0
- package/dist/esm/utilities/stackPrefetch/state.js +0 -1
- package/dist/esm/utilities/throttle.d.ts +5 -0
- package/dist/esm/utilities/throttle.js +0 -1
- package/dist/esm/utilities/touch/index.d.ts +10 -0
- package/dist/esm/utilities/touch/index.js +0 -1
- package/dist/esm/utilities/triggerAnnotationRender.d.ts +2 -0
- package/dist/esm/utilities/triggerAnnotationRender.js +1 -113
- package/dist/esm/utilities/triggerAnnotationRenderForToolGroupIds.d.ts +2 -0
- package/dist/esm/utilities/triggerAnnotationRenderForToolGroupIds.js +0 -1
- package/dist/esm/utilities/triggerAnnotationRenderForViewportIds.d.ts +2 -0
- package/dist/esm/utilities/triggerAnnotationRenderForViewportIds.js +10 -5
- package/dist/esm/utilities/viewport/index.d.ts +2 -0
- package/dist/esm/utilities/viewport/index.js +1 -4
- package/dist/esm/utilities/viewport/isViewportPreScaled.d.ts +3 -0
- package/dist/esm/utilities/viewport/isViewportPreScaled.js +2 -6
- package/dist/esm/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts +2 -0
- package/dist/esm/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.js +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts +2 -0
- package/dist/esm/utilities/viewportFilters/filterViewportsWithParallelNormals.js +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts +2 -0
- package/dist/esm/utilities/viewportFilters/filterViewportsWithSameOrientation.js +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts +2 -0
- package/dist/esm/utilities/viewportFilters/filterViewportsWithToolEnabled.js +2 -3
- package/dist/esm/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts +1 -0
- package/dist/esm/utilities/viewportFilters/getViewportIdsWithToolToRender.js +0 -1
- package/dist/esm/utilities/viewportFilters/index.d.ts +5 -0
- package/dist/esm/utilities/viewportFilters/index.js +0 -1
- package/dist/esm/utilities/voi/colorbar/Colorbar.d.ts +44 -0
- package/dist/esm/utilities/voi/colorbar/Colorbar.js +0 -1
- package/dist/esm/utilities/voi/colorbar/ColorbarCanvas.d.ts +29 -0
- package/dist/esm/utilities/voi/colorbar/ColorbarCanvas.js +3 -1
- package/dist/esm/utilities/voi/colorbar/ColorbarTicks.d.ts +46 -0
- package/dist/esm/utilities/voi/colorbar/ColorbarTicks.js +0 -1
- package/dist/esm/utilities/voi/colorbar/ViewportColorbar.d.ts +24 -0
- package/dist/esm/utilities/voi/colorbar/ViewportColorbar.js +2 -3
- package/dist/esm/utilities/voi/colorbar/common/areColorbarRangesEqual.d.ts +3 -0
- package/dist/esm/utilities/voi/colorbar/common/areColorbarRangesEqual.js +0 -1
- package/dist/esm/utilities/voi/colorbar/common/areColorbarSizesEqual.d.ts +3 -0
- package/dist/esm/utilities/voi/colorbar/common/areColorbarSizesEqual.js +0 -1
- package/dist/esm/utilities/voi/colorbar/common/index.js +0 -1
- package/dist/esm/utilities/voi/colorbar/common/isColorbarSizeValid.d.ts +3 -0
- package/dist/esm/utilities/voi/colorbar/common/isColorbarSizeValid.js +0 -1
- package/dist/esm/utilities/voi/colorbar/common/isRangeTextPositionValid.d.ts +3 -0
- package/dist/esm/utilities/voi/colorbar/common/isRangeTextPositionValid.js +0 -1
- package/dist/esm/utilities/voi/colorbar/common/isRangeValid.d.ts +3 -0
- package/dist/esm/utilities/voi/colorbar/common/isRangeValid.js +0 -1
- package/dist/esm/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.d.ts +6 -0
- package/dist/esm/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.js +0 -1
- package/dist/esm/utilities/voi/colorbar/enums/index.js +0 -1
- package/dist/esm/utilities/voi/colorbar/index.d.ts +6 -0
- package/dist/esm/utilities/voi/colorbar/index.js +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCanvasProps.d.ts +12 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCanvasProps.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCommonProps.d.ts +11 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCommonProps.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarImageRange.d.ts +4 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarImageRange.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarProps.d.ts +7 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarProps.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarSize.d.ts +4 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarSize.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksProps.d.ts +7 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksProps.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksStyle.d.ts +8 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksStyle.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ColorbarVOIRange.d.ts +2 -0
- package/dist/esm/utilities/voi/colorbar/types/ColorbarVOIRange.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/ViewportColorbarProps.d.ts +5 -0
- package/dist/esm/utilities/voi/colorbar/types/ViewportColorbarProps.js +0 -2
- package/dist/esm/utilities/voi/colorbar/types/index.js +0 -2
- package/dist/esm/utilities/voi/index.d.ts +3 -0
- package/dist/esm/utilities/voi/index.js +0 -1
- package/dist/esm/utilities/voi/windowlevel/calculateMinMaxMean.d.ts +6 -0
- package/dist/esm/utilities/voi/windowlevel/calculateMinMaxMean.js +0 -1
- package/dist/esm/utilities/voi/windowlevel/extractWindowLevelRegionToolData.d.ts +19 -0
- package/dist/esm/utilities/voi/windowlevel/extractWindowLevelRegionToolData.js +4 -11
- package/dist/esm/utilities/voi/windowlevel/getLuminanceFromRegion.d.ts +2 -0
- package/dist/esm/utilities/voi/windowlevel/getLuminanceFromRegion.js +0 -1
- package/dist/esm/utilities/voi/windowlevel/index.d.ts +4 -0
- package/dist/esm/utilities/voi/windowlevel/index.js +0 -1
- package/dist/esm/widgets/Widget.d.ts +17 -0
- package/dist/esm/widgets/Widget.js +0 -1
- package/dist/esm/widgets/types/WidgetProps.d.ts +4 -0
- package/dist/esm/widgets/types/WidgetProps.js +0 -2
- package/dist/esm/widgets/types/WidgetSize.d.ts +4 -0
- package/dist/esm/widgets/types/WidgetSize.js +0 -2
- package/dist/esm/widgets/types/index.d.ts +2 -0
- package/dist/esm/widgets/types/index.js +0 -2
- package/dist/esm/workers/polySegConverters.d.ts +1 -0
- package/dist/esm/workers/polySegConverters.js +69 -35
- package/package.json +80 -20
- package/dist/esm/constants/COLOR_LUT.js.map +0 -1
- package/dist/esm/constants/index.js.map +0 -1
- package/dist/esm/cursors/ImageMouseCursor.js.map +0 -1
- package/dist/esm/cursors/MouseCursor.js.map +0 -1
- package/dist/esm/cursors/SVGCursorDescriptor.js.map +0 -1
- package/dist/esm/cursors/SVGMouseCursor.js.map +0 -1
- package/dist/esm/cursors/elementCursor.js.map +0 -1
- package/dist/esm/cursors/index.js.map +0 -1
- package/dist/esm/cursors/setCursorForElement.js.map +0 -1
- package/dist/esm/drawingSvg/_getHash.js.map +0 -1
- package/dist/esm/drawingSvg/clearByToolType.js.map +0 -1
- package/dist/esm/drawingSvg/draw.js.map +0 -1
- package/dist/esm/drawingSvg/drawArrow.js.map +0 -1
- package/dist/esm/drawingSvg/drawCircle.js.map +0 -1
- package/dist/esm/drawingSvg/drawEllipse.js.map +0 -1
- package/dist/esm/drawingSvg/drawEllipseByCoordinates.js.map +0 -1
- package/dist/esm/drawingSvg/drawHandle.js.map +0 -1
- package/dist/esm/drawingSvg/drawHandles.js.map +0 -1
- package/dist/esm/drawingSvg/drawLine.js.map +0 -1
- package/dist/esm/drawingSvg/drawLink.js.map +0 -1
- package/dist/esm/drawingSvg/drawLinkedTextBox.js.map +0 -1
- package/dist/esm/drawingSvg/drawPath.js.map +0 -1
- package/dist/esm/drawingSvg/drawPolyline.js.map +0 -1
- package/dist/esm/drawingSvg/drawRect.js.map +0 -1
- package/dist/esm/drawingSvg/drawRectByCoordinates.js.map +0 -1
- package/dist/esm/drawingSvg/drawRedactionRect.js.map +0 -1
- package/dist/esm/drawingSvg/drawTextBox.js.map +0 -1
- package/dist/esm/drawingSvg/getSvgDrawingHelper.js.map +0 -1
- package/dist/esm/drawingSvg/index.js.map +0 -1
- package/dist/esm/drawingSvg/setAttributesIfNecessary.js.map +0 -1
- package/dist/esm/drawingSvg/setNewAttributesIfValid.js.map +0 -1
- package/dist/esm/enums/AnnotationStyleStates.js.map +0 -1
- package/dist/esm/enums/ChangeTypes.js.map +0 -1
- package/dist/esm/enums/Events.js.map +0 -1
- package/dist/esm/enums/SegmentationRepresentations.js.map +0 -1
- package/dist/esm/enums/StrategyCallbacks.js.map +0 -1
- package/dist/esm/enums/ToolBindings.js.map +0 -1
- package/dist/esm/enums/ToolModes.js.map +0 -1
- package/dist/esm/enums/Touch.js.map +0 -1
- package/dist/esm/enums/WorkerTypes.js.map +0 -1
- package/dist/esm/enums/index.js.map +0 -1
- package/dist/esm/eventDispatchers/annotationInterpolationEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/annotationModifiedEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/cameraModifiedEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/cameraResetEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/imageRenderedEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/imageSpacingCalibratedEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/index.js.map +0 -1
- package/dist/esm/eventDispatchers/keyboardEventHandlers/index.js.map +0 -1
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyDown.js.map +0 -1
- package/dist/esm/eventDispatchers/keyboardEventHandlers/keyUp.js.map +0 -1
- package/dist/esm/eventDispatchers/keyboardToolEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/index.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseClick.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDoubleClick.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDown.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownActivate.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseDrag.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseMove.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseUp.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseEventHandlers/mouseWheel.js.map +0 -1
- package/dist/esm/eventDispatchers/mouseToolEventDispatcher.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/customCallbackHandler.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getActiveToolForKeyboardEvent.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getActiveToolForMouseEvent.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getActiveToolForTouchEvent.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getMouseModifier.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForKeyboardEvents.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getToolsWithActionsForMouseEvent.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForMouseEvent.js.map +0 -1
- package/dist/esm/eventDispatchers/shared/getToolsWithModesForTouchEvent.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/index.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchDrag.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchEnd.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchPress.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStart.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchStartActivate.js.map +0 -1
- package/dist/esm/eventDispatchers/touchEventHandlers/touchTap.js.map +0 -1
- package/dist/esm/eventDispatchers/touchToolEventDispatcher.js.map +0 -1
- package/dist/esm/eventListeners/annotations/annotationCompletedListener.js.map +0 -1
- package/dist/esm/eventListeners/annotations/annotationModifiedListener.js.map +0 -1
- package/dist/esm/eventListeners/annotations/annotationRemovedListener.js.map +0 -1
- package/dist/esm/eventListeners/annotations/annotationSelectionListener.js.map +0 -1
- package/dist/esm/eventListeners/annotations/contourSegmentation/contourSegmentationCompleted.js.map +0 -1
- package/dist/esm/eventListeners/annotations/contourSegmentation/contourSegmentationRemoved.js.map +0 -1
- package/dist/esm/eventListeners/annotations/contourSegmentation/index.js.map +0 -1
- package/dist/esm/eventListeners/annotations/index.js.map +0 -1
- package/dist/esm/eventListeners/index.js.map +0 -1
- package/dist/esm/eventListeners/keyboard/index.js.map +0 -1
- package/dist/esm/eventListeners/keyboard/keyDownListener.js.map +0 -1
- package/dist/esm/eventListeners/mouse/getMouseEventPoints.js.map +0 -1
- package/dist/esm/eventListeners/mouse/index.js.map +0 -1
- package/dist/esm/eventListeners/mouse/mouseDoubleClickListener.js.map +0 -1
- package/dist/esm/eventListeners/mouse/mouseDownListener.js.map +0 -1
- package/dist/esm/eventListeners/mouse/mouseMoveListener.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/imageChangeEventListener.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/index.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/labelmap/onLabelmapSegmentationDataModified.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/segmentationDataModifiedEventListener.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/segmentationModifiedEventListener.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.js +0 -7
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.js.map +0 -1
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.js +0 -7
- package/dist/esm/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.js.map +0 -1
- package/dist/esm/eventListeners/touch/getTouchEventPoints.js.map +0 -1
- package/dist/esm/eventListeners/touch/index.js.map +0 -1
- package/dist/esm/eventListeners/touch/preventGhostClick.js.map +0 -1
- package/dist/esm/eventListeners/touch/touchStartListener.js.map +0 -1
- package/dist/esm/eventListeners/wheel/index.js.map +0 -1
- package/dist/esm/eventListeners/wheel/normalizeWheel.js.map +0 -1
- package/dist/esm/eventListeners/wheel/wheelListener.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/init.js.map +0 -1
- package/dist/esm/stateManagement/annotation/AnnotationGroup.js.map +0 -1
- package/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js.map +0 -1
- package/dist/esm/stateManagement/annotation/annotationLocking.js.map +0 -1
- package/dist/esm/stateManagement/annotation/annotationSelection.js.map +0 -1
- package/dist/esm/stateManagement/annotation/annotationState.js.map +0 -1
- package/dist/esm/stateManagement/annotation/annotationVisibility.js.map +0 -1
- package/dist/esm/stateManagement/annotation/config/ToolStyle.js.map +0 -1
- package/dist/esm/stateManagement/annotation/config/getFont.js.map +0 -1
- package/dist/esm/stateManagement/annotation/config/getState.js.map +0 -1
- package/dist/esm/stateManagement/annotation/config/helpers.js.map +0 -1
- package/dist/esm/stateManagement/annotation/config/index.js.map +0 -1
- package/dist/esm/stateManagement/annotation/helpers/state.js.map +0 -1
- package/dist/esm/stateManagement/annotation/index.js.map +0 -1
- package/dist/esm/stateManagement/annotation/utilities/defineProperties.js.map +0 -1
- package/dist/esm/stateManagement/index.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/SegmentationStateManager.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/activeSegmentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/addRepresentationData.js +0 -30
- package/dist/esm/stateManagement/segmentation/addRepresentationData.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentation.js +0 -65
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentations.js +0 -15
- package/dist/esm/stateManagement/segmentation/addSegmentationRepresentations.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/addSegmentations.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/config/index.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/config/segmentationColor.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/config/segmentationConfig.js +0 -44
- package/dist/esm/stateManagement/segmentation/config/segmentationConfig.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/config/segmentationVisibility.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/convertStackToVolumeSegmentation.js +0 -62
- package/dist/esm/stateManagement/segmentation/convertStackToVolumeSegmentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/convertVolumeToStackSegmentation.js +0 -96
- package/dist/esm/stateManagement/segmentation/convertVolumeToStackSegmentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/helpers/clipAndCacheSurfacesForViewport.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/helpers/getRepresentationSpecificConfig.js +0 -12
- package/dist/esm/stateManagement/segmentation/helpers/getRepresentationSpecificConfig.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/helpers/index.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/helpers/normalizeSegmentationInput.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/helpers/validateSegmentationInput.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/index.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/computeAndAddContourRepresentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/contourComputationStrategies.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/createAndAddContourSegmentationsFromClippedSurfaces.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/extractContourData.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Contour/utils/updateContoursOnCameraModified.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/computeAndAddLabelmapRepresentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/convertContourToLabelmap.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/convertSurfaceToLabelmap.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Labelmap/labelmapComputationStrategies.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/computeAndAddSurfaceRepresentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/convertContourToSurface.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/convertLabelmapToSurface.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/createAndCacheSurfacesFromRaw.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/surfaceComputationStrategies.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/Surface/updateSurfaceData.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/canComputeRequestedRepresentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/computeAndAddRepresentation.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/index.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/polySeg/registerPolySegWorker.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/removeSegmentationsFromToolGroup.js +0 -40
- package/dist/esm/stateManagement/segmentation/removeSegmentationsFromToolGroup.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/segmentIndex.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/segmentLocking.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/segmentationState.js.map +0 -1
- package/dist/esm/stateManagement/segmentation/triggerSegmentationEvents.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/Synchronizer.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/createSynchronizer.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/destroy.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/destroySynchronizer.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/getAllSynchronizers.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/getSynchronizer.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/getSynchronizersForViewport.js.map +0 -1
- package/dist/esm/store/SynchronizerManager/index.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/ToolGroup.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/createToolGroup.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/destroy.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/destroyToolGroup.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/getAllToolGroups.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/getToolGroup.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/getToolGroupForViewport.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/getToolGroupsWithToolName.js.map +0 -1
- package/dist/esm/store/ToolGroupManager/index.js.map +0 -1
- package/dist/esm/store/addEnabledElement.js.map +0 -1
- package/dist/esm/store/addTool.js.map +0 -1
- package/dist/esm/store/cancelActiveManipulations.js.map +0 -1
- package/dist/esm/store/filterMoveableAnnotationTools.js.map +0 -1
- package/dist/esm/store/filterToolsWithAnnotationsForElement.js.map +0 -1
- package/dist/esm/store/filterToolsWithMoveableHandles.js.map +0 -1
- package/dist/esm/store/index.js.map +0 -1
- package/dist/esm/store/removeEnabledElement.js.map +0 -1
- package/dist/esm/store/state.js.map +0 -1
- package/dist/esm/store/svgNodeCache.js.map +0 -1
- package/dist/esm/synchronizers/callbacks/areViewportsCoplanar .js.map +0 -1
- package/dist/esm/synchronizers/callbacks/cameraSyncCallback.js.map +0 -1
- package/dist/esm/synchronizers/callbacks/imageSliceSyncCallback.js.map +0 -1
- package/dist/esm/synchronizers/callbacks/presentationViewSyncCallback.js.map +0 -1
- package/dist/esm/synchronizers/callbacks/slabThicknessSyncCallback.js.map +0 -1
- package/dist/esm/synchronizers/callbacks/voiSyncCallback.js.map +0 -1
- package/dist/esm/synchronizers/callbacks/zoomPanSyncCallback.js.map +0 -1
- package/dist/esm/synchronizers/index.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/createCameraPositionSynchronizer.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/createImageSliceSynchronizer.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/createPresentationViewSynchronizer.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/createSlabThicknessSynchronizer.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/createVOISynchronizer.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/createZoomPanSynchronizer.js.map +0 -1
- package/dist/esm/synchronizers/synchronizers/index.js.map +0 -1
- package/dist/esm/tools/AdvancedMagnifyTool.js.map +0 -1
- package/dist/esm/tools/AdvancedMagnifyViewport.js +0 -352
- package/dist/esm/tools/AdvancedMagnifyViewport.js.map +0 -1
- package/dist/esm/tools/AdvancedMagnifyViewportManager.js +0 -162
- package/dist/esm/tools/AdvancedMagnifyViewportManager.js.map +0 -1
- package/dist/esm/tools/AnnotationEraserTool.js.map +0 -1
- package/dist/esm/tools/CrosshairsTool.js.map +0 -1
- package/dist/esm/tools/MIPJumpToClickTool.js.map +0 -1
- package/dist/esm/tools/MagnifyTool.js.map +0 -1
- package/dist/esm/tools/OrientationMarkerTool.js.map +0 -1
- package/dist/esm/tools/OverlayGridTool.js.map +0 -1
- package/dist/esm/tools/PanTool.js.map +0 -1
- package/dist/esm/tools/PlanarRotateTool.js.map +0 -1
- package/dist/esm/tools/ReferenceCursors.js.map +0 -1
- package/dist/esm/tools/ReferenceLinesTool.js.map +0 -1
- package/dist/esm/tools/ScaleOverlayTool.js.map +0 -1
- package/dist/esm/tools/SculptorTool/CircleSculptCursor.js.map +0 -1
- package/dist/esm/tools/SculptorTool.js.map +0 -1
- package/dist/esm/tools/SegmentationIntersectionTool.js.map +0 -1
- package/dist/esm/tools/StackScrollTool.js.map +0 -1
- package/dist/esm/tools/StackScrollToolMouseWheelTool.js +0 -35
- package/dist/esm/tools/StackScrollToolMouseWheelTool.js.map +0 -1
- package/dist/esm/tools/TrackballRotateTool.js.map +0 -1
- package/dist/esm/tools/VolumeRotateMouseWheelTool.js +0 -53
- package/dist/esm/tools/VolumeRotateMouseWheelTool.js.map +0 -1
- package/dist/esm/tools/WindowLevelRegionTool.js.map +0 -1
- package/dist/esm/tools/WindowLevelTool.js.map +0 -1
- package/dist/esm/tools/ZoomTool.js.map +0 -1
- package/dist/esm/tools/annotation/AngleTool.js.map +0 -1
- package/dist/esm/tools/annotation/ArrowAnnotateTool.js.map +0 -1
- package/dist/esm/tools/annotation/BidirectionalTool.js.map +0 -1
- package/dist/esm/tools/annotation/CircleROITool.js.map +0 -1
- package/dist/esm/tools/annotation/CobbAngleTool.js.map +0 -1
- package/dist/esm/tools/annotation/DragProbeTool.js.map +0 -1
- package/dist/esm/tools/annotation/EllipticalROITool.js.map +0 -1
- package/dist/esm/tools/annotation/KeyImageTool.js.map +0 -1
- package/dist/esm/tools/annotation/LengthTool.js.map +0 -1
- package/dist/esm/tools/annotation/LivewireContourSegmentationTool.js.map +0 -1
- package/dist/esm/tools/annotation/LivewireContourTool.js.map +0 -1
- package/dist/esm/tools/annotation/PlanarFreehandContourSegmentationTool.js.map +0 -1
- package/dist/esm/tools/annotation/PlanarFreehandROITool.js.map +0 -1
- package/dist/esm/tools/annotation/ProbeTool.js.map +0 -1
- package/dist/esm/tools/annotation/RectangleROITool.js.map +0 -1
- package/dist/esm/tools/annotation/SplineContourSegmentationTool.js.map +0 -1
- package/dist/esm/tools/annotation/SplineROITool.js.map +0 -1
- package/dist/esm/tools/annotation/UltrasoundDirectionalTool.js.map +0 -1
- package/dist/esm/tools/annotation/VideoRedactionTool.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/closedContourEditLoop.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/drawLoop.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/editLoopCommon.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEditLoop.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/openContourEndEditLoop.js.map +0 -1
- package/dist/esm/tools/annotation/planarFreehandROITool/renderMethods.js.map +0 -1
- package/dist/esm/tools/annotation/splines/BSpline.js.map +0 -1
- package/dist/esm/tools/annotation/splines/CardinalSpline.js.map +0 -1
- package/dist/esm/tools/annotation/splines/CatmullRomSpline.js.map +0 -1
- package/dist/esm/tools/annotation/splines/CubicSpline.js.map +0 -1
- package/dist/esm/tools/annotation/splines/LinearSpline.js.map +0 -1
- package/dist/esm/tools/annotation/splines/QuadraticBezier.js.map +0 -1
- package/dist/esm/tools/annotation/splines/QuadraticSpline.js.map +0 -1
- package/dist/esm/tools/annotation/splines/Spline.js.map +0 -1
- package/dist/esm/tools/base/AnnotationDisplayTool.js.map +0 -1
- package/dist/esm/tools/base/AnnotationTool.js.map +0 -1
- package/dist/esm/tools/base/BaseTool.js.map +0 -1
- package/dist/esm/tools/base/ContourBaseTool.js.map +0 -1
- package/dist/esm/tools/base/ContourSegmentationBaseTool.js.map +0 -1
- package/dist/esm/tools/base/index.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/contourConfig.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/contourDisplay.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/contourHandler/contourConfigCache.js +0 -11
- package/dist/esm/tools/displayTools/Contour/contourHandler/contourConfigCache.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/contourHandler/handleContourSegmentation.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/contourHandler/utils.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/index.js.map +0 -1
- package/dist/esm/tools/displayTools/Contour/removeContourFromElement.js.map +0 -1
- package/dist/esm/tools/displayTools/Labelmap/addLabelmapToElement.js.map +0 -1
- package/dist/esm/tools/displayTools/Labelmap/index.js.map +0 -1
- package/dist/esm/tools/displayTools/Labelmap/labelmapConfig.js.map +0 -1
- package/dist/esm/tools/displayTools/Labelmap/labelmapDisplay.js.map +0 -1
- package/dist/esm/tools/displayTools/Labelmap/removeLabelmapFromElement.js.map +0 -1
- package/dist/esm/tools/displayTools/Labelmap/validateLabelmap.js.map +0 -1
- package/dist/esm/tools/displayTools/SegmentationDisplayTool.js +0 -102
- package/dist/esm/tools/displayTools/SegmentationDisplayTool.js.map +0 -1
- package/dist/esm/tools/displayTools/Surface/addOrUpdateSurfaceToElement.js.map +0 -1
- package/dist/esm/tools/displayTools/Surface/index.js.map +0 -1
- package/dist/esm/tools/displayTools/Surface/removeSurfaceFromElement.js.map +0 -1
- package/dist/esm/tools/displayTools/Surface/surfaceConfig.js.map +0 -1
- package/dist/esm/tools/displayTools/Surface/surfaceDisplay.js.map +0 -1
- package/dist/esm/tools/distancePointToContour.js.map +0 -1
- package/dist/esm/tools/index.js.map +0 -1
- package/dist/esm/tools/segmentation/BrushTool.js.map +0 -1
- package/dist/esm/tools/segmentation/CircleROIStartEndThresholdTool.js.map +0 -1
- package/dist/esm/tools/segmentation/CircleScissorsTool.js.map +0 -1
- package/dist/esm/tools/segmentation/PaintFillTool.js.map +0 -1
- package/dist/esm/tools/segmentation/RectangleROIStartEndThresholdTool.js.map +0 -1
- package/dist/esm/tools/segmentation/RectangleROIThresholdTool.js.map +0 -1
- package/dist/esm/tools/segmentation/RectangleScissorsTool.js.map +0 -1
- package/dist/esm/tools/segmentation/SegmentSelectTool.js.map +0 -1
- package/dist/esm/tools/segmentation/SphereScissorsTool.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/BrushStrategy.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/determineSegmentIndex.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/dynamicThreshold.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/erase.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/index.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/islandRemoval.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/preview.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/regionFill.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/setValue.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/compositions/threshold.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/eraseCircle.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/eraseRectangle.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/eraseSphere.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/fillCircle.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/fillRectangle.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/fillSphere.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/index.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/utils/getStrategyData.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/utils/isWithinThreshold.js.map +0 -1
- package/dist/esm/tools/segmentation/strategies/utils/stackVolumeCheck.js +0 -17
- package/dist/esm/tools/segmentation/strategies/utils/stackVolumeCheck.js.map +0 -1
- package/dist/esm/types/AnnotationGroupSelector.js.map +0 -1
- package/dist/esm/types/AnnotationRenderContext.js.map +0 -1
- package/dist/esm/types/AnnotationStyle.js.map +0 -1
- package/dist/esm/types/AnnotationTypes.js.map +0 -1
- package/dist/esm/types/BoundsIJK.js.map +0 -1
- package/dist/esm/types/CINETypes.js.map +0 -1
- package/dist/esm/types/CalculatorTypes.js.map +0 -1
- package/dist/esm/types/CardinalSplineProps.js.map +0 -1
- package/dist/esm/types/ClosestControlPoint.js.map +0 -1
- package/dist/esm/types/ClosestPoint.js.map +0 -1
- package/dist/esm/types/ClosestSplinePoint.js.map +0 -1
- package/dist/esm/types/ContourAnnotation.js.map +0 -1
- package/dist/esm/types/ContourSegmentationAnnotation.js.map +0 -1
- package/dist/esm/types/ContourTypes.js.map +0 -1
- package/dist/esm/types/ControlPointInfo.js.map +0 -1
- package/dist/esm/types/CursorTypes.js.map +0 -1
- package/dist/esm/types/EventTypes.js.map +0 -1
- package/dist/esm/types/FloodFillTypes.js.map +0 -1
- package/dist/esm/types/IAnnotationManager.js.map +0 -1
- package/dist/esm/types/IDistance.js.map +0 -1
- package/dist/esm/types/IPoints.js.map +0 -1
- package/dist/esm/types/ISculptToolShape.js.map +0 -1
- package/dist/esm/types/ISetToolModeOptions.js.map +0 -1
- package/dist/esm/types/ISpline.js.map +0 -1
- package/dist/esm/types/ISynchronizerEventHandler.js.map +0 -1
- package/dist/esm/types/IToolClassReference.js.map +0 -1
- package/dist/esm/types/IToolGroup.js.map +0 -1
- package/dist/esm/types/ITouchPoints.js.map +0 -1
- package/dist/esm/types/InteractionTypes.js.map +0 -1
- package/dist/esm/types/InternalToolTypes.js.map +0 -1
- package/dist/esm/types/InterpolationTypes.js.map +0 -1
- package/dist/esm/types/JumpToSliceOptions.js +0 -2
- package/dist/esm/types/JumpToSliceOptions.js.map +0 -1
- package/dist/esm/types/LabelmapToolOperationData.js.map +0 -1
- package/dist/esm/types/LabelmapTypes.js.map +0 -1
- package/dist/esm/types/PlanarBoundingBox.js.map +0 -1
- package/dist/esm/types/PolySeg.js.map +0 -1
- package/dist/esm/types/SVGDrawingHelper.js.map +0 -1
- package/dist/esm/types/ScrollOptions.js +0 -2
- package/dist/esm/types/ScrollOptions.js.map +0 -1
- package/dist/esm/types/SegmentationStateTypes.js.map +0 -1
- package/dist/esm/types/SplineCurveSegment.js.map +0 -1
- package/dist/esm/types/SplineLineSegment.js.map +0 -1
- package/dist/esm/types/SplineProps.js.map +0 -1
- package/dist/esm/types/SurfaceTypes.js.map +0 -1
- package/dist/esm/types/ToolAction.js.map +0 -1
- package/dist/esm/types/ToolHandle.js.map +0 -1
- package/dist/esm/types/ToolProps.js.map +0 -1
- package/dist/esm/types/ToolSpecificAnnotationTypes.js.map +0 -1
- package/dist/esm/types/index.js.map +0 -1
- package/dist/esm/utilities/BucketQueue.js.map +0 -1
- package/dist/esm/utilities/annotationFrameRange.js.map +0 -1
- package/dist/esm/utilities/annotationHydration.js.map +0 -1
- package/dist/esm/utilities/boundingBox/extend2DBoundingBoxInViewAxis.js.map +0 -1
- package/dist/esm/utilities/boundingBox/getBoundingBoxAroundShape.js.map +0 -1
- package/dist/esm/utilities/boundingBox/index.js.map +0 -1
- package/dist/esm/utilities/calibrateImageSpacing.js.map +0 -1
- package/dist/esm/utilities/cine/events.js.map +0 -1
- package/dist/esm/utilities/cine/index.js.map +0 -1
- package/dist/esm/utilities/cine/playClip.js.map +0 -1
- package/dist/esm/utilities/cine/state.js.map +0 -1
- package/dist/esm/utilities/clip.js +0 -9
- package/dist/esm/utilities/clip.js.map +0 -1
- package/dist/esm/utilities/contourSegmentation/addContourSegmentationAnnotation.js.map +0 -1
- package/dist/esm/utilities/contourSegmentation/areSameSegment.js.map +0 -1
- package/dist/esm/utilities/contourSegmentation/index.js.map +0 -1
- package/dist/esm/utilities/contourSegmentation/isContourSegmentationAnnotation.js.map +0 -1
- package/dist/esm/utilities/contourSegmentation/removeContourSegmentationAnnotation.js.map +0 -1
- package/dist/esm/utilities/contours/AnnotationToPointData.js.map +0 -1
- package/dist/esm/utilities/contours/RectangleROIStartEndThreshold.js.map +0 -1
- package/dist/esm/utilities/contours/areCoplanarContours.js.map +0 -1
- package/dist/esm/utilities/contours/calculatePerimeter.js.map +0 -1
- package/dist/esm/utilities/contours/contourFinder.js.map +0 -1
- package/dist/esm/utilities/contours/detectContourHoles.js.map +0 -1
- package/dist/esm/utilities/contours/findHandlePolylineIndex.js.map +0 -1
- package/dist/esm/utilities/contours/generateContourSetsFromLabelmap.js.map +0 -1
- package/dist/esm/utilities/contours/getContourHolesDataCanvas.js.map +0 -1
- package/dist/esm/utilities/contours/getContourHolesDataWorld.js.map +0 -1
- package/dist/esm/utilities/contours/getDeduplicatedVTKPolyDataPoints.js.map +0 -1
- package/dist/esm/utilities/contours/index.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/acceptAutogeneratedInterpolations.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/createPolylineToolData.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/findAnnotationForInterpolation.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/getInterpolationData.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/getInterpolationDataCollection.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/index.js +0 -3
- package/dist/esm/utilities/contours/interpolation/index.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/interpolate.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/selectHandles.js.map +0 -1
- package/dist/esm/utilities/contours/interpolation/updateChildInterpolationUID.js.map +0 -1
- package/dist/esm/utilities/contours/reverseIfAntiClockwise.js.map +0 -1
- package/dist/esm/utilities/contours/updateContourPolyline.js.map +0 -1
- package/dist/esm/utilities/debounce.js.map +0 -1
- package/dist/esm/utilities/drawing/getTextBoxCoordsCanvas.js.map +0 -1
- package/dist/esm/utilities/drawing/index.js.map +0 -1
- package/dist/esm/utilities/dynamicVolume/generateImageFromTimeData.js.map +0 -1
- package/dist/esm/utilities/dynamicVolume/getDataInTime.js.map +0 -1
- package/dist/esm/utilities/dynamicVolume/index.js.map +0 -1
- package/dist/esm/utilities/getAnnotationNearPoint.js.map +0 -1
- package/dist/esm/utilities/getCalibratedUnits.js.map +0 -1
- package/dist/esm/utilities/getModalityUnit.js +0 -27
- package/dist/esm/utilities/getModalityUnit.js.map +0 -1
- package/dist/esm/utilities/getSphereBoundsInfo.js.map +0 -1
- package/dist/esm/utilities/getToolsWithModesForElement.js.map +0 -1
- package/dist/esm/utilities/getVOIMultipliers.js.map +0 -1
- package/dist/esm/utilities/getViewportForAnnotation.js.map +0 -1
- package/dist/esm/utilities/getViewportsForAnnotation.js.map +0 -1
- package/dist/esm/utilities/index.js.map +0 -1
- package/dist/esm/utilities/isObject.js.map +0 -1
- package/dist/esm/utilities/livewire/LiveWirePath.js.map +0 -1
- package/dist/esm/utilities/livewire/LivewireScissors.js.map +0 -1
- package/dist/esm/utilities/math/aabb/distanceToPoint.js.map +0 -1
- package/dist/esm/utilities/math/aabb/distanceToPointSquared.js.map +0 -1
- package/dist/esm/utilities/math/aabb/index.js.map +0 -1
- package/dist/esm/utilities/math/aabb/intersectAABB.js.map +0 -1
- package/dist/esm/utilities/math/angle/angleBetweenLines.js.map +0 -1
- package/dist/esm/utilities/math/basic/BasicStatsCalculator.js.map +0 -1
- package/dist/esm/utilities/math/basic/Calculator.js.map +0 -1
- package/dist/esm/utilities/math/basic/index.js.map +0 -1
- package/dist/esm/utilities/math/circle/_types.js.map +0 -1
- package/dist/esm/utilities/math/circle/getCanvasCircleCorners.js.map +0 -1
- package/dist/esm/utilities/math/circle/getCanvasCircleRadius.js.map +0 -1
- package/dist/esm/utilities/math/circle/index.js.map +0 -1
- package/dist/esm/utilities/math/ellipse/getCanvasEllipseCorners.js.map +0 -1
- package/dist/esm/utilities/math/ellipse/index.js.map +0 -1
- package/dist/esm/utilities/math/ellipse/pointInEllipse.js.map +0 -1
- package/dist/esm/utilities/math/ellipse/pointInEllipsoidWithConstraint.js.map +0 -1
- package/dist/esm/utilities/math/index.js.map +0 -1
- package/dist/esm/utilities/math/line/distanceToPoint.js.map +0 -1
- package/dist/esm/utilities/math/line/distanceToPointSquared.js.map +0 -1
- package/dist/esm/utilities/math/line/distanceToPointSquaredInfo.js.map +0 -1
- package/dist/esm/utilities/math/line/index.js.map +0 -1
- package/dist/esm/utilities/math/line/intersectLine.js.map +0 -1
- package/dist/esm/utilities/math/line/isPointOnLineSegment.js.map +0 -1
- package/dist/esm/utilities/math/midPoint.js.map +0 -1
- package/dist/esm/utilities/math/point/distanceToPoint.js.map +0 -1
- package/dist/esm/utilities/math/point/distanceToPointSquared.js.map +0 -1
- package/dist/esm/utilities/math/point/index.js.map +0 -1
- package/dist/esm/utilities/math/point/mirror.js.map +0 -1
- package/dist/esm/utilities/math/polyline/addCanvasPointsToArray.js.map +0 -1
- package/dist/esm/utilities/math/polyline/areLineSegmentsIntersecting.js.map +0 -1
- package/dist/esm/utilities/math/polyline/combinePolyline.js.map +0 -1
- package/dist/esm/utilities/math/polyline/containsPoint.js.map +0 -1
- package/dist/esm/utilities/math/polyline/containsPoints.js.map +0 -1
- package/dist/esm/utilities/math/polyline/decimate.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getAABB.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getArea.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getClosestLineSegmentIntersection.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getFirstLineSegmentIntersectionIndexes.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getLineSegmentIntersectionsCoordinates.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getLineSegmentIntersectionsIndexes.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getLinesIntersection.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getNormal2.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getNormal3.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getSignedArea.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getSubPixelSpacingAndXYDirections.js.map +0 -1
- package/dist/esm/utilities/math/polyline/getWindingDirection.js.map +0 -1
- package/dist/esm/utilities/math/polyline/index.js.map +0 -1
- package/dist/esm/utilities/math/polyline/intersectPolyline.js.map +0 -1
- package/dist/esm/utilities/math/polyline/isClosed.js.map +0 -1
- package/dist/esm/utilities/math/polyline/isPointInsidePolyline3D.js.map +0 -1
- package/dist/esm/utilities/math/polyline/planarFreehandROIInternalTypes.js.map +0 -1
- package/dist/esm/utilities/math/polyline/pointCanProjectOnLine.js.map +0 -1
- package/dist/esm/utilities/math/polyline/pointsAreWithinCloseContourProximity.js.map +0 -1
- package/dist/esm/utilities/math/polyline/projectTo2D.js.map +0 -1
- package/dist/esm/utilities/math/rectangle/distanceToPoint.js.map +0 -1
- package/dist/esm/utilities/math/rectangle/index.js.map +0 -1
- package/dist/esm/utilities/math/sphere/index.js.map +0 -1
- package/dist/esm/utilities/math/sphere/pointInSphere.js.map +0 -1
- package/dist/esm/utilities/math/vec2/findClosestPoint.js.map +0 -1
- package/dist/esm/utilities/math/vec2/index.js.map +0 -1
- package/dist/esm/utilities/math/vec2/liangBarksyClip.js.map +0 -1
- package/dist/esm/utilities/math/vec3/interpolateVec3.js.map +0 -1
- package/dist/esm/utilities/orientation/getOrientationStringLPS.js.map +0 -1
- package/dist/esm/utilities/orientation/index.js.map +0 -1
- package/dist/esm/utilities/orientation/invertOrientationStringLPS.js.map +0 -1
- package/dist/esm/utilities/planar/filterAnnotationsForDisplay.js.map +0 -1
- package/dist/esm/utilities/planar/filterAnnotationsWithinSlice.js.map +0 -1
- package/dist/esm/utilities/planar/getPointInLineOfSightWithCriteria.js.map +0 -1
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromCorners.js.map +0 -1
- package/dist/esm/utilities/planar/getWorldWidthAndHeightFromTwoPoints.js.map +0 -1
- package/dist/esm/utilities/planar/index.js.map +0 -1
- package/dist/esm/utilities/planar/isPlaneIntersectingAABB.js.map +0 -1
- package/dist/esm/utilities/planarFreehandROITool/index.js.map +0 -1
- package/dist/esm/utilities/planarFreehandROITool/interpolation/algorithms/bspline.js.map +0 -1
- package/dist/esm/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.js.map +0 -1
- package/dist/esm/utilities/planarFreehandROITool/smoothAnnotation.js.map +0 -1
- package/dist/esm/utilities/planarFreehandROITool/smoothPoints.js.map +0 -1
- package/dist/esm/utilities/pointInShapeCallback.js +0 -83
- package/dist/esm/utilities/pointInShapeCallback.js.map +0 -1
- package/dist/esm/utilities/pointInSurroundingSphereCallback.js.map +0 -1
- package/dist/esm/utilities/pointToString.js.map +0 -1
- package/dist/esm/utilities/polyData/utils.js.map +0 -1
- package/dist/esm/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.js.map +0 -1
- package/dist/esm/utilities/rectangleROITool/index.js.map +0 -1
- package/dist/esm/utilities/rectangleROITool/isAxisAlignedRectangle.js.map +0 -1
- package/dist/esm/utilities/scroll.js +0 -58
- package/dist/esm/utilities/scroll.js.map +0 -1
- package/dist/esm/utilities/segmentation/InterpolationManager/InterpolationManager.js.map +0 -1
- package/dist/esm/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.js.map +0 -1
- package/dist/esm/utilities/segmentation/brushSizeForToolGroup.js.map +0 -1
- package/dist/esm/utilities/segmentation/brushThresholdForToolGroup.js.map +0 -1
- package/dist/esm/utilities/segmentation/contourAndFindLargestBidirectional.js.map +0 -1
- package/dist/esm/utilities/segmentation/createBidirectionalToolData.js.map +0 -1
- package/dist/esm/utilities/segmentation/createImageIdReferenceMap.js +0 -8
- package/dist/esm/utilities/segmentation/createImageIdReferenceMap.js.map +0 -1
- package/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.js.map +0 -1
- package/dist/esm/utilities/segmentation/createMergedLabelmapForIndex.js.map +0 -1
- package/dist/esm/utilities/segmentation/findLargestBidirectional.js.map +0 -1
- package/dist/esm/utilities/segmentation/floodFill.js.map +0 -1
- package/dist/esm/utilities/segmentation/getDefaultRepresentationConfig.js +0 -12
- package/dist/esm/utilities/segmentation/getDefaultRepresentationConfig.js.map +0 -1
- package/dist/esm/utilities/segmentation/getHoveredContourSegmentationAnnotation.js.map +0 -1
- package/dist/esm/utilities/segmentation/getSegmentAtLabelmapBorder.js +0 -74
- package/dist/esm/utilities/segmentation/getSegmentAtLabelmapBorder.js.map +0 -1
- package/dist/esm/utilities/segmentation/getSegmentAtWorldPoint.js +0 -76
- package/dist/esm/utilities/segmentation/getSegmentAtWorldPoint.js.map +0 -1
- package/dist/esm/utilities/segmentation/getUniqueSegmentIndices.js.map +0 -1
- package/dist/esm/utilities/segmentation/index.js.map +0 -1
- package/dist/esm/utilities/segmentation/invalidateBrushCursor.js.map +0 -1
- package/dist/esm/utilities/segmentation/isLineInSegment.js.map +0 -1
- package/dist/esm/utilities/segmentation/isValidRepresentationConfig.js +0 -11
- package/dist/esm/utilities/segmentation/isValidRepresentationConfig.js.map +0 -1
- package/dist/esm/utilities/segmentation/rectangleROIThresholdVolumeByRange.js.map +0 -1
- package/dist/esm/utilities/segmentation/segmentContourAction.js.map +0 -1
- package/dist/esm/utilities/segmentation/thresholdSegmentationByRange.js.map +0 -1
- package/dist/esm/utilities/segmentation/thresholdVolumeByRange.js.map +0 -1
- package/dist/esm/utilities/segmentation/triggerSegmentationRender.js +0 -109
- package/dist/esm/utilities/segmentation/triggerSegmentationRender.js.map +0 -1
- package/dist/esm/utilities/segmentation/utilities.js.map +0 -1
- package/dist/esm/utilities/stackPrefetch/index.js.map +0 -1
- package/dist/esm/utilities/stackPrefetch/stackContextPrefetch.js.map +0 -1
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.js.map +0 -1
- package/dist/esm/utilities/stackPrefetch/stackPrefetchUtils.js.map +0 -1
- package/dist/esm/utilities/stackPrefetch/state.js.map +0 -1
- package/dist/esm/utilities/throttle.js.map +0 -1
- package/dist/esm/utilities/touch/index.js.map +0 -1
- package/dist/esm/utilities/triggerAnnotationRender.js.map +0 -1
- package/dist/esm/utilities/triggerAnnotationRenderForToolGroupIds.js.map +0 -1
- package/dist/esm/utilities/triggerAnnotationRenderForViewportIds.js.map +0 -1
- package/dist/esm/utilities/viewport/index.js.map +0 -1
- package/dist/esm/utilities/viewport/isViewportPreScaled.js.map +0 -1
- package/dist/esm/utilities/viewport/jumpToSlice.js +0 -37
- package/dist/esm/utilities/viewport/jumpToSlice.js.map +0 -1
- package/dist/esm/utilities/viewport/jumpToWorld.js +0 -33
- package/dist/esm/utilities/viewport/jumpToWorld.js.map +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.js.map +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithParallelNormals.js.map +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithSameOrientation.js.map +0 -1
- package/dist/esm/utilities/viewportFilters/filterViewportsWithToolEnabled.js.map +0 -1
- package/dist/esm/utilities/viewportFilters/getViewportIdsWithToolToRender.js.map +0 -1
- package/dist/esm/utilities/viewportFilters/index.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/Colorbar.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/ColorbarCanvas.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/ColorbarTicks.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/ViewportColorbar.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/common/areColorbarRangesEqual.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/common/areColorbarSizesEqual.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/common/index.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/common/isColorbarSizeValid.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/common/isRangeTextPositionValid.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/common/isRangeValid.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/enums/index.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/index.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCanvasProps.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarCommonProps.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarImageRange.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarProps.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarSize.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksProps.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarTicksStyle.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ColorbarVOIRange.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/ViewportColorbarProps.js.map +0 -1
- package/dist/esm/utilities/voi/colorbar/types/index.js.map +0 -1
- package/dist/esm/utilities/voi/index.js.map +0 -1
- package/dist/esm/utilities/voi/windowlevel/calculateMinMaxMean.js.map +0 -1
- package/dist/esm/utilities/voi/windowlevel/extractWindowLevelRegionToolData.js.map +0 -1
- package/dist/esm/utilities/voi/windowlevel/getLuminanceFromRegion.js.map +0 -1
- package/dist/esm/utilities/voi/windowlevel/index.js.map +0 -1
- package/dist/esm/widgets/Widget.js.map +0 -1
- package/dist/esm/widgets/types/WidgetProps.js.map +0 -1
- package/dist/esm/widgets/types/WidgetSize.js.map +0 -1
- package/dist/esm/widgets/types/index.js.map +0 -1
- package/dist/esm/workers/polySegConverters.js.map +0 -1
- package/dist/types/constants/COLOR_LUT.d.ts +0 -3
- package/dist/types/constants/COLOR_LUT.d.ts.map +0 -1
- package/dist/types/constants/index.d.ts +0 -3
- package/dist/types/constants/index.d.ts.map +0 -1
- package/dist/types/cursors/ImageMouseCursor.d.ts +0 -10
- package/dist/types/cursors/ImageMouseCursor.d.ts.map +0 -1
- package/dist/types/cursors/MouseCursor.d.ts +0 -13
- package/dist/types/cursors/MouseCursor.d.ts.map +0 -1
- package/dist/types/cursors/SVGCursorDescriptor.d.ts +0 -10
- package/dist/types/cursors/SVGCursorDescriptor.d.ts.map +0 -1
- package/dist/types/cursors/SVGMouseCursor.d.ts +0 -7
- package/dist/types/cursors/SVGMouseCursor.d.ts.map +0 -1
- package/dist/types/cursors/elementCursor.d.ts +0 -7
- package/dist/types/cursors/elementCursor.d.ts.map +0 -1
- package/dist/types/cursors/index.d.ts +0 -9
- package/dist/types/cursors/index.d.ts.map +0 -1
- package/dist/types/cursors/setCursorForElement.d.ts +0 -3
- package/dist/types/cursors/setCursorForElement.d.ts.map +0 -1
- package/dist/types/drawingSvg/_getHash.d.ts +0 -3
- package/dist/types/drawingSvg/_getHash.d.ts.map +0 -1
- package/dist/types/drawingSvg/clearByToolType.d.ts +0 -3
- package/dist/types/drawingSvg/clearByToolType.d.ts.map +0 -1
- package/dist/types/drawingSvg/draw.d.ts +0 -3
- package/dist/types/drawingSvg/draw.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawArrow.d.ts +0 -4
- package/dist/types/drawingSvg/drawArrow.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawCircle.d.ts +0 -5
- package/dist/types/drawingSvg/drawCircle.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawEllipse.d.ts +0 -5
- package/dist/types/drawingSvg/drawEllipse.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawEllipseByCoordinates.d.ts +0 -5
- package/dist/types/drawingSvg/drawEllipseByCoordinates.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawHandle.d.ts +0 -5
- package/dist/types/drawingSvg/drawHandle.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawHandles.d.ts +0 -5
- package/dist/types/drawingSvg/drawHandles.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawLine.d.ts +0 -4
- package/dist/types/drawingSvg/drawLine.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawLink.d.ts +0 -5
- package/dist/types/drawingSvg/drawLink.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawLinkedTextBox.d.ts +0 -5
- package/dist/types/drawingSvg/drawLinkedTextBox.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawPath.d.ts +0 -12
- package/dist/types/drawingSvg/drawPath.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawPolyline.d.ts +0 -12
- package/dist/types/drawingSvg/drawPolyline.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawRect.d.ts +0 -4
- package/dist/types/drawingSvg/drawRect.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawRectByCoordinates.d.ts +0 -4
- package/dist/types/drawingSvg/drawRectByCoordinates.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawRedactionRect.d.ts +0 -2
- package/dist/types/drawingSvg/drawRedactionRect.d.ts.map +0 -1
- package/dist/types/drawingSvg/drawTextBox.d.ts +0 -5
- package/dist/types/drawingSvg/drawTextBox.d.ts.map +0 -1
- package/dist/types/drawingSvg/getSvgDrawingHelper.d.ts +0 -4
- package/dist/types/drawingSvg/getSvgDrawingHelper.d.ts.map +0 -1
- package/dist/types/drawingSvg/index.d.ts +0 -19
- package/dist/types/drawingSvg/index.d.ts.map +0 -1
- package/dist/types/drawingSvg/setAttributesIfNecessary.d.ts +0 -3
- package/dist/types/drawingSvg/setAttributesIfNecessary.d.ts.map +0 -1
- package/dist/types/drawingSvg/setNewAttributesIfValid.d.ts +0 -3
- package/dist/types/drawingSvg/setNewAttributesIfValid.d.ts.map +0 -1
- package/dist/types/enums/AnnotationStyleStates.d.ts +0 -9
- package/dist/types/enums/AnnotationStyleStates.d.ts.map +0 -1
- package/dist/types/enums/ChangeTypes.d.ts +0 -10
- package/dist/types/enums/ChangeTypes.d.ts.map +0 -1
- package/dist/types/enums/Events.d.ts +0 -41
- package/dist/types/enums/Events.d.ts.map +0 -1
- package/dist/types/enums/SegmentationRepresentations.d.ts +0 -7
- package/dist/types/enums/SegmentationRepresentations.d.ts.map +0 -1
- package/dist/types/enums/StrategyCallbacks.d.ts +0 -15
- package/dist/types/enums/StrategyCallbacks.d.ts.map +0 -1
- package/dist/types/enums/ToolBindings.d.ts +0 -25
- package/dist/types/enums/ToolBindings.d.ts.map +0 -1
- package/dist/types/enums/ToolModes.d.ts +0 -8
- package/dist/types/enums/ToolModes.d.ts.map +0 -1
- package/dist/types/enums/Touch.d.ts +0 -8
- package/dist/types/enums/Touch.d.ts.map +0 -1
- package/dist/types/enums/WorkerTypes.d.ts +0 -9
- package/dist/types/enums/WorkerTypes.d.ts.map +0 -1
- package/dist/types/enums/index.d.ts +0 -12
- package/dist/types/enums/index.d.ts.map +0 -1
- package/dist/types/eventDispatchers/annotationInterpolationEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/annotationInterpolationEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/annotationModifiedEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/annotationModifiedEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/cameraModifiedEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/cameraModifiedEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/cameraResetEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/cameraResetEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/imageRenderedEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/imageRenderedEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/imageSpacingCalibratedEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/index.d.ts +0 -10
- package/dist/types/eventDispatchers/index.d.ts.map +0 -1
- package/dist/types/eventDispatchers/keyboardEventHandlers/index.d.ts +0 -4
- package/dist/types/eventDispatchers/keyboardEventHandlers/index.d.ts.map +0 -1
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyDown.d.ts +0 -3
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyDown.d.ts.map +0 -1
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyUp.d.ts +0 -3
- package/dist/types/eventDispatchers/keyboardEventHandlers/keyUp.d.ts.map +0 -1
- package/dist/types/eventDispatchers/keyboardToolEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/keyboardToolEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/index.d.ts +0 -10
- package/dist/types/eventDispatchers/mouseEventHandlers/index.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseClick.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseClick.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDoubleClick.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDown.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDown.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownActivate.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseDrag.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseMove.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseMove.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseUp.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseUp.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts +0 -3
- package/dist/types/eventDispatchers/mouseEventHandlers/mouseWheel.d.ts.map +0 -1
- package/dist/types/eventDispatchers/mouseToolEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/mouseToolEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/customCallbackHandler.d.ts +0 -2
- package/dist/types/eventDispatchers/shared/customCallbackHandler.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts +0 -3
- package/dist/types/eventDispatchers/shared/getActiveToolForKeyboardEvent.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts +0 -3
- package/dist/types/eventDispatchers/shared/getActiveToolForMouseEvent.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts +0 -3
- package/dist/types/eventDispatchers/shared/getActiveToolForTouchEvent.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getMouseModifier.d.ts +0 -4
- package/dist/types/eventDispatchers/shared/getMouseModifier.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getToolsWithActionsForKeyboardEvents.d.ts +0 -4
- package/dist/types/eventDispatchers/shared/getToolsWithActionsForKeyboardEvents.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts +0 -4
- package/dist/types/eventDispatchers/shared/getToolsWithActionsForMouseEvent.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts +0 -6
- package/dist/types/eventDispatchers/shared/getToolsWithModesForMouseEvent.d.ts.map +0 -1
- package/dist/types/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts +0 -6
- package/dist/types/eventDispatchers/shared/getToolsWithModesForTouchEvent.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/index.d.ts +0 -8
- package/dist/types/eventDispatchers/touchEventHandlers/index.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/touchDrag.d.ts +0 -3
- package/dist/types/eventDispatchers/touchEventHandlers/touchDrag.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/touchEnd.d.ts +0 -3
- package/dist/types/eventDispatchers/touchEventHandlers/touchEnd.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/touchPress.d.ts +0 -3
- package/dist/types/eventDispatchers/touchEventHandlers/touchPress.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/touchStart.d.ts +0 -3
- package/dist/types/eventDispatchers/touchEventHandlers/touchStart.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts +0 -3
- package/dist/types/eventDispatchers/touchEventHandlers/touchStartActivate.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchEventHandlers/touchTap.d.ts +0 -3
- package/dist/types/eventDispatchers/touchEventHandlers/touchTap.d.ts.map +0 -1
- package/dist/types/eventDispatchers/touchToolEventDispatcher.d.ts +0 -6
- package/dist/types/eventDispatchers/touchToolEventDispatcher.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/annotationCompletedListener.d.ts +0 -3
- package/dist/types/eventListeners/annotations/annotationCompletedListener.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/annotationModifiedListener.d.ts +0 -3
- package/dist/types/eventListeners/annotations/annotationModifiedListener.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/annotationRemovedListener.d.ts +0 -3
- package/dist/types/eventListeners/annotations/annotationRemovedListener.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/annotationSelectionListener.d.ts +0 -3
- package/dist/types/eventListeners/annotations/annotationSelectionListener.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/contourSegmentation/contourSegmentationCompleted.d.ts +0 -6
- package/dist/types/eventListeners/annotations/contourSegmentation/contourSegmentationCompleted.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/contourSegmentation/contourSegmentationRemoved.d.ts +0 -3
- package/dist/types/eventListeners/annotations/contourSegmentation/contourSegmentationRemoved.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/contourSegmentation/index.d.ts +0 -3
- package/dist/types/eventListeners/annotations/contourSegmentation/index.d.ts.map +0 -1
- package/dist/types/eventListeners/annotations/index.d.ts +0 -6
- package/dist/types/eventListeners/annotations/index.d.ts.map +0 -1
- package/dist/types/eventListeners/index.d.ts +0 -8
- package/dist/types/eventListeners/index.d.ts.map +0 -1
- package/dist/types/eventListeners/keyboard/index.d.ts +0 -10
- package/dist/types/eventListeners/keyboard/index.d.ts.map +0 -1
- package/dist/types/eventListeners/keyboard/keyDownListener.d.ts +0 -5
- package/dist/types/eventListeners/keyboard/keyDownListener.d.ts.map +0 -1
- package/dist/types/eventListeners/mouse/getMouseEventPoints.d.ts +0 -3
- package/dist/types/eventListeners/mouse/getMouseEventPoints.d.ts.map +0 -1
- package/dist/types/eventListeners/mouse/index.d.ts +0 -8
- package/dist/types/eventListeners/mouse/index.d.ts.map +0 -1
- package/dist/types/eventListeners/mouse/mouseDoubleClickListener.d.ts +0 -3
- package/dist/types/eventListeners/mouse/mouseDoubleClickListener.d.ts.map +0 -1
- package/dist/types/eventListeners/mouse/mouseDownListener.d.ts +0 -5
- package/dist/types/eventListeners/mouse/mouseDownListener.d.ts.map +0 -1
- package/dist/types/eventListeners/mouse/mouseMoveListener.d.ts +0 -3
- package/dist/types/eventListeners/mouse/mouseMoveListener.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/imageChangeEventListener.d.ts +0 -6
- package/dist/types/eventListeners/segmentation/imageChangeEventListener.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/index.d.ts +0 -7
- package/dist/types/eventListeners/segmentation/index.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/labelmap/onLabelmapSegmentationDataModified.d.ts +0 -4
- package/dist/types/eventListeners/segmentation/labelmap/onLabelmapSegmentationDataModified.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts +0 -4
- package/dist/types/eventListeners/segmentation/segmentationDataModifiedEventListener.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/segmentationModifiedEventListener.d.ts +0 -4
- package/dist/types/eventListeners/segmentation/segmentationModifiedEventListener.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.d.ts +0 -4
- package/dist/types/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.d.ts.map +0 -1
- package/dist/types/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.d.ts +0 -4
- package/dist/types/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.d.ts.map +0 -1
- package/dist/types/eventListeners/touch/getTouchEventPoints.d.ts +0 -3
- package/dist/types/eventListeners/touch/getTouchEventPoints.d.ts.map +0 -1
- package/dist/types/eventListeners/touch/index.d.ts +0 -8
- package/dist/types/eventListeners/touch/index.d.ts.map +0 -1
- package/dist/types/eventListeners/touch/preventGhostClick.d.ts +0 -8
- package/dist/types/eventListeners/touch/preventGhostClick.d.ts.map +0 -1
- package/dist/types/eventListeners/touch/touchStartListener.d.ts +0 -3
- package/dist/types/eventListeners/touch/touchStartListener.d.ts.map +0 -1
- package/dist/types/eventListeners/wheel/index.d.ts +0 -8
- package/dist/types/eventListeners/wheel/index.d.ts.map +0 -1
- package/dist/types/eventListeners/wheel/normalizeWheel.d.ts +0 -7
- package/dist/types/eventListeners/wheel/normalizeWheel.d.ts.map +0 -1
- package/dist/types/eventListeners/wheel/wheelListener.d.ts +0 -3
- package/dist/types/eventListeners/wheel/wheelListener.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -15
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/init.d.ts +0 -4
- package/dist/types/init.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/AnnotationGroup.d.ts +0 -19
- package/dist/types/stateManagement/annotation/AnnotationGroup.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts +0 -26
- package/dist/types/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/annotationLocking.d.ts +0 -9
- package/dist/types/stateManagement/annotation/annotationLocking.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/annotationSelection.d.ts +0 -8
- package/dist/types/stateManagement/annotation/annotationSelection.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/annotationState.d.ts +0 -20
- package/dist/types/stateManagement/annotation/annotationState.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/annotationVisibility.d.ts +0 -7
- package/dist/types/stateManagement/annotation/annotationVisibility.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/config/ToolStyle.d.ts +0 -19
- package/dist/types/stateManagement/annotation/config/ToolStyle.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/config/getFont.d.ts +0 -5
- package/dist/types/stateManagement/annotation/config/getFont.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/config/getState.d.ts +0 -5
- package/dist/types/stateManagement/annotation/config/getState.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/config/helpers.d.ts +0 -5
- package/dist/types/stateManagement/annotation/config/helpers.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/config/index.d.ts +0 -5
- package/dist/types/stateManagement/annotation/config/index.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/helpers/state.d.ts +0 -11
- package/dist/types/stateManagement/annotation/helpers/state.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/index.d.ts +0 -9
- package/dist/types/stateManagement/annotation/index.d.ts.map +0 -1
- package/dist/types/stateManagement/annotation/utilities/defineProperties.d.ts +0 -5
- package/dist/types/stateManagement/annotation/utilities/defineProperties.d.ts.map +0 -1
- package/dist/types/stateManagement/index.d.ts +0 -21
- package/dist/types/stateManagement/index.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/SegmentationStateManager.d.ts +0 -37
- package/dist/types/stateManagement/segmentation/SegmentationStateManager.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/activeSegmentation.d.ts +0 -6
- package/dist/types/stateManagement/segmentation/activeSegmentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/addRepresentationData.d.ts +0 -13
- package/dist/types/stateManagement/segmentation/addRepresentationData.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/addSegmentationRepresentation.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/addSegmentationRepresentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/addSegmentationRepresentations.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/addSegmentationRepresentations.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/addSegmentations.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/addSegmentations.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/config/index.d.ts +0 -5
- package/dist/types/stateManagement/segmentation/config/index.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/config/segmentationColor.d.ts +0 -7
- package/dist/types/stateManagement/segmentation/config/segmentationColor.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/config/segmentationConfig.d.ts +0 -14
- package/dist/types/stateManagement/segmentation/config/segmentationConfig.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/config/segmentationVisibility.d.ts +0 -7
- package/dist/types/stateManagement/segmentation/config/segmentationVisibility.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/convertStackToVolumeSegmentation.d.ts +0 -18
- package/dist/types/stateManagement/segmentation/convertStackToVolumeSegmentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/convertVolumeToStackSegmentation.d.ts +0 -22
- package/dist/types/stateManagement/segmentation/convertVolumeToStackSegmentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/helpers/clipAndCacheSurfacesForViewport.d.ts +0 -18
- package/dist/types/stateManagement/segmentation/helpers/clipAndCacheSurfacesForViewport.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/helpers/getRepresentationSpecificConfig.d.ts +0 -3
- package/dist/types/stateManagement/segmentation/helpers/getRepresentationSpecificConfig.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/helpers/index.d.ts +0 -3
- package/dist/types/stateManagement/segmentation/helpers/index.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/helpers/normalizeSegmentationInput.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/helpers/validateSegmentationInput.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/index.d.ts +0 -15
- package/dist/types/stateManagement/segmentation/index.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Contour/computeAndAddContourRepresentation.d.ts +0 -5
- package/dist/types/stateManagement/segmentation/polySeg/Contour/computeAndAddContourRepresentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Contour/contourComputationStrategies.d.ts +0 -9
- package/dist/types/stateManagement/segmentation/polySeg/Contour/contourComputationStrategies.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Contour/utils/createAndAddContourSegmentationsFromClippedSurfaces.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/polySeg/Contour/utils/createAndAddContourSegmentationsFromClippedSurfaces.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Contour/utils/extractContourData.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/polySeg/Contour/utils/extractContourData.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Contour/utils/updateContoursOnCameraModified.d.ts +0 -2
- package/dist/types/stateManagement/segmentation/polySeg/Contour/utils/updateContoursOnCameraModified.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/computeAndAddLabelmapRepresentation.d.ts +0 -3
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/computeAndAddLabelmapRepresentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/convertContourToLabelmap.d.ts +0 -8
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/convertContourToLabelmap.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/convertSurfaceToLabelmap.d.ts +0 -7
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/convertSurfaceToLabelmap.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/labelmapComputationStrategies.d.ts +0 -7
- package/dist/types/stateManagement/segmentation/polySeg/Labelmap/labelmapComputationStrategies.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Surface/computeAndAddSurfaceRepresentation.d.ts +0 -5
- package/dist/types/stateManagement/segmentation/polySeg/Surface/computeAndAddSurfaceRepresentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Surface/convertContourToSurface.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/polySeg/Surface/convertContourToSurface.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Surface/convertLabelmapToSurface.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/polySeg/Surface/convertLabelmapToSurface.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Surface/createAndCacheSurfacesFromRaw.d.ts +0 -6
- package/dist/types/stateManagement/segmentation/polySeg/Surface/createAndCacheSurfacesFromRaw.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Surface/surfaceComputationStrategies.d.ts +0 -13
- package/dist/types/stateManagement/segmentation/polySeg/Surface/surfaceComputationStrategies.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/Surface/updateSurfaceData.d.ts +0 -2
- package/dist/types/stateManagement/segmentation/polySeg/Surface/updateSurfaceData.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/canComputeRequestedRepresentation.d.ts +0 -3
- package/dist/types/stateManagement/segmentation/polySeg/canComputeRequestedRepresentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/computeAndAddRepresentation.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/polySeg/computeAndAddRepresentation.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/index.d.ts +0 -6
- package/dist/types/stateManagement/segmentation/polySeg/index.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/polySeg/registerPolySegWorker.d.ts +0 -2
- package/dist/types/stateManagement/segmentation/polySeg/registerPolySegWorker.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/removeSegmentationsFromToolGroup.d.ts +0 -3
- package/dist/types/stateManagement/segmentation/removeSegmentationsFromToolGroup.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/segmentIndex.d.ts +0 -4
- package/dist/types/stateManagement/segmentation/segmentIndex.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/segmentLocking.d.ts +0 -5
- package/dist/types/stateManagement/segmentation/segmentLocking.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/segmentationState.d.ts +0 -34
- package/dist/types/stateManagement/segmentation/segmentationState.d.ts.map +0 -1
- package/dist/types/stateManagement/segmentation/triggerSegmentationEvents.d.ts +0 -7
- package/dist/types/stateManagement/segmentation/triggerSegmentationEvents.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/Synchronizer.d.ts +0 -36
- package/dist/types/store/SynchronizerManager/Synchronizer.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/createSynchronizer.d.ts +0 -5
- package/dist/types/store/SynchronizerManager/createSynchronizer.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/destroy.d.ts +0 -3
- package/dist/types/store/SynchronizerManager/destroy.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/destroySynchronizer.d.ts +0 -3
- package/dist/types/store/SynchronizerManager/destroySynchronizer.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/getAllSynchronizers.d.ts +0 -4
- package/dist/types/store/SynchronizerManager/getAllSynchronizers.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/getSynchronizer.d.ts +0 -4
- package/dist/types/store/SynchronizerManager/getSynchronizer.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/getSynchronizersForViewport.d.ts +0 -4
- package/dist/types/store/SynchronizerManager/getSynchronizersForViewport.d.ts.map +0 -1
- package/dist/types/store/SynchronizerManager/index.d.ts +0 -8
- package/dist/types/store/SynchronizerManager/index.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/ToolGroup.d.ts +0 -46
- package/dist/types/store/ToolGroupManager/ToolGroup.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/createToolGroup.d.ts +0 -4
- package/dist/types/store/ToolGroupManager/createToolGroup.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/destroy.d.ts +0 -3
- package/dist/types/store/ToolGroupManager/destroy.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/destroyToolGroup.d.ts +0 -3
- package/dist/types/store/ToolGroupManager/destroyToolGroup.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/getAllToolGroups.d.ts +0 -4
- package/dist/types/store/ToolGroupManager/getAllToolGroups.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/getToolGroup.d.ts +0 -4
- package/dist/types/store/ToolGroupManager/getToolGroup.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/getToolGroupForViewport.d.ts +0 -4
- package/dist/types/store/ToolGroupManager/getToolGroupForViewport.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/getToolGroupsWithToolName.d.ts +0 -4
- package/dist/types/store/ToolGroupManager/getToolGroupsWithToolName.d.ts.map +0 -1
- package/dist/types/store/ToolGroupManager/index.d.ts +0 -9
- package/dist/types/store/ToolGroupManager/index.d.ts.map +0 -1
- package/dist/types/store/addEnabledElement.d.ts +0 -3
- package/dist/types/store/addEnabledElement.d.ts.map +0 -1
- package/dist/types/store/addTool.d.ts +0 -5
- package/dist/types/store/addTool.d.ts.map +0 -1
- package/dist/types/store/cancelActiveManipulations.d.ts +0 -2
- package/dist/types/store/cancelActiveManipulations.d.ts.map +0 -1
- package/dist/types/store/filterMoveableAnnotationTools.d.ts +0 -4
- package/dist/types/store/filterMoveableAnnotationTools.d.ts.map +0 -1
- package/dist/types/store/filterToolsWithAnnotationsForElement.d.ts +0 -4
- package/dist/types/store/filterToolsWithAnnotationsForElement.d.ts.map +0 -1
- package/dist/types/store/filterToolsWithMoveableHandles.d.ts +0 -4
- package/dist/types/store/filterToolsWithMoveableHandles.d.ts.map +0 -1
- package/dist/types/store/index.d.ts +0 -11
- package/dist/types/store/index.d.ts.map +0 -1
- package/dist/types/store/removeEnabledElement.d.ts +0 -4
- package/dist/types/store/removeEnabledElement.d.ts.map +0 -1
- package/dist/types/store/state.d.ts +0 -18
- package/dist/types/store/state.d.ts.map +0 -1
- package/dist/types/store/svgNodeCache.d.ts +0 -4
- package/dist/types/store/svgNodeCache.d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/areViewportsCoplanar .d.ts +0 -3
- package/dist/types/synchronizers/callbacks/areViewportsCoplanar .d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/cameraSyncCallback.d.ts +0 -4
- package/dist/types/synchronizers/callbacks/cameraSyncCallback.d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/imageSliceSyncCallback.d.ts +0 -4
- package/dist/types/synchronizers/callbacks/imageSliceSyncCallback.d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/presentationViewSyncCallback.d.ts +0 -3
- package/dist/types/synchronizers/callbacks/presentationViewSyncCallback.d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/slabThicknessSyncCallback.d.ts +0 -3
- package/dist/types/synchronizers/callbacks/slabThicknessSyncCallback.d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/voiSyncCallback.d.ts +0 -3
- package/dist/types/synchronizers/callbacks/voiSyncCallback.d.ts.map +0 -1
- package/dist/types/synchronizers/callbacks/zoomPanSyncCallback.d.ts +0 -4
- package/dist/types/synchronizers/callbacks/zoomPanSyncCallback.d.ts.map +0 -1
- package/dist/types/synchronizers/index.d.ts +0 -9
- package/dist/types/synchronizers/index.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts +0 -3
- package/dist/types/synchronizers/synchronizers/createCameraPositionSynchronizer.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/createImageSliceSynchronizer.d.ts +0 -3
- package/dist/types/synchronizers/synchronizers/createImageSliceSynchronizer.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/createPresentationViewSynchronizer.d.ts +0 -4
- package/dist/types/synchronizers/synchronizers/createPresentationViewSynchronizer.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/createSlabThicknessSynchronizer.d.ts +0 -3
- package/dist/types/synchronizers/synchronizers/createSlabThicknessSynchronizer.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/createVOISynchronizer.d.ts +0 -8
- package/dist/types/synchronizers/synchronizers/createVOISynchronizer.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts +0 -3
- package/dist/types/synchronizers/synchronizers/createZoomPanSynchronizer.d.ts.map +0 -1
- package/dist/types/synchronizers/synchronizers/index.d.ts +0 -8
- package/dist/types/synchronizers/synchronizers/index.d.ts.map +0 -1
- package/dist/types/tools/AdvancedMagnifyTool.d.ts +0 -42
- package/dist/types/tools/AdvancedMagnifyTool.d.ts.map +0 -1
- package/dist/types/tools/AdvancedMagnifyViewport.d.ts +0 -77
- package/dist/types/tools/AdvancedMagnifyViewport.d.ts.map +0 -1
- package/dist/types/tools/AdvancedMagnifyViewportManager.d.ts +0 -38
- package/dist/types/tools/AdvancedMagnifyViewportManager.d.ts.map +0 -1
- package/dist/types/tools/AnnotationEraserTool.d.ts +0 -11
- package/dist/types/tools/AnnotationEraserTool.d.ts.map +0 -1
- package/dist/types/tools/CrosshairsTool.d.ts +0 -74
- package/dist/types/tools/CrosshairsTool.d.ts.map +0 -1
- package/dist/types/tools/MIPJumpToClickTool.d.ts +0 -10
- package/dist/types/tools/MIPJumpToClickTool.d.ts.map +0 -1
- package/dist/types/tools/MagnifyTool.d.ts +0 -27
- package/dist/types/tools/MagnifyTool.d.ts.map +0 -1
- package/dist/types/tools/OrientationMarkerTool.d.ts +0 -95
- package/dist/types/tools/OrientationMarkerTool.d.ts.map +0 -1
- package/dist/types/tools/OverlayGridTool.d.ts +0 -32
- package/dist/types/tools/OverlayGridTool.d.ts.map +0 -1
- package/dist/types/tools/PanTool.d.ts +0 -11
- package/dist/types/tools/PanTool.d.ts.map +0 -1
- package/dist/types/tools/PlanarRotateTool.d.ts +0 -11
- package/dist/types/tools/PlanarRotateTool.d.ts.map +0 -1
- package/dist/types/tools/ReferenceCursors.d.ts +0 -28
- package/dist/types/tools/ReferenceCursors.d.ts.map +0 -1
- package/dist/types/tools/ReferenceLinesTool.d.ts +0 -30
- package/dist/types/tools/ReferenceLinesTool.d.ts.map +0 -1
- package/dist/types/tools/ScaleOverlayTool.d.ts +0 -41
- package/dist/types/tools/ScaleOverlayTool.d.ts.map +0 -1
- package/dist/types/tools/SculptorTool/CircleSculptCursor.d.ts +0 -21
- package/dist/types/tools/SculptorTool/CircleSculptCursor.d.ts.map +0 -1
- package/dist/types/tools/SculptorTool.d.ts +0 -42
- package/dist/types/tools/SculptorTool.d.ts.map +0 -1
- package/dist/types/tools/SegmentationIntersectionTool.d.ts +0 -19
- package/dist/types/tools/SegmentationIntersectionTool.d.ts.map +0 -1
- package/dist/types/tools/StackScrollTool.d.ts +0 -13
- package/dist/types/tools/StackScrollTool.d.ts.map +0 -1
- package/dist/types/tools/StackScrollToolMouseWheelTool.d.ts +0 -18
- package/dist/types/tools/StackScrollToolMouseWheelTool.d.ts.map +0 -1
- package/dist/types/tools/TrackballRotateTool.d.ts +0 -20
- package/dist/types/tools/TrackballRotateTool.d.ts.map +0 -1
- package/dist/types/tools/VolumeRotateMouseWheelTool.d.ts +0 -11
- package/dist/types/tools/VolumeRotateMouseWheelTool.d.ts.map +0 -1
- package/dist/types/tools/WindowLevelRegionTool.d.ts +0 -27
- package/dist/types/tools/WindowLevelRegionTool.d.ts.map +0 -1
- package/dist/types/tools/WindowLevelTool.d.ts +0 -38
- package/dist/types/tools/WindowLevelTool.d.ts.map +0 -1
- package/dist/types/tools/ZoomTool.d.ts +0 -20
- package/dist/types/tools/ZoomTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/AngleTool.d.ts +0 -37
- package/dist/types/tools/annotation/AngleTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/ArrowAnnotateTool.d.ts +0 -39
- package/dist/types/tools/annotation/ArrowAnnotateTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/BidirectionalTool.d.ts +0 -43
- package/dist/types/tools/annotation/BidirectionalTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/CircleROITool.d.ts +0 -39
- package/dist/types/tools/annotation/CircleROITool.d.ts.map +0 -1
- package/dist/types/tools/annotation/CobbAngleTool.d.ts +0 -64
- package/dist/types/tools/annotation/CobbAngleTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/DragProbeTool.d.ts +0 -26
- package/dist/types/tools/annotation/DragProbeTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/EllipticalROITool.d.ts +0 -45
- package/dist/types/tools/annotation/EllipticalROITool.d.ts.map +0 -1
- package/dist/types/tools/annotation/KeyImageTool.d.ts +0 -35
- package/dist/types/tools/annotation/KeyImageTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/LengthTool.d.ts +0 -38
- package/dist/types/tools/annotation/LengthTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/LivewireContourSegmentationTool.d.ts +0 -11
- package/dist/types/tools/annotation/LivewireContourSegmentationTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/LivewireContourTool.d.ts +0 -64
- package/dist/types/tools/annotation/LivewireContourTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/PlanarFreehandContourSegmentationTool.d.ts +0 -11
- package/dist/types/tools/annotation/PlanarFreehandContourSegmentationTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/PlanarFreehandROITool.d.ts +0 -43
- package/dist/types/tools/annotation/PlanarFreehandROITool.d.ts.map +0 -1
- package/dist/types/tools/annotation/ProbeTool.d.ts +0 -35
- package/dist/types/tools/annotation/ProbeTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/RectangleROITool.d.ts +0 -41
- package/dist/types/tools/annotation/RectangleROITool.d.ts.map +0 -1
- package/dist/types/tools/annotation/SplineContourSegmentationTool.d.ts +0 -9
- package/dist/types/tools/annotation/SplineContourSegmentationTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/SplineROITool.d.ts +0 -72
- package/dist/types/tools/annotation/SplineROITool.d.ts.map +0 -1
- package/dist/types/tools/annotation/UltrasoundDirectionalTool.d.ts +0 -37
- package/dist/types/tools/annotation/UltrasoundDirectionalTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/VideoRedactionTool.d.ts +0 -47
- package/dist/types/tools/annotation/VideoRedactionTool.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts +0 -3
- package/dist/types/tools/annotation/planarFreehandROITool/closedContourEditLoop.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/drawLoop.d.ts +0 -3
- package/dist/types/tools/annotation/planarFreehandROITool/drawLoop.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts +0 -3
- package/dist/types/tools/annotation/planarFreehandROITool/editLoopCommon.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts +0 -5
- package/dist/types/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts +0 -3
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEditLoop.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts +0 -3
- package/dist/types/tools/annotation/planarFreehandROITool/openContourEndEditLoop.d.ts.map +0 -1
- package/dist/types/tools/annotation/planarFreehandROITool/renderMethods.d.ts +0 -3
- package/dist/types/tools/annotation/planarFreehandROITool/renderMethods.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/BSpline.d.ts +0 -6
- package/dist/types/tools/annotation/splines/BSpline.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/CardinalSpline.d.ts +0 -13
- package/dist/types/tools/annotation/splines/CardinalSpline.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/CatmullRomSpline.d.ts +0 -6
- package/dist/types/tools/annotation/splines/CatmullRomSpline.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/CubicSpline.d.ts +0 -14
- package/dist/types/tools/annotation/splines/CubicSpline.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/LinearSpline.d.ts +0 -6
- package/dist/types/tools/annotation/splines/LinearSpline.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/QuadraticBezier.d.ts +0 -7
- package/dist/types/tools/annotation/splines/QuadraticBezier.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/QuadraticSpline.d.ts +0 -10
- package/dist/types/tools/annotation/splines/QuadraticSpline.d.ts.map +0 -1
- package/dist/types/tools/annotation/splines/Spline.d.ts +0 -52
- package/dist/types/tools/annotation/splines/Spline.d.ts.map +0 -1
- package/dist/types/tools/base/AnnotationDisplayTool.d.ts +0 -14
- package/dist/types/tools/base/AnnotationDisplayTool.d.ts.map +0 -1
- package/dist/types/tools/base/AnnotationTool.d.ts +0 -38
- package/dist/types/tools/base/AnnotationTool.d.ts.map +0 -1
- package/dist/types/tools/base/BaseTool.d.ts +0 -34
- package/dist/types/tools/base/BaseTool.d.ts.map +0 -1
- package/dist/types/tools/base/ContourBaseTool.d.ts +0 -24
- package/dist/types/tools/base/ContourBaseTool.d.ts.map +0 -1
- package/dist/types/tools/base/ContourSegmentationBaseTool.d.ts +0 -19
- package/dist/types/tools/base/ContourSegmentationBaseTool.d.ts.map +0 -1
- package/dist/types/tools/base/index.d.ts +0 -5
- package/dist/types/tools/base/index.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/contourConfig.d.ts +0 -4
- package/dist/types/tools/displayTools/Contour/contourConfig.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/contourDisplay.d.ts +0 -10
- package/dist/types/tools/displayTools/Contour/contourDisplay.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/contourHandler/contourConfigCache.d.ts +0 -10
- package/dist/types/tools/displayTools/Contour/contourHandler/contourConfigCache.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/contourHandler/handleContourSegmentation.d.ts +0 -7
- package/dist/types/tools/displayTools/Contour/contourHandler/handleContourSegmentation.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/contourHandler/utils.d.ts +0 -7
- package/dist/types/tools/displayTools/Contour/contourHandler/utils.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/index.d.ts +0 -3
- package/dist/types/tools/displayTools/Contour/index.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Contour/removeContourFromElement.d.ts +0 -3
- package/dist/types/tools/displayTools/Contour/removeContourFromElement.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Labelmap/addLabelmapToElement.d.ts +0 -4
- package/dist/types/tools/displayTools/Labelmap/addLabelmapToElement.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Labelmap/index.d.ts +0 -5
- package/dist/types/tools/displayTools/Labelmap/index.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Labelmap/labelmapConfig.d.ts +0 -6
- package/dist/types/tools/displayTools/Labelmap/labelmapConfig.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Labelmap/labelmapDisplay.d.ts +0 -18
- package/dist/types/tools/displayTools/Labelmap/labelmapDisplay.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts +0 -3
- package/dist/types/tools/displayTools/Labelmap/removeLabelmapFromElement.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Labelmap/validateLabelmap.d.ts +0 -5
- package/dist/types/tools/displayTools/Labelmap/validateLabelmap.d.ts.map +0 -1
- package/dist/types/tools/displayTools/SegmentationDisplayTool.d.ts +0 -14
- package/dist/types/tools/displayTools/SegmentationDisplayTool.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Surface/addOrUpdateSurfaceToElement.d.ts +0 -4
- package/dist/types/tools/displayTools/Surface/addOrUpdateSurfaceToElement.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Surface/index.d.ts +0 -3
- package/dist/types/tools/displayTools/Surface/index.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Surface/removeSurfaceFromElement.d.ts +0 -3
- package/dist/types/tools/displayTools/Surface/removeSurfaceFromElement.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Surface/surfaceConfig.d.ts +0 -4
- package/dist/types/tools/displayTools/Surface/surfaceConfig.d.ts.map +0 -1
- package/dist/types/tools/displayTools/Surface/surfaceDisplay.d.ts +0 -11
- package/dist/types/tools/displayTools/Surface/surfaceDisplay.d.ts.map +0 -1
- package/dist/types/tools/distancePointToContour.d.ts +0 -4
- package/dist/types/tools/distancePointToContour.d.ts.map +0 -1
- package/dist/types/tools/index.d.ts +0 -53
- package/dist/types/tools/index.d.ts.map +0 -1
- package/dist/types/tools/segmentation/BrushTool.d.ts +0 -83
- package/dist/types/tools/segmentation/BrushTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/CircleROIStartEndThresholdTool.d.ts +0 -64
- package/dist/types/tools/segmentation/CircleROIStartEndThresholdTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/CircleScissorsTool.d.ts +0 -33
- package/dist/types/tools/segmentation/CircleScissorsTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/PaintFillTool.d.ts +0 -14
- package/dist/types/tools/segmentation/PaintFillTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts +0 -60
- package/dist/types/tools/segmentation/RectangleROIStartEndThresholdTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/RectangleROIThresholdTool.d.ts +0 -46
- package/dist/types/tools/segmentation/RectangleROIThresholdTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/RectangleScissorsTool.d.ts +0 -33
- package/dist/types/tools/segmentation/RectangleScissorsTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/SegmentSelectTool.d.ts +0 -20
- package/dist/types/tools/segmentation/SegmentSelectTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/SphereScissorsTool.d.ts +0 -34
- package/dist/types/tools/segmentation/SphereScissorsTool.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/BrushStrategy.d.ts +0 -93
- package/dist/types/tools/segmentation/strategies/BrushStrategy.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/determineSegmentIndex.d.ts +0 -7
- package/dist/types/tools/segmentation/strategies/compositions/determineSegmentIndex.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/dynamicThreshold.d.ts +0 -8
- package/dist/types/tools/segmentation/strategies/compositions/dynamicThreshold.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/erase.d.ts +0 -6
- package/dist/types/tools/segmentation/strategies/compositions/erase.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/index.d.ts +0 -37
- package/dist/types/tools/segmentation/strategies/compositions/index.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/islandRemoval.d.ts +0 -6
- package/dist/types/tools/segmentation/strategies/compositions/islandRemoval.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/preview.d.ts +0 -9
- package/dist/types/tools/segmentation/strategies/compositions/preview.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/regionFill.d.ts +0 -6
- package/dist/types/tools/segmentation/strategies/compositions/regionFill.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/setValue.d.ts +0 -9
- package/dist/types/tools/segmentation/strategies/compositions/setValue.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/compositions/threshold.d.ts +0 -6
- package/dist/types/tools/segmentation/strategies/compositions/threshold.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/eraseCircle.d.ts +0 -3
- package/dist/types/tools/segmentation/strategies/eraseCircle.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/eraseRectangle.d.ts +0 -9
- package/dist/types/tools/segmentation/strategies/eraseRectangle.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/eraseSphere.d.ts +0 -3
- package/dist/types/tools/segmentation/strategies/eraseSphere.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/fillCircle.d.ts +0 -15
- package/dist/types/tools/segmentation/strategies/fillCircle.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/fillRectangle.d.ts +0 -9
- package/dist/types/tools/segmentation/strategies/fillRectangle.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/fillSphere.d.ts +0 -7
- package/dist/types/tools/segmentation/strategies/fillSphere.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/index.d.ts +0 -4
- package/dist/types/tools/segmentation/strategies/index.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/utils/getStrategyData.d.ts +0 -12
- package/dist/types/tools/segmentation/strategies/utils/getStrategyData.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/utils/isWithinThreshold.d.ts +0 -4
- package/dist/types/tools/segmentation/strategies/utils/isWithinThreshold.d.ts.map +0 -1
- package/dist/types/tools/segmentation/strategies/utils/stackVolumeCheck.d.ts +0 -6
- package/dist/types/tools/segmentation/strategies/utils/stackVolumeCheck.d.ts.map +0 -1
- package/dist/types/types/AnnotationGroupSelector.d.ts +0 -3
- package/dist/types/types/AnnotationGroupSelector.d.ts.map +0 -1
- package/dist/types/types/AnnotationRenderContext.d.ts +0 -12
- package/dist/types/types/AnnotationRenderContext.d.ts.map +0 -1
- package/dist/types/types/AnnotationStyle.d.ts +0 -31
- package/dist/types/types/AnnotationStyle.d.ts.map +0 -1
- package/dist/types/types/AnnotationTypes.d.ts +0 -44
- package/dist/types/types/AnnotationTypes.d.ts.map +0 -1
- package/dist/types/types/BoundsIJK.d.ts +0 -4
- package/dist/types/types/BoundsIJK.d.ts.map +0 -1
- package/dist/types/types/CINETypes.d.ts +0 -30
- package/dist/types/types/CINETypes.d.ts.map +0 -1
- package/dist/types/types/CalculatorTypes.d.ts +0 -37
- package/dist/types/types/CalculatorTypes.d.ts.map +0 -1
- package/dist/types/types/CardinalSplineProps.d.ts +0 -6
- package/dist/types/types/CardinalSplineProps.d.ts.map +0 -1
- package/dist/types/types/ClosestControlPoint.d.ts +0 -5
- package/dist/types/types/ClosestControlPoint.d.ts.map +0 -1
- package/dist/types/types/ClosestPoint.d.ts +0 -6
- package/dist/types/types/ClosestPoint.d.ts.map +0 -1
- package/dist/types/types/ClosestSplinePoint.d.ts +0 -5
- package/dist/types/types/ClosestSplinePoint.d.ts.map +0 -1
- package/dist/types/types/ContourAnnotation.d.ts +0 -19
- package/dist/types/types/ContourAnnotation.d.ts.map +0 -1
- package/dist/types/types/ContourSegmentationAnnotation.d.ts +0 -25
- package/dist/types/types/ContourSegmentationAnnotation.d.ts.map +0 -1
- package/dist/types/types/ContourTypes.d.ts +0 -22
- package/dist/types/types/ContourTypes.d.ts.map +0 -1
- package/dist/types/types/ControlPointInfo.d.ts +0 -6
- package/dist/types/types/ControlPointInfo.d.ts.map +0 -1
- package/dist/types/types/CursorTypes.d.ts +0 -12
- package/dist/types/types/CursorTypes.d.ts.map +0 -1
- package/dist/types/types/EventTypes.d.ts +0 -237
- package/dist/types/types/EventTypes.d.ts.map +0 -1
- package/dist/types/types/FloodFillTypes.d.ts +0 -16
- package/dist/types/types/FloodFillTypes.d.ts.map +0 -1
- package/dist/types/types/IAnnotationManager.d.ts +0 -15
- package/dist/types/types/IAnnotationManager.d.ts.map +0 -1
- package/dist/types/types/IDistance.d.ts +0 -8
- package/dist/types/types/IDistance.d.ts.map +0 -1
- package/dist/types/types/IPoints.d.ts +0 -9
- package/dist/types/types/IPoints.d.ts.map +0 -1
- package/dist/types/types/ISculptToolShape.d.ts +0 -13
- package/dist/types/types/ISculptToolShape.d.ts.map +0 -1
- package/dist/types/types/ISetToolModeOptions.d.ts +0 -17
- package/dist/types/types/ISetToolModeOptions.d.ts.map +0 -1
- package/dist/types/types/ISpline.d.ts +0 -31
- package/dist/types/types/ISpline.d.ts.map +0 -1
- package/dist/types/types/ISynchronizerEventHandler.d.ts +0 -6
- package/dist/types/types/ISynchronizerEventHandler.d.ts.map +0 -1
- package/dist/types/types/IToolClassReference.d.ts +0 -4
- package/dist/types/types/IToolClassReference.d.ts.map +0 -1
- package/dist/types/types/IToolGroup.d.ts +0 -64
- package/dist/types/types/IToolGroup.d.ts.map +0 -1
- package/dist/types/types/ITouchPoints.d.ts +0 -12
- package/dist/types/types/ITouchPoints.d.ts.map +0 -1
- package/dist/types/types/InteractionTypes.d.ts +0 -3
- package/dist/types/types/InteractionTypes.d.ts.map +0 -1
- package/dist/types/types/InternalToolTypes.d.ts +0 -16
- package/dist/types/types/InternalToolTypes.d.ts.map +0 -1
- package/dist/types/types/InterpolationTypes.d.ts +0 -21
- package/dist/types/types/InterpolationTypes.d.ts.map +0 -1
- package/dist/types/types/JumpToSliceOptions.d.ts +0 -7
- package/dist/types/types/JumpToSliceOptions.d.ts.map +0 -1
- package/dist/types/types/LabelmapToolOperationData.d.ts +0 -20
- package/dist/types/types/LabelmapToolOperationData.d.ts.map +0 -1
- package/dist/types/types/LabelmapTypes.d.ts +0 -31
- package/dist/types/types/LabelmapTypes.d.ts.map +0 -1
- package/dist/types/types/PlanarBoundingBox.d.ts +0 -8
- package/dist/types/types/PlanarBoundingBox.d.ts.map +0 -1
- package/dist/types/types/PolySeg.d.ts +0 -7
- package/dist/types/types/PolySeg.d.ts.map +0 -1
- package/dist/types/types/SVGDrawingHelper.d.ts +0 -10
- package/dist/types/types/SVGDrawingHelper.d.ts.map +0 -1
- package/dist/types/types/ScrollOptions.d.ts +0 -9
- package/dist/types/types/ScrollOptions.d.ts.map +0 -1
- package/dist/types/types/SegmentationStateTypes.d.ts +0 -97
- package/dist/types/types/SegmentationStateTypes.d.ts.map +0 -1
- package/dist/types/types/SplineCurveSegment.d.ts +0 -15
- package/dist/types/types/SplineCurveSegment.d.ts.map +0 -1
- package/dist/types/types/SplineLineSegment.d.ts +0 -11
- package/dist/types/types/SplineLineSegment.d.ts.map +0 -1
- package/dist/types/types/SplineProps.d.ts +0 -6
- package/dist/types/types/SplineProps.d.ts.map +0 -1
- package/dist/types/types/SurfaceTypes.d.ts +0 -5
- package/dist/types/types/SurfaceTypes.d.ts.map +0 -1
- package/dist/types/types/ToolAction.d.ts +0 -9
- package/dist/types/types/ToolAction.d.ts.map +0 -1
- package/dist/types/types/ToolHandle.d.ts +0 -16
- package/dist/types/types/ToolHandle.d.ts.map +0 -1
- package/dist/types/types/ToolProps.d.ts +0 -14
- package/dist/types/types/ToolProps.d.ts.map +0 -1
- package/dist/types/types/ToolSpecificAnnotationTypes.d.ts +0 -442
- package/dist/types/types/ToolSpecificAnnotationTypes.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -50
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/utilities/BucketQueue.d.ts +0 -21
- package/dist/types/utilities/BucketQueue.d.ts.map +0 -1
- package/dist/types/utilities/annotationFrameRange.d.ts +0 -14
- package/dist/types/utilities/annotationFrameRange.d.ts.map +0 -1
- package/dist/types/utilities/annotationHydration.d.ts +0 -9
- package/dist/types/utilities/annotationHydration.d.ts.map +0 -1
- package/dist/types/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts +0 -4
- package/dist/types/utilities/boundingBox/extend2DBoundingBoxInViewAxis.d.ts.map +0 -1
- package/dist/types/utilities/boundingBox/getBoundingBoxAroundShape.d.ts +0 -6
- package/dist/types/utilities/boundingBox/getBoundingBoxAroundShape.d.ts.map +0 -1
- package/dist/types/utilities/boundingBox/index.d.ts +0 -4
- package/dist/types/utilities/boundingBox/index.d.ts.map +0 -1
- package/dist/types/utilities/calibrateImageSpacing.d.ts +0 -3
- package/dist/types/utilities/calibrateImageSpacing.d.ts.map +0 -1
- package/dist/types/utilities/cine/events.d.ts +0 -6
- package/dist/types/utilities/cine/events.d.ts.map +0 -1
- package/dist/types/utilities/cine/index.d.ts +0 -5
- package/dist/types/utilities/cine/index.d.ts.map +0 -1
- package/dist/types/utilities/cine/playClip.d.ts +0 -5
- package/dist/types/utilities/cine/playClip.d.ts.map +0 -1
- package/dist/types/utilities/cine/state.d.ts +0 -6
- package/dist/types/utilities/cine/state.d.ts.map +0 -1
- package/dist/types/utilities/clip.d.ts +0 -4
- package/dist/types/utilities/clip.d.ts.map +0 -1
- package/dist/types/utilities/contourSegmentation/addContourSegmentationAnnotation.d.ts +0 -3
- package/dist/types/utilities/contourSegmentation/addContourSegmentationAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/contourSegmentation/areSameSegment.d.ts +0 -3
- package/dist/types/utilities/contourSegmentation/areSameSegment.d.ts.map +0 -1
- package/dist/types/utilities/contourSegmentation/index.d.ts +0 -5
- package/dist/types/utilities/contourSegmentation/index.d.ts.map +0 -1
- package/dist/types/utilities/contourSegmentation/isContourSegmentationAnnotation.d.ts +0 -4
- package/dist/types/utilities/contourSegmentation/isContourSegmentationAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/contourSegmentation/removeContourSegmentationAnnotation.d.ts +0 -3
- package/dist/types/utilities/contourSegmentation/removeContourSegmentationAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/contours/AnnotationToPointData.d.ts +0 -12
- package/dist/types/utilities/contours/AnnotationToPointData.d.ts.map +0 -1
- package/dist/types/utilities/contours/RectangleROIStartEndThreshold.d.ts +0 -7
- package/dist/types/utilities/contours/RectangleROIStartEndThreshold.d.ts.map +0 -1
- package/dist/types/utilities/contours/areCoplanarContours.d.ts +0 -3
- package/dist/types/utilities/contours/areCoplanarContours.d.ts.map +0 -1
- package/dist/types/utilities/contours/calculatePerimeter.d.ts +0 -3
- package/dist/types/utilities/contours/calculatePerimeter.d.ts.map +0 -1
- package/dist/types/utilities/contours/contourFinder.d.ts +0 -8
- package/dist/types/utilities/contours/contourFinder.d.ts.map +0 -1
- package/dist/types/utilities/contours/detectContourHoles.d.ts +0 -6
- package/dist/types/utilities/contours/detectContourHoles.d.ts.map +0 -1
- package/dist/types/utilities/contours/findHandlePolylineIndex.d.ts +0 -3
- package/dist/types/utilities/contours/findHandlePolylineIndex.d.ts.map +0 -1
- package/dist/types/utilities/contours/generateContourSetsFromLabelmap.d.ts +0 -5
- package/dist/types/utilities/contours/generateContourSetsFromLabelmap.d.ts.map +0 -1
- package/dist/types/utilities/contours/getContourHolesDataCanvas.d.ts +0 -4
- package/dist/types/utilities/contours/getContourHolesDataCanvas.d.ts.map +0 -1
- package/dist/types/utilities/contours/getContourHolesDataWorld.d.ts +0 -4
- package/dist/types/utilities/contours/getContourHolesDataWorld.d.ts.map +0 -1
- package/dist/types/utilities/contours/getDeduplicatedVTKPolyDataPoints.d.ts +0 -12
- package/dist/types/utilities/contours/getDeduplicatedVTKPolyDataPoints.d.ts.map +0 -1
- package/dist/types/utilities/contours/index.d.ts +0 -15
- package/dist/types/utilities/contours/index.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/acceptAutogeneratedInterpolations.d.ts +0 -4
- package/dist/types/utilities/contours/interpolation/acceptAutogeneratedInterpolations.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/createPolylineToolData.d.ts +0 -3
- package/dist/types/utilities/contours/interpolation/createPolylineToolData.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/findAnnotationForInterpolation.d.ts +0 -8
- package/dist/types/utilities/contours/interpolation/findAnnotationForInterpolation.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/getInterpolationData.d.ts +0 -8
- package/dist/types/utilities/contours/interpolation/getInterpolationData.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/getInterpolationDataCollection.d.ts +0 -5
- package/dist/types/utilities/contours/interpolation/getInterpolationDataCollection.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/index.d.ts +0 -3
- package/dist/types/utilities/contours/interpolation/index.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/interpolate.d.ts +0 -12
- package/dist/types/utilities/contours/interpolation/interpolate.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/selectHandles.d.ts +0 -5
- package/dist/types/utilities/contours/interpolation/selectHandles.d.ts.map +0 -1
- package/dist/types/utilities/contours/interpolation/updateChildInterpolationUID.d.ts +0 -3
- package/dist/types/utilities/contours/interpolation/updateChildInterpolationUID.d.ts.map +0 -1
- package/dist/types/utilities/contours/reverseIfAntiClockwise.d.ts +0 -3
- package/dist/types/utilities/contours/reverseIfAntiClockwise.d.ts.map +0 -1
- package/dist/types/utilities/contours/updateContourPolyline.d.ts +0 -17
- package/dist/types/utilities/contours/updateContourPolyline.d.ts.map +0 -1
- package/dist/types/utilities/debounce.d.ts +0 -7
- package/dist/types/utilities/debounce.d.ts.map +0 -1
- package/dist/types/utilities/drawing/getTextBoxCoordsCanvas.d.ts +0 -3
- package/dist/types/utilities/drawing/getTextBoxCoordsCanvas.d.ts.map +0 -1
- package/dist/types/utilities/drawing/index.d.ts +0 -3
- package/dist/types/utilities/drawing/index.d.ts.map +0 -1
- package/dist/types/utilities/dynamicVolume/generateImageFromTimeData.d.ts +0 -4
- package/dist/types/utilities/dynamicVolume/generateImageFromTimeData.d.ts.map +0 -1
- package/dist/types/utilities/dynamicVolume/getDataInTime.d.ts +0 -8
- package/dist/types/utilities/dynamicVolume/getDataInTime.d.ts.map +0 -1
- package/dist/types/utilities/dynamicVolume/index.d.ts +0 -5
- package/dist/types/utilities/dynamicVolume/index.d.ts.map +0 -1
- package/dist/types/utilities/getAnnotationNearPoint.d.ts +0 -6
- package/dist/types/utilities/getAnnotationNearPoint.d.ts.map +0 -1
- package/dist/types/utilities/getCalibratedUnits.d.ts +0 -17
- package/dist/types/utilities/getCalibratedUnits.d.ts.map +0 -1
- package/dist/types/utilities/getModalityUnit.d.ts +0 -7
- package/dist/types/utilities/getModalityUnit.d.ts.map +0 -1
- package/dist/types/utilities/getSphereBoundsInfo.d.ts +0 -12
- package/dist/types/utilities/getSphereBoundsInfo.d.ts.map +0 -1
- package/dist/types/utilities/getToolsWithModesForElement.d.ts +0 -5
- package/dist/types/utilities/getToolsWithModesForElement.d.ts.map +0 -1
- package/dist/types/utilities/getVOIMultipliers.d.ts +0 -6
- package/dist/types/utilities/getVOIMultipliers.d.ts.map +0 -1
- package/dist/types/utilities/getViewportForAnnotation.d.ts +0 -4
- package/dist/types/utilities/getViewportForAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/getViewportsForAnnotation.d.ts +0 -4
- package/dist/types/utilities/getViewportsForAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/index.d.ts +0 -42
- package/dist/types/utilities/index.d.ts.map +0 -1
- package/dist/types/utilities/isObject.d.ts +0 -3
- package/dist/types/utilities/isObject.d.ts.map +0 -1
- package/dist/types/utilities/livewire/LiveWirePath.d.ts +0 -20
- package/dist/types/utilities/livewire/LiveWirePath.d.ts.map +0 -1
- package/dist/types/utilities/livewire/LivewireScissors.d.ts +0 -39
- package/dist/types/utilities/livewire/LivewireScissors.d.ts.map +0 -1
- package/dist/types/utilities/math/aabb/distanceToPoint.d.ts +0 -3
- package/dist/types/utilities/math/aabb/distanceToPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/aabb/distanceToPointSquared.d.ts +0 -3
- package/dist/types/utilities/math/aabb/distanceToPointSquared.d.ts.map +0 -1
- package/dist/types/utilities/math/aabb/index.d.ts +0 -4
- package/dist/types/utilities/math/aabb/index.d.ts.map +0 -1
- package/dist/types/utilities/math/aabb/intersectAABB.d.ts +0 -3
- package/dist/types/utilities/math/aabb/intersectAABB.d.ts.map +0 -1
- package/dist/types/utilities/math/angle/angleBetweenLines.d.ts +0 -7
- package/dist/types/utilities/math/angle/angleBetweenLines.d.ts.map +0 -1
- package/dist/types/utilities/math/basic/BasicStatsCalculator.d.ts +0 -22
- package/dist/types/utilities/math/basic/BasicStatsCalculator.d.ts.map +0 -1
- package/dist/types/utilities/math/basic/Calculator.d.ts +0 -9
- package/dist/types/utilities/math/basic/Calculator.d.ts.map +0 -1
- package/dist/types/utilities/math/basic/index.d.ts +0 -4
- package/dist/types/utilities/math/basic/index.d.ts.map +0 -1
- package/dist/types/utilities/math/circle/_types.d.ts +0 -6
- package/dist/types/utilities/math/circle/_types.d.ts.map +0 -1
- package/dist/types/utilities/math/circle/getCanvasCircleCorners.d.ts +0 -4
- package/dist/types/utilities/math/circle/getCanvasCircleCorners.d.ts.map +0 -1
- package/dist/types/utilities/math/circle/getCanvasCircleRadius.d.ts +0 -3
- package/dist/types/utilities/math/circle/getCanvasCircleRadius.d.ts.map +0 -1
- package/dist/types/utilities/math/circle/index.d.ts +0 -4
- package/dist/types/utilities/math/circle/index.d.ts.map +0 -1
- package/dist/types/utilities/math/ellipse/getCanvasEllipseCorners.d.ts +0 -9
- package/dist/types/utilities/math/ellipse/getCanvasEllipseCorners.d.ts.map +0 -1
- package/dist/types/utilities/math/ellipse/index.d.ts +0 -4
- package/dist/types/utilities/math/ellipse/index.d.ts.map +0 -1
- package/dist/types/utilities/math/ellipse/pointInEllipse.d.ts +0 -12
- package/dist/types/utilities/math/ellipse/pointInEllipse.d.ts.map +0 -1
- package/dist/types/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts +0 -10
- package/dist/types/utilities/math/ellipse/pointInEllipsoidWithConstraint.d.ts.map +0 -1
- package/dist/types/utilities/math/index.d.ts +0 -10
- package/dist/types/utilities/math/index.d.ts.map +0 -1
- package/dist/types/utilities/math/line/distanceToPoint.d.ts +0 -3
- package/dist/types/utilities/math/line/distanceToPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/line/distanceToPointSquared.d.ts +0 -3
- package/dist/types/utilities/math/line/distanceToPointSquared.d.ts.map +0 -1
- package/dist/types/utilities/math/line/distanceToPointSquaredInfo.d.ts +0 -6
- package/dist/types/utilities/math/line/distanceToPointSquaredInfo.d.ts.map +0 -1
- package/dist/types/utilities/math/line/index.d.ts +0 -7
- package/dist/types/utilities/math/line/index.d.ts.map +0 -1
- package/dist/types/utilities/math/line/intersectLine.d.ts +0 -3
- package/dist/types/utilities/math/line/intersectLine.d.ts.map +0 -1
- package/dist/types/utilities/math/line/isPointOnLineSegment.d.ts +0 -3
- package/dist/types/utilities/math/line/isPointOnLineSegment.d.ts.map +0 -1
- package/dist/types/utilities/math/midPoint.d.ts +0 -6
- package/dist/types/utilities/math/midPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/point/distanceToPoint.d.ts +0 -5
- package/dist/types/utilities/math/point/distanceToPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/point/distanceToPointSquared.d.ts +0 -5
- package/dist/types/utilities/math/point/distanceToPointSquared.d.ts.map +0 -1
- package/dist/types/utilities/math/point/index.d.ts +0 -4
- package/dist/types/utilities/math/point/index.d.ts.map +0 -1
- package/dist/types/utilities/math/point/mirror.d.ts +0 -3
- package/dist/types/utilities/math/point/mirror.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/addCanvasPointsToArray.d.ts +0 -5
- package/dist/types/utilities/math/polyline/addCanvasPointsToArray.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/areLineSegmentsIntersecting.d.ts +0 -3
- package/dist/types/utilities/math/polyline/areLineSegmentsIntersecting.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/combinePolyline.d.ts +0 -5
- package/dist/types/utilities/math/polyline/combinePolyline.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/containsPoint.d.ts +0 -6
- package/dist/types/utilities/math/polyline/containsPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/containsPoints.d.ts +0 -3
- package/dist/types/utilities/math/polyline/containsPoints.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/decimate.d.ts +0 -3
- package/dist/types/utilities/math/polyline/decimate.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getAABB.d.ts +0 -5
- package/dist/types/utilities/math/polyline/getAABB.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getArea.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getArea.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getClosestLineSegmentIntersection.d.ts +0 -6
- package/dist/types/utilities/math/polyline/getClosestLineSegmentIntersection.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getFirstLineSegmentIntersectionIndexes.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getFirstLineSegmentIntersectionIndexes.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getLineSegmentIntersectionsCoordinates.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getLineSegmentIntersectionsCoordinates.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getLineSegmentIntersectionsIndexes.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getLineSegmentIntersectionsIndexes.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getLinesIntersection.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getLinesIntersection.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getNormal2.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getNormal2.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getNormal3.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getNormal3.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getSignedArea.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getSignedArea.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts +0 -8
- package/dist/types/utilities/math/polyline/getSubPixelSpacingAndXYDirections.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/getWindingDirection.d.ts +0 -3
- package/dist/types/utilities/math/polyline/getWindingDirection.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/index.d.ts +0 -24
- package/dist/types/utilities/math/polyline/index.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/intersectPolyline.d.ts +0 -3
- package/dist/types/utilities/math/polyline/intersectPolyline.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/isClosed.d.ts +0 -3
- package/dist/types/utilities/math/polyline/isClosed.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/isPointInsidePolyline3D.d.ts +0 -5
- package/dist/types/utilities/math/polyline/isPointInsidePolyline3D.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts +0 -25
- package/dist/types/utilities/math/polyline/planarFreehandROIInternalTypes.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/pointCanProjectOnLine.d.ts +0 -4
- package/dist/types/utilities/math/polyline/pointCanProjectOnLine.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts +0 -4
- package/dist/types/utilities/math/polyline/pointsAreWithinCloseContourProximity.d.ts.map +0 -1
- package/dist/types/utilities/math/polyline/projectTo2D.d.ts +0 -6
- package/dist/types/utilities/math/polyline/projectTo2D.d.ts.map +0 -1
- package/dist/types/utilities/math/rectangle/distanceToPoint.d.ts +0 -3
- package/dist/types/utilities/math/rectangle/distanceToPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/rectangle/index.d.ts +0 -3
- package/dist/types/utilities/math/rectangle/index.d.ts.map +0 -1
- package/dist/types/utilities/math/sphere/index.d.ts +0 -3
- package/dist/types/utilities/math/sphere/index.d.ts.map +0 -1
- package/dist/types/utilities/math/sphere/pointInSphere.d.ts +0 -10
- package/dist/types/utilities/math/sphere/pointInSphere.d.ts.map +0 -1
- package/dist/types/utilities/math/vec2/findClosestPoint.d.ts +0 -3
- package/dist/types/utilities/math/vec2/findClosestPoint.d.ts.map +0 -1
- package/dist/types/utilities/math/vec2/index.d.ts +0 -4
- package/dist/types/utilities/math/vec2/index.d.ts.map +0 -1
- package/dist/types/utilities/math/vec2/liangBarksyClip.d.ts +0 -2
- package/dist/types/utilities/math/vec2/liangBarksyClip.d.ts.map +0 -1
- package/dist/types/utilities/math/vec3/interpolateVec3.d.ts +0 -3
- package/dist/types/utilities/math/vec3/interpolateVec3.d.ts.map +0 -1
- package/dist/types/utilities/orientation/getOrientationStringLPS.d.ts +0 -3
- package/dist/types/utilities/orientation/getOrientationStringLPS.d.ts.map +0 -1
- package/dist/types/utilities/orientation/index.d.ts +0 -4
- package/dist/types/utilities/orientation/index.d.ts.map +0 -1
- package/dist/types/utilities/orientation/invertOrientationStringLPS.d.ts +0 -2
- package/dist/types/utilities/orientation/invertOrientationStringLPS.d.ts.map +0 -1
- package/dist/types/utilities/planar/filterAnnotationsForDisplay.d.ts +0 -4
- package/dist/types/utilities/planar/filterAnnotationsForDisplay.d.ts.map +0 -1
- package/dist/types/utilities/planar/filterAnnotationsWithinSlice.d.ts +0 -4
- package/dist/types/utilities/planar/filterAnnotationsWithinSlice.d.ts.map +0 -1
- package/dist/types/utilities/planar/getPointInLineOfSightWithCriteria.d.ts +0 -3
- package/dist/types/utilities/planar/getPointInLineOfSightWithCriteria.d.ts.map +0 -1
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts +0 -6
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromCorners.d.ts.map +0 -1
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts +0 -6
- package/dist/types/utilities/planar/getWorldWidthAndHeightFromTwoPoints.d.ts.map +0 -1
- package/dist/types/utilities/planar/index.d.ts +0 -15
- package/dist/types/utilities/planar/index.d.ts.map +0 -1
- package/dist/types/utilities/planar/isPlaneIntersectingAABB.d.ts +0 -2
- package/dist/types/utilities/planar/isPlaneIntersectingAABB.d.ts.map +0 -1
- package/dist/types/utilities/planarFreehandROITool/index.d.ts +0 -7
- package/dist/types/utilities/planarFreehandROITool/index.d.ts.map +0 -1
- package/dist/types/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts +0 -3
- package/dist/types/utilities/planarFreehandROITool/interpolation/algorithms/bspline.d.ts.map +0 -1
- package/dist/types/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts +0 -3
- package/dist/types/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.d.ts.map +0 -1
- package/dist/types/utilities/planarFreehandROITool/smoothAnnotation.d.ts +0 -4
- package/dist/types/utilities/planarFreehandROITool/smoothAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/planarFreehandROITool/smoothPoints.d.ts +0 -4
- package/dist/types/utilities/planarFreehandROITool/smoothPoints.d.ts.map +0 -1
- package/dist/types/utilities/pointInShapeCallback.d.ts +0 -19
- package/dist/types/utilities/pointInShapeCallback.d.ts.map +0 -1
- package/dist/types/utilities/pointInSurroundingSphereCallback.d.ts +0 -5
- package/dist/types/utilities/pointInSurroundingSphereCallback.d.ts.map +0 -1
- package/dist/types/utilities/pointToString.d.ts +0 -2
- package/dist/types/utilities/pointToString.d.ts.map +0 -1
- package/dist/types/utilities/polyData/utils.d.ts +0 -6
- package/dist/types/utilities/polyData/utils.d.ts.map +0 -1
- package/dist/types/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts +0 -6
- package/dist/types/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.d.ts.map +0 -1
- package/dist/types/utilities/rectangleROITool/index.d.ts +0 -4
- package/dist/types/utilities/rectangleROITool/index.d.ts.map +0 -1
- package/dist/types/utilities/rectangleROITool/isAxisAlignedRectangle.d.ts +0 -3
- package/dist/types/utilities/rectangleROITool/isAxisAlignedRectangle.d.ts.map +0 -1
- package/dist/types/utilities/scroll.d.ts +0 -5
- package/dist/types/utilities/scroll.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/InterpolationManager/InterpolationManager.d.ts +0 -12
- package/dist/types/utilities/segmentation/InterpolationManager/InterpolationManager.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.d.ts +0 -3
- package/dist/types/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/brushSizeForToolGroup.d.ts +0 -3
- package/dist/types/utilities/segmentation/brushSizeForToolGroup.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/brushThresholdForToolGroup.d.ts +0 -4
- package/dist/types/utilities/segmentation/brushThresholdForToolGroup.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/contourAndFindLargestBidirectional.d.ts +0 -2
- package/dist/types/utilities/segmentation/contourAndFindLargestBidirectional.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/createBidirectionalToolData.d.ts +0 -15
- package/dist/types/utilities/segmentation/createBidirectionalToolData.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/createImageIdReferenceMap.d.ts +0 -3
- package/dist/types/utilities/segmentation/createImageIdReferenceMap.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/createLabelmapVolumeForViewport.d.ts +0 -19
- package/dist/types/utilities/segmentation/createLabelmapVolumeForViewport.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/createMergedLabelmapForIndex.d.ts +0 -4
- package/dist/types/utilities/segmentation/createMergedLabelmapForIndex.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/findLargestBidirectional.d.ts +0 -2
- package/dist/types/utilities/segmentation/findLargestBidirectional.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/floodFill.d.ts +0 -5
- package/dist/types/utilities/segmentation/floodFill.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/getDefaultRepresentationConfig.d.ts +0 -3
- package/dist/types/utilities/segmentation/getDefaultRepresentationConfig.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/getHoveredContourSegmentationAnnotation.d.ts +0 -2
- package/dist/types/utilities/segmentation/getHoveredContourSegmentationAnnotation.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/getSegmentAtLabelmapBorder.d.ts +0 -8
- package/dist/types/utilities/segmentation/getSegmentAtLabelmapBorder.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/getSegmentAtWorldPoint.d.ts +0 -12
- package/dist/types/utilities/segmentation/getSegmentAtWorldPoint.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/getUniqueSegmentIndices.d.ts +0 -5
- package/dist/types/utilities/segmentation/getUniqueSegmentIndices.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/index.d.ts +0 -23
- package/dist/types/utilities/segmentation/index.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/invalidateBrushCursor.d.ts +0 -2
- package/dist/types/utilities/segmentation/invalidateBrushCursor.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/isLineInSegment.d.ts +0 -10
- package/dist/types/utilities/segmentation/isLineInSegment.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/isValidRepresentationConfig.d.ts +0 -3
- package/dist/types/utilities/segmentation/isValidRepresentationConfig.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts +0 -21
- package/dist/types/utilities/segmentation/rectangleROIThresholdVolumeByRange.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/segmentContourAction.d.ts +0 -18
- package/dist/types/utilities/segmentation/segmentContourAction.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/thresholdSegmentationByRange.d.ts +0 -5
- package/dist/types/utilities/segmentation/thresholdSegmentationByRange.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/thresholdVolumeByRange.d.ts +0 -12
- package/dist/types/utilities/segmentation/thresholdVolumeByRange.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/triggerSegmentationRender.d.ts +0 -19
- package/dist/types/utilities/segmentation/triggerSegmentationRender.d.ts.map +0 -1
- package/dist/types/utilities/segmentation/utilities.d.ts +0 -13
- package/dist/types/utilities/segmentation/utilities.d.ts.map +0 -1
- package/dist/types/utilities/stackPrefetch/index.d.ts +0 -4
- package/dist/types/utilities/stackPrefetch/index.d.ts.map +0 -1
- package/dist/types/utilities/stackPrefetch/stackContextPrefetch.d.ts +0 -17
- package/dist/types/utilities/stackPrefetch/stackContextPrefetch.d.ts.map +0 -1
- package/dist/types/utilities/stackPrefetch/stackPrefetch.d.ts +0 -15
- package/dist/types/utilities/stackPrefetch/stackPrefetch.d.ts.map +0 -1
- package/dist/types/utilities/stackPrefetch/stackPrefetchUtils.d.ts +0 -15
- package/dist/types/utilities/stackPrefetch/stackPrefetchUtils.d.ts.map +0 -1
- package/dist/types/utilities/stackPrefetch/state.d.ts +0 -4
- package/dist/types/utilities/stackPrefetch/state.d.ts.map +0 -1
- package/dist/types/utilities/throttle.d.ts +0 -6
- package/dist/types/utilities/throttle.d.ts.map +0 -1
- package/dist/types/utilities/touch/index.d.ts +0 -11
- package/dist/types/utilities/touch/index.d.ts.map +0 -1
- package/dist/types/utilities/triggerAnnotationRender.d.ts +0 -23
- package/dist/types/utilities/triggerAnnotationRender.d.ts.map +0 -1
- package/dist/types/utilities/triggerAnnotationRenderForToolGroupIds.d.ts +0 -3
- package/dist/types/utilities/triggerAnnotationRenderForToolGroupIds.d.ts.map +0 -1
- package/dist/types/utilities/triggerAnnotationRenderForViewportIds.d.ts +0 -4
- package/dist/types/utilities/triggerAnnotationRenderForViewportIds.d.ts.map +0 -1
- package/dist/types/utilities/viewport/index.d.ts +0 -5
- package/dist/types/utilities/viewport/index.d.ts.map +0 -1
- package/dist/types/utilities/viewport/isViewportPreScaled.d.ts +0 -4
- package/dist/types/utilities/viewport/isViewportPreScaled.d.ts.map +0 -1
- package/dist/types/utilities/viewport/jumpToSlice.d.ts +0 -4
- package/dist/types/utilities/viewport/jumpToSlice.d.ts.map +0 -1
- package/dist/types/utilities/viewport/jumpToWorld.d.ts +0 -3
- package/dist/types/utilities/viewport/jumpToWorld.d.ts.map +0 -1
- package/dist/types/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts +0 -3
- package/dist/types/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.d.ts.map +0 -1
- package/dist/types/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts +0 -3
- package/dist/types/utilities/viewportFilters/filterViewportsWithParallelNormals.d.ts.map +0 -1
- package/dist/types/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts +0 -3
- package/dist/types/utilities/viewportFilters/filterViewportsWithSameOrientation.d.ts.map +0 -1
- package/dist/types/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts +0 -3
- package/dist/types/utilities/viewportFilters/filterViewportsWithToolEnabled.d.ts.map +0 -1
- package/dist/types/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts +0 -2
- package/dist/types/utilities/viewportFilters/getViewportIdsWithToolToRender.d.ts.map +0 -1
- package/dist/types/utilities/viewportFilters/index.d.ts +0 -6
- package/dist/types/utilities/viewportFilters/index.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/Colorbar.d.ts +0 -45
- package/dist/types/utilities/voi/colorbar/Colorbar.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/ColorbarCanvas.d.ts +0 -30
- package/dist/types/utilities/voi/colorbar/ColorbarCanvas.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/ColorbarTicks.d.ts +0 -47
- package/dist/types/utilities/voi/colorbar/ColorbarTicks.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/ViewportColorbar.d.ts +0 -25
- package/dist/types/utilities/voi/colorbar/ViewportColorbar.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/common/areColorbarRangesEqual.d.ts +0 -4
- package/dist/types/utilities/voi/colorbar/common/areColorbarRangesEqual.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/common/areColorbarSizesEqual.d.ts +0 -4
- package/dist/types/utilities/voi/colorbar/common/areColorbarSizesEqual.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/common/index.d.ts +0 -5
- package/dist/types/utilities/voi/colorbar/common/index.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/common/isColorbarSizeValid.d.ts +0 -4
- package/dist/types/utilities/voi/colorbar/common/isColorbarSizeValid.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/common/isRangeTextPositionValid.d.ts +0 -4
- package/dist/types/utilities/voi/colorbar/common/isRangeTextPositionValid.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/common/isRangeValid.d.ts +0 -4
- package/dist/types/utilities/voi/colorbar/common/isRangeValid.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.d.ts +0 -7
- package/dist/types/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/enums/index.d.ts +0 -2
- package/dist/types/utilities/voi/colorbar/enums/index.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/index.d.ts +0 -7
- package/dist/types/utilities/voi/colorbar/index.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarCanvasProps.d.ts +0 -13
- package/dist/types/utilities/voi/colorbar/types/ColorbarCanvasProps.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarCommonProps.d.ts +0 -12
- package/dist/types/utilities/voi/colorbar/types/ColorbarCommonProps.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarImageRange.d.ts +0 -5
- package/dist/types/utilities/voi/colorbar/types/ColorbarImageRange.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarProps.d.ts +0 -8
- package/dist/types/utilities/voi/colorbar/types/ColorbarProps.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarSize.d.ts +0 -5
- package/dist/types/utilities/voi/colorbar/types/ColorbarSize.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksProps.d.ts +0 -8
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksProps.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksStyle.d.ts +0 -9
- package/dist/types/utilities/voi/colorbar/types/ColorbarTicksStyle.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ColorbarVOIRange.d.ts +0 -3
- package/dist/types/utilities/voi/colorbar/types/ColorbarVOIRange.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/ViewportColorbarProps.d.ts +0 -6
- package/dist/types/utilities/voi/colorbar/types/ViewportColorbarProps.d.ts.map +0 -1
- package/dist/types/utilities/voi/colorbar/types/index.d.ts +0 -9
- package/dist/types/utilities/voi/colorbar/types/index.d.ts.map +0 -1
- package/dist/types/utilities/voi/index.d.ts +0 -4
- package/dist/types/utilities/voi/index.d.ts.map +0 -1
- package/dist/types/utilities/voi/windowlevel/calculateMinMaxMean.d.ts +0 -7
- package/dist/types/utilities/voi/windowlevel/calculateMinMaxMean.d.ts.map +0 -1
- package/dist/types/utilities/voi/windowlevel/extractWindowLevelRegionToolData.d.ts +0 -12
- package/dist/types/utilities/voi/windowlevel/extractWindowLevelRegionToolData.d.ts.map +0 -1
- package/dist/types/utilities/voi/windowlevel/getLuminanceFromRegion.d.ts +0 -3
- package/dist/types/utilities/voi/windowlevel/getLuminanceFromRegion.d.ts.map +0 -1
- package/dist/types/utilities/voi/windowlevel/index.d.ts +0 -5
- package/dist/types/utilities/voi/windowlevel/index.d.ts.map +0 -1
- package/dist/types/widgets/Widget.d.ts +0 -18
- package/dist/types/widgets/Widget.d.ts.map +0 -1
- package/dist/types/widgets/types/WidgetProps.d.ts +0 -5
- package/dist/types/widgets/types/WidgetProps.d.ts.map +0 -1
- package/dist/types/widgets/types/WidgetSize.d.ts +0 -5
- package/dist/types/widgets/types/WidgetSize.d.ts.map +0 -1
- package/dist/types/widgets/types/index.d.ts +0 -3
- package/dist/types/widgets/types/index.d.ts.map +0 -1
- package/dist/types/workers/polySegConverters.d.ts +0 -2
- package/dist/types/workers/polySegConverters.d.ts.map +0 -1
- package/dist/umd/17dd54813d5acc10bf8f.wasm +0 -0
- package/dist/umd/78.index.js +0 -3
- package/dist/umd/78.index.js.LICENSE.txt +0 -5
- package/dist/umd/78.index.js.map +0 -1
- package/dist/umd/985.index.js +0 -2
- package/dist/umd/985.index.js.map +0 -1
- package/dist/umd/index.js +0 -2
- package/dist/umd/index.js.map +0 -1
- package/src/constants/COLOR_LUT.ts +0 -262
- package/src/constants/index.ts +0 -3
- package/src/cursors/ImageMouseCursor.ts +0 -39
- package/src/cursors/MouseCursor.ts +0 -114
- package/src/cursors/SVGCursorDescriptor.ts +0 -460
- package/src/cursors/SVGMouseCursor.ts +0 -145
- package/src/cursors/elementCursor.ts +0 -69
- package/src/cursors/index.ts +0 -24
- package/src/cursors/setCursorForElement.ts +0 -33
- package/src/drawingSvg/_getHash.ts +0 -9
- package/src/drawingSvg/clearByToolType.ts +0 -26
- package/src/drawingSvg/draw.ts +0 -16
- package/src/drawingSvg/drawArrow.ts +0 -82
- package/src/drawingSvg/drawCircle.ts +0 -76
- package/src/drawingSvg/drawEllipse.ts +0 -31
- package/src/drawingSvg/drawEllipseByCoordinates.ts +0 -73
- package/src/drawingSvg/drawHandle.ts +0 -88
- package/src/drawingSvg/drawHandles.ts +0 -25
- package/src/drawingSvg/drawLine.ts +0 -70
- package/src/drawingSvg/drawLink.ts +0 -76
- package/src/drawingSvg/drawLinkedTextBox.ts +0 -64
- package/src/drawingSvg/drawPath.ts +0 -98
- package/src/drawingSvg/drawPolyline.ts +0 -82
- package/src/drawingSvg/drawRect.ts +0 -31
- package/src/drawingSvg/drawRectByCoordinates.ts +0 -87
- package/src/drawingSvg/drawRedactionRect.ts +0 -62
- package/src/drawingSvg/drawTextBox.ts +0 -213
- package/src/drawingSvg/getSvgDrawingHelper.ts +0 -101
- package/src/drawingSvg/index.ts +0 -37
- package/src/drawingSvg/setAttributesIfNecessary.ts +0 -13
- package/src/drawingSvg/setNewAttributesIfValid.ts +0 -10
- package/src/enums/AnnotationStyleStates.ts +0 -25
- package/src/enums/ChangeTypes.ts +0 -36
- package/src/enums/Events.ts +0 -286
- package/src/enums/SegmentationRepresentations.ts +0 -12
- package/src/enums/StrategyCallbacks.ts +0 -55
- package/src/enums/ToolBindings.ts +0 -37
- package/src/enums/ToolModes.ts +0 -31
- package/src/enums/Touch.ts +0 -8
- package/src/enums/WorkerTypes.ts +0 -16
- package/src/enums/index.js +0 -22
- package/src/eventDispatchers/annotationInterpolationEventDispatcher.ts +0 -42
- package/src/eventDispatchers/annotationModifiedEventDispatcher.ts +0 -41
- package/src/eventDispatchers/cameraModifiedEventDispatcher.ts +0 -41
- package/src/eventDispatchers/cameraResetEventDispatcher.ts +0 -41
- package/src/eventDispatchers/imageRenderedEventDispatcher.ts +0 -37
- package/src/eventDispatchers/imageSpacingCalibratedEventDispatcher.ts +0 -50
- package/src/eventDispatchers/index.js +0 -19
- package/src/eventDispatchers/keyboardEventHandlers/index.js +0 -4
- package/src/eventDispatchers/keyboardEventHandlers/keyDown.ts +0 -46
- package/src/eventDispatchers/keyboardEventHandlers/keyUp.ts +0 -33
- package/src/eventDispatchers/keyboardToolEventDispatcher.ts +0 -28
- package/src/eventDispatchers/mouseEventHandlers/index.js +0 -19
- package/src/eventDispatchers/mouseEventHandlers/mouseClick.ts +0 -13
- package/src/eventDispatchers/mouseEventHandlers/mouseDoubleClick.ts +0 -13
- package/src/eventDispatchers/mouseEventHandlers/mouseDown.ts +0 -207
- package/src/eventDispatchers/mouseEventHandlers/mouseDownActivate.ts +0 -35
- package/src/eventDispatchers/mouseEventHandlers/mouseDownAnnotationAction.ts +0 -72
- package/src/eventDispatchers/mouseEventHandlers/mouseDrag.ts +0 -25
- package/src/eventDispatchers/mouseEventHandlers/mouseMove.ts +0 -70
- package/src/eventDispatchers/mouseEventHandlers/mouseUp.ts +0 -9
- package/src/eventDispatchers/mouseEventHandlers/mouseWheel.ts +0 -13
- package/src/eventDispatchers/mouseToolEventDispatcher.ts +0 -64
- package/src/eventDispatchers/shared/customCallbackHandler.ts +0 -73
- package/src/eventDispatchers/shared/getActiveToolForKeyboardEvent.ts +0 -63
- package/src/eventDispatchers/shared/getActiveToolForMouseEvent.ts +0 -63
- package/src/eventDispatchers/shared/getActiveToolForTouchEvent.ts +0 -67
- package/src/eventDispatchers/shared/getMouseModifier.ts +0 -40
- package/src/eventDispatchers/shared/getToolsWithActionsForKeyboardEvents.ts +0 -53
- package/src/eventDispatchers/shared/getToolsWithActionsForMouseEvent.ts +0 -65
- package/src/eventDispatchers/shared/getToolsWithModesForMouseEvent.ts +0 -56
- package/src/eventDispatchers/shared/getToolsWithModesForTouchEvent.ts +0 -54
- package/src/eventDispatchers/touchEventHandlers/index.js +0 -15
- package/src/eventDispatchers/touchEventHandlers/touchDrag.ts +0 -23
- package/src/eventDispatchers/touchEventHandlers/touchEnd.ts +0 -9
- package/src/eventDispatchers/touchEventHandlers/touchPress.ts +0 -13
- package/src/eventDispatchers/touchEventHandlers/touchStart.ts +0 -174
- package/src/eventDispatchers/touchEventHandlers/touchStartActivate.ts +0 -36
- package/src/eventDispatchers/touchEventHandlers/touchTap.ts +0 -9
- package/src/eventDispatchers/touchToolEventDispatcher.ts +0 -51
- package/src/eventListeners/annotations/annotationCompletedListener.ts +0 -13
- package/src/eventListeners/annotations/annotationModifiedListener.ts +0 -22
- package/src/eventListeners/annotations/annotationRemovedListener.ts +0 -13
- package/src/eventListeners/annotations/annotationSelectionListener.ts +0 -29
- package/src/eventListeners/annotations/contourSegmentation/contourSegmentationCompleted.ts +0 -450
- package/src/eventListeners/annotations/contourSegmentation/contourSegmentationRemoved.ts +0 -11
- package/src/eventListeners/annotations/index.ts +0 -11
- package/src/eventListeners/index.ts +0 -34
- package/src/eventListeners/keyboard/index.ts +0 -16
- package/src/eventListeners/keyboard/keyDownListener.ts +0 -112
- package/src/eventListeners/mouse/getMouseEventPoints.ts +0 -66
- package/src/eventListeners/mouse/index.ts +0 -55
- package/src/eventListeners/mouse/mouseDoubleClickListener.ts +0 -55
- package/src/eventListeners/mouse/mouseDownListener.ts +0 -545
- package/src/eventListeners/mouse/mouseMoveListener.ts +0 -39
- package/src/eventListeners/segmentation/imageChangeEventListener.ts +0 -272
- package/src/eventListeners/segmentation/index.ts +0 -13
- package/src/eventListeners/segmentation/labelmap/onLabelmapSegmentationDataModified.ts +0 -145
- package/src/eventListeners/segmentation/segmentationDataModifiedEventListener.ts +0 -28
- package/src/eventListeners/segmentation/segmentationModifiedEventListener.ts +0 -32
- package/src/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.ts +0 -15
- package/src/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.ts +0 -16
- package/src/eventListeners/touch/getTouchEventPoints.ts +0 -75
- package/src/eventListeners/touch/index.ts +0 -37
- package/src/eventListeners/touch/preventGhostClick.js +0 -72
- package/src/eventListeners/touch/touchStartListener.ts +0 -502
- package/src/eventListeners/wheel/index.ts +0 -27
- package/src/eventListeners/wheel/normalizeWheel.ts +0 -69
- package/src/eventListeners/wheel/wheelListener.ts +0 -51
- package/src/index.ts +0 -170
- package/src/init.ts +0 -207
- package/src/stateManagement/annotation/AnnotationGroup.ts +0 -120
- package/src/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.ts +0 -446
- package/src/stateManagement/annotation/annotationLocking.ts +0 -178
- package/src/stateManagement/annotation/annotationSelection.ts +0 -163
- package/src/stateManagement/annotation/annotationState.ts +0 -308
- package/src/stateManagement/annotation/annotationVisibility.ts +0 -156
- package/src/stateManagement/annotation/config/ToolStyle.ts +0 -281
- package/src/stateManagement/annotation/config/getFont.ts +0 -36
- package/src/stateManagement/annotation/config/getState.ts +0 -44
- package/src/stateManagement/annotation/config/helpers.ts +0 -59
- package/src/stateManagement/annotation/config/index.ts +0 -5
- package/src/stateManagement/annotation/helpers/state.ts +0 -162
- package/src/stateManagement/annotation/index.ts +0 -17
- package/src/stateManagement/annotation/utilities/defineProperties.ts +0 -26
- package/src/stateManagement/index.js +0 -50
- package/src/stateManagement/segmentation/SegmentationStateManager.ts +0 -518
- package/src/stateManagement/segmentation/activeSegmentation.ts +0 -83
- package/src/stateManagement/segmentation/addRepresentationData.ts +0 -71
- package/src/stateManagement/segmentation/addSegmentationRepresentation.ts +0 -108
- package/src/stateManagement/segmentation/addSegmentationRepresentations.ts +0 -44
- package/src/stateManagement/segmentation/addSegmentations.ts +0 -26
- package/src/stateManagement/segmentation/config/index.ts +0 -29
- package/src/stateManagement/segmentation/config/segmentationColor.ts +0 -138
- package/src/stateManagement/segmentation/config/segmentationConfig.ts +0 -195
- package/src/stateManagement/segmentation/config/segmentationVisibility.ts +0 -202
- package/src/stateManagement/segmentation/convertStackToVolumeSegmentation.ts +0 -135
- package/src/stateManagement/segmentation/convertVolumeToStackSegmentation.ts +0 -217
- package/src/stateManagement/segmentation/helpers/clipAndCacheSurfacesForViewport.ts +0 -203
- package/src/stateManagement/segmentation/helpers/getRepresentationSpecificConfig.ts +0 -15
- package/src/stateManagement/segmentation/helpers/index.ts +0 -3
- package/src/stateManagement/segmentation/helpers/normalizeSegmentationInput.ts +0 -61
- package/src/stateManagement/segmentation/helpers/validateSegmentationInput.ts +0 -46
- package/src/stateManagement/segmentation/index.ts +0 -33
- package/src/stateManagement/segmentation/polySeg/Contour/computeAndAddContourRepresentation.ts +0 -24
- package/src/stateManagement/segmentation/polySeg/Contour/contourComputationStrategies.ts +0 -201
- package/src/stateManagement/segmentation/polySeg/Contour/utils/createAndAddContourSegmentationsFromClippedSurfaces.ts +0 -103
- package/src/stateManagement/segmentation/polySeg/Contour/utils/extractContourData.ts +0 -38
- package/src/stateManagement/segmentation/polySeg/Contour/utils/updateContoursOnCameraModified.ts +0 -58
- package/src/stateManagement/segmentation/polySeg/Labelmap/computeAndAddLabelmapRepresentation.ts +0 -25
- package/src/stateManagement/segmentation/polySeg/Labelmap/convertContourToLabelmap.ts +0 -296
- package/src/stateManagement/segmentation/polySeg/Labelmap/convertSurfaceToLabelmap.ts +0 -91
- package/src/stateManagement/segmentation/polySeg/Labelmap/labelmapComputationStrategies.ts +0 -182
- package/src/stateManagement/segmentation/polySeg/Surface/computeAndAddSurfaceRepresentation.ts +0 -26
- package/src/stateManagement/segmentation/polySeg/Surface/convertContourToSurface.ts +0 -62
- package/src/stateManagement/segmentation/polySeg/Surface/convertLabelmapToSurface.ts +0 -81
- package/src/stateManagement/segmentation/polySeg/Surface/createAndCacheSurfacesFromRaw.ts +0 -81
- package/src/stateManagement/segmentation/polySeg/Surface/surfaceComputationStrategies.ts +0 -167
- package/src/stateManagement/segmentation/polySeg/Surface/updateSurfaceData.ts +0 -95
- package/src/stateManagement/segmentation/polySeg/canComputeRequestedRepresentation.ts +0 -123
- package/src/stateManagement/segmentation/polySeg/computeAndAddRepresentation.ts +0 -97
- package/src/stateManagement/segmentation/polySeg/index.ts +0 -12
- package/src/stateManagement/segmentation/polySeg/registerPolySegWorker.ts +0 -34
- package/src/stateManagement/segmentation/removeSegmentationsFromToolGroup.ts +0 -90
- package/src/stateManagement/segmentation/segmentIndex.ts +0 -56
- package/src/stateManagement/segmentation/segmentLocking.ts +0 -72
- package/src/stateManagement/segmentation/segmentationState.ts +0 -539
- package/src/stateManagement/segmentation/triggerSegmentationEvents.ts +0 -162
- package/src/store/SynchronizerManager/Synchronizer.ts +0 -407
- package/src/store/SynchronizerManager/createSynchronizer.ts +0 -44
- package/src/store/SynchronizerManager/destroy.ts +0 -14
- package/src/store/SynchronizerManager/destroySynchronizer.ts +0 -25
- package/src/store/SynchronizerManager/getAllSynchronizers.ts +0 -12
- package/src/store/SynchronizerManager/getSynchronizer.ts +0 -13
- package/src/store/SynchronizerManager/getSynchronizersForViewport.ts +0 -44
- package/src/store/SynchronizerManager/index.js +0 -15
- package/src/store/ToolGroupManager/ToolGroup.ts +0 -878
- package/src/store/ToolGroupManager/createToolGroup.ts +0 -33
- package/src/store/ToolGroupManager/destroy.ts +0 -24
- package/src/store/ToolGroupManager/destroyToolGroup.ts +0 -26
- package/src/store/ToolGroupManager/getAllToolGroups.ts +0 -12
- package/src/store/ToolGroupManager/getToolGroup.ts +0 -14
- package/src/store/ToolGroupManager/getToolGroupForViewport.ts +0 -51
- package/src/store/ToolGroupManager/getToolGroupsWithToolName.ts +0 -35
- package/src/store/ToolGroupManager/index.ts +0 -17
- package/src/store/addEnabledElement.ts +0 -141
- package/src/store/addTool.ts +0 -67
- package/src/store/cancelActiveManipulations.ts +0 -30
- package/src/store/filterMoveableAnnotationTools.ts +0 -61
- package/src/store/filterToolsWithAnnotationsForElement.ts +0 -50
- package/src/store/filterToolsWithMoveableHandles.ts +0 -51
- package/src/store/index.ts +0 -30
- package/src/store/removeEnabledElement.ts +0 -138
- package/src/store/state.ts +0 -64
- package/src/store/svgNodeCache.ts +0 -7
- package/src/synchronizers/callbacks/areViewportsCoplanar .ts +0 -12
- package/src/synchronizers/callbacks/cameraSyncCallback.ts +0 -33
- package/src/synchronizers/callbacks/imageSliceSyncCallback.ts +0 -161
- package/src/synchronizers/callbacks/presentationViewSyncCallback.ts +0 -36
- package/src/synchronizers/callbacks/slabThicknessSyncCallback.ts +0 -29
- package/src/synchronizers/callbacks/voiSyncCallback.ts +0 -63
- package/src/synchronizers/callbacks/zoomPanSyncCallback.ts +0 -43
- package/src/synchronizers/index.ts +0 -19
- package/src/synchronizers/synchronizers/createCameraPositionSynchronizer.ts +0 -25
- package/src/synchronizers/synchronizers/createImageSliceSynchronizer.ts +0 -28
- package/src/synchronizers/synchronizers/createPresentationViewSynchronizer.ts +0 -29
- package/src/synchronizers/synchronizers/createSlabThicknessSynchronizer.ts +0 -26
- package/src/synchronizers/synchronizers/createVOISynchronizer.ts +0 -43
- package/src/synchronizers/synchronizers/createZoomPanSynchronizer.ts +0 -25
- package/src/synchronizers/synchronizers/index.ts +0 -16
- package/src/tools/AdvancedMagnifyTool.ts +0 -702
- package/src/tools/AdvancedMagnifyViewport.ts +0 -632
- package/src/tools/AdvancedMagnifyViewportManager.ts +0 -362
- package/src/tools/AnnotationEraserTool.ts +0 -96
- package/src/tools/CrosshairsTool.ts +0 -2750
- package/src/tools/MIPJumpToClickTool.ts +0 -109
- package/src/tools/MagnifyTool.ts +0 -325
- package/src/tools/OrientationMarkerTool.ts +0 -371
- package/src/tools/OverlayGridTool.ts +0 -357
- package/src/tools/PanTool.ts +0 -58
- package/src/tools/PlanarRotateTool.ts +0 -79
- package/src/tools/ReferenceCursors.ts +0 -522
- package/src/tools/ReferenceLinesTool.ts +0 -419
- package/src/tools/ScaleOverlayTool.ts +0 -690
- package/src/tools/SculptorTool/CircleSculptCursor.ts +0 -212
- package/src/tools/SculptorTool.ts +0 -604
- package/src/tools/SegmentationIntersectionTool.ts +0 -301
- package/src/tools/StackScrollTool.ts +0 -81
- package/src/tools/StackScrollToolMouseWheelTool.ts +0 -51
- package/src/tools/TrackballRotateTool.ts +0 -245
- package/src/tools/VolumeRotateMouseWheelTool.ts +0 -87
- package/src/tools/WindowLevelRegionTool.ts +0 -399
- package/src/tools/WindowLevelTool.ts +0 -282
- package/src/tools/ZoomTool.ts +0 -287
- package/src/tools/annotation/AngleTool.ts +0 -853
- package/src/tools/annotation/ArrowAnnotateTool.ts +0 -818
- package/src/tools/annotation/BidirectionalTool.ts +0 -1359
- package/src/tools/annotation/CircleROITool.ts +0 -1065
- package/src/tools/annotation/CobbAngleTool.ts +0 -1212
- package/src/tools/annotation/DragProbeTool.ts +0 -245
- package/src/tools/annotation/EllipticalROITool.ts +0 -1195
- package/src/tools/annotation/KeyImageTool.ts +0 -396
- package/src/tools/annotation/LengthTool.ts +0 -854
- package/src/tools/annotation/LivewireContourSegmentationTool.ts +0 -164
- package/src/tools/annotation/LivewireContourTool.ts +0 -956
- package/src/tools/annotation/PlanarFreehandContourSegmentationTool.ts +0 -61
- package/src/tools/annotation/PlanarFreehandROITool.ts +0 -1049
- package/src/tools/annotation/ProbeTool.ts +0 -676
- package/src/tools/annotation/RectangleROITool.ts +0 -1015
- package/src/tools/annotation/SplineContourSegmentationTool.ts +0 -28
- package/src/tools/annotation/SplineROITool.ts +0 -1238
- package/src/tools/annotation/UltrasoundDirectionalTool.ts +0 -895
- package/src/tools/annotation/VideoRedactionTool.ts +0 -797
- package/src/tools/annotation/planarFreehandROITool/closedContourEditLoop.ts +0 -520
- package/src/tools/annotation/planarFreehandROITool/drawLoop.ts +0 -541
- package/src/tools/annotation/planarFreehandROITool/editLoopCommon.ts +0 -332
- package/src/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.ts +0 -76
- package/src/tools/annotation/planarFreehandROITool/openContourEditLoop.ts +0 -642
- package/src/tools/annotation/planarFreehandROITool/openContourEndEditLoop.ts +0 -89
- package/src/tools/annotation/planarFreehandROITool/renderMethods.ts +0 -497
- package/src/tools/annotation/splines/BSpline.ts +0 -22
- package/src/tools/annotation/splines/CardinalSpline.ts +0 -45
- package/src/tools/annotation/splines/CatmullRomSpline.ts +0 -19
- package/src/tools/annotation/splines/CubicSpline.ts +0 -288
- package/src/tools/annotation/splines/LinearSpline.ts +0 -20
- package/src/tools/annotation/splines/QuadraticBezier.ts +0 -20
- package/src/tools/annotation/splines/QuadraticSpline.ts +0 -25
- package/src/tools/annotation/splines/Spline.ts +0 -741
- package/src/tools/base/AnnotationDisplayTool.ts +0 -181
- package/src/tools/base/AnnotationTool.ts +0 -465
- package/src/tools/base/BaseTool.ts +0 -267
- package/src/tools/base/ContourBaseTool.ts +0 -291
- package/src/tools/base/ContourSegmentationBaseTool.ts +0 -323
- package/src/tools/base/index.ts +0 -5
- package/src/tools/displayTools/Contour/contourConfig.ts +0 -24
- package/src/tools/displayTools/Contour/contourDisplay.ts +0 -138
- package/src/tools/displayTools/Contour/contourHandler/contourConfigCache.ts +0 -37
- package/src/tools/displayTools/Contour/contourHandler/handleContourSegmentation.ts +0 -212
- package/src/tools/displayTools/Contour/contourHandler/utils.ts +0 -116
- package/src/tools/displayTools/Contour/index.ts +0 -3
- package/src/tools/displayTools/Contour/removeContourFromElement.ts +0 -43
- package/src/tools/displayTools/Labelmap/addLabelmapToElement.ts +0 -80
- package/src/tools/displayTools/Labelmap/index.ts +0 -13
- package/src/tools/displayTools/Labelmap/labelmapConfig.ts +0 -39
- package/src/tools/displayTools/Labelmap/labelmapDisplay.ts +0 -550
- package/src/tools/displayTools/Labelmap/removeLabelmapFromElement.ts +0 -24
- package/src/tools/displayTools/Labelmap/validateLabelmap.ts +0 -71
- package/src/tools/displayTools/SegmentationDisplayTool.ts +0 -223
- package/src/tools/displayTools/Surface/addOrUpdateSurfaceToElement.ts +0 -113
- package/src/tools/displayTools/Surface/index.ts +0 -3
- package/src/tools/displayTools/Surface/removeSurfaceFromElement.ts +0 -35
- package/src/tools/displayTools/Surface/surfaceConfig.ts +0 -12
- package/src/tools/displayTools/Surface/surfaceDisplay.ts +0 -167
- package/src/tools/distancePointToContour.ts +0 -35
- package/src/tools/index.ts +0 -118
- package/src/tools/segmentation/BrushTool.ts +0 -844
- package/src/tools/segmentation/CircleROIStartEndThresholdTool.ts +0 -676
- package/src/tools/segmentation/CircleScissorsTool.ts +0 -395
- package/src/tools/segmentation/PaintFillTool.ts +0 -414
- package/src/tools/segmentation/RectangleROIStartEndThresholdTool.ts +0 -591
- package/src/tools/segmentation/RectangleROIThresholdTool.ts +0 -269
- package/src/tools/segmentation/RectangleScissorsTool.ts +0 -403
- package/src/tools/segmentation/SegmentSelectTool.ts +0 -177
- package/src/tools/segmentation/SphereScissorsTool.ts +0 -400
- package/src/tools/segmentation/strategies/BrushStrategy.ts +0 -369
- package/src/tools/segmentation/strategies/compositions/determineSegmentIndex.ts +0 -86
- package/src/tools/segmentation/strategies/compositions/dynamicThreshold.ts +0 -117
- package/src/tools/segmentation/strategies/compositions/erase.ts +0 -11
- package/src/tools/segmentation/strategies/compositions/index.ts +0 -19
- package/src/tools/segmentation/strategies/compositions/islandRemoval.ts +0 -178
- package/src/tools/segmentation/strategies/compositions/preview.ts +0 -148
- package/src/tools/segmentation/strategies/compositions/regionFill.ts +0 -45
- package/src/tools/segmentation/strategies/compositions/setValue.ts +0 -50
- package/src/tools/segmentation/strategies/compositions/threshold.ts +0 -37
- package/src/tools/segmentation/strategies/eraseCircle.ts +0 -13
- package/src/tools/segmentation/strategies/eraseRectangle.ts +0 -48
- package/src/tools/segmentation/strategies/eraseSphere.ts +0 -13
- package/src/tools/segmentation/strategies/fillCircle.ts +0 -176
- package/src/tools/segmentation/strategies/fillRectangle.ts +0 -150
- package/src/tools/segmentation/strategies/fillSphere.ts +0 -111
- package/src/tools/segmentation/strategies/index.ts +0 -9
- package/src/tools/segmentation/strategies/utils/getStrategyData.ts +0 -102
- package/src/tools/segmentation/strategies/utils/isWithinThreshold.ts +0 -17
- package/src/tools/segmentation/strategies/utils/stackVolumeCheck.ts +0 -40
- package/src/types/AnnotationGroupSelector.ts +0 -7
- package/src/types/AnnotationRenderContext.ts +0 -13
- package/src/types/AnnotationStyle.ts +0 -45
- package/src/types/AnnotationTypes.ts +0 -103
- package/src/types/BoundsIJK.ts +0 -5
- package/src/types/CINETypes.ts +0 -38
- package/src/types/CalculatorTypes.ts +0 -23
- package/src/types/CardinalSplineProps.ts +0 -11
- package/src/types/ClosestControlPoint.ts +0 -6
- package/src/types/ClosestPoint.ts +0 -8
- package/src/types/ClosestSplinePoint.ts +0 -6
- package/src/types/ContourAnnotation.ts +0 -27
- package/src/types/ContourSegmentationAnnotation.ts +0 -58
- package/src/types/ContourTypes.ts +0 -52
- package/src/types/ControlPointInfo.ts +0 -8
- package/src/types/CursorTypes.ts +0 -12
- package/src/types/EventTypes.ts +0 -773
- package/src/types/FloodFillTypes.ts +0 -19
- package/src/types/IAnnotationManager.ts +0 -89
- package/src/types/IDistance.ts +0 -16
- package/src/types/IPoints.ts +0 -18
- package/src/types/ISculptToolShape.ts +0 -63
- package/src/types/ISetToolModeOptions.ts +0 -29
- package/src/types/ISpline.ts +0 -167
- package/src/types/ISynchronizerEventHandler.ts +0 -12
- package/src/types/IToolClassReference.ts +0 -5
- package/src/types/IToolGroup.ts +0 -96
- package/src/types/ITouchPoints.ts +0 -14
- package/src/types/InteractionTypes.ts +0 -6
- package/src/types/InternalToolTypes.ts +0 -19
- package/src/types/InterpolationTypes.ts +0 -48
- package/src/types/JumpToSliceOptions.ts +0 -7
- package/src/types/LabelmapToolOperationData.ts +0 -46
- package/src/types/LabelmapTypes.ts +0 -62
- package/src/types/PlanarBoundingBox.ts +0 -8
- package/src/types/PolySeg.ts +0 -7
- package/src/types/SVGDrawingHelper.ts +0 -10
- package/src/types/ScrollOptions.ts +0 -10
- package/src/types/SegmentationStateTypes.ts +0 -290
- package/src/types/SplineCurveSegment.ts +0 -28
- package/src/types/SplineLineSegment.ts +0 -20
- package/src/types/SplineProps.ts +0 -25
- package/src/types/SurfaceTypes.ts +0 -10
- package/src/types/ToolAction.ts +0 -54
- package/src/types/ToolHandle.ts +0 -26
- package/src/types/ToolProps.ts +0 -22
- package/src/types/ToolSpecificAnnotationTypes.ts +0 -484
- package/src/types/index.ts +0 -185
- package/src/utilities/BucketQueue.ts +0 -154
- package/src/utilities/annotationFrameRange.ts +0 -78
- package/src/utilities/annotationHydration.ts +0 -143
- package/src/utilities/boundingBox/extend2DBoundingBoxInViewAxis.ts +0 -29
- package/src/utilities/boundingBox/getBoundingBoxAroundShape.ts +0 -110
- package/src/utilities/boundingBox/index.ts +0 -13
- package/src/utilities/calibrateImageSpacing.ts +0 -43
- package/src/utilities/cine/events.ts +0 -9
- package/src/utilities/cine/index.ts +0 -5
- package/src/utilities/cine/playClip.ts +0 -481
- package/src/utilities/cine/state.ts +0 -24
- package/src/utilities/clip.js +0 -30
- package/src/utilities/contourSegmentation/addContourSegmentationAnnotation.ts +0 -41
- package/src/utilities/contourSegmentation/areSameSegment.ts +0 -22
- package/src/utilities/contourSegmentation/isContourSegmentationAnnotation.ts +0 -8
- package/src/utilities/contourSegmentation/removeContourSegmentationAnnotation.ts +0 -35
- package/src/utilities/contours/AnnotationToPointData.ts +0 -61
- package/src/utilities/contours/RectangleROIStartEndThreshold.ts +0 -60
- package/src/utilities/contours/areCoplanarContours.ts +0 -39
- package/src/utilities/contours/calculatePerimeter.ts +0 -31
- package/src/utilities/contours/contourFinder.ts +0 -78
- package/src/utilities/contours/detectContourHoles.ts +0 -149
- package/src/utilities/contours/findHandlePolylineIndex.ts +0 -52
- package/src/utilities/contours/generateContourSetsFromLabelmap.ts +0 -151
- package/src/utilities/contours/getContourHolesDataCanvas.ts +0 -33
- package/src/utilities/contours/getContourHolesDataWorld.ts +0 -19
- package/src/utilities/contours/getDeduplicatedVTKPolyDataPoints.ts +0 -66
- package/src/utilities/contours/index.ts +0 -29
- package/src/utilities/contours/interpolation/acceptAutogeneratedInterpolations.ts +0 -16
- package/src/utilities/contours/interpolation/createPolylineToolData.ts +0 -64
- package/src/utilities/contours/interpolation/findAnnotationForInterpolation.ts +0 -230
- package/src/utilities/contours/interpolation/getInterpolationData.ts +0 -115
- package/src/utilities/contours/interpolation/getInterpolationDataCollection.ts +0 -31
- package/src/utilities/contours/interpolation/index.ts +0 -3
- package/src/utilities/contours/interpolation/interpolate.ts +0 -727
- package/src/utilities/contours/interpolation/selectHandles.ts +0 -245
- package/src/utilities/contours/interpolation/updateChildInterpolationUID.ts +0 -23
- package/src/utilities/contours/reverseIfAntiClockwise.ts +0 -29
- package/src/utilities/contours/updateContourPolyline.ts +0 -111
- package/src/utilities/debounce.js +0 -217
- package/src/utilities/drawing/getTextBoxCoordsCanvas.ts +0 -45
- package/src/utilities/drawing/index.ts +0 -3
- package/src/utilities/dynamicVolume/generateImageFromTimeData.ts +0 -68
- package/src/utilities/dynamicVolume/getDataInTime.ts +0 -216
- package/src/utilities/dynamicVolume/index.ts +0 -5
- package/src/utilities/getAnnotationNearPoint.ts +0 -130
- package/src/utilities/getCalibratedUnits.ts +0 -228
- package/src/utilities/getModalityUnit.ts +0 -41
- package/src/utilities/getSphereBoundsInfo.ts +0 -145
- package/src/utilities/getToolsWithModesForElement.ts +0 -52
- package/src/utilities/getVOIMultipliers.ts +0 -33
- package/src/utilities/getViewportForAnnotation.ts +0 -20
- package/src/utilities/getViewportsForAnnotation.ts +0 -34
- package/src/utilities/index.ts +0 -105
- package/src/utilities/isObject.js +0 -29
- package/src/utilities/livewire/LiveWirePath.ts +0 -155
- package/src/utilities/livewire/LivewireScissors.ts +0 -612
- package/src/utilities/math/aabb/distanceToPoint.ts +0 -20
- package/src/utilities/math/aabb/distanceToPointSquared.ts +0 -47
- package/src/utilities/math/aabb/intersectAABB.ts +0 -19
- package/src/utilities/math/angle/angleBetweenLines.ts +0 -61
- package/src/utilities/math/basic/BasicStatsCalculator.ts +0 -148
- package/src/utilities/math/basic/Calculator.ts +0 -11
- package/src/utilities/math/basic/index.ts +0 -4
- package/src/utilities/math/circle/_types.ts +0 -6
- package/src/utilities/math/circle/getCanvasCircleCorners.ts +0 -23
- package/src/utilities/math/circle/getCanvasCircleRadius.ts +0 -16
- package/src/utilities/math/circle/index.ts +0 -4
- package/src/utilities/math/ellipse/getCanvasEllipseCorners.ts +0 -26
- package/src/utilities/math/ellipse/index.ts +0 -4
- package/src/utilities/math/ellipse/pointInEllipse.ts +0 -94
- package/src/utilities/math/ellipse/pointInEllipsoidWithConstraint.ts +0 -35
- package/src/utilities/math/index.ts +0 -19
- package/src/utilities/math/line/distanceToPoint.ts +0 -24
- package/src/utilities/math/line/distanceToPointSquared.ts +0 -18
- package/src/utilities/math/line/distanceToPointSquaredInfo.ts +0 -55
- package/src/utilities/math/line/index.ts +0 -13
- package/src/utilities/math/line/intersectLine.ts +0 -92
- package/src/utilities/math/line/isPointOnLineSegment.ts +0 -44
- package/src/utilities/math/midPoint.ts +0 -26
- package/src/utilities/math/point/distanceToPoint.ts +0 -15
- package/src/utilities/math/point/distanceToPointSquared.ts +0 -26
- package/src/utilities/math/point/mirror.ts +0 -21
- package/src/utilities/math/polyline/addCanvasPointsToArray.ts +0 -67
- package/src/utilities/math/polyline/areLineSegmentsIntersecting.ts +0 -118
- package/src/utilities/math/polyline/combinePolyline.ts +0 -348
- package/src/utilities/math/polyline/containsPoint.ts +0 -80
- package/src/utilities/math/polyline/containsPoints.ts +0 -22
- package/src/utilities/math/polyline/decimate.ts +0 -105
- package/src/utilities/math/polyline/getAABB.ts +0 -74
- package/src/utilities/math/polyline/getArea.ts +0 -23
- package/src/utilities/math/polyline/getClosestLineSegmentIntersection.ts +0 -72
- package/src/utilities/math/polyline/getFirstLineSegmentIntersectionIndexes.ts +0 -42
- package/src/utilities/math/polyline/getLineSegmentIntersectionsCoordinates.ts +0 -30
- package/src/utilities/math/polyline/getLineSegmentIntersectionsIndexes.ts +0 -35
- package/src/utilities/math/polyline/getLinesIntersection.ts +0 -94
- package/src/utilities/math/polyline/getNormal2.ts +0 -17
- package/src/utilities/math/polyline/getNormal3.ts +0 -53
- package/src/utilities/math/polyline/getSignedArea.ts +0 -51
- package/src/utilities/math/polyline/getSubPixelSpacingAndXYDirections.ts +0 -99
- package/src/utilities/math/polyline/getWindingDirection.ts +0 -14
- package/src/utilities/math/polyline/index.ts +0 -48
- package/src/utilities/math/polyline/intersectPolyline.ts +0 -34
- package/src/utilities/math/polyline/isClosed.ts +0 -26
- package/src/utilities/math/polyline/isPointInsidePolyline3D.ts +0 -50
- package/src/utilities/math/polyline/planarFreehandROIInternalTypes.ts +0 -38
- package/src/utilities/math/polyline/pointCanProjectOnLine.ts +0 -57
- package/src/utilities/math/polyline/pointsAreWithinCloseContourProximity.ts +0 -15
- package/src/utilities/math/polyline/projectTo2D.ts +0 -52
- package/src/utilities/math/rectangle/distanceToPoint.ts +0 -82
- package/src/utilities/math/rectangle/index.ts +0 -3
- package/src/utilities/math/sphere/index.ts +0 -3
- package/src/utilities/math/sphere/pointInSphere.ts +0 -36
- package/src/utilities/math/vec2/findClosestPoint.ts +0 -40
- package/src/utilities/math/vec2/index.ts +0 -4
- package/src/utilities/math/vec2/liangBarksyClip.ts +0 -94
- package/src/utilities/math/vec3/interpolateVec3.ts +0 -20
- package/src/utilities/orientation/getOrientationStringLPS.ts +0 -52
- package/src/utilities/orientation/index.ts +0 -4
- package/src/utilities/orientation/invertOrientationStringLPS.ts +0 -21
- package/src/utilities/planar/filterAnnotationsForDisplay.ts +0 -55
- package/src/utilities/planar/filterAnnotationsWithinSlice.ts +0 -110
- package/src/utilities/planar/getPointInLineOfSightWithCriteria.ts +0 -104
- package/src/utilities/planar/getWorldWidthAndHeightFromCorners.ts +0 -51
- package/src/utilities/planar/getWorldWidthAndHeightFromTwoPoints.ts +0 -51
- package/src/utilities/planar/index.ts +0 -21
- package/src/utilities/planar/isPlaneIntersectingAABB.ts +0 -56
- package/src/utilities/planarFreehandROITool/index.ts +0 -7
- package/src/utilities/planarFreehandROITool/interpolation/algorithms/bspline.ts +0 -55
- package/src/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.ts +0 -90
- package/src/utilities/planarFreehandROITool/smoothAnnotation.ts +0 -89
- package/src/utilities/planarFreehandROITool/smoothPoints.ts +0 -221
- package/src/utilities/pointInShapeCallback.ts +0 -165
- package/src/utilities/pointInSurroundingSphereCallback.ts +0 -188
- package/src/utilities/pointToString.ts +0 -10
- package/src/utilities/polyData/utils.ts +0 -89
- package/src/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.ts +0 -79
- package/src/utilities/rectangleROITool/index.ts +0 -4
- package/src/utilities/rectangleROITool/isAxisAlignedRectangle.ts +0 -53
- package/src/utilities/scroll.ts +0 -119
- package/src/utilities/segmentation/InterpolationManager/InterpolationManager.ts +0 -280
- package/src/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.ts +0 -97
- package/src/utilities/segmentation/brushSizeForToolGroup.ts +0 -90
- package/src/utilities/segmentation/brushThresholdForToolGroup.ts +0 -72
- package/src/utilities/segmentation/contourAndFindLargestBidirectional.ts +0 -45
- package/src/utilities/segmentation/createBidirectionalToolData.ts +0 -60
- package/src/utilities/segmentation/createImageIdReferenceMap.ts +0 -23
- package/src/utilities/segmentation/createLabelmapVolumeForViewport.ts +0 -73
- package/src/utilities/segmentation/createMergedLabelmapForIndex.ts +0 -65
- package/src/utilities/segmentation/findLargestBidirectional.ts +0 -159
- package/src/utilities/segmentation/floodFill.ts +0 -207
- package/src/utilities/segmentation/getDefaultRepresentationConfig.ts +0 -20
- package/src/utilities/segmentation/getHoveredContourSegmentationAnnotation.ts +0 -25
- package/src/utilities/segmentation/getSegmentAtLabelmapBorder.ts +0 -180
- package/src/utilities/segmentation/getSegmentAtWorldPoint.ts +0 -174
- package/src/utilities/segmentation/getUniqueSegmentIndices.ts +0 -142
- package/src/utilities/segmentation/index.ts +0 -53
- package/src/utilities/segmentation/invalidateBrushCursor.ts +0 -48
- package/src/utilities/segmentation/isLineInSegment.ts +0 -84
- package/src/utilities/segmentation/isValidRepresentationConfig.ts +0 -22
- package/src/utilities/segmentation/rectangleROIThresholdVolumeByRange.ts +0 -94
- package/src/utilities/segmentation/segmentContourAction.ts +0 -166
- package/src/utilities/segmentation/thresholdSegmentationByRange.ts +0 -129
- package/src/utilities/segmentation/thresholdVolumeByRange.ts +0 -152
- package/src/utilities/segmentation/triggerSegmentationRender.ts +0 -211
- package/src/utilities/segmentation/utilities.ts +0 -122
- package/src/utilities/stackPrefetch/index.ts +0 -4
- package/src/utilities/stackPrefetch/stackContextPrefetch.ts +0 -384
- package/src/utilities/stackPrefetch/stackPrefetch.ts +0 -291
- package/src/utilities/stackPrefetch/stackPrefetchUtils.ts +0 -118
- package/src/utilities/stackPrefetch/state.ts +0 -17
- package/src/utilities/throttle.js +0 -69
- package/src/utilities/touch/index.ts +0 -246
- package/src/utilities/triggerAnnotationRender.ts +0 -247
- package/src/utilities/triggerAnnotationRenderForToolGroupIds.ts +0 -38
- package/src/utilities/triggerAnnotationRenderForViewportIds.ts +0 -23
- package/src/utilities/viewport/index.ts +0 -5
- package/src/utilities/viewport/isViewportPreScaled.ts +0 -28
- package/src/utilities/viewport/jumpToSlice.ts +0 -73
- package/src/utilities/viewport/jumpToWorld.ts +0 -58
- package/src/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.ts +0 -28
- package/src/utilities/viewportFilters/filterViewportsWithParallelNormals.ts +0 -26
- package/src/utilities/viewportFilters/filterViewportsWithSameOrientation.ts +0 -15
- package/src/utilities/viewportFilters/filterViewportsWithToolEnabled.ts +0 -72
- package/src/utilities/viewportFilters/getViewportIdsWithToolToRender.ts +0 -45
- package/src/utilities/viewportFilters/index.ts +0 -11
- package/src/utilities/voi/colorbar/Colorbar.ts +0 -366
- package/src/utilities/voi/colorbar/ColorbarCanvas.ts +0 -290
- package/src/utilities/voi/colorbar/ColorbarTicks.ts +0 -500
- package/src/utilities/voi/colorbar/ViewportColorbar.ts +0 -215
- package/src/utilities/voi/colorbar/common/areColorbarRangesEqual.ts +0 -10
- package/src/utilities/voi/colorbar/common/areColorbarSizesEqual.ts +0 -7
- package/src/utilities/voi/colorbar/common/isColorbarSizeValid.ts +0 -7
- package/src/utilities/voi/colorbar/common/isRangeTextPositionValid.ts +0 -16
- package/src/utilities/voi/colorbar/common/isRangeValid.ts +0 -7
- package/src/utilities/voi/colorbar/enums/ColorbarRangeTextPosition.ts +0 -11
- package/src/utilities/voi/colorbar/index.ts +0 -8
- package/src/utilities/voi/colorbar/types/ColorbarCanvasProps.ts +0 -14
- package/src/utilities/voi/colorbar/types/ColorbarCommonProps.ts +0 -23
- package/src/utilities/voi/colorbar/types/ColorbarImageRange.ts +0 -4
- package/src/utilities/voi/colorbar/types/ColorbarProps.ts +0 -8
- package/src/utilities/voi/colorbar/types/ColorbarSize.ts +0 -4
- package/src/utilities/voi/colorbar/types/ColorbarTicksProps.ts +0 -8
- package/src/utilities/voi/colorbar/types/ColorbarTicksStyle.ts +0 -8
- package/src/utilities/voi/colorbar/types/ColorbarVOIRange.ts +0 -3
- package/src/utilities/voi/colorbar/types/ViewportColorbarProps.ts +0 -6
- package/src/utilities/voi/index.ts +0 -4
- package/src/utilities/voi/windowlevel/calculateMinMaxMean.ts +0 -30
- package/src/utilities/voi/windowlevel/extractWindowLevelRegionToolData.ts +0 -63
- package/src/utilities/voi/windowlevel/getLuminanceFromRegion.ts +0 -43
- package/src/utilities/voi/windowlevel/index.ts +0 -9
- package/src/widgets/Widget.ts +0 -169
- package/src/widgets/types/WidgetProps.ts +0 -4
- package/src/widgets/types/WidgetSize.ts +0 -4
- package/src/widgets/types/index.ts +0 -2
- package/src/workers/polySegConverters.js +0 -616
- /package/{src/eventListeners/annotations/contourSegmentation/index.ts → dist/esm/eventListeners/annotations/contourSegmentation/index.d.ts} +0 -0
- /package/{src/utilities/contourSegmentation/index.ts → dist/esm/utilities/contourSegmentation/index.d.ts} +0 -0
- /package/{src/utilities/math/aabb/index.ts → dist/esm/utilities/math/aabb/index.d.ts} +0 -0
- /package/{src/utilities/math/point/index.ts → dist/esm/utilities/math/point/index.d.ts} +0 -0
- /package/{src/utilities/voi/colorbar/common/index.ts → dist/esm/utilities/voi/colorbar/common/index.d.ts} +0 -0
- /package/{src/utilities/voi/colorbar/enums/index.ts → dist/esm/utilities/voi/colorbar/enums/index.d.ts} +0 -0
- /package/{src/utilities/voi/colorbar/types/index.ts → dist/esm/utilities/voi/colorbar/types/index.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPointInLineOfSightWithCriteria.js","sourceRoot":"","sources":["../../../../src/utilities/planar/getPointInLineOfSightWithCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,kCAAkC,CAAC;AACvD,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAkB3D,MAAM,CAAC,OAAO,UAAU,iCAAiC,CACvD,QAA+B,EAC/B,QAAsB,EACtB,cAAsB,EACtB,gBAA0E,EAC1E,QAAQ,GAAG,IAAI;IAGf,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;IACpC,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC;IAI5C,MAAM,EAAE,wBAAwB,EAAE,GAChC,OAAO,CAAC,oCAAoC,CAC1C,QAAQ,EACR,MAAM,EACN,cAAc,CACf,CAAC;IAEJ,MAAM,IAAI,GAAG,wBAAwB,GAAG,QAAQ,CAAC;IAKjD,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;IACpC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;IACvB,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;IAGvB,MAAM,MAAM,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C,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;IAE5E,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAEpD,MAAM,UAAU,GAAG,QAAQ,GAAG,cAAc,CAAC;IAC7C,MAAM,WAAW,GAAG,QAAQ,GAAG,cAAc,CAAC;IAE9C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC;AACrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utilities/planar/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,MAAM,gCAAgC,CAAC;AAC1E,OAAO,iCAAiC,MAAM,qCAAqC,CAAC;AACpF,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AACxE,OAAO,iCAAiC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,eAAe;IACb,4BAA4B;IAC5B,iCAAiC;IACjC,2BAA2B;IAC3B,iCAAiC;IACjC,uBAAuB;CACxB,CAAC;AAEF,OAAO,EACL,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,uBAAuB,GACxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isPlaneIntersectingAABB.js","sourceRoot":"","sources":["../../../../src/utilities/planar/isPlaneIntersectingAABB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAejC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,EAAE;IACF,MAAM,QA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,CAAC,QAAQ,CAAC,KAAK,WAAW,EAAE;YAC9C,OAAO,IAAI,CAAC;SACb;KACF;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utilities/planarFreehandROITool/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,eAAe;IACb,gBAAgB;CACjB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bspline.js","sourceRoot":"","sources":["../../../../../../src/utilities/planarFreehandROITool/interpolation/algorithms/bspline.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,kBAAkB,EACtC,QAAQ,IAAI,UAAU,GACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC;AAGxC,SAAS,UAAU,CACjB,MAAuC;IAEvC,OAAQ,MAAyB,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,CAAC;AACrD,CAAC;AAOD,MAAM,UAAU,iBAAiB,CAC/B,cAA+C,EAC/C,YAAsB;IAEtB,IACE,CAAC,YAAY;QACb,YAAY,CAAC,MAAM,KAAK,CAAC;QACzB,YAAY,CAAC,MAAM,KAAK,cAAc,CAAC,MAAM,EAC7C;QACA,OAAO,cAAc,CAAC;KACvB;IAED,MAAM,CAAC,GAAG,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACtE,MAAM,aAAa,GAAG,kBAAkB,CACtC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9C,CAAC;IACF,MAAM,aAAa,GAAG,kBAAkB,CACtC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9C,CAAC;IAEF,IAAI,UAAU,CAAC,cAAc,CAAC,EAAE;QAC9B,MAAM,aAAa,GAAG,kBAAkB,CACtC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9C,CAAC;QACF,OAAuB,CACrB,KAAK,CACH,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,EAC5B,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,EAC5B,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,CAC7B,CACF,CAAC;KACH;SAAM;QACL,OAAuB,CACrB,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAClE,CAAC;KACH;AACH,CAAC"}
|
package/dist/esm/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interpolateSegmentPoints.js","sourceRoot":"","sources":["../../../../../src/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAgBzD,SAAS,sCAAsC,CAC7C,uBAA+B,EAC/B,cAAgC;IAEhC,MAAM,MAAM,GAAG,EAAE,CAAC;IAClB,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,GAAG,cAAc,CAAC;IAElD,MAAM,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,CAAC,CAAC;IACnD,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,uBAAuB,CAAC,CAAC;IAErE,IAAI,CAAC,GAAG,CA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b;IAED,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,CAAC;KACb;IAED,MAAM,YAAY,GAAG,SAAS,CAAC,eAAe,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAG7E,IAAI,CAAC,CAAC,YAAY,YAAY,qBAAqB,CAAC,EAAE;QACpD,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,YAAY,CAAC,SAAS;QACtB,YAAY,CAAC,aAAa;QAC1B,YAAY,CAAC,eAAe,CAC7B,CAAC;AACJ,CAAC;AAOD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,cAAqC,EACrC,UAAuC,EACvC,oBAA4B;IAG5B,IACE,0BAA0B,CAAC,cAAc,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAC5E;QACA,OAAO,KAAK,CAAC;KACd;IAED,MAAM,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC;IAGpC,MAAM,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CACvD,QAAQ,CAAC,aAAa,CACvB,CAAC;IACF,MAAM,wBAAwB,GAAmB,CAC/C,wBAAwB,CACtB,YAAY,EACZ,CAAC,EACD,YAAY,CAAC,MAAM,EACnB,oBAAoB,CACrB,CACF,CAAC;IAEF,IAAI,wBAAwB,KAAK,YAAY,EAAE;QAC7C,OAAO,KAAK,CAAC;KACd;IAED,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,wBAAwB,CAAC,GAAG,CAC7D,QAAQ,CAAC,aAAa,CACvB,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smoothPoints.js","sourceRoot":"","sources":["../../../../src/utilities/planarFreehandROITool/smoothPoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,wBAAwB,MAAM,0CA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C,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,CAAC;gBAC/C,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAG3B,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE;gBACxD,OAAO,MAAM,CAAC;aACf;YAED,OAAuB,CACrB,wBAAwB,CACtB,MAAM,EACN,eAAe,EACf,eAAe,EACf,oBAAoB,CACrB,CACF,CAAC;SACH;KACF;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { vec3 } from 'gl-matrix';
|
|
2
|
-
export default function pointInShapeCallback(imageData, pointInShapeFn, callback, boundsIJK) {
|
|
3
|
-
let iMin, iMax, jMin, jMax, kMin, kMax;
|
|
4
|
-
let scalarData;
|
|
5
|
-
const { numComps } = imageData;
|
|
6
|
-
if (imageData.getScalarData) {
|
|
7
|
-
scalarData = imageData.getScalarData();
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
scalarData = imageData
|
|
11
|
-
.getPointData()
|
|
12
|
-
.getScalars()
|
|
13
|
-
.getData();
|
|
14
|
-
}
|
|
15
|
-
const dimensions = imageData.getDimensions();
|
|
16
|
-
if (!boundsIJK) {
|
|
17
|
-
iMin = 0;
|
|
18
|
-
iMax = dimensions[0];
|
|
19
|
-
jMin = 0;
|
|
20
|
-
jMax = dimensions[1];
|
|
21
|
-
kMin = 0;
|
|
22
|
-
kMax = dimensions[2];
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
[[iMin, iMax], [jMin, jMax], [kMin, kMax]] = boundsIJK;
|
|
26
|
-
}
|
|
27
|
-
const start = vec3.fromValues(iMin, jMin, kMin);
|
|
28
|
-
const direction = imageData.getDirection();
|
|
29
|
-
const rowCosines = direction.slice(0, 3);
|
|
30
|
-
const columnCosines = direction.slice(3, 6);
|
|
31
|
-
const scanAxisNormal = direction.slice(6, 9);
|
|
32
|
-
const spacing = imageData.getSpacing();
|
|
33
|
-
const [rowSpacing, columnSpacing, scanAxisSpacing] = spacing;
|
|
34
|
-
const worldPosStart = imageData.indexToWorld(start);
|
|
35
|
-
const rowStep = vec3.fromValues(rowCosines[0] * rowSpacing, rowCosines[1] * rowSpacing, rowCosines[2] * rowSpacing);
|
|
36
|
-
const columnStep = vec3.fromValues(columnCosines[0] * columnSpacing, columnCosines[1] * columnSpacing, columnCosines[2] * columnSpacing);
|
|
37
|
-
const scanAxisStep = vec3.fromValues(scanAxisNormal[0] * scanAxisSpacing, scanAxisNormal[1] * scanAxisSpacing, scanAxisNormal[2] * scanAxisSpacing);
|
|
38
|
-
const xMultiple = numComps ||
|
|
39
|
-
scalarData.length / dimensions[2] / dimensions[1] / dimensions[0];
|
|
40
|
-
const yMultiple = dimensions[0] * xMultiple;
|
|
41
|
-
const zMultiple = dimensions[1] * yMultiple;
|
|
42
|
-
const pointsInShape = [];
|
|
43
|
-
const currentPos = vec3.clone(worldPosStart);
|
|
44
|
-
for (let k = kMin; k <= kMax; k++) {
|
|
45
|
-
const startPosJ = vec3.clone(currentPos);
|
|
46
|
-
for (let j = jMin; j <= jMax; j++) {
|
|
47
|
-
const startPosI = vec3.clone(currentPos);
|
|
48
|
-
for (let i = iMin; i <= iMax; i++) {
|
|
49
|
-
const pointIJK = [i, j, k];
|
|
50
|
-
if (pointInShapeFn(currentPos, pointIJK)) {
|
|
51
|
-
const index = k * zMultiple + j * yMultiple + i * xMultiple;
|
|
52
|
-
let value;
|
|
53
|
-
if (xMultiple > 2) {
|
|
54
|
-
value = [
|
|
55
|
-
scalarData[index],
|
|
56
|
-
scalarData[index + 1],
|
|
57
|
-
scalarData[index + 2],
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
value = scalarData[index];
|
|
62
|
-
}
|
|
63
|
-
pointsInShape.push({
|
|
64
|
-
value,
|
|
65
|
-
index,
|
|
66
|
-
pointIJK,
|
|
67
|
-
pointLPS: currentPos.slice(),
|
|
68
|
-
});
|
|
69
|
-
if (callback) {
|
|
70
|
-
callback({ value, index, pointIJK, pointLPS: currentPos });
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
vec3.add(currentPos, currentPos, rowStep);
|
|
74
|
-
}
|
|
75
|
-
vec3.copy(currentPos, startPosI);
|
|
76
|
-
vec3.add(currentPos, currentPos, columnStep);
|
|
77
|
-
}
|
|
78
|
-
vec3.copy(currentPos, startPosJ);
|
|
79
|
-
vec3.add(currentPos, currentPos, scanAxisStep);
|
|
80
|
-
}
|
|
81
|
-
return pointsInShape;
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=pointInShapeCallback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pointInShapeCallback.js","sourceRoot":"","sources":["../../../src/utilities/pointInShapeCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAwCjC,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,SAA4C,EAC5C,cAA+B,EAC/B,QAA+B,EAC/B,SAAqB;IAErB,IAAI,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;IAEvC,IAAI,UAAU,CAAC;IACf,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAgB,CAAC;IAGtC,IAAK,SAAgC,CAAC,aAAa,EAAE;QACnD,UAAU,GAAI,SAAgC,CAAC,aAAa,EAAE,CAAC;KAChE;SAAM;QACL,UAAU,GAAI,SAA0B;aACrC,YAAY,EAAE;aACd,UAAU,EAAE;aACZ,OAAO,EAAE,CAAC;KACd;IAED,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;IAE7C,IAAI,CAAC,SAAS,EAAE;QACd,IAAI,GAAG,CAAC,CAAC;QACT,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,CA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K,CAAC;oBACV,IAAI,SAAS,GAAG,CAAC,EAAE;wBACjB,KAAK,GAAG;4BACN,UAAU,CAAC,KAAK,CAAC;4BACjB,UAAU,CAAC,KAAK,GAAG,CAAC,CAAC;4BACrB,UAAU,CAAC,KAAK,GAAG,CAAC,CAAC;yBACtB,CAAC;qBACH;yBAAM;wBACL,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;qBAC3B;oBAED,aAAa,CAAC,IAAI,CAAC;wBACjB,KAAK;wBACL,KAAK;wBACL,QAAQ;wBACR,QAAQ,EAAE,UAAU,CAAC,KAAK,EAAE;qBAC7B,CAAC,CAAC;oBACH,IAAI,QAAQ,EAAE;wBACZ,QAAQ,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;qBAC5D;iBACF;gBAGD,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;aAC3C;YAGD,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;YACjC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;SAC9C;QAGD,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;KAChD;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pointInSurroundingSphereCallback.js","sourceRoot":"","sources":["../../../src/utilities/pointInSurroundingSphereCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI3D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,O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ACpB,OAAO;KACR;IAED,MAAM,aAAa,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,CAAC;IACrD,OAAO,eAAe,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,EAAE,CAC5C,cAAc,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getBoundsIJKFromRectangleAnnotations.js","sourceRoot":"","sources":["../../../../src/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,6BAA6B,MAAM,8CAA8C,CAAC;AAMzF,SAAS,oCAAoC,CAC3C,WAAW,EACX,eAAe,EACf,UAAU,EAAa;IAEvB,MAAM,YAAY,GAAG,EAAE,CAAC;IACxB,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;QACjC,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;QAC5B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QAEhC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;QAElD,IAAI,WAAW,GAAG,MAAM,CAAC;QAEzB,IAAI,IAAI,CAAC,WAAW,EAAE,gBAAgB,EAAE;YACtC,MAAM,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC;YAC9C,WAAW,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,gBAAgB,CAAC,CAAC;SAC9C;QAED,MAAM,mBAAmB,GAAG,WAAW,CAAC,GAAG,CACzC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CA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,IAAI,EAAE,CAAC,QAAQ;QACf,IAAI,EAAE,CAAC,QAAQ;KAChB,CACF,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utilities/rectangleROITool/index.ts"],"names":[],"mappings":"AAAA,OAAO,oCAAoC,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,oCAAoC,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isAxisAlignedRectangle.js","sourceRoot":"","sources":["../../../../src/utilities/rectangleROITool/isAxisAlignedRectangle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;AAE5B,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACvC,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACvC,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEvC,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;AAQvC,SAAS,sBAAsB,CAAC,mBAAmB;IACjD,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,CACjC,IAAI,CAAC,MAAM,EAAE,EACb,mBAAmB,CAAC,CAAC,CAAC,EACtB,mBAAmB,CAAC,CAAC,CAAC,CACvB,CAAC;IAEF,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,CACjC,IAAI,CAAC,MAAM,EAAE,EACb,mBAAmB,CAAC,CAAC,CAAC,EACtB,mBAAmB,CAAC,CAAC,CAAC,CACvB,CAAC;IAGF,MAAM,UAAU,GAAG,uBAAuB,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,uBAAuB,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAIpE,MAAM,SAAS,GAAG,CAAC,GAAG,UAAU,EAAE,GAAG,UAAU,CAAC,CAAC,KAAK,CACpD,CAAC,KAAK,EAAE,EAAE,CACR,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;QACjB,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QAClB,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC;QACnB,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CACtB,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC;AAGD,SAAS,uBAAuB,CAAC,GAAG,EAAE,IAAI;IACxC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;AACrE,CAAC;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { StackViewport, VolumeViewport, eventTarget, EVENTS, utilities as csUtils, getEnabledElement, VideoViewport, } from '@cornerstonejs/core';
|
|
2
|
-
export default function scroll(viewport, options) {
|
|
3
|
-
const enabledElement = getEnabledElement(viewport.element);
|
|
4
|
-
if (!enabledElement) {
|
|
5
|
-
throw new Error('Scroll::Viewport is not enabled (it might be disabled)');
|
|
6
|
-
}
|
|
7
|
-
if (viewport instanceof StackViewport &&
|
|
8
|
-
viewport.getImageIds().length === 0) {
|
|
9
|
-
throw new Error('Scroll::Stack Viewport has no images');
|
|
10
|
-
}
|
|
11
|
-
const { type: viewportType } = viewport;
|
|
12
|
-
const { volumeId, delta, scrollSlabs } = options;
|
|
13
|
-
if (viewport instanceof StackViewport) {
|
|
14
|
-
viewport.scroll(delta, options.debounceLoading, options.loop);
|
|
15
|
-
}
|
|
16
|
-
else if (viewport instanceof VolumeViewport) {
|
|
17
|
-
scrollVolume(viewport, volumeId, delta, scrollSlabs);
|
|
18
|
-
}
|
|
19
|
-
else if (viewport instanceof VideoViewport) {
|
|
20
|
-
viewport.scroll(delta);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
throw new Error(`Not implemented for Viewport Type: ${viewportType}`);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export function scrollVolume(viewport, volumeId, delta, scrollSlabs = false) {
|
|
27
|
-
const useSlabThickness = scrollSlabs;
|
|
28
|
-
const { numScrollSteps, currentStepIndex, sliceRangeInfo } = csUtils.getVolumeViewportScrollInfo(viewport, volumeId, useSlabThickness);
|
|
29
|
-
if (!sliceRangeInfo) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const { sliceRange, spacingInNormalDirection, camera } = sliceRangeInfo;
|
|
33
|
-
const { focalPoint, viewPlaneNormal, position } = camera;
|
|
34
|
-
const { newFocalPoint, newPosition } = csUtils.snapFocalPointToSlice(focalPoint, position, sliceRange, viewPlaneNormal, spacingInNormalDirection, delta);
|
|
35
|
-
viewport.setCamera({
|
|
36
|
-
focalPoint: newFocalPoint,
|
|
37
|
-
position: newPosition,
|
|
38
|
-
});
|
|
39
|
-
viewport.render();
|
|
40
|
-
const desiredStepIndex = currentStepIndex + delta;
|
|
41
|
-
const VolumeScrollEventDetail = {
|
|
42
|
-
volumeId,
|
|
43
|
-
viewport,
|
|
44
|
-
delta,
|
|
45
|
-
desiredStepIndex,
|
|
46
|
-
currentStepIndex,
|
|
47
|
-
numScrollSteps,
|
|
48
|
-
currentImageId: viewport.getCurrentImageId(),
|
|
49
|
-
};
|
|
50
|
-
if ((desiredStepIndex > numScrollSteps || desiredStepIndex < 0) &&
|
|
51
|
-
viewport.getCurrentImageId()) {
|
|
52
|
-
csUtils.triggerEvent(eventTarget, EVENTS.VOLUME_SCROLL_OUT_OF_BOUNDS, VolumeScrollEventDetail);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
csUtils.triggerEvent(eventTarget, EVENTS.VOLUME_VIEWPORT_SCROLL, VolumeScrollEventDetail);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=scroll.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.js","sourceRoot":"","sources":["../../../src/utilities/scroll.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,cAAc,EACd,WAAW,EACX,MAAM,EACN,SAAS,IAAI,OAAO,EACpB,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAY7B,MAAM,CAAC,OAAO,UAAU,MAAM,CAC5B,QAAyB,EACzB,OAAsB;IAGtB,MAAM,cAAc,GAAG,iBAAiB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAE3D,IAAI,CAAC,cAAc,EAAE;QACnB,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;KAC3E;IAED,IACE,QAAQ,YAAY,aAAa;QACjC,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,KAAK,CAAC,EACnC;QACA,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;KACzD;IAED,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,QAAQ,CAAC;IACxC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC;IAEjD,IAAI,QAAQ,YAAY,aAAa,EAAE;QACrC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,EAAE,OAAO,CAAC,IA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E,QAAQ,CAAC,iBAAiB,EAAE;KAC7C,CAAC;IAEJ,IACE,CAAC,gBAAgB,GAAG,cAAc,IAAI,gBAAgB,GAAG,CAAC,CAAC;QAC3D,QAAQ,CAAC,iBAAiB,EAAE,EAC5B;QAIA,OAAO,CAAC,YAAY,CAClB,WAAW,EACX,MAAM,CAAC,2BAA2B,EAClC,uBAAuB,CACxB,CAAC;KACH;SAAM;QACL,OAAO,CAAC,YAAY,CAClB,WAAW,EACX,MAAM,CAAC,sBAAsB,EAC7B,uBAAuB,CACxB,CAAC;KACH;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InterpolationManager.js","sourceRoot":"","sources":["../../../../../src/utilities/segmentation/InterpolationManager/InterpolationManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAO3D,OAAO,EAAE,KAAK,IAAI,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,8BAA8B,MAAM,6DAA6D,CAAC;AAKzG,OAAO,WAAW,MAAM,0CAA0C,CAAC;AACnE,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAElE,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,wBAAwB,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAC;AAE9G,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;AAE3B,MAAM,2BAA2B,GAAG;IAClC,WAAW,CAAC,cAAc;IAC1B,WAAW,CAAC,oBAAoB;CACjC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,oBAAoB;aAChC,cAAS,GAAG,EAAE,CAAC;IAEtB,MAAM,CAAC,OAAO,CAAC,QAAgB;QAC7B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;YACtC,IAAI,CAAC,SAAS,CAAC,IAA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YACb,OAAO,CAAC,IAAI,CACV,gDAAgD,EAChD,UAAU,CACX,CAAC;YACF,OAAO;SACR;QAED,MAAM,SAAS,GAAyB,YAAY,CAAC,QAAQ,CAAC,CAAC;QAC/D,MAAM,YAAY,GAA8B;YAC9C,QAAQ;YACR,SAAS;YACT,UAAU;YACV,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;SAC9C,CAAC;QAEF,UAAU,CAAC,aAAa,GAAG,KAAK,CAAC;QACjC,wBAAwB,CAAC,YAAY,CAAC,CAAC;IACzC,CAAC,CAAC;;AAGJ,SAAS,YAAY,CAAC,QAAQ;IAC5B,MAAM,SAAS,GAAyB;QACtC,cAAc,EAAE,QAAQ,CAAC,iBAAiB,EAAE;QAC5C,UAAU,EAAE,QAAQ,CAAC,sBAAsB,EAAE;KAC9C,CAAC;IACF,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/dist/esm/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRelatedAnnotations.js","sourceRoot":"","sources":["../../../../../src/utilities/segmentation/InterpolationManager/deleteRelatedAnnotations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,yBAAyB,MAAM,qCAAqC,CAAC;AACjF,OAAO,WAAW,MAAM,0CAA0C,CAAC;AAEnE,OAAO,oBAAoB,MAAM,mDAAmD,CAAC;AAErF,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAS/C,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC9C,YAAuC;IAEvC,MAAM,EAAE,UAAU,EAAE,GAAG,YAAY,CAAC;IACpC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,YAAY,EAAE;QAClE,EAAE,GAAG,EAAE,kBAAkB,EAAE,KAAK,EAAE,YAAY,CAAC,gBAAgB,EAAE;KAClE,CAAC,CAAC;IAEH,MAAM,oBA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,GAA8C;YAC9D,WAAW,EAAE,kBAAkB;YAC/B,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO;YACtC,UAAU,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE;YACpC,iBAAiB,EAAE,YAAY,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,EAAE;SACjE,CAAC;QAEF,YAAY,CACV,YAAY,CAAC,QAAQ,CAAC,OAAO,EAC7B,UAAU,CAAC,gCAAgC,EAC3C,YAAY,CACb,CAAC;KACH;IAED,IACE,gBAAgB,IAAI,CAAC;QACrB,gBAAgB,GAAG,YAAY,CAAC,SAAS,CAAC,cAAc,EACxD;QACA,MAAM,cAAc,GAAG,wBAAwB,CAAC,GAAG,CACjD,gBAAgB,CACjB,CAAC,CAAC,CAA+B,CAAC;QAEnC,MAAM,eAAe,GAA8B;YACjD,QAAQ,EAAE,YAAY,CAAC,QAAQ;YAC/B,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY,CAAC,SAAS,CAAC,cAAc;gBACrD,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,UAAoB;aACzD;YACD,UAAU,EAAE,cAAc;YAC1B,gBAAgB,EAAE,cAAc,CAAC,gBAAgB;SAClD,CAAC;QACF,WAAW,CAAC,eAAe,CAAC,CAAC;KAC9B;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brushSizeForToolGroup.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/brushSizeForToolGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,qCAAqC,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AASpD,MAAM,UAAU,wBAAwB,CACtC,WAAmB,EACnB,SAAiB,EACjB,QAAiB;IAEjB,MAAM,S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IAG7E,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAErD,IAAI,CAAC,iBAAiB,EAAE;QACtB,OAAO;KACR;IAGD,OAAO,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC;AACnD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brushThresholdForToolGroup.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/brushThresholdForToolGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,qCAAqC,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,UAAU,6BAA6B,CAC3C,WAAmB,EACnB,SAAuB,EACvB,YAAqC,EAAE,SAAS,EAAE,KAAK,EAAE;IAEzD,MAAM,SAAS,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;IAE5C,IAAI,SAAS,KAAK,SAAS,EAAE;QAC3B,OAAO;KACR;IAED,MAAM,uBAAuB,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IACnE,MAAM,aAAa,GAAG;QACpB,GAAG,SAAS;QACZ,GAAG,CAAC,SAAS,KAAK,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC;KAC9C,CAAC;IAEF,uBAAuB,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACvC,IAAI,CAAC,aAAa,CAAC,6BAA6B,CAAC,SAAS,GAAG;YAC3D,GAAG,IAAI,CAAC,aAAa,CAAC,6BAA6B,CAAC,SAAS;YAC7D,GAAG,aAAa;SACjB,CAAC;IACJ,CAAC,CAAC,CAAC;IAGH,MAAM,aAAa,GAAG,SAAS,CAAC,gBAAgB,EAAE,CAAC;IAEnD,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE;QACzB,OAAO;KACR;IAED,MAAM,EAAE,iBAAiB,EAAE,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;IAI/C,MAAM,WAAW,GAAG,SAAS,CAAC,cAAc,EAAE,CAAC;IAE/C,MAAM,eAAe,GAAG,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IAE9D,qCAAqC,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,WAAmB;IAC/D,MAAM,SAAS,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;IAE5C,IAAI,SAAS,KAAK,SAAS,EAAE;QAC3B,OAAO;KACR;IAED,MAAM,aAAa,GAAG,SAAS,CAAC,cAAc,CAAC;IAE/C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,EAAE;QACtC,OAAO;KACR;IAED,MAAM,uBAAuB,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IACnE,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAErD,IAAI,CAAC,iBAAiB,EAAE;QACtB,OAAO;KACR;IAGD,OAAO,iBAAiB,CAAC,aAAa,CAAC,6BAA6B,CAAC,SAAS;SAC3E,SAAS,CAAC;AACf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contourAndFindLargestBidirectional.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/contourAndFindLargestBidirectional.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,2BAA2B,MAAM,yCAAyC,CAAC;AAClF,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAElE,MAAM,EAAE,QAAQ,EAAE,GAAG,2BAA2B,CAAC;AAYjD,MAAM,CAAC,OAAO,UAAU,kCAAkC,CAAC,YAAY;IACrE,MAAM,QAAQ,GAAG,+BAA+B,CAAC;QAC/C,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;IAEH,IAAI,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,EAAE;QAC1D,OAAO;KACR;IAED,MAAM,EACJ,kBAAkB,EAClB,QAAQ,GAAG;QACT,IAAI;QACJ,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE;KACrE,GACF,GAAG,YAAY,CAAC;IACjB,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAE/D,MAAM,YAAY,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACtD,IAAI,YAAY,KAAK,CAAC,CAAC,EAAE;QACvB,OAAO;KACR;IACD,QAAQ,CAAC,YAAY,CAAC,CAAC,YAAY,GAAG,YAAY,CAAC;IACnD,OAAO,wBAAwB,CAC7B,QAAQ,CAAC,CAAC,CAAC,EACX,WAAW,EACX,QAAQ,CAAC,YAAY,CAAC,CACvB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createBidirectionalToolData.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/createBidirectionalToolData.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,OAAO,UAAU,2BAA2B,CACjD,iBAAoC,EACpC,QAAQ;IAER,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,iBAAiB,CAAC;IAC3E,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IAEnC,MAAM,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAChD,MAAM,qBAAqB,GAAG;QAC5B,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE;YACR,QAAQ,EAAE,eAAe;YAGzB,GAAG,QAAQ,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;SAC7C;QACD,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,MAAM;gBACN,OAAO,EAAE;oBACP,QAAQ,EAAE,KAAK;oBACf,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAiB;oBACxC,gBAAgB,EAAE;wBAChB,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAiB;wBAClC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAiB;wBACnC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAiB;wBACrC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAiB;qBACvC;iBACF;gBACD,iBAAiB,EAAE,IAAI;aACxB;YACD,KAAK;YACL,WAAW,EAAE,EAAE;SAChB;QACD,QAAQ,EAAE,KAAK;QACf,SAAS,EAAE,IAAI;KAChB,CAAC;IACF,OAAO,qBAAqB,CAAC;AAC/B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
function createImageIdReferenceMap(imageIdsArray, segmentationImageIds) {
|
|
2
|
-
const imageIdReferenceMap = new Map(imageIdsArray.map((imageId, index) => {
|
|
3
|
-
return [imageId, segmentationImageIds[index]];
|
|
4
|
-
}));
|
|
5
|
-
return imageIdReferenceMap;
|
|
6
|
-
}
|
|
7
|
-
export { createImageIdReferenceMap };
|
|
8
|
-
//# sourceMappingURL=createImageIdReferenceMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createImageIdReferenceMap.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/createImageIdReferenceMap.ts"],"names":[],"mappings":"AASA,SAAS,yBAAyB,CAChC,aAAuB,EACvB,oBAA8B;IAE9B,MAAM,mBAAmB,GAAG,IAAI,GAAG,CACjC,aAAa,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QACnC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;IAChD,CAAC,CAAC,CACH,CAAC;IAEF,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createLabelmapVolumeForViewport.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/createLabelmapVolumeForViewport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,SAAS,IAAI,OAAO,GACrB,MAAM,qBAAqB,CAAC;AAc7B,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,+BAA+B,CAAC,KAgB7D;IACC,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IACzD,IAAI,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;IAE7E,IAAI,CAAC,cAAc,EAAE;QACnB,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;KACrC;IAED,MAAM,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC;IACpC,IAAI,CAAC,CAAC,QAAQ,YAAY,cAAc,CAAC,EAAE;QACzC,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;KAC9D;IAED,MAAM,EAAE,GAAG,EAAE,GAAG,QAAQ,CAAC,eAAe,EAAE,CAAC;IAE3C,IAAI,cAAc,KAAK,SAAS,EAAE;QAEhC,cAAc,GAAG,GAAG,GAAG,uBACrB,OAAO,EAAE,QAAQ,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAClD,EAAE,CAAC;KACJ;IAED,IAAI,OAAO,EAAE;QAGX,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,YAAY,CAAC,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;KAClE;SAAM;QAEL,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC,eAAe,EAAE,CAAC;QACrD,MAAM,YAAY,CAAC,uCAAuC,CAAC,QAAQ,EAAE;YACnE,QAAQ,EAAE,cAAc;SACzB,CAAC,CAAC;KACJ;IAED,OAAO,cAAc,CAAC;AACxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createMergedLabelmapForIndex.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/createMergedLabelmapForIndex.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAazE,SAAS,4BAA4B,CACnC,SAAoC,EACpC,YAAY,GAAG,CAAC,EAChB,QAAQ,GAAG,gBAAgB;IAE3B,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;QAC/D,IACE,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;YACrD,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnD,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;YAC/C,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,C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AC,CAAC;AACjB,CAAC;AAED,SAAS,cAAc,CAAC,KAAK;IAC3B,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACxC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YAClB,KAAK,IAAI,CAAC,CAAC;SACZ;KACF;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM;IACrC,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpC,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAElC,OAAO,CAAC,GAAG,GAAG,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AACvC,CAAC;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import getDefaultLabelmapConfig from '../../tools/displayTools/Labelmap/labelmapConfig';
|
|
2
|
-
import SegmentationRepresentation from '../../enums/SegmentationRepresentations';
|
|
3
|
-
export default function getDefaultRepresentationConfig(segmentation) {
|
|
4
|
-
const { type: representationType } = segmentation;
|
|
5
|
-
switch (representationType) {
|
|
6
|
-
case SegmentationRepresentation.Labelmap:
|
|
7
|
-
return getDefaultLabelmapConfig();
|
|
8
|
-
default:
|
|
9
|
-
throw new Error(`Unknown representation type: ${representationType}`);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=getDefaultRepresentationConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultRepresentationConfig.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/getDefaultRepresentationConfig.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,MAAM,kDAAkD,CAAC;AACxF,OAAO,0BAA0B,MAAM,yCAAyC,CAAC;AAQjF,MAAM,CAAC,OAAO,UAAU,8BAA8B,CACpD,YAA0B;IAE1B,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,GAAG,YAAY,CAAC;IAClD,QAAQ,kBAAkB,EAAE;QAC1B,KAAK,0BAA0B,CAAC,QAAQ;YACtC,OAAO,wBAAwB,EAAE,CAAC;QACpC;YACE,MAAM,IAAI,KAAK,CAAC,gCAAgC,kBAAkB,EAAE,CAAC,CAAC;KACzE;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHoveredContourSegmentationAnnotation.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/getHoveredContourSegmentationAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAQvF,MAAM,UAAU,uCAAuC,CAAC,cAAc;IACpE,MAAM,YAAY,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC;IACrD,MAAM,EAAE,iBAAiB,EAAE,GAAG,YAAY,CAAC,kBAAkB,CAAC,OAAO,CAAC;IAEtE,KAAK,MAAM,CAAC,YAAY,EAAE,cAAc,CAAC,IAAI,iBAAiB,CAAC,OAAO,EAAE,EAAE;QACxE,MAAM,wBAAwB,GAAG,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,IAAI,CAC9D,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,WAAW,CAC5D,CAAC;QAEF,IAAI,wBAAwB,EAAE;YAC5B,OAAO,YAAY,CAAC;SACrB;KACF;IAED,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { cache, utilities } from '@cornerstonejs/core';
|
|
2
|
-
import { getSegmentation, getSegmentationIdRepresentations, } from '../../stateManagement/segmentation/segmentationState';
|
|
3
|
-
import { isVolumeSegmentation } from '../../tools/segmentation/strategies/utils/stackVolumeCheck';
|
|
4
|
-
export function getSegmentAtLabelmapBorder(segmentationId, worldPoint, { viewport, searchRadius }) {
|
|
5
|
-
const segmentation = getSegmentation(segmentationId);
|
|
6
|
-
const labelmapData = segmentation.representationData.LABELMAP;
|
|
7
|
-
if (isVolumeSegmentation(labelmapData)) {
|
|
8
|
-
const { volumeId } = labelmapData;
|
|
9
|
-
const segmentationVolume = cache.getVolume(volumeId);
|
|
10
|
-
if (!segmentationVolume) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
const imageData = segmentationVolume.imageData;
|
|
14
|
-
const segmentIndex = imageData.getScalarValueFromWorld(worldPoint);
|
|
15
|
-
const canvasPoint = viewport.worldToCanvas(worldPoint);
|
|
16
|
-
const onEdge = isSegmentOnEdgeCanvas(canvasPoint, segmentIndex, viewport, imageData, searchRadius);
|
|
17
|
-
return onEdge ? segmentIndex : undefined;
|
|
18
|
-
}
|
|
19
|
-
const { imageIdReferenceMap } = labelmapData;
|
|
20
|
-
const currentImageId = viewport.getCurrentImageId();
|
|
21
|
-
const segmentationImageId = imageIdReferenceMap.get(currentImageId);
|
|
22
|
-
const image = cache.getImage(segmentationImageId);
|
|
23
|
-
if (!image) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const segmentationRepresentations = getSegmentationIdRepresentations(segmentation.segmentationId);
|
|
27
|
-
const { segmentationRepresentationUID } = segmentationRepresentations[0];
|
|
28
|
-
const segmentationActor = viewport.getActor(segmentationRepresentationUID);
|
|
29
|
-
const imageData = segmentationActor?.actor.getMapper().getInputData();
|
|
30
|
-
const indexIJK = utilities.transformWorldToIndex(imageData, worldPoint);
|
|
31
|
-
const dimensions = imageData.getDimensions();
|
|
32
|
-
const voxelManager = (imageData.voxelManager ||
|
|
33
|
-
utilities.VoxelManager.createVolumeVoxelManager(dimensions, imageData.getPointData().getScalars().getData()));
|
|
34
|
-
const segmentIndex = voxelManager.getAtIJKPoint(indexIJK);
|
|
35
|
-
const onEdge = isSegmentOnEdgeIJK(indexIJK, dimensions, voxelManager, segmentIndex);
|
|
36
|
-
return onEdge ? segmentIndex : undefined;
|
|
37
|
-
}
|
|
38
|
-
function isSegmentOnEdge(getNeighborIndex, segmentIndex, searchRadius = 1) {
|
|
39
|
-
const neighborRange = Array.from({ length: 2 * searchRadius + 1 }, (_, i) => i - searchRadius);
|
|
40
|
-
for (const deltaI of neighborRange) {
|
|
41
|
-
for (const deltaJ of neighborRange) {
|
|
42
|
-
for (const deltaK of neighborRange) {
|
|
43
|
-
if (deltaI === 0 && deltaJ === 0 && deltaK === 0) {
|
|
44
|
-
continue;
|
|
45
|
-
}
|
|
46
|
-
const neighborIndex = getNeighborIndex(deltaI, deltaJ, deltaK);
|
|
47
|
-
if (neighborIndex !== undefined && segmentIndex !== neighborIndex) {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
function isSegmentOnEdgeIJK(indexIJK, dimensions, voxelManager, segmentIndex, searchRadius) {
|
|
56
|
-
const getNeighborIndex = (deltaI, deltaJ, deltaK) => {
|
|
57
|
-
const neighborIJK = [
|
|
58
|
-
indexIJK[0] + deltaI,
|
|
59
|
-
indexIJK[1] + deltaJ,
|
|
60
|
-
indexIJK[2] + deltaK,
|
|
61
|
-
];
|
|
62
|
-
return voxelManager.getAtIJK(...neighborIJK);
|
|
63
|
-
};
|
|
64
|
-
return isSegmentOnEdge(getNeighborIndex, segmentIndex, searchRadius);
|
|
65
|
-
}
|
|
66
|
-
function isSegmentOnEdgeCanvas(canvasPoint, segmentIndex, viewport, imageData, searchRadius) {
|
|
67
|
-
const getNeighborIndex = (deltaI, deltaJ) => {
|
|
68
|
-
const neighborCanvas = [canvasPoint[0] + deltaI, canvasPoint[1] + deltaJ];
|
|
69
|
-
const worldPoint = viewport.canvasToWorld(neighborCanvas);
|
|
70
|
-
return imageData.getScalarValueFromWorld(worldPoint);
|
|
71
|
-
};
|
|
72
|
-
return isSegmentOnEdge(getNeighborIndex, segmentIndex, searchRadius);
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=getSegmentAtLabelmapBorder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSegmentAtLabelmapBorder.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/getSegmentAtLabelmapBorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EACL,eAAe,EACf,gCAAgC,GACjC,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAiBlG,MAAM,UAAU,0BAA0B,CACxC,cAAsB,EACtB,UAAwB,EACxB,EAAE,QAAQ,EAAE,YAAY,EAAW;IAEnC,MAAM,YAAY,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC;IAErD,MAAM,YAAY,GAAG,YAAY,CAAC,kBAAkB,CAAC,QAAQ,CAAC;IAE9D,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE;QACtC,MAAM,EAAE,QAAQ,EAAE,GAAG,YAA8C,CAAC;QACpE,MAAM,kBAAkB,GAAG,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAErD,IAAI,CAAC,kBAAkB,EAAE;YACvB,OAAO;SACR;QAED,MAAM,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC;QAE/C,MAAM,YAAY,GAAG,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;QAEnE,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAEvD,MAAM,MAAM,GAAG,qBAAqB,CAClC,WAA2B,EAC3B,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAY,CAC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S,qBAAqB,CAC5B,WAAyB,EACzB,YAAoB,EACpB,QAAyB,EACzB,SAAc,EACd,YAAqB;IAErB,MAAM,gBAAgB,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE;QAC1D,MAAM,cAAc,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;QAE1E,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,cAA8B,CAAC,CAAC;QAC1E,OAAO,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACvD,CAAC,CAAC;IAEF,OAAO,eAAe,CAAC,gBAAgB,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { cache, utilities } from '@cornerstonejs/core';
|
|
2
|
-
import { SegmentationRepresentations } from '../../enums';
|
|
3
|
-
import { getSegmentation, getSegmentationIdRepresentations, } from '../../stateManagement/segmentation/segmentationState';
|
|
4
|
-
import { isVolumeSegmentation } from '../../tools/segmentation/strategies/utils/stackVolumeCheck';
|
|
5
|
-
import { getAnnotation } from '../../stateManagement';
|
|
6
|
-
import { isPointInsidePolyline3D } from '../math/polyline';
|
|
7
|
-
export function getSegmentAtWorldPoint(segmentationId, worldPoint, options = {}) {
|
|
8
|
-
const segmentation = getSegmentation(segmentationId);
|
|
9
|
-
const representationData = segmentation.representationData;
|
|
10
|
-
const desiredRepresentation = options?.representationType ?? Object.keys(representationData)[0];
|
|
11
|
-
if (!desiredRepresentation) {
|
|
12
|
-
throw new Error(`Segmentation ${segmentationId} does not have any representations`);
|
|
13
|
-
}
|
|
14
|
-
switch (desiredRepresentation) {
|
|
15
|
-
case SegmentationRepresentations.Labelmap:
|
|
16
|
-
return getSegmentAtWorldForLabelmap(segmentation, worldPoint, options);
|
|
17
|
-
case SegmentationRepresentations.Contour:
|
|
18
|
-
return getSegmentAtWorldForContour(segmentation, worldPoint, options);
|
|
19
|
-
default:
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export function getSegmentAtWorldForLabelmap(segmentation, worldPoint, { viewport }) {
|
|
24
|
-
const labelmapData = segmentation.representationData.LABELMAP;
|
|
25
|
-
if (isVolumeSegmentation(labelmapData)) {
|
|
26
|
-
const { volumeId } = labelmapData;
|
|
27
|
-
const segmentationVolume = cache.getVolume(volumeId);
|
|
28
|
-
if (!segmentationVolume) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const segmentIndex = segmentationVolume.imageData.getScalarValueFromWorld(worldPoint);
|
|
32
|
-
return segmentIndex;
|
|
33
|
-
}
|
|
34
|
-
const { imageIdReferenceMap } = labelmapData;
|
|
35
|
-
const currentImageId = viewport.getCurrentImageId();
|
|
36
|
-
const segmentationImageId = imageIdReferenceMap.get(currentImageId);
|
|
37
|
-
const image = cache.getImage(segmentationImageId);
|
|
38
|
-
if (!image) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
const segmentationRepresentations = getSegmentationIdRepresentations(segmentation.segmentationId);
|
|
42
|
-
const { segmentationRepresentationUID } = segmentationRepresentations[0];
|
|
43
|
-
const segmentationActor = viewport.getActor(segmentationRepresentationUID);
|
|
44
|
-
const imageData = segmentationActor?.actor.getMapper().getInputData();
|
|
45
|
-
const indexIJK = utilities.transformWorldToIndex(imageData, worldPoint);
|
|
46
|
-
const dimensions = imageData.getDimensions();
|
|
47
|
-
const voxelManager = (imageData.voxelManager ||
|
|
48
|
-
utilities.VoxelManager.createVolumeVoxelManager(dimensions, imageData.getPointData().getScalars().getData()));
|
|
49
|
-
const segmentIndex = voxelManager.getAtIJKPoint(indexIJK);
|
|
50
|
-
return segmentIndex;
|
|
51
|
-
}
|
|
52
|
-
export function getSegmentAtWorldForContour(segmentation, worldPoint, { viewport }) {
|
|
53
|
-
const contourData = segmentation.representationData.CONTOUR;
|
|
54
|
-
const segmentIndices = Array.from(contourData.annotationUIDsMap.keys());
|
|
55
|
-
const { viewPlaneNormal } = viewport.getCamera();
|
|
56
|
-
for (const segmentIndex of segmentIndices) {
|
|
57
|
-
const annotationsSet = contourData.annotationUIDsMap.get(segmentIndex);
|
|
58
|
-
if (!annotationsSet) {
|
|
59
|
-
continue;
|
|
60
|
-
}
|
|
61
|
-
for (const annotationUID of annotationsSet) {
|
|
62
|
-
const annotation = getAnnotation(annotationUID);
|
|
63
|
-
if (!annotation) {
|
|
64
|
-
continue;
|
|
65
|
-
}
|
|
66
|
-
const { polyline } = annotation.data.contour;
|
|
67
|
-
if (!utilities.isEqual(viewPlaneNormal, annotation.metadata.viewPlaneNormal)) {
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
if (isPointInsidePolyline3D(worldPoint, polyline)) {
|
|
71
|
-
return Number(segmentIndex);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=getSegmentAtWorldPoint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSegmentAtWorldPoint.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/getSegmentAtWorldPoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,gCAAgC,GACjC,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAElG,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAc3D,MAAM,UAAU,sBAAsB,CACpC,cAAsB,EACtB,UAAwB,EACxB,UAAU,EAAa;IAEvB,MAAM,YAAY,GAAG,eAAe,CAAC,cAAc,CAA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,YAAY,CAAC,CAAC;QAEvE,IAAI,CAAC,cAAc,EAAE;YACnB,SAAS;SACV;QAED,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE;YAC1C,MAAM,UAAU,GAAG,aAAa,CAC9B,aAAa,CACmB,CAAC;YAEnC,IAAI,CAAC,UAAU,EAAE;gBACf,SAAS;aACV;YAED,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC;YAE7C,IACE,CAAC,SAAS,CAAC,OAAO,CAAC,eAAe,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,EACxE;gBACA,SAAS;aACV;YAKD,IAAI,uBAAuB,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE;gBACjD,OAAO,MAAM,CAAC,YAAY,CAAC,CAAC;aAC7B;SACF;KACF;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUniqueSegmentIndices.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/getUniqueSegmentIndices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAGhC,CAAC;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,cAAsB,EAAE,EAAE;IAC7D,MAAM,MAAM,GAAG,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACvD,IAAI,MAAM,EAAE;QACV,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;KACvB;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,cAAsB,EAAE,EAAE;IAC7D,MAAM,MAAM,GAAG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AC7B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,2BAA2B,EAC3B,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,EAC1B,uCAAuC,EACvC,qBAAqB,GACtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalidateBrushCursor.js","sourceRoot":"","sources":["../../../../src/utilities/segmentation/invalidateBrushCursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,qCAAqC,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AASpD,MAAM,UAAU,qBAAqB,CAAC,WAAmB;IACvD,MAAM,SAAS,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;IAE5C,IAAI,SAAS,KAAK,SAAS,EAAE;QAC3B,OAAO;KACR;IAED,MAAM,uBAAuB,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAEnE,uBAAuB,CAAC,OAAO,CAAC,CAAC,IAAe,EAAE,EAAE;QAElD,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;IAGH,MAAM,aAAa,GAAG,SAAS,CAAC,gBAAgB,EAAE,CAAC;IAEnD,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,CACvD,CAAC,GAAG,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,CAC5B,CAAC;IAEF,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE;QAC9B,OAAO;KACR;IAED,MAAM,EAAE,iBAAiB,EAAE,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAIpD,MAAM,WAAW,GAAG,SAAS,CAAC,cAAc,EAAE,CAAC;IAE/C,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AAK,YAAY,IAAI,uBAAuB,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;QACvE,CAAC;QAED,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,KAAa,CAAC;QAE3D,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;YACf,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC;YACtB,MAAM,KAAK,GACT,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC;YACzE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;YAC7B,OAAO,KAAK,KAAK,YAAY,IAAI,uBAAuB,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;QACvE,CAAC;KACF,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { isValidLabelmapConfig } from '../../tools/displayTools/Labelmap/labelmapConfig';
|
|
2
|
-
import SegmentationRepresentation from '../../enums/SegmentationRepresentations';
|
|
3
|
-
export default function isValidRepresentationConfig(representationType, config) {
|
|
4
|
-
switch (representationType) {
|
|
5
|
-
case SegmentationRepresentation.Labelmap:
|
|
6
|
-
return isValidLabelmapConfig(config);
|
|
7
|
-
default:
|
|
8
|
-
throw new Error(`Unknown representation type: ${representationType}`);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=isValidRepresentationConfig.js.map
|