@ohif/app 3.9.0-beta.3 → 3.9.0-beta.30
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/{117.bundle.a80b1511ef4b302fb7cc.js → 117.bundle.ba41cf7978afb629dcff.js} +66 -18
- package/dist/{889.bundle.5611d644c8cb24f864ff.js → 121.bundle.461cdd26c51e085deaec.js} +40 -12
- package/dist/{998.bundle.b8ffa2bc390d5d4edf16.js → 129.bundle.ccccc4e42658b699feca.js} +22 -21
- package/dist/{574.bundle.72bd5061ccd504235419.js → 139.bundle.679c4baad7c7f65ebabd.js} +25 -37
- package/dist/{989.bundle.bf6bc62794b717824f7e.js → 14.bundle.d598ec76439971a82907.js} +5 -5
- package/dist/{783.bundle.126cd640a5fd49804d8e.js → 140.bundle.62747296bb3696dd345f.js} +2 -2
- package/dist/{164.bundle.1da1cadb56951caef1d6.js → 164.bundle.79cc35bc3e6b792636cd.js} +334 -44
- package/dist/{544.bundle.e8227e98860e39636a00.js → 172.bundle.e3e82e398b39958577e6.js} +16 -30
- package/dist/{487.bundle.b1a29dcf2b152693935d.js → 194.bundle.9cd41c6e2b415f350d2c.js} +5 -5
- package/dist/{699.bundle.2adb0c0ad7f7cb9e338a.js → 211.bundle.ab7c92a8a4df9aec1b43.js} +33 -4
- package/dist/{776.bundle.9680d347bafb63f8688a.js → 218.bundle.4a08087f702d768af647.js} +14 -9
- package/dist/{236.bundle.4ca7987e1d57f60ec13a.js → 236.bundle.343bcd0be60d0ae61901.js} +396 -56
- package/dist/{530.bundle.17b9a34fefff133e5379.js → 265.bundle.b32a0cc143efa80ee3cc.js} +8 -12
- package/dist/{862.bundle.55dde21bab4c841b6259.js → 323.bundle.8e5137bf61179c8704d6.js} +5 -9
- package/dist/{342.bundle.340982440de15f540a89.js → 342.bundle.67c49f2e52829a5696a4.js} +7 -0
- package/dist/{550.bundle.a2267752bc8874fedfd5.js → 363.bundle.954d90c5692cbb941b4a.js} +226 -150
- package/dist/{473.bundle.6cd4be953853f35b29c3.js → 367.bundle.6a0746aeca702ae6eba6.js} +279 -29
- package/dist/{806.bundle.50e039eb624382ee1fce.js → 370.bundle.02108fbb881fbe75b59c.js} +82 -11
- package/dist/{682.bundle.ec07ec1bc2f69f9d0d94.js → 382.bundle.d4252c006f2f98873356.js} +24 -4
- package/dist/{907.bundle.13dc5f4b5581d12562b8.js → 444.bundle.4cd603be188efd1315c0.js} +4 -4
- package/dist/{483.bundle.a353efc5a5dd563c903c.js → 483.bundle.016de3c3ec209d9fa42a.js} +16 -3
- package/dist/{35.bundle.0168d78bfad0cb784112.js → 501.bundle.3dcc63f03d9c252a9bee.js} +885 -312
- package/dist/{905.bundle.4105e428f61f925a310d.js → 552.bundle.d313d009d2c2e305dded.js} +3 -3
- package/dist/{981.bundle.a0fabcf9845c1a623990.js → 555.bundle.c6c0a1fe9e2c03f8af8c.js} +7 -6
- package/dist/{939.bundle.9d93b2e47c52338747a2.js → 612.bundle.297a033523539e0b47f9.js} +2 -2
- package/dist/{295.bundle.9926ff25c6dbf53845b1.js → 675.bundle.c9720f40fd7c7e9b7e54.js} +5 -9
- package/dist/{325.bundle.98612a2afacf5d63b25a.js → 717.bundle.3a92ee3bed8e262a711f.js} +32 -23
- package/dist/{722.bundle.2547630541b670f10d6e.js → 722.bundle.1242e0348afc63ca4f5e.js} +10 -4
- package/dist/{121.bundle.b582314ec0024fdf2d15.js → 792.bundle.485ad2f98823a4b3feb1.js} +6 -10
- package/dist/{721.bundle.a210baa38d34b9bcacfd.js → 799.bundle.990e75c08a3433cf365e.js} +12 -12
- package/dist/{448.bundle.70dc1363d8b2783dc51e.js → 806.bundle.66255407803c821b5dd8.js} +5 -5
- package/dist/{390.bundle.2751b81dbe439a40ba90.js → 827.bundle.0ea035fe8a66ed623ca9.js} +446 -53
- package/dist/{297.bundle.194d8985ab974839b5b6.js → 837.bundle.ff9fe44bf863a5bceabc.js} +2 -2
- package/dist/{961.bundle.2c81565fe334d6cd2f9c.js → 853.bundle.c9ec20a34533e6a3cc9a.js} +4 -4
- package/dist/{94.bundle.9b92ece5801a7df7d08c.js → 920.bundle.a1610f58fa4bbb2fec10.js} +39 -9
- package/dist/{243.bundle.96439f589bc338b977ea.js → 989.bundle.846e557e47d4cae6d040.js} +4 -4
- package/dist/app-config.js +5 -1
- package/dist/app.bundle.css +5 -4
- package/dist/{app.bundle.cbecae40543f47cc8c7e.js → app.bundle.e7838557fb4fd76da32e.js} +162742 -46045
- package/dist/assets/images/action-new-dialog.svg +14 -0
- package/dist/assets/images/arrow-down.svg +5 -0
- package/dist/assets/images/arrow-left-small.svg +6 -0
- package/dist/assets/images/arrow-left.svg +6 -0
- package/dist/assets/images/arrow-right-small.svg +6 -0
- package/dist/assets/images/arrow-right.svg +6 -0
- package/dist/assets/images/calendar.svg +5 -0
- package/dist/assets/images/cancel.svg +8 -0
- package/dist/assets/images/checkbox-active.svg +9 -0
- package/dist/assets/images/checkbox-checked.svg +9 -0
- package/dist/assets/images/checkbox-default.svg +3 -0
- package/dist/assets/images/checkbox-unchecked.svg +3 -0
- package/dist/assets/images/chevron-down.svg +3 -0
- package/dist/assets/images/chevron-left.svg +3 -0
- package/dist/assets/images/chevron-menu.svg +12 -0
- package/dist/assets/images/chevron-next.svg +6 -0
- package/dist/assets/images/chevron-prev.svg +6 -0
- package/dist/assets/images/chevron-right.svg +3 -0
- package/dist/assets/images/circled-checkmark.svg +6 -0
- package/dist/assets/images/clipboard.svg +1 -0
- package/dist/assets/images/closeIcon.svg +3 -0
- package/dist/assets/images/content-next.svg +9 -0
- package/dist/assets/images/content-prev.svg +9 -0
- package/dist/assets/images/dotted-circle.svg +3 -0
- package/dist/assets/images/edit-patient.svg +15 -0
- package/dist/assets/images/exclamation.svg +9 -0
- package/dist/assets/images/external-link.svg +5 -0
- package/dist/assets/images/eye-hidden.svg +8 -0
- package/dist/assets/images/eye-visible.svg +6 -0
- package/dist/assets/images/focus-frame-target.svg +13 -0
- package/dist/assets/images/group-layers.svg +6 -0
- package/dist/assets/images/icon-add.svg +15 -0
- package/dist/assets/images/icon-alert-small.svg +8 -0
- package/dist/assets/images/icon-chevron-patient.svg +12 -0
- package/dist/assets/images/icon-clear-field.svg +8 -0
- package/dist/assets/images/icon-close.svg +8 -0
- package/dist/assets/images/icon-color-lut.svg +23 -0
- package/dist/assets/images/icon-delete.svg +17 -0
- package/dist/assets/images/icon-disclosure-close.svg +12 -0
- package/dist/assets/images/icon-disclosure-open.svg +12 -0
- package/dist/assets/images/icon-display-settings.svg +21 -0
- package/dist/assets/images/icon-more-menu.svg +17 -0
- package/dist/assets/images/icon-mpr-alt.svg +9 -0
- package/dist/assets/images/icon-multiple-patients.svg +21 -0
- package/dist/assets/images/icon-next-inactive.svg +6 -0
- package/dist/assets/images/icon-next.svg +6 -0
- package/dist/assets/images/icon-patient.svg +13 -0
- package/dist/assets/images/icon-pause.svg +6 -0
- package/dist/assets/images/icon-play.svg +6 -0
- package/dist/assets/images/icon-prev-inactive.svg +6 -0
- package/dist/assets/images/icon-prev.svg +6 -0
- package/dist/assets/images/icon-rename.svg +15 -0
- package/dist/assets/images/icon-search.svg +9 -0
- package/dist/assets/images/icon-settings.svg +13 -0
- package/dist/assets/images/icon-status-alert.svg +8 -0
- package/dist/assets/images/icon-tool-scissor.svg +17 -0
- package/dist/assets/images/icon-toolbar-back.svg +12 -0
- package/dist/assets/images/icon-transferring.svg +6 -0
- package/dist/assets/images/icon-upload.svg +6 -0
- package/dist/assets/images/icons-alert-outline.svg +8 -0
- package/dist/assets/images/illustration-investigational-use.svg +20 -0
- package/dist/assets/images/info-action.svg +10 -0
- package/dist/assets/images/info-link.svg +7 -0
- package/dist/assets/images/info.svg +3 -0
- package/dist/assets/images/launch-arrow.svg +7 -0
- package/dist/assets/images/launch-info.svg +8 -0
- package/dist/assets/images/layout-advanced-3d-four-up.svg +13 -0
- package/dist/assets/images/layout-advanced-3d-main.svg +12 -0
- package/dist/assets/images/layout-advanced-3d-only.svg +9 -0
- package/dist/assets/images/layout-advanced-3d-primary.svg +12 -0
- package/dist/assets/images/layout-advanced-axial-primary.svg +11 -0
- package/dist/assets/images/layout-advanced-mpr.svg +11 -0
- package/dist/assets/images/layout-common-1x1.svg +9 -0
- package/dist/assets/images/layout-common-1x2.svg +10 -0
- package/dist/assets/images/layout-common-2x2.svg +11 -0
- package/dist/assets/images/layout-common-2x3.svg +12 -0
- package/dist/assets/images/list-bullets.svg +10 -0
- package/dist/assets/images/loading-ohif-mark.svg +5 -0
- package/dist/assets/images/lock.svg +1 -0
- package/dist/assets/images/logo-ohif-small.svg +5 -0
- package/dist/assets/images/magnifier.svg +7 -0
- package/dist/assets/images/navigation-panel-right-hide.svg +5 -0
- package/dist/assets/images/navigation-panel-right-reveal.svg +5 -0
- package/dist/assets/images/next-arrow.svg +12 -0
- package/dist/assets/images/notifications-error.svg +8 -0
- package/dist/assets/images/notifications-info.svg +8 -0
- package/dist/assets/images/notifications-success.svg +6 -0
- package/dist/assets/images/notifications-warning.svg +8 -0
- package/dist/assets/images/notificationwarning-diamond.svg +10 -0
- package/dist/assets/images/ohif-logo-color-darkbg.svg +20 -0
- package/dist/assets/images/ohif-logo.svg +18 -0
- package/dist/assets/images/old-play.svg +9 -0
- package/dist/assets/images/old-stop.svg +9 -0
- package/dist/assets/images/old-trash.svg +9 -0
- package/dist/assets/images/panel-group-more.svg +6 -0
- package/dist/assets/images/panel-group-open-close.svg +6 -0
- package/dist/assets/images/pencil.svg +4 -0
- package/dist/assets/images/power-off.svg +11 -0
- package/dist/assets/images/prev-arrow.svg +12 -0
- package/dist/assets/images/profile.svg +1 -0
- package/dist/assets/images/push-left.svg +5 -0
- package/dist/assets/images/push-right.svg +5 -0
- package/dist/assets/images/row-add.svg +8 -0
- package/dist/assets/images/row-edit.svg +9 -0
- package/dist/assets/images/row-hidden.svg +11 -0
- package/dist/assets/images/row-lock.svg +7 -0
- package/dist/assets/images/row-shown.svg +9 -0
- package/dist/assets/images/row-unlock.svg +7 -0
- package/dist/assets/images/settings.svg +6 -0
- package/dist/assets/images/side-panel-close-left.svg +14 -0
- package/dist/assets/images/side-panel-close-right.svg +14 -0
- package/dist/assets/images/sorting-active-down.svg +6 -0
- package/dist/assets/images/sorting-active-up.svg +6 -0
- package/dist/assets/images/sorting.svg +6 -0
- package/dist/assets/images/status-alert-warning.svg +9 -0
- package/dist/assets/images/status-alert.svg +7 -0
- package/dist/assets/images/status-locked.svg +7 -0
- package/dist/assets/images/status-tracked.svg +7 -0
- package/dist/assets/images/status-untracked.svg +6 -0
- package/dist/assets/images/tab-4d.svg +13 -0
- package/dist/assets/images/tab-linear.svg +8 -0
- package/dist/assets/images/tab-patient-info.svg +7 -0
- package/dist/assets/images/tab-roi-threshold.svg +10 -0
- package/dist/assets/images/tab-segmentation.svg +11 -0
- package/dist/assets/images/tab-studies.svg +13 -0
- package/dist/assets/images/tool-3d-rotate.svg +20 -0
- package/dist/assets/images/tool-angle.svg +12 -0
- package/dist/assets/images/tool-annotate.svg +11 -0
- package/dist/assets/images/tool-bidirectional.svg +21 -0
- package/dist/assets/images/tool-calibrate.svg +19 -0
- package/dist/assets/images/tool-capture.svg +10 -0
- package/dist/assets/images/tool-cine.svg +9 -0
- package/dist/assets/images/tool-circle.svg +8 -0
- package/dist/assets/images/tool-create-threshold.svg +9 -0
- package/dist/assets/images/tool-crosshair.svg +14 -0
- package/dist/assets/images/tool-dicom-tag-browser.svg +15 -0
- package/dist/assets/images/tool-flip-horizontal.svg +10 -0
- package/dist/assets/images/tool-freehand-polygon.svg +37 -0
- package/dist/assets/images/tool-freehand-roi.svg +12 -0
- package/dist/assets/images/tool-freehand.svg +34 -0
- package/dist/assets/images/tool-fusion-color.svg +13 -0
- package/dist/assets/images/tool-invert.svg +10 -0
- package/dist/assets/images/tool-layout-default.svg +22 -0
- package/dist/assets/images/tool-length.svg +16 -0
- package/dist/assets/images/tool-magnetic-roi.svg +17 -0
- package/dist/assets/images/tool-magnify.svg +7 -0
- package/dist/assets/images/tool-measure-elipse.svg +12 -0
- package/dist/assets/images/tool-more-menu.svg +6 -0
- package/dist/assets/images/tool-move.svg +13 -0
- package/dist/assets/images/tool-polygon.svg +3 -0
- package/dist/assets/images/tool-quick-magnify.svg +11 -0
- package/dist/assets/images/tool-rectangle.svg +12 -0
- package/dist/assets/images/tool-reference-lines.svg +13 -0
- package/dist/assets/images/tool-reset.svg +9 -0
- package/dist/assets/images/tool-rotate-right.svg +12 -0
- package/dist/assets/images/tool-seg-brush.svg +9 -0
- package/dist/assets/images/tool-seg-eraser.svg +10 -0
- package/dist/assets/images/tool-seg-shape.svg +9 -0
- package/dist/assets/images/tool-seg-threshold.svg +17 -0
- package/dist/assets/images/tool-spline-roi.svg +14 -0
- package/dist/assets/images/tool-stack-image-sync.svg +10 -0
- package/dist/assets/images/tool-stack-scroll.svg +10 -0
- package/dist/assets/images/tool-toggle-dicom-overlay.svg +9 -0
- package/dist/assets/images/tool-ultrasound-bidirectional.svg +15 -0
- package/dist/assets/images/tool-window-level.svg +9 -0
- package/dist/assets/images/tool-zoom.svg +9 -0
- package/dist/assets/images/tracked.svg +6 -0
- package/dist/assets/images/ui-arrow-down.svg +3 -0
- package/dist/assets/images/ui-arrow-left.svg +3 -0
- package/dist/assets/images/ui-arrow-right.svg +3 -0
- package/dist/assets/images/ui-arrow-up.svg +3 -0
- package/dist/assets/images/unlink.svg +9 -0
- package/dist/assets/images/viewport-status-tracked.svg +13 -0
- package/dist/assets/images/viewport-window-level.svg +17 -0
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/google.js +1 -0
- package/dist/{histogram-worker.bundle.829e14ec12c2b41a4323.js → histogram-worker.bundle.6b31e5ed4c4a7a6998f2.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.1799686b019040500219.js → polySeg.bundle.cc8400971fca41347b25.js} +3 -3
- package/dist/{suv-peak-worker.bundle.25f8b85eab9ec06da48d.js → suv-peak-worker.bundle.59ea76ac47db7a736234.js} +4 -4
- package/dist/sw.js +1 -1
- package/package.json +26 -23
- /package/dist/{998.css → 129.css} +0 -0
- /package/dist/{574.css → 139.css} +0 -0
- /package/dist/{544.css → 172.css} +0 -0
- /package/dist/{550.css → 363.css} +0 -0
- /package/dist/{325.css → 404.css} +0 -0
- /package/dist/{481.css → 717.css} +0 -0
- /package/dist/{726.bundle.c8de818cf1a3ff0cf7d2.js → 726.bundle.90d63d40a19b058034ee.js} +0 -0
- /package/dist/{835.bundle.4c0eaa2c1a427ee41817.js → 835.bundle.5d1951da8bbc6afdf3e0.js} +0 -0
- /package/dist/{931.bundle.d270a1fda9a2836c3cc5.js → 931.bundle.058f8de4606f27b31f4f.js} +0 -0
|
@@ -975,7 +975,7 @@ const CursorNames = [...svgCursorNames, ...standardCursorNames];
|
|
|
975
975
|
|
|
976
976
|
/***/ }),
|
|
977
977
|
|
|
978
|
-
/***/
|
|
978
|
+
/***/ 49574:
|
|
979
979
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
980
980
|
|
|
981
981
|
// ESM COMPAT FLAG
|
|
@@ -995,6 +995,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
995
995
|
drawPath: () => (/* reexport */ drawPath),
|
|
996
996
|
drawPolyline: () => (/* reexport */ drawPolyline),
|
|
997
997
|
drawRect: () => (/* reexport */ drawRect),
|
|
998
|
+
drawRectByCoordinates: () => (/* reexport */ drawRectByCoordinates),
|
|
998
999
|
drawRedactionRect: () => (/* reexport */ drawRedactionRect),
|
|
999
1000
|
drawTextBox: () => (/* reexport */ drawingSvg_drawTextBox),
|
|
1000
1001
|
setAttributesIfNecessary: () => (/* reexport */ drawingSvg_setAttributesIfNecessary),
|
|
@@ -1514,11 +1515,11 @@ function drawLinkedTextBox(svgDrawingHelper, annotationUID, textBoxUID, textLine
|
|
|
1514
1515
|
}
|
|
1515
1516
|
/* harmony default export */ const drawingSvg_drawLinkedTextBox = (drawLinkedTextBox);
|
|
1516
1517
|
|
|
1517
|
-
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/
|
|
1518
|
+
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawRectByCoordinates.js
|
|
1518
1519
|
|
|
1519
1520
|
|
|
1520
1521
|
|
|
1521
|
-
function
|
|
1522
|
+
function drawRectByCoordinates(svgDrawingHelper, annotationUID, rectangleUID, canvasCoordinates, options = {}, dataId = '') {
|
|
1522
1523
|
const { color, width: _width, lineWidth, lineDash, } = Object.assign({
|
|
1523
1524
|
color: 'rgb(0, 255, 0)',
|
|
1524
1525
|
width: '2',
|
|
@@ -1529,16 +1530,28 @@ function drawRect(svgDrawingHelper, annotationUID, rectangleUID, start, end, opt
|
|
|
1529
1530
|
const svgns = 'http://www.w3.org/2000/svg';
|
|
1530
1531
|
const svgNodeHash = drawingSvg_getHash(annotationUID, 'rect', rectangleUID);
|
|
1531
1532
|
const existingRect = svgDrawingHelper.getSvgNode(svgNodeHash);
|
|
1532
|
-
const
|
|
1533
|
-
const width = Math.
|
|
1534
|
-
const height = Math.
|
|
1533
|
+
const [topLeft, topRight, bottomLeft, bottomRight] = canvasCoordinates;
|
|
1534
|
+
const width = Math.hypot(topLeft[0] - topRight[0], topLeft[1] - topRight[1]);
|
|
1535
|
+
const height = Math.hypot(topLeft[0] - bottomLeft[0], topLeft[1] - bottomLeft[1]);
|
|
1536
|
+
const center = [
|
|
1537
|
+
(bottomRight[0] + topLeft[0]) / 2,
|
|
1538
|
+
(bottomRight[1] + topLeft[1]) / 2,
|
|
1539
|
+
];
|
|
1540
|
+
const leftEdgeCenter = [
|
|
1541
|
+
(bottomLeft[0] + topLeft[0]) / 2,
|
|
1542
|
+
(bottomLeft[1] + topLeft[1]) / 2,
|
|
1543
|
+
];
|
|
1544
|
+
const angle = (Math.atan2(center[1] - leftEdgeCenter[1], center[0] - leftEdgeCenter[0]) *
|
|
1545
|
+
180) /
|
|
1546
|
+
Math.PI;
|
|
1535
1547
|
const attributes = {
|
|
1536
|
-
x: `${
|
|
1537
|
-
y: `${
|
|
1548
|
+
x: `${center[0] - width / 2}`,
|
|
1549
|
+
y: `${center[1] - height / 2}`,
|
|
1538
1550
|
width: `${width}`,
|
|
1539
1551
|
height: `${height}`,
|
|
1540
1552
|
stroke: color,
|
|
1541
1553
|
fill: 'transparent',
|
|
1554
|
+
transform: `rotate(${angle} ${center[0]} ${center[1]})`,
|
|
1542
1555
|
'stroke-width': strokeWidth,
|
|
1543
1556
|
'stroke-dasharray': lineDash,
|
|
1544
1557
|
};
|
|
@@ -1556,6 +1569,16 @@ function drawRect(svgDrawingHelper, annotationUID, rectangleUID, start, end, opt
|
|
|
1556
1569
|
}
|
|
1557
1570
|
}
|
|
1558
1571
|
|
|
1572
|
+
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawRect.js
|
|
1573
|
+
|
|
1574
|
+
function drawRect(svgDrawingHelper, annotationUID, rectangleUID, start, end, options = {}, dataId = '') {
|
|
1575
|
+
const topLeft = [start[0], start[1]];
|
|
1576
|
+
const topRight = [end[0], start[1]];
|
|
1577
|
+
const bottomLeft = [start[0], end[1]];
|
|
1578
|
+
const bottomRight = [end[0], end[1]];
|
|
1579
|
+
drawRectByCoordinates(svgDrawingHelper, annotationUID, rectangleUID, [topLeft, topRight, bottomLeft, bottomRight], options, dataId);
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1559
1582
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawArrow.js
|
|
1560
1583
|
|
|
1561
1584
|
function drawArrow(svgDrawingHelper, annotationUID, arrowUID, start, end, options = {}) {
|
|
@@ -1661,6 +1684,7 @@ function drawRedactionRect(svgDrawingHelper, annotationUID, rectangleUID, start,
|
|
|
1661
1684
|
|
|
1662
1685
|
|
|
1663
1686
|
|
|
1687
|
+
|
|
1664
1688
|
/***/ }),
|
|
1665
1689
|
|
|
1666
1690
|
/***/ 42111:
|
|
@@ -1891,7 +1915,7 @@ var WorkerTypes_ChangeTypes;
|
|
|
1891
1915
|
|
|
1892
1916
|
/***/ }),
|
|
1893
1917
|
|
|
1894
|
-
/***/
|
|
1918
|
+
/***/ 94101:
|
|
1895
1919
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1896
1920
|
|
|
1897
1921
|
|
|
@@ -1899,6 +1923,7 @@ var WorkerTypes_ChangeTypes;
|
|
|
1899
1923
|
__webpack_require__.d(__webpack_exports__, {
|
|
1900
1924
|
dj: () => (/* reexport */ annotationInterpolationEventDispatcher),
|
|
1901
1925
|
aB: () => (/* reexport */ cameraModifiedEventDispatcher),
|
|
1926
|
+
we: () => (/* reexport */ cameraResetEventDispatcher),
|
|
1902
1927
|
In: () => (/* reexport */ imageRenderedEventDispatcher),
|
|
1903
1928
|
z5: () => (/* reexport */ imageSpacingCalibratedEventDispatcher),
|
|
1904
1929
|
V$: () => (/* reexport */ eventDispatchers_keyboardToolEventDispatcher),
|
|
@@ -2086,6 +2111,34 @@ const annotationInterpolationEventDispatcher_disable = function () {
|
|
|
2086
2111
|
disable: annotationInterpolationEventDispatcher_disable,
|
|
2087
2112
|
});
|
|
2088
2113
|
|
|
2114
|
+
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/cameraResetEventDispatcher.js
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
const { Active: cameraResetEventDispatcher_Active, Passive: cameraResetEventDispatcher_Passive, Enabled: cameraResetEventDispatcher_Enabled } = enums.ToolModes;
|
|
2119
|
+
const onCameraReset = function (evt) {
|
|
2120
|
+
const enabledTools = (0,getToolsWithModesForMouseEvent/* default */.A)(evt, [
|
|
2121
|
+
cameraResetEventDispatcher_Active,
|
|
2122
|
+
cameraResetEventDispatcher_Passive,
|
|
2123
|
+
cameraResetEventDispatcher_Enabled,
|
|
2124
|
+
]);
|
|
2125
|
+
enabledTools.forEach((tool) => {
|
|
2126
|
+
if (tool.onResetCamera) {
|
|
2127
|
+
tool.onResetCamera(evt);
|
|
2128
|
+
}
|
|
2129
|
+
});
|
|
2130
|
+
};
|
|
2131
|
+
const cameraResetEventDispatcher_enable = function (element) {
|
|
2132
|
+
element.addEventListener(esm.Enums.Events.CAMERA_RESET, onCameraReset);
|
|
2133
|
+
};
|
|
2134
|
+
const cameraResetEventDispatcher_disable = function (element) {
|
|
2135
|
+
element.removeEventListener(esm.Enums.Events.CAMERA_RESET, onCameraReset);
|
|
2136
|
+
};
|
|
2137
|
+
/* harmony default export */ const cameraResetEventDispatcher = ({
|
|
2138
|
+
enable: cameraResetEventDispatcher_enable,
|
|
2139
|
+
disable: cameraResetEventDispatcher_disable,
|
|
2140
|
+
});
|
|
2141
|
+
|
|
2089
2142
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/index.js
|
|
2090
2143
|
|
|
2091
2144
|
|
|
@@ -2097,6 +2150,7 @@ const annotationInterpolationEventDispatcher_disable = function () {
|
|
|
2097
2150
|
|
|
2098
2151
|
|
|
2099
2152
|
|
|
2153
|
+
|
|
2100
2154
|
/***/ }),
|
|
2101
2155
|
|
|
2102
2156
|
/***/ 90202:
|
|
@@ -2716,7 +2770,7 @@ function _imageChangeEventListener(evt) {
|
|
|
2716
2770
|
imageActor.getMapper().setInputData(imageData);
|
|
2717
2771
|
},
|
|
2718
2772
|
},
|
|
2719
|
-
]
|
|
2773
|
+
]);
|
|
2720
2774
|
(0,triggerSegmentationRender/* default */.Ay)(toolGroup.id);
|
|
2721
2775
|
return;
|
|
2722
2776
|
}
|
|
@@ -2892,6 +2946,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2892
2946
|
/* harmony export */ UltrasoundDirectionalTool: () => (/* reexport safe */ _tools__WEBPACK_IMPORTED_MODULE_10__.oi),
|
|
2893
2947
|
/* harmony export */ VideoRedactionTool: () => (/* reexport safe */ _tools_annotation_VideoRedactionTool__WEBPACK_IMPORTED_MODULE_11__.A),
|
|
2894
2948
|
/* harmony export */ VolumeRotateMouseWheelTool: () => (/* reexport safe */ _tools__WEBPACK_IMPORTED_MODULE_10__.Y1),
|
|
2949
|
+
/* harmony export */ WindowLevelRegionTool: () => (/* reexport safe */ _tools__WEBPACK_IMPORTED_MODULE_10__.TG),
|
|
2895
2950
|
/* harmony export */ WindowLevelTool: () => (/* reexport safe */ _tools__WEBPACK_IMPORTED_MODULE_10__.Du),
|
|
2896
2951
|
/* harmony export */ ZoomTool: () => (/* reexport safe */ _tools__WEBPACK_IMPORTED_MODULE_10__.OQ),
|
|
2897
2952
|
/* harmony export */ addTool: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.Gx),
|
|
@@ -2911,7 +2966,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2911
2966
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61738);
|
|
2912
2967
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55965);
|
|
2913
2968
|
/* harmony import */ var _synchronizers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42375);
|
|
2914
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2969
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49574);
|
|
2915
2970
|
/* harmony import */ var _utilities__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(74119);
|
|
2916
2971
|
/* harmony import */ var _cursors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(32916);
|
|
2917
2972
|
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40969);
|
|
@@ -2952,7 +3007,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2952
3007
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(61738);
|
|
2953
3008
|
/* harmony import */ var _store_state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55588);
|
|
2954
3009
|
/* harmony import */ var _eventListeners__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(60878);
|
|
2955
|
-
/* harmony import */ var _eventDispatchers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
3010
|
+
/* harmony import */ var _eventDispatchers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(94101);
|
|
2956
3011
|
/* harmony import */ var _store_ToolGroupManager__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(52610);
|
|
2957
3012
|
|
|
2958
3013
|
|
|
@@ -3119,6 +3174,8 @@ class AnnotationGroup {
|
|
|
3119
3174
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92136);
|
|
3120
3175
|
/* harmony import */ var _annotationLocking__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48428);
|
|
3121
3176
|
/* harmony import */ var _annotationVisibility__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21009);
|
|
3177
|
+
/* harmony import */ var _utilities_defineProperties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99595);
|
|
3178
|
+
|
|
3122
3179
|
|
|
3123
3180
|
|
|
3124
3181
|
|
|
@@ -3215,6 +3272,8 @@ class FrameOfReferenceSpecificAnnotationManager {
|
|
|
3215
3272
|
toolSpecificAnnotations.push(annotation);
|
|
3216
3273
|
(0,_annotationLocking__WEBPACK_IMPORTED_MODULE_2__.checkAndDefineIsLockedProperty)(annotation);
|
|
3217
3274
|
(0,_annotationVisibility__WEBPACK_IMPORTED_MODULE_3__.checkAndDefineIsVisibleProperty)(annotation);
|
|
3275
|
+
(0,_utilities_defineProperties__WEBPACK_IMPORTED_MODULE_4__/* .checkAndDefineTextBoxProperty */ .Q)(annotation);
|
|
3276
|
+
(0,_utilities_defineProperties__WEBPACK_IMPORTED_MODULE_4__/* .checkAndDefineCachedStatsProperty */ .d)(annotation);
|
|
3218
3277
|
};
|
|
3219
3278
|
this.removeAnnotation = (annotationUID) => {
|
|
3220
3279
|
const { annotations } = this;
|
|
@@ -7011,8 +7070,8 @@ function removeTool(ToolClass) {
|
|
|
7011
7070
|
|
|
7012
7071
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/index.js + 17 modules
|
|
7013
7072
|
var eventListeners = __webpack_require__(60878);
|
|
7014
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/index.js +
|
|
7015
|
-
var eventDispatchers = __webpack_require__(
|
|
7073
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/index.js + 8 modules
|
|
7074
|
+
var eventDispatchers = __webpack_require__(94101);
|
|
7016
7075
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/triggerAnnotationRender.js
|
|
7017
7076
|
var triggerAnnotationRender = __webpack_require__(6805);
|
|
7018
7077
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/addEnabledElement.js
|
|
@@ -7034,6 +7093,7 @@ function addEnabledElement(evt) {
|
|
|
7034
7093
|
eventDispatchers/* imageRenderedEventDispatcher */.In.enable(element);
|
|
7035
7094
|
eventDispatchers/* cameraModifiedEventDispatcher */.aB.enable(element);
|
|
7036
7095
|
eventDispatchers/* imageSpacingCalibratedEventDispatcher */.z5.enable(element);
|
|
7096
|
+
eventDispatchers/* cameraResetEventDispatcher */.we.enable(element);
|
|
7037
7097
|
eventDispatchers/* mouseToolEventDispatcher */.n6.enable(element);
|
|
7038
7098
|
eventDispatchers/* keyboardToolEventDispatcher */.V$.enable(element);
|
|
7039
7099
|
eventDispatchers/* touchToolEventDispatcher */.$m.enable(element);
|
|
@@ -7124,6 +7184,7 @@ function removeEnabledElement(elementDisabledEvt) {
|
|
|
7124
7184
|
eventDispatchers/* imageRenderedEventDispatcher */.In.disable(element);
|
|
7125
7185
|
eventDispatchers/* cameraModifiedEventDispatcher */.aB.disable(element);
|
|
7126
7186
|
eventDispatchers/* imageSpacingCalibratedEventDispatcher */.z5.disable(element);
|
|
7187
|
+
eventDispatchers/* cameraResetEventDispatcher */.we.disable(element);
|
|
7127
7188
|
eventDispatchers/* mouseToolEventDispatcher */.n6.disable(element);
|
|
7128
7189
|
eventDispatchers/* keyboardToolEventDispatcher */.V$.disable(element);
|
|
7129
7190
|
eventDispatchers/* touchToolEventDispatcher */.$m.disable(element);
|
|
@@ -7338,7 +7399,7 @@ function presentationViewSyncCallback(_synchronizerInstance, sourceViewport, tar
|
|
|
7338
7399
|
const tViewport = renderingEngine.getViewport(targetViewport.viewportId);
|
|
7339
7400
|
const sViewport = renderingEngine.getViewport(sourceViewport.viewportId);
|
|
7340
7401
|
const presentationView = sViewport.getViewPresentation(options);
|
|
7341
|
-
tViewport.
|
|
7402
|
+
tViewport.setViewPresentation(presentationView);
|
|
7342
7403
|
tViewport.render();
|
|
7343
7404
|
}
|
|
7344
7405
|
|
|
@@ -7580,7 +7641,7 @@ const createStackImageSynchronizer = createImageSliceSynchronizer;
|
|
|
7580
7641
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48428);
|
|
7581
7642
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21009);
|
|
7582
7643
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54177);
|
|
7583
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
7644
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
7584
7645
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
7585
7646
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84901);
|
|
7586
7647
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(90252);
|
|
@@ -8071,10 +8132,10 @@ class AnnotationEraserTool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .BaseToo
|
|
|
8071
8132
|
continue;
|
|
8072
8133
|
}
|
|
8073
8134
|
const annotations = (0,_stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__.getAnnotations)(toolName, element);
|
|
8074
|
-
if (!annotations) {
|
|
8135
|
+
if (!annotations.length) {
|
|
8075
8136
|
continue;
|
|
8076
8137
|
}
|
|
8077
|
-
const interactableAnnotations = toolInstance.filterInteractableAnnotationsForElement(element, annotations);
|
|
8138
|
+
const interactableAnnotations = toolInstance.filterInteractableAnnotationsForElement(element, annotations) || [];
|
|
8078
8139
|
for (const annotation of interactableAnnotations) {
|
|
8079
8140
|
if (toolInstance.isPointNearTool(element, annotation, currentPoints.canvas, 10, interactionType)) {
|
|
8080
8141
|
annotationsToRemove.push(annotation.annotationUID);
|
|
@@ -8108,7 +8169,7 @@ AnnotationEraserTool.toolName = 'Eraser';
|
|
|
8108
8169
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92136);
|
|
8109
8170
|
/* harmony import */ var _store_ToolGroupManager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52610);
|
|
8110
8171
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38296);
|
|
8111
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
8172
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49574);
|
|
8112
8173
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(61738);
|
|
8113
8174
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84901);
|
|
8114
8175
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(90252);
|
|
@@ -8159,6 +8220,11 @@ class CrosshairsTool extends _base__WEBPACK_IMPORTED_MODULE_3__/* .AnnotationToo
|
|
|
8159
8220
|
configuration: {
|
|
8160
8221
|
shadow: true,
|
|
8161
8222
|
viewportIndicators: true,
|
|
8223
|
+
viewportIndicatorsConfig: {
|
|
8224
|
+
radius: 5,
|
|
8225
|
+
x: null,
|
|
8226
|
+
y: null,
|
|
8227
|
+
},
|
|
8162
8228
|
autoPan: {
|
|
8163
8229
|
enabled: false,
|
|
8164
8230
|
panSize: 10,
|
|
@@ -8222,12 +8288,20 @@ class CrosshairsTool extends _base__WEBPACK_IMPORTED_MODULE_3__/* .AnnotationToo
|
|
|
8222
8288
|
viewportsInfo.forEach(({ viewportId, renderingEngineId }) => {
|
|
8223
8289
|
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_4__.getEnabledElementByIds)(viewportId, renderingEngineId);
|
|
8224
8290
|
const { viewport } = enabledElement;
|
|
8291
|
+
const resetPan = true;
|
|
8292
|
+
const resetZoom = true;
|
|
8293
|
+
const resetToCenter = true;
|
|
8294
|
+
const resetRotation = true;
|
|
8295
|
+
const supressEvents = true;
|
|
8296
|
+
viewport.resetCamera(resetPan, resetZoom, resetToCenter, resetRotation, supressEvents);
|
|
8297
|
+
viewport.resetSlabThickness();
|
|
8225
8298
|
const { element } = viewport;
|
|
8226
8299
|
let annotations = this._getAnnotations(enabledElement);
|
|
8227
8300
|
annotations = this.filterInteractableAnnotationsForElement(element, annotations);
|
|
8228
8301
|
if (annotations.length) {
|
|
8229
8302
|
(0,_stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_6__.removeAnnotation)(annotations[0].annotationUID);
|
|
8230
8303
|
}
|
|
8304
|
+
viewport.render();
|
|
8231
8305
|
});
|
|
8232
8306
|
this.computeToolCenter(viewportsInfo);
|
|
8233
8307
|
};
|
|
@@ -8365,6 +8439,9 @@ class CrosshairsTool extends _base__WEBPACK_IMPORTED_MODULE_3__/* .AnnotationToo
|
|
|
8365
8439
|
const viewportIdsToRender = (0,_utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_10__.getViewportIdsWithToolToRender)(element, this.getToolName(), requireSameOrientation);
|
|
8366
8440
|
(0,_utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .A)(renderingEngine, viewportIdsToRender);
|
|
8367
8441
|
};
|
|
8442
|
+
this.onResetCamera = (evt) => {
|
|
8443
|
+
this.resetCrosshairs();
|
|
8444
|
+
};
|
|
8368
8445
|
this.mouseMoveCallback = (evt, filteredToolAnnotations) => {
|
|
8369
8446
|
const { element, currentPoints } = evt.detail;
|
|
8370
8447
|
const canvasCoords = currentPoints.canvas;
|
|
@@ -8747,11 +8824,14 @@ class CrosshairsTool extends _base__WEBPACK_IMPORTED_MODULE_3__/* .AnnotationToo
|
|
|
8747
8824
|
data.handles.rotationPoints = newRtpoints;
|
|
8748
8825
|
data.handles.slabThicknessPoints = newStpoints;
|
|
8749
8826
|
if (this.configuration.viewportIndicators) {
|
|
8827
|
+
const { viewportIndicatorsConfig } = this.configuration;
|
|
8828
|
+
const xOffset = viewportIndicatorsConfig?.xOffset || 0.95;
|
|
8829
|
+
const yOffset = viewportIndicatorsConfig?.yOffset || 0.05;
|
|
8750
8830
|
const referenceColorCoordinates = [
|
|
8751
|
-
clientWidth *
|
|
8752
|
-
clientHeight *
|
|
8831
|
+
clientWidth * xOffset,
|
|
8832
|
+
clientHeight * yOffset,
|
|
8753
8833
|
];
|
|
8754
|
-
const circleRadius = canvasDiagonalLength * 0.01;
|
|
8834
|
+
const circleRadius = viewportIndicatorsConfig?.circleRadius || canvasDiagonalLength * 0.01;
|
|
8755
8835
|
const circleUID = '0';
|
|
8756
8836
|
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_7__.drawCircle)(svgDrawingHelper, annotationUID, circleUID, referenceColorCoordinates, circleRadius, { color, fill: color });
|
|
8757
8837
|
}
|
|
@@ -10125,7 +10205,7 @@ OrientationMarkerTool.toolName = 'OrientationMarker';
|
|
|
10125
10205
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92136);
|
|
10126
10206
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38296);
|
|
10127
10207
|
/* harmony import */ var _store_ToolGroupManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(52610);
|
|
10128
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
10208
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49574);
|
|
10129
10209
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23072);
|
|
10130
10210
|
/* harmony import */ var _base_AnnotationDisplayTool__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(28062);
|
|
10131
10211
|
|
|
@@ -10420,7 +10500,7 @@ PlanarRotateTool.toolName = 'PlanarRotate';
|
|
|
10420
10500
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
10421
10501
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38296);
|
|
10422
10502
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21009);
|
|
10423
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
10503
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49574);
|
|
10424
10504
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90252);
|
|
10425
10505
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23072);
|
|
10426
10506
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(44753);
|
|
@@ -10750,7 +10830,7 @@ ReferenceCursors.toolName = 'ReferenceCursors';
|
|
|
10750
10830
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44753);
|
|
10751
10831
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92136);
|
|
10752
10832
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38296);
|
|
10753
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
10833
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49574);
|
|
10754
10834
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90252);
|
|
10755
10835
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23072);
|
|
10756
10836
|
/* harmony import */ var _base_AnnotationDisplayTool__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(28062);
|
|
@@ -10991,7 +11071,7 @@ ReferenceLines.toolName = 'ReferenceLines';
|
|
|
10991
11071
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44753);
|
|
10992
11072
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(92136);
|
|
10993
11073
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
10994
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
11074
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49574);
|
|
10995
11075
|
/* harmony import */ var _store_ToolGroupManager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52610);
|
|
10996
11076
|
|
|
10997
11077
|
|
|
@@ -11293,8 +11373,8 @@ class ScaleOverlayTool extends _base_AnnotationDisplayTool__WEBPACK_IMPORTED_MOD
|
|
|
11293
11373
|
viewportId: enabledElement.viewport.id,
|
|
11294
11374
|
};
|
|
11295
11375
|
const canvasSize = {
|
|
11296
|
-
width: canvas.width,
|
|
11297
|
-
height: canvas.height,
|
|
11376
|
+
width: canvas.width / window.devicePixelRatio || 1,
|
|
11377
|
+
height: canvas.height / window.devicePixelRatio || 1,
|
|
11298
11378
|
};
|
|
11299
11379
|
const topLeft = annotation.data.handles.points[0];
|
|
11300
11380
|
const topRight = annotation.data.handles.points[1];
|
|
@@ -11711,7 +11791,7 @@ SculptorTool.toolName = 'SculptorTool';
|
|
|
11711
11791
|
/* harmony export */ });
|
|
11712
11792
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
11713
11793
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38296);
|
|
11714
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
11794
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49574);
|
|
11715
11795
|
/* harmony import */ var _store_ToolGroupManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(52610);
|
|
11716
11796
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23072);
|
|
11717
11797
|
/* harmony import */ var _base_AnnotationDisplayTool__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28062);
|
|
@@ -12264,6 +12344,250 @@ VolumeRotateMouseWheelTool.toolName = 'VolumeRotateMouseWheel';
|
|
|
12264
12344
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VolumeRotateMouseWheelTool);
|
|
12265
12345
|
|
|
12266
12346
|
|
|
12347
|
+
/***/ }),
|
|
12348
|
+
|
|
12349
|
+
/***/ 60747:
|
|
12350
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12351
|
+
|
|
12352
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12353
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
12354
|
+
/* harmony export */ });
|
|
12355
|
+
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96214);
|
|
12356
|
+
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92136);
|
|
12357
|
+
/* harmony import */ var _stateManagement__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(95778);
|
|
12358
|
+
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54177);
|
|
12359
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49574);
|
|
12360
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(61738);
|
|
12361
|
+
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(84901);
|
|
12362
|
+
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(90252);
|
|
12363
|
+
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(40233);
|
|
12364
|
+
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23072);
|
|
12365
|
+
/* harmony import */ var _utilities_voi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(14149);
|
|
12366
|
+
/* harmony import */ var _utilities__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74119);
|
|
12367
|
+
|
|
12368
|
+
|
|
12369
|
+
|
|
12370
|
+
|
|
12371
|
+
|
|
12372
|
+
|
|
12373
|
+
|
|
12374
|
+
|
|
12375
|
+
|
|
12376
|
+
|
|
12377
|
+
|
|
12378
|
+
|
|
12379
|
+
class WindowLevelRegionTool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .AnnotationTool */ .EC {
|
|
12380
|
+
constructor(toolProps = {}, defaultToolProps = {
|
|
12381
|
+
supportedInteractionTypes: ['Mouse', 'Touch'],
|
|
12382
|
+
configuration: {
|
|
12383
|
+
minWindowWidth: 10,
|
|
12384
|
+
},
|
|
12385
|
+
}) {
|
|
12386
|
+
super(toolProps, defaultToolProps);
|
|
12387
|
+
this.addNewAnnotation = (evt) => {
|
|
12388
|
+
const eventDetail = evt.detail;
|
|
12389
|
+
const { currentPoints, element } = eventDetail;
|
|
12390
|
+
const worldPos = currentPoints.world;
|
|
12391
|
+
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__.getEnabledElement)(element);
|
|
12392
|
+
const { viewport, renderingEngine } = enabledElement;
|
|
12393
|
+
this.isDrawing = true;
|
|
12394
|
+
const camera = viewport.getCamera();
|
|
12395
|
+
const { viewPlaneNormal, viewUp } = camera;
|
|
12396
|
+
const referencedImageId = this.getReferencedImageId(viewport, worldPos, viewPlaneNormal, viewUp);
|
|
12397
|
+
const FrameOfReferenceUID = viewport.getFrameOfReferenceUID();
|
|
12398
|
+
const annotation = {
|
|
12399
|
+
invalidated: true,
|
|
12400
|
+
highlighted: true,
|
|
12401
|
+
metadata: {
|
|
12402
|
+
toolName: this.getToolName(),
|
|
12403
|
+
viewPlaneNormal: [...viewPlaneNormal],
|
|
12404
|
+
viewUp: [...viewUp],
|
|
12405
|
+
FrameOfReferenceUID,
|
|
12406
|
+
referencedImageId,
|
|
12407
|
+
},
|
|
12408
|
+
data: {
|
|
12409
|
+
handles: {
|
|
12410
|
+
points: [
|
|
12411
|
+
[...worldPos],
|
|
12412
|
+
[...worldPos],
|
|
12413
|
+
[...worldPos],
|
|
12414
|
+
[...worldPos],
|
|
12415
|
+
],
|
|
12416
|
+
},
|
|
12417
|
+
cachedStats: {},
|
|
12418
|
+
},
|
|
12419
|
+
};
|
|
12420
|
+
(0,_stateManagement__WEBPACK_IMPORTED_MODULE_2__/* .addAnnotation */ .lC)(annotation, element);
|
|
12421
|
+
const viewportIdsToRender = (0,_utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_7__.getViewportIdsWithToolToRender)(element, this.getToolName());
|
|
12422
|
+
this.editData = {
|
|
12423
|
+
annotation,
|
|
12424
|
+
viewportIdsToRender,
|
|
12425
|
+
};
|
|
12426
|
+
this._activateDraw(element);
|
|
12427
|
+
(0,_cursors_elementCursor__WEBPACK_IMPORTED_MODULE_8__.hideElementCursor)(element);
|
|
12428
|
+
evt.preventDefault();
|
|
12429
|
+
(0,_utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(renderingEngine, viewportIdsToRender);
|
|
12430
|
+
return annotation;
|
|
12431
|
+
};
|
|
12432
|
+
this._endCallback = (evt) => {
|
|
12433
|
+
const eventDetail = evt.detail;
|
|
12434
|
+
const { element } = eventDetail;
|
|
12435
|
+
const { annotation, viewportIdsToRender } = this.editData;
|
|
12436
|
+
this._deactivateDraw(element);
|
|
12437
|
+
(0,_cursors_elementCursor__WEBPACK_IMPORTED_MODULE_8__.resetElementCursor)(element);
|
|
12438
|
+
const { renderingEngine } = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__.getEnabledElement)(element);
|
|
12439
|
+
this.editData = null;
|
|
12440
|
+
this.isDrawing = false;
|
|
12441
|
+
(0,_stateManagement__WEBPACK_IMPORTED_MODULE_2__/* .removeAnnotation */ .O8)(annotation.annotationUID);
|
|
12442
|
+
(0,_utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(renderingEngine, viewportIdsToRender);
|
|
12443
|
+
(0,_stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_3__/* .triggerAnnotationCompleted */ .dZ)(annotation);
|
|
12444
|
+
this.applyWindowLevelRegion(annotation, element);
|
|
12445
|
+
};
|
|
12446
|
+
this._dragCallback = (evt) => {
|
|
12447
|
+
this.isDrawing = true;
|
|
12448
|
+
const eventDetail = evt.detail;
|
|
12449
|
+
const { element } = eventDetail;
|
|
12450
|
+
const { annotation, viewportIdsToRender } = this.editData;
|
|
12451
|
+
const { data } = annotation;
|
|
12452
|
+
const { currentPoints } = eventDetail;
|
|
12453
|
+
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__.getEnabledElement)(element);
|
|
12454
|
+
const { worldToCanvas, canvasToWorld } = enabledElement.viewport;
|
|
12455
|
+
const worldPos = currentPoints.world;
|
|
12456
|
+
const { points } = data.handles;
|
|
12457
|
+
const DEFAULT_HANDLE_INDEX = 3;
|
|
12458
|
+
points[DEFAULT_HANDLE_INDEX] = [...worldPos];
|
|
12459
|
+
const bottomLeftCanvas = worldToCanvas(points[0]);
|
|
12460
|
+
const topRightCanvas = worldToCanvas(points[3]);
|
|
12461
|
+
const bottomRightCanvas = [
|
|
12462
|
+
topRightCanvas[0],
|
|
12463
|
+
bottomLeftCanvas[1],
|
|
12464
|
+
];
|
|
12465
|
+
const topLeftCanvas = [
|
|
12466
|
+
bottomLeftCanvas[0],
|
|
12467
|
+
topRightCanvas[1],
|
|
12468
|
+
];
|
|
12469
|
+
const bottomRightWorld = canvasToWorld(bottomRightCanvas);
|
|
12470
|
+
const topLeftWorld = canvasToWorld(topLeftCanvas);
|
|
12471
|
+
points[1] = bottomRightWorld;
|
|
12472
|
+
points[2] = topLeftWorld;
|
|
12473
|
+
annotation.invalidated = true;
|
|
12474
|
+
const { renderingEngine } = enabledElement;
|
|
12475
|
+
(0,_utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(renderingEngine, viewportIdsToRender);
|
|
12476
|
+
};
|
|
12477
|
+
this._activateDraw = (element) => {
|
|
12478
|
+
_store__WEBPACK_IMPORTED_MODULE_5__/* .state */ .wk.isInteractingWithTool = true;
|
|
12479
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_UP, this._endCallback);
|
|
12480
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_DRAG, this._dragCallback);
|
|
12481
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_MOVE, this._dragCallback);
|
|
12482
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_CLICK, this._endCallback);
|
|
12483
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.TOUCH_END, this._endCallback);
|
|
12484
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.TOUCH_DRAG, this._dragCallback);
|
|
12485
|
+
element.addEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.TOUCH_TAP, this._endCallback);
|
|
12486
|
+
};
|
|
12487
|
+
this._deactivateDraw = (element) => {
|
|
12488
|
+
_store__WEBPACK_IMPORTED_MODULE_5__/* .state */ .wk.isInteractingWithTool = false;
|
|
12489
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_UP, this._endCallback);
|
|
12490
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_DRAG, this._dragCallback);
|
|
12491
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_MOVE, this._dragCallback);
|
|
12492
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.MOUSE_CLICK, this._endCallback);
|
|
12493
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.TOUCH_END, this._endCallback);
|
|
12494
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.TOUCH_DRAG, this._dragCallback);
|
|
12495
|
+
element.removeEventListener(_enums__WEBPACK_IMPORTED_MODULE_6__.Events.TOUCH_TAP, this._endCallback);
|
|
12496
|
+
};
|
|
12497
|
+
this.renderAnnotation = (enabledElement, svgDrawingHelper) => {
|
|
12498
|
+
let renderStatus = false;
|
|
12499
|
+
const { viewport } = enabledElement;
|
|
12500
|
+
const { element } = viewport;
|
|
12501
|
+
let annotations = (0,_stateManagement__WEBPACK_IMPORTED_MODULE_2__/* .getAnnotations */ .Rh)(this.getToolName(), element);
|
|
12502
|
+
if (!annotations?.length) {
|
|
12503
|
+
return renderStatus;
|
|
12504
|
+
}
|
|
12505
|
+
annotations = this.filterInteractableAnnotationsForElement(element, annotations);
|
|
12506
|
+
if (!annotations?.length) {
|
|
12507
|
+
return renderStatus;
|
|
12508
|
+
}
|
|
12509
|
+
const styleSpecifier = {
|
|
12510
|
+
toolGroupId: this.toolGroupId,
|
|
12511
|
+
toolName: this.getToolName(),
|
|
12512
|
+
viewportId: enabledElement.viewport.id,
|
|
12513
|
+
};
|
|
12514
|
+
for (let i = 0; i < annotations.length; i++) {
|
|
12515
|
+
const annotation = annotations[i];
|
|
12516
|
+
const { annotationUID, data } = annotation;
|
|
12517
|
+
const { points } = data.handles;
|
|
12518
|
+
const canvasCoordinates = points.map((p) => viewport.worldToCanvas(p));
|
|
12519
|
+
styleSpecifier.annotationUID = annotationUID;
|
|
12520
|
+
const { color, lineWidth, lineDash } = this.getAnnotationStyle({
|
|
12521
|
+
annotation,
|
|
12522
|
+
styleSpecifier,
|
|
12523
|
+
});
|
|
12524
|
+
if (!viewport.getRenderingEngine()) {
|
|
12525
|
+
console.warn('Rendering Engine has been destroyed');
|
|
12526
|
+
return renderStatus;
|
|
12527
|
+
}
|
|
12528
|
+
const dataId = `${annotationUID}-rect`;
|
|
12529
|
+
const rectangleUID = '0';
|
|
12530
|
+
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_4__.drawRect)(svgDrawingHelper, annotationUID, rectangleUID, canvasCoordinates[0], canvasCoordinates[3], {
|
|
12531
|
+
color,
|
|
12532
|
+
lineDash,
|
|
12533
|
+
lineWidth,
|
|
12534
|
+
}, dataId);
|
|
12535
|
+
renderStatus = true;
|
|
12536
|
+
}
|
|
12537
|
+
return renderStatus;
|
|
12538
|
+
};
|
|
12539
|
+
this.applyWindowLevelRegion = (annotation, element) => {
|
|
12540
|
+
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__.getEnabledElement)(element);
|
|
12541
|
+
const { viewport } = enabledElement;
|
|
12542
|
+
const imageData = _utilities_voi__WEBPACK_IMPORTED_MODULE_10__.windowLevel.extractWindowLevelRegionToolData(viewport);
|
|
12543
|
+
const { data } = annotation;
|
|
12544
|
+
const { points } = data.handles;
|
|
12545
|
+
const canvasCoordinates = points.map((p) => viewport.worldToCanvas(p));
|
|
12546
|
+
const startCanvas = canvasCoordinates[0];
|
|
12547
|
+
const endCanvas = canvasCoordinates[3];
|
|
12548
|
+
let left = Math.min(startCanvas[0], endCanvas[0]);
|
|
12549
|
+
let top = Math.min(startCanvas[1], endCanvas[1]);
|
|
12550
|
+
let width = Math.abs(startCanvas[0] - endCanvas[0]);
|
|
12551
|
+
let height = Math.abs(startCanvas[1] - endCanvas[1]);
|
|
12552
|
+
left = (0,_utilities__WEBPACK_IMPORTED_MODULE_11__.clip)(left, 0, imageData.width);
|
|
12553
|
+
top = (0,_utilities__WEBPACK_IMPORTED_MODULE_11__.clip)(top, 0, imageData.height);
|
|
12554
|
+
width = Math.floor(Math.min(width, Math.abs(imageData.width - left)));
|
|
12555
|
+
height = Math.floor(Math.min(height, Math.abs(imageData.height - top)));
|
|
12556
|
+
const pixelLuminanceData = _utilities_voi__WEBPACK_IMPORTED_MODULE_10__.windowLevel.getLuminanceFromRegion(imageData, Math.round(left), Math.round(top), width, height);
|
|
12557
|
+
const minMaxMean = _utilities_voi__WEBPACK_IMPORTED_MODULE_10__.windowLevel.calculateMinMaxMean(pixelLuminanceData, imageData.minPixelValue, imageData.maxPixelValue);
|
|
12558
|
+
if (this.configuration.minWindowWidth === undefined) {
|
|
12559
|
+
this.configuration.minWindowWidth = 10;
|
|
12560
|
+
}
|
|
12561
|
+
const windowWidth = Math.max(Math.abs(minMaxMean.max - minMaxMean.min), this.configuration.minWindowWidth);
|
|
12562
|
+
const windowCenter = minMaxMean.mean;
|
|
12563
|
+
const voiRange = _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__.utilities.windowLevel.toLowHighRange(windowWidth, windowCenter);
|
|
12564
|
+
viewport.setProperties({ voiRange });
|
|
12565
|
+
viewport.render();
|
|
12566
|
+
};
|
|
12567
|
+
this.cancel = () => {
|
|
12568
|
+
return null;
|
|
12569
|
+
};
|
|
12570
|
+
this.isPointNearTool = () => {
|
|
12571
|
+
return null;
|
|
12572
|
+
};
|
|
12573
|
+
this.toolSelectedCallback = () => {
|
|
12574
|
+
return null;
|
|
12575
|
+
};
|
|
12576
|
+
this.handleSelectedCallback = () => {
|
|
12577
|
+
return null;
|
|
12578
|
+
};
|
|
12579
|
+
this._activateModify = () => {
|
|
12580
|
+
return null;
|
|
12581
|
+
};
|
|
12582
|
+
this._deactivateModify = () => {
|
|
12583
|
+
return null;
|
|
12584
|
+
};
|
|
12585
|
+
}
|
|
12586
|
+
}
|
|
12587
|
+
WindowLevelRegionTool.toolName = 'WindowLevelRegion';
|
|
12588
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (WindowLevelRegionTool);
|
|
12589
|
+
|
|
12590
|
+
|
|
12267
12591
|
/***/ }),
|
|
12268
12592
|
|
|
12269
12593
|
/***/ 455:
|
|
@@ -12681,7 +13005,7 @@ ZoomTool.toolName = 'Zoom';
|
|
|
12681
13005
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21954);
|
|
12682
13006
|
/* harmony import */ var _utilities_math_angle_angleBetweenLines__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(52475);
|
|
12683
13007
|
/* harmony import */ var _utilities__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(74119);
|
|
12684
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
13008
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
12685
13009
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
12686
13010
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(90252);
|
|
12687
13011
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23072);
|
|
@@ -12737,6 +13061,7 @@ class AngleTool extends _base__WEBPACK_IMPORTED_MODULE_2__/* .AnnotationTool */
|
|
|
12737
13061
|
viewUp: [...viewUp],
|
|
12738
13062
|
FrameOfReferenceUID,
|
|
12739
13063
|
referencedImageId,
|
|
13064
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
12740
13065
|
},
|
|
12741
13066
|
data: {
|
|
12742
13067
|
handles: {
|
|
@@ -13152,7 +13477,7 @@ AngleTool.toolName = 'Angle';
|
|
|
13152
13477
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
13153
13478
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48428);
|
|
13154
13479
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21954);
|
|
13155
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
13480
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
13156
13481
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
13157
13482
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90252);
|
|
13158
13483
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23072);
|
|
@@ -13204,6 +13529,7 @@ class ArrowAnnotateTool extends _base__WEBPACK_IMPORTED_MODULE_2__/* .Annotation
|
|
|
13204
13529
|
viewUp: [...viewUp],
|
|
13205
13530
|
FrameOfReferenceUID,
|
|
13206
13531
|
referencedImageId,
|
|
13532
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
13207
13533
|
},
|
|
13208
13534
|
data: {
|
|
13209
13535
|
text: '',
|
|
@@ -13601,7 +13927,7 @@ ArrowAnnotateTool.toolName = 'ArrowAnnotate';
|
|
|
13601
13927
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(48428);
|
|
13602
13928
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21009);
|
|
13603
13929
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54177);
|
|
13604
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
13930
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(49574);
|
|
13605
13931
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(61738);
|
|
13606
13932
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(84901);
|
|
13607
13933
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90252);
|
|
@@ -14275,6 +14601,7 @@ class BidirectionalTool extends _base__WEBPACK_IMPORTED_MODULE_4__/* .Annotation
|
|
|
14275
14601
|
viewUp: [...viewUp],
|
|
14276
14602
|
FrameOfReferenceUID,
|
|
14277
14603
|
referencedImageId,
|
|
14604
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
14278
14605
|
},
|
|
14279
14606
|
data: {
|
|
14280
14607
|
handles: {
|
|
@@ -14357,7 +14684,7 @@ BidirectionalTool.toolName = 'Bidirectional';
|
|
|
14357
14684
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48428);
|
|
14358
14685
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21009);
|
|
14359
14686
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54177);
|
|
14360
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
14687
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
14361
14688
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
14362
14689
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84901);
|
|
14363
14690
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90252);
|
|
@@ -14427,6 +14754,7 @@ class CircleROITool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .AnnotationTool
|
|
|
14427
14754
|
viewUp: [...viewUp],
|
|
14428
14755
|
FrameOfReferenceUID,
|
|
14429
14756
|
referencedImageId,
|
|
14757
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
14430
14758
|
},
|
|
14431
14759
|
data: {
|
|
14432
14760
|
label: '',
|
|
@@ -14978,7 +15306,7 @@ CircleROITool.toolName = 'CircleROI';
|
|
|
14978
15306
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21954);
|
|
14979
15307
|
/* harmony import */ var _utilities_math_angle_angleBetweenLines__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(52475);
|
|
14980
15308
|
/* harmony import */ var _utilities_math_midPoint__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(76727);
|
|
14981
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
15309
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(49574);
|
|
14982
15310
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(61738);
|
|
14983
15311
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90252);
|
|
14984
15312
|
/* harmony import */ var _utilities_drawing__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(10910);
|
|
@@ -15037,6 +15365,7 @@ class CobbAngleTool extends _base__WEBPACK_IMPORTED_MODULE_3__/* .AnnotationTool
|
|
|
15037
15365
|
viewUp: [...viewUp],
|
|
15038
15366
|
FrameOfReferenceUID,
|
|
15039
15367
|
referencedImageId,
|
|
15368
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
15040
15369
|
},
|
|
15041
15370
|
data: {
|
|
15042
15371
|
handles: {
|
|
@@ -15678,7 +16007,7 @@ CobbAngleTool.toolName = 'CobbAngle';
|
|
|
15678
16007
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
15679
16008
|
/* harmony export */ });
|
|
15680
16009
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
15681
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
16010
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49574);
|
|
15682
16011
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90252);
|
|
15683
16012
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40233);
|
|
15684
16013
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23072);
|
|
@@ -15838,7 +16167,7 @@ DragProbeTool.toolName = 'DragProbe';
|
|
|
15838
16167
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48428);
|
|
15839
16168
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21009);
|
|
15840
16169
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54177);
|
|
15841
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
16170
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
15842
16171
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
15843
16172
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84901);
|
|
15844
16173
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90252);
|
|
@@ -15907,6 +16236,7 @@ class EllipticalROITool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .Annotation
|
|
|
15907
16236
|
viewUp: [...viewUp],
|
|
15908
16237
|
FrameOfReferenceUID,
|
|
15909
16238
|
referencedImageId,
|
|
16239
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
15910
16240
|
},
|
|
15911
16241
|
data: {
|
|
15912
16242
|
label: '',
|
|
@@ -16544,7 +16874,7 @@ EllipticalROITool.toolName = 'EllipticalROI';
|
|
|
16544
16874
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(96214);
|
|
16545
16875
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
16546
16876
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(54177);
|
|
16547
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
16877
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
16548
16878
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(61738);
|
|
16549
16879
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(90252);
|
|
16550
16880
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23072);
|
|
@@ -16745,7 +17075,7 @@ KeyImageTool.toolName = 'KeyImage';
|
|
|
16745
17075
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21009);
|
|
16746
17076
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54177);
|
|
16747
17077
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(21954);
|
|
16748
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
17078
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(49574);
|
|
16749
17079
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(61738);
|
|
16750
17080
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90252);
|
|
16751
17081
|
/* harmony import */ var _utilities_drawing__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(10910);
|
|
@@ -17193,7 +17523,7 @@ LengthTool.toolName = 'Length';
|
|
|
17193
17523
|
/* harmony import */ var _utilities_livewire_LiveWirePath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1320);
|
|
17194
17524
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54177);
|
|
17195
17525
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84901);
|
|
17196
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
17526
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
17197
17527
|
|
|
17198
17528
|
|
|
17199
17529
|
|
|
@@ -17296,7 +17626,7 @@ LivewireContourSegmentationTool.toolName = 'LivewireContourSegmentationTool';
|
|
|
17296
17626
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44753);
|
|
17297
17627
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92136);
|
|
17298
17628
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38296);
|
|
17299
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
17629
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49574);
|
|
17300
17630
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(61738);
|
|
17301
17631
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84901);
|
|
17302
17632
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
@@ -17873,7 +18203,7 @@ PlanarFreehandContourSegmentationTool.toolName =
|
|
|
17873
18203
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
17874
18204
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(54177);
|
|
17875
18205
|
/* harmony import */ var _utilities_getCalibratedUnits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24592);
|
|
17876
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
18206
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
17877
18207
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
17878
18208
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84901);
|
|
17879
18209
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(90252);
|
|
@@ -18252,7 +18582,7 @@ ProbeTool.toolName = 'Probe';
|
|
|
18252
18582
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48428);
|
|
18253
18583
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21009);
|
|
18254
18584
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54177);
|
|
18255
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
18585
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
18256
18586
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
18257
18587
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84901);
|
|
18258
18588
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90252);
|
|
@@ -18318,6 +18648,7 @@ class RectangleROITool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .AnnotationT
|
|
|
18318
18648
|
viewUp: [...viewUp],
|
|
18319
18649
|
FrameOfReferenceUID,
|
|
18320
18650
|
referencedImageId,
|
|
18651
|
+
...viewport.getViewReference({ points: [worldPos] }),
|
|
18321
18652
|
},
|
|
18322
18653
|
data: {
|
|
18323
18654
|
label: '',
|
|
@@ -18665,7 +18996,7 @@ class RectangleROITool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .AnnotationT
|
|
|
18665
18996
|
}
|
|
18666
18997
|
const dataId = `${annotationUID}-rect`;
|
|
18667
18998
|
const rectangleUID = '0';
|
|
18668
|
-
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_9__.
|
|
18999
|
+
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_9__.drawRectByCoordinates)(svgDrawingHelper, annotationUID, rectangleUID, canvasCoordinates, {
|
|
18669
19000
|
color,
|
|
18670
19001
|
lineDash,
|
|
18671
19002
|
lineWidth,
|
|
@@ -18850,7 +19181,7 @@ SplineContourSegmentationTool.toolName = 'SplineContourSegmentationTool';
|
|
|
18850
19181
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
18851
19182
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44753);
|
|
18852
19183
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38296);
|
|
18853
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
19184
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49574);
|
|
18854
19185
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(61738);
|
|
18855
19186
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84901);
|
|
18856
19187
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
@@ -19606,7 +19937,7 @@ SplineROITool.toolName = 'SplineROI';
|
|
|
19606
19937
|
/* harmony import */ var _utilities_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21090);
|
|
19607
19938
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38296);
|
|
19608
19939
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54177);
|
|
19609
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
19940
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
19610
19941
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
19611
19942
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90252);
|
|
19612
19943
|
/* harmony import */ var _utilities__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74119);
|
|
@@ -20093,7 +20424,7 @@ UltrasoundDirectionalTool.toolName = 'UltrasoundDirectionalTool';
|
|
|
20093
20424
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(96214);
|
|
20094
20425
|
/* harmony import */ var _utilities_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21090);
|
|
20095
20426
|
/* harmony import */ var _stateManagement__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(95778);
|
|
20096
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
20427
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
20097
20428
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(61738);
|
|
20098
20429
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84901);
|
|
20099
20430
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90252);
|
|
@@ -21154,6 +21485,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
21154
21485
|
So: () => (/* reexport */ TrackballRotateTool/* default */.A),
|
|
21155
21486
|
oi: () => (/* reexport */ UltrasoundDirectionalTool/* default */.A),
|
|
21156
21487
|
Y1: () => (/* reexport */ VolumeRotateMouseWheelTool/* default */.A),
|
|
21488
|
+
TG: () => (/* reexport */ WindowLevelRegionTool/* default */.A),
|
|
21157
21489
|
Du: () => (/* reexport */ WindowLevelTool/* default */.A),
|
|
21158
21490
|
OQ: () => (/* reexport */ ZoomTool/* default */.A)
|
|
21159
21491
|
});
|
|
@@ -21166,6 +21498,8 @@ var PanTool = __webpack_require__(25294);
|
|
|
21166
21498
|
var TrackballRotateTool = __webpack_require__(15924);
|
|
21167
21499
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/WindowLevelTool.js
|
|
21168
21500
|
var WindowLevelTool = __webpack_require__(455);
|
|
21501
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/WindowLevelRegionTool.js
|
|
21502
|
+
var WindowLevelRegionTool = __webpack_require__(60747);
|
|
21169
21503
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/StackScrollTool.js
|
|
21170
21504
|
var StackScrollTool = __webpack_require__(20132);
|
|
21171
21505
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/PlanarRotateTool.js
|
|
@@ -21248,8 +21582,8 @@ var esm = __webpack_require__(92136);
|
|
|
21248
21582
|
var stateManagement = __webpack_require__(95778);
|
|
21249
21583
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/annotationLocking.js
|
|
21250
21584
|
var annotationLocking = __webpack_require__(48428);
|
|
21251
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/index.js +
|
|
21252
|
-
var drawingSvg = __webpack_require__(
|
|
21585
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/index.js + 18 modules
|
|
21586
|
+
var drawingSvg = __webpack_require__(49574);
|
|
21253
21587
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/index.js + 4 modules
|
|
21254
21588
|
var viewportFilters = __webpack_require__(90252);
|
|
21255
21589
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/elementCursor.js
|
|
@@ -21785,6 +22119,7 @@ var SegmentSelectTool = __webpack_require__(34041);
|
|
|
21785
22119
|
|
|
21786
22120
|
|
|
21787
22121
|
|
|
22122
|
+
|
|
21788
22123
|
|
|
21789
22124
|
|
|
21790
22125
|
/***/ }),
|
|
@@ -21803,7 +22138,7 @@ var SegmentSelectTool = __webpack_require__(34041);
|
|
|
21803
22138
|
/* harmony import */ var _strategies_fillCircle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4069);
|
|
21804
22139
|
/* harmony import */ var _strategies_eraseCircle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11852);
|
|
21805
22140
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84901);
|
|
21806
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
22141
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49574);
|
|
21807
22142
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40233);
|
|
21808
22143
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23072);
|
|
21809
22144
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(63421);
|
|
@@ -22277,7 +22612,7 @@ BrushTool.toolName = 'Brush';
|
|
|
22277
22612
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84901);
|
|
22278
22613
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
22279
22614
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48428);
|
|
22280
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
22615
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
22281
22616
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(90252);
|
|
22282
22617
|
/* harmony import */ var _utilities_throttle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21090);
|
|
22283
22618
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21009);
|
|
@@ -22643,7 +22978,7 @@ CircleROIStartEndThresholdTool.toolName = 'CircleROIStartEndThreshold';
|
|
|
22643
22978
|
/* harmony import */ var _strategies_fillCircle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4069);
|
|
22644
22979
|
/* harmony import */ var _strategies_eraseCircle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11852);
|
|
22645
22980
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84901);
|
|
22646
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
22981
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
22647
22982
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
22648
22983
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23072);
|
|
22649
22984
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(63421);
|
|
@@ -23144,7 +23479,7 @@ PaintFillTool.toolName = 'PaintFill';
|
|
|
23144
23479
|
/* harmony import */ var _strategies_eraseRectangle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66211);
|
|
23145
23480
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90252);
|
|
23146
23481
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84901);
|
|
23147
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
23482
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
23148
23483
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40233);
|
|
23149
23484
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23072);
|
|
23150
23485
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(63421);
|
|
@@ -23518,7 +23853,7 @@ SegmentSelectTool.toolName = 'SegmentSelectTool';
|
|
|
23518
23853
|
/* harmony import */ var _strategies_fillSphere__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(61604);
|
|
23519
23854
|
/* harmony import */ var _strategies_eraseSphere__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4373);
|
|
23520
23855
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84901);
|
|
23521
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
23856
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
23522
23857
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
23523
23858
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23072);
|
|
23524
23859
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(63421);
|
|
@@ -23915,6 +24250,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23915
24250
|
// EXPORTS
|
|
23916
24251
|
__webpack_require__.d(__webpack_exports__, {
|
|
23917
24252
|
annotationFrameRange: () => (/* reexport */ annotationFrameRange/* default */.A),
|
|
24253
|
+
annotationHydration: () => (/* reexport */ annotationHydration/* annotationHydration */.i),
|
|
23918
24254
|
boundingBox: () => (/* reexport */ boundingBox),
|
|
23919
24255
|
calibrateImageSpacing: () => (/* reexport */ calibrateImageSpacing/* default */.A),
|
|
23920
24256
|
cine: () => (/* reexport */ cine),
|
|
@@ -23929,6 +24265,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
23929
24265
|
getCalibratedAspect: () => (/* reexport */ getCalibratedUnits/* getCalibratedAspect */.CQ),
|
|
23930
24266
|
getCalibratedLengthUnitsAndScale: () => (/* reexport */ getCalibratedUnits/* getCalibratedLengthUnitsAndScale */.Op),
|
|
23931
24267
|
getCalibratedProbeUnitsAndValue: () => (/* reexport */ getCalibratedUnits/* getCalibratedProbeUnitsAndValue */.Xw),
|
|
24268
|
+
getClosestImageIdForStackViewport: () => (/* reexport */ annotationHydration/* getClosestImageIdForStackViewport */.x),
|
|
23932
24269
|
getSphereBoundsInfo: () => (/* reexport */ getSphereBoundsInfo/* getSphereBoundsInfo */.R),
|
|
23933
24270
|
getViewportForAnnotation: () => (/* reexport */ getViewportForAnnotation/* default */.A),
|
|
23934
24271
|
isObject: () => (/* reexport */ isObject/* default */.A),
|
|
@@ -24004,6 +24341,8 @@ var annotationFrameRange = __webpack_require__(41209);
|
|
|
24004
24341
|
var pointInSurroundingSphereCallback = __webpack_require__(5093);
|
|
24005
24342
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/getViewportForAnnotation.js
|
|
24006
24343
|
var getViewportForAnnotation = __webpack_require__(39490);
|
|
24344
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/annotationHydration.js
|
|
24345
|
+
var annotationHydration = __webpack_require__(25781);
|
|
24007
24346
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/contours/index.js
|
|
24008
24347
|
var contours = __webpack_require__(75534);
|
|
24009
24348
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/index.js
|
|
@@ -24043,8 +24382,8 @@ var touch = __webpack_require__(54868);
|
|
|
24043
24382
|
var dynamicVolume = __webpack_require__(16390);
|
|
24044
24383
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/polyData/utils.js
|
|
24045
24384
|
var utils = __webpack_require__(46514);
|
|
24046
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/voi/index.js
|
|
24047
|
-
var voi = __webpack_require__(
|
|
24385
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/voi/index.js + 4 modules
|
|
24386
|
+
var voi = __webpack_require__(14149);
|
|
24048
24387
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/contourSegmentation/index.js
|
|
24049
24388
|
var contourSegmentation = __webpack_require__(7259);
|
|
24050
24389
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/index.js
|
|
@@ -24083,6 +24422,7 @@ var contourSegmentation = __webpack_require__(7259);
|
|
|
24083
24422
|
|
|
24084
24423
|
|
|
24085
24424
|
|
|
24425
|
+
|
|
24086
24426
|
|
|
24087
24427
|
|
|
24088
24428
|
const roundNumber = esm.utilities.roundNumber;
|
|
@@ -24482,7 +24822,7 @@ function triggerSegmentationRender(toolGroupId) {
|
|
|
24482
24822
|
/* unused harmony export triggerAnnotationRender */
|
|
24483
24823
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
24484
24824
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84901);
|
|
24485
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
24825
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49574);
|
|
24486
24826
|
/* harmony import */ var _getToolsWithModesForElement__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42360);
|
|
24487
24827
|
|
|
24488
24828
|
|