@ohif/app 3.9.0-beta.2 → 3.9.0-beta.21
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.772ce244eee25d9b7316.js} +50 -15
- package/dist/{121.bundle.a6063e0272df61cefccc.js → 121.bundle.b582314ec0024fdf2d15.js} +1 -0
- package/dist/{164.bundle.1da1cadb56951caef1d6.js → 164.bundle.3221590f5e6855086889.js} +318 -41
- package/dist/{236.bundle.4ca7987e1d57f60ec13a.js → 236.bundle.d3a631d79ee8952e3c60.js} +388 -55
- package/dist/{188.bundle.b31173cb165eb21c3ec6.js → 243.bundle.866dc990219240efa81f.js} +8 -8
- package/dist/{325.bundle.47f5b8a085837ee6b512.js → 325.bundle.d8bf863ddebb832dcaab.js} +10 -11
- package/dist/{342.bundle.340982440de15f540a89.js → 342.bundle.67c49f2e52829a5696a4.js} +7 -0
- package/dist/{473.bundle.6cd4be953853f35b29c3.js → 367.bundle.6a0746aeca702ae6eba6.js} +279 -29
- package/dist/{806.bundle.50e039eb624382ee1fce.js → 370.bundle.baa389d217c390b0e92b.js} +81 -10
- package/dist/{206.bundle.e98e6ba9bfd9f36dc508.js → 390.bundle.504391bda56219cc9ef9.js} +37 -26
- package/dist/{448.bundle.94a6da9fac68fc69f8c2.js → 448.bundle.67539d1552db51aaca85.js} +2 -2
- package/dist/{483.bundle.a353efc5a5dd563c903c.js → 483.bundle.016de3c3ec209d9fa42a.js} +16 -3
- package/dist/{487.bundle.71a2893d94d214741e13.js → 487.bundle.3f0e64e16189f92fcebc.js} +2 -2
- package/dist/{35.bundle.0168d78bfad0cb784112.js → 501.bundle.7d5003758fa3ffbb344b.js} +750 -247
- package/dist/{530.bundle.207b38c15c4c01e4db0e.js → 530.bundle.17b9a34fefff133e5379.js} +3 -3
- package/dist/{544.bundle.b005b8c8b9b08aaa3324.js → 544.bundle.4d1fb477b572f50f4220.js} +3 -3
- package/dist/{321.bundle.07e853e559665d6e15b6.js → 550.bundle.41e6a1eacc49db2358c5.js} +50 -19
- package/dist/{574.bundle.88b619217339b5e93d3e.js → 574.bundle.0bcd9d70f4b1eea48082.js} +35 -32
- package/dist/{41.bundle.faaf3b05d1083e3c8831.js → 682.bundle.066197792e6a0d01b669.js} +26 -6
- package/dist/{699.bundle.8210579412d62beafa91.js → 699.bundle.428f20dd60662f1e5edd.js} +32 -3
- package/dist/{669.bundle.84745782e36f25eb05bc.js → 721.bundle.d21827d733e8811e0b18.js} +73 -73
- package/dist/{722.bundle.2547630541b670f10d6e.js → 722.bundle.1242e0348afc63ca4f5e.js} +10 -4
- package/dist/{724.bundle.519141a0c4d0d1a3192a.js → 776.bundle.981d8227b59f97f11dd8.js} +17 -12
- package/dist/{862.bundle.4a0bd82b803ba158018f.js → 862.bundle.7a102f04ef4d12686894.js} +1 -1
- package/dist/{889.bundle.9fbab4f0bbf643306879.js → 889.bundle.ed8937ba0c5455ed894d.js} +8 -8
- package/dist/{905.bundle.7e940707e10096970ca1.js → 905.bundle.b101088a20887c27945d.js} +2 -2
- package/dist/{907.bundle.f5aa0414d0f77e575a1f.js → 907.bundle.e8d22a858051cd255c9c.js} +2 -2
- package/dist/{94.bundle.ecaaba845625d93bad6b.js → 94.bundle.b4f45b237188a8550a35.js} +38 -8
- package/dist/{961.bundle.ff7da8afd7d8495d0bbe.js → 961.bundle.b86b71c712fa83e526d3.js} +2 -2
- package/dist/{7.bundle.3a17fe8266b2149334a6.js → 981.bundle.7b03f5a200c7dbcbaf1d.js} +10 -9
- package/dist/{594.bundle.01b124740b2b3f8a6d20.js → 989.bundle.e81da55a6954a12e5ea1.js} +5 -5
- package/dist/{633.bundle.ff1a1d0bdb0d1ef143af.js → 998.bundle.37015da90e590043cda0.js} +7 -7
- package/dist/app-config.js +5 -1
- package/dist/{app.bundle.c53b289734d5f7178a39.js → app.bundle.a6bfec031243c17f92e9.js} +686 -555
- package/dist/app.bundle.css +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/google.js +1 -0
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.1799686b019040500219.js → polySeg.bundle.b0392069f29e128b4efa.js} +3 -3
- package/dist/{suv-peak-worker.bundle.25f8b85eab9ec06da48d.js → suv-peak-worker.bundle.f823d84fae4ce6865f9a.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +20 -19
- /package/dist/{321.css → 550.css} +0 -0
- /package/dist/{783.bundle.86c38ee55f4d01b111ca.js → 783.bundle.c5b7e2433ecb9d8e2541.js} +0 -0
- /package/dist/{633.css → 998.css} +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:
|
|
@@ -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);
|
|
@@ -13152,7 +13476,7 @@ AngleTool.toolName = 'Angle';
|
|
|
13152
13476
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
13153
13477
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48428);
|
|
13154
13478
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21954);
|
|
13155
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
13479
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
13156
13480
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
13157
13481
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90252);
|
|
13158
13482
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23072);
|
|
@@ -13601,7 +13925,7 @@ ArrowAnnotateTool.toolName = 'ArrowAnnotate';
|
|
|
13601
13925
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(48428);
|
|
13602
13926
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21009);
|
|
13603
13927
|
/* 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__(
|
|
13928
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(49574);
|
|
13605
13929
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(61738);
|
|
13606
13930
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(84901);
|
|
13607
13931
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90252);
|
|
@@ -14357,7 +14681,7 @@ BidirectionalTool.toolName = 'Bidirectional';
|
|
|
14357
14681
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48428);
|
|
14358
14682
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21009);
|
|
14359
14683
|
/* 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__(
|
|
14684
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
14361
14685
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
14362
14686
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84901);
|
|
14363
14687
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90252);
|
|
@@ -14978,7 +15302,7 @@ CircleROITool.toolName = 'CircleROI';
|
|
|
14978
15302
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21954);
|
|
14979
15303
|
/* harmony import */ var _utilities_math_angle_angleBetweenLines__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(52475);
|
|
14980
15304
|
/* harmony import */ var _utilities_math_midPoint__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(76727);
|
|
14981
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
15305
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(49574);
|
|
14982
15306
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(61738);
|
|
14983
15307
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90252);
|
|
14984
15308
|
/* harmony import */ var _utilities_drawing__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(10910);
|
|
@@ -15678,7 +16002,7 @@ CobbAngleTool.toolName = 'CobbAngle';
|
|
|
15678
16002
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
15679
16003
|
/* harmony export */ });
|
|
15680
16004
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
15681
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
16005
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49574);
|
|
15682
16006
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90252);
|
|
15683
16007
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40233);
|
|
15684
16008
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23072);
|
|
@@ -15838,7 +16162,7 @@ DragProbeTool.toolName = 'DragProbe';
|
|
|
15838
16162
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48428);
|
|
15839
16163
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21009);
|
|
15840
16164
|
/* 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__(
|
|
16165
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
15842
16166
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
15843
16167
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84901);
|
|
15844
16168
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90252);
|
|
@@ -16544,7 +16868,7 @@ EllipticalROITool.toolName = 'EllipticalROI';
|
|
|
16544
16868
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(96214);
|
|
16545
16869
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
16546
16870
|
/* 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__(
|
|
16871
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
16548
16872
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(61738);
|
|
16549
16873
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(90252);
|
|
16550
16874
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23072);
|
|
@@ -16745,7 +17069,7 @@ KeyImageTool.toolName = 'KeyImage';
|
|
|
16745
17069
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21009);
|
|
16746
17070
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54177);
|
|
16747
17071
|
/* harmony import */ var _utilities_math_line__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(21954);
|
|
16748
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
17072
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(49574);
|
|
16749
17073
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(61738);
|
|
16750
17074
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90252);
|
|
16751
17075
|
/* harmony import */ var _utilities_drawing__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(10910);
|
|
@@ -17193,7 +17517,7 @@ LengthTool.toolName = 'Length';
|
|
|
17193
17517
|
/* harmony import */ var _utilities_livewire_LiveWirePath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1320);
|
|
17194
17518
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54177);
|
|
17195
17519
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84901);
|
|
17196
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
17520
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
17197
17521
|
|
|
17198
17522
|
|
|
17199
17523
|
|
|
@@ -17296,7 +17620,7 @@ LivewireContourSegmentationTool.toolName = 'LivewireContourSegmentationTool';
|
|
|
17296
17620
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44753);
|
|
17297
17621
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92136);
|
|
17298
17622
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38296);
|
|
17299
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
17623
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49574);
|
|
17300
17624
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(61738);
|
|
17301
17625
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84901);
|
|
17302
17626
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
@@ -17873,7 +18197,7 @@ PlanarFreehandContourSegmentationTool.toolName =
|
|
|
17873
18197
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
17874
18198
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(54177);
|
|
17875
18199
|
/* harmony import */ var _utilities_getCalibratedUnits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24592);
|
|
17876
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
18200
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
17877
18201
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
17878
18202
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84901);
|
|
17879
18203
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(90252);
|
|
@@ -18252,7 +18576,7 @@ ProbeTool.toolName = 'Probe';
|
|
|
18252
18576
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48428);
|
|
18253
18577
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21009);
|
|
18254
18578
|
/* 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__(
|
|
18579
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49574);
|
|
18256
18580
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(61738);
|
|
18257
18581
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84901);
|
|
18258
18582
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90252);
|
|
@@ -18665,7 +18989,7 @@ class RectangleROITool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .AnnotationT
|
|
|
18665
18989
|
}
|
|
18666
18990
|
const dataId = `${annotationUID}-rect`;
|
|
18667
18991
|
const rectangleUID = '0';
|
|
18668
|
-
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_9__.
|
|
18992
|
+
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_9__.drawRectByCoordinates)(svgDrawingHelper, annotationUID, rectangleUID, canvasCoordinates, {
|
|
18669
18993
|
color,
|
|
18670
18994
|
lineDash,
|
|
18671
18995
|
lineWidth,
|
|
@@ -18850,7 +19174,7 @@ SplineContourSegmentationTool.toolName = 'SplineContourSegmentationTool';
|
|
|
18850
19174
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
18851
19175
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44753);
|
|
18852
19176
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38296);
|
|
18853
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
19177
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49574);
|
|
18854
19178
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(61738);
|
|
18855
19179
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84901);
|
|
18856
19180
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
@@ -19606,7 +19930,7 @@ SplineROITool.toolName = 'SplineROI';
|
|
|
19606
19930
|
/* harmony import */ var _utilities_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21090);
|
|
19607
19931
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38296);
|
|
19608
19932
|
/* 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__(
|
|
19933
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
19610
19934
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61738);
|
|
19611
19935
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90252);
|
|
19612
19936
|
/* harmony import */ var _utilities__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74119);
|
|
@@ -20093,7 +20417,7 @@ UltrasoundDirectionalTool.toolName = 'UltrasoundDirectionalTool';
|
|
|
20093
20417
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(96214);
|
|
20094
20418
|
/* harmony import */ var _utilities_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21090);
|
|
20095
20419
|
/* harmony import */ var _stateManagement__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(95778);
|
|
20096
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
20420
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
20097
20421
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(61738);
|
|
20098
20422
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84901);
|
|
20099
20423
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90252);
|
|
@@ -21154,6 +21478,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
21154
21478
|
So: () => (/* reexport */ TrackballRotateTool/* default */.A),
|
|
21155
21479
|
oi: () => (/* reexport */ UltrasoundDirectionalTool/* default */.A),
|
|
21156
21480
|
Y1: () => (/* reexport */ VolumeRotateMouseWheelTool/* default */.A),
|
|
21481
|
+
TG: () => (/* reexport */ WindowLevelRegionTool/* default */.A),
|
|
21157
21482
|
Du: () => (/* reexport */ WindowLevelTool/* default */.A),
|
|
21158
21483
|
OQ: () => (/* reexport */ ZoomTool/* default */.A)
|
|
21159
21484
|
});
|
|
@@ -21166,6 +21491,8 @@ var PanTool = __webpack_require__(25294);
|
|
|
21166
21491
|
var TrackballRotateTool = __webpack_require__(15924);
|
|
21167
21492
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/WindowLevelTool.js
|
|
21168
21493
|
var WindowLevelTool = __webpack_require__(455);
|
|
21494
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/WindowLevelRegionTool.js
|
|
21495
|
+
var WindowLevelRegionTool = __webpack_require__(60747);
|
|
21169
21496
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/StackScrollTool.js
|
|
21170
21497
|
var StackScrollTool = __webpack_require__(20132);
|
|
21171
21498
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/PlanarRotateTool.js
|
|
@@ -21248,8 +21575,8 @@ var esm = __webpack_require__(92136);
|
|
|
21248
21575
|
var stateManagement = __webpack_require__(95778);
|
|
21249
21576
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/annotationLocking.js
|
|
21250
21577
|
var annotationLocking = __webpack_require__(48428);
|
|
21251
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/index.js +
|
|
21252
|
-
var drawingSvg = __webpack_require__(
|
|
21578
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/index.js + 18 modules
|
|
21579
|
+
var drawingSvg = __webpack_require__(49574);
|
|
21253
21580
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/index.js + 4 modules
|
|
21254
21581
|
var viewportFilters = __webpack_require__(90252);
|
|
21255
21582
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/elementCursor.js
|
|
@@ -21785,6 +22112,7 @@ var SegmentSelectTool = __webpack_require__(34041);
|
|
|
21785
22112
|
|
|
21786
22113
|
|
|
21787
22114
|
|
|
22115
|
+
|
|
21788
22116
|
|
|
21789
22117
|
|
|
21790
22118
|
/***/ }),
|
|
@@ -21803,7 +22131,7 @@ var SegmentSelectTool = __webpack_require__(34041);
|
|
|
21803
22131
|
/* harmony import */ var _strategies_fillCircle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4069);
|
|
21804
22132
|
/* harmony import */ var _strategies_eraseCircle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11852);
|
|
21805
22133
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84901);
|
|
21806
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
22134
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49574);
|
|
21807
22135
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40233);
|
|
21808
22136
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23072);
|
|
21809
22137
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(63421);
|
|
@@ -22277,7 +22605,7 @@ BrushTool.toolName = 'Brush';
|
|
|
22277
22605
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84901);
|
|
22278
22606
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38296);
|
|
22279
22607
|
/* harmony import */ var _stateManagement_annotation_annotationLocking__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48428);
|
|
22280
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
22608
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
22281
22609
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(90252);
|
|
22282
22610
|
/* harmony import */ var _utilities_throttle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21090);
|
|
22283
22611
|
/* harmony import */ var _stateManagement_annotation_annotationVisibility__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21009);
|
|
@@ -22643,7 +22971,7 @@ CircleROIStartEndThresholdTool.toolName = 'CircleROIStartEndThreshold';
|
|
|
22643
22971
|
/* harmony import */ var _strategies_fillCircle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4069);
|
|
22644
22972
|
/* harmony import */ var _strategies_eraseCircle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11852);
|
|
22645
22973
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84901);
|
|
22646
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
22974
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
22647
22975
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
22648
22976
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23072);
|
|
22649
22977
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(63421);
|
|
@@ -23144,7 +23472,7 @@ PaintFillTool.toolName = 'PaintFill';
|
|
|
23144
23472
|
/* harmony import */ var _strategies_eraseRectangle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66211);
|
|
23145
23473
|
/* harmony import */ var _utilities_viewportFilters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90252);
|
|
23146
23474
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84901);
|
|
23147
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
23475
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49574);
|
|
23148
23476
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40233);
|
|
23149
23477
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23072);
|
|
23150
23478
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(63421);
|
|
@@ -23518,7 +23846,7 @@ SegmentSelectTool.toolName = 'SegmentSelectTool';
|
|
|
23518
23846
|
/* harmony import */ var _strategies_fillSphere__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(61604);
|
|
23519
23847
|
/* harmony import */ var _strategies_eraseSphere__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4373);
|
|
23520
23848
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84901);
|
|
23521
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
23849
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49574);
|
|
23522
23850
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40233);
|
|
23523
23851
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23072);
|
|
23524
23852
|
/* harmony import */ var _stateManagement_segmentation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(63421);
|
|
@@ -23915,6 +24243,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23915
24243
|
// EXPORTS
|
|
23916
24244
|
__webpack_require__.d(__webpack_exports__, {
|
|
23917
24245
|
annotationFrameRange: () => (/* reexport */ annotationFrameRange/* default */.A),
|
|
24246
|
+
annotationHydration: () => (/* reexport */ annotationHydration/* annotationHydration */.i),
|
|
23918
24247
|
boundingBox: () => (/* reexport */ boundingBox),
|
|
23919
24248
|
calibrateImageSpacing: () => (/* reexport */ calibrateImageSpacing/* default */.A),
|
|
23920
24249
|
cine: () => (/* reexport */ cine),
|
|
@@ -23929,6 +24258,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
23929
24258
|
getCalibratedAspect: () => (/* reexport */ getCalibratedUnits/* getCalibratedAspect */.CQ),
|
|
23930
24259
|
getCalibratedLengthUnitsAndScale: () => (/* reexport */ getCalibratedUnits/* getCalibratedLengthUnitsAndScale */.Op),
|
|
23931
24260
|
getCalibratedProbeUnitsAndValue: () => (/* reexport */ getCalibratedUnits/* getCalibratedProbeUnitsAndValue */.Xw),
|
|
24261
|
+
getClosestImageIdForStackViewport: () => (/* reexport */ annotationHydration/* getClosestImageIdForStackViewport */.x),
|
|
23932
24262
|
getSphereBoundsInfo: () => (/* reexport */ getSphereBoundsInfo/* getSphereBoundsInfo */.R),
|
|
23933
24263
|
getViewportForAnnotation: () => (/* reexport */ getViewportForAnnotation/* default */.A),
|
|
23934
24264
|
isObject: () => (/* reexport */ isObject/* default */.A),
|
|
@@ -24004,6 +24334,8 @@ var annotationFrameRange = __webpack_require__(41209);
|
|
|
24004
24334
|
var pointInSurroundingSphereCallback = __webpack_require__(5093);
|
|
24005
24335
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/getViewportForAnnotation.js
|
|
24006
24336
|
var getViewportForAnnotation = __webpack_require__(39490);
|
|
24337
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/annotationHydration.js
|
|
24338
|
+
var annotationHydration = __webpack_require__(25781);
|
|
24007
24339
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/contours/index.js
|
|
24008
24340
|
var contours = __webpack_require__(75534);
|
|
24009
24341
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/index.js
|
|
@@ -24043,8 +24375,8 @@ var touch = __webpack_require__(54868);
|
|
|
24043
24375
|
var dynamicVolume = __webpack_require__(16390);
|
|
24044
24376
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/polyData/utils.js
|
|
24045
24377
|
var utils = __webpack_require__(46514);
|
|
24046
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/voi/index.js
|
|
24047
|
-
var voi = __webpack_require__(
|
|
24378
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/voi/index.js + 4 modules
|
|
24379
|
+
var voi = __webpack_require__(14149);
|
|
24048
24380
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/contourSegmentation/index.js
|
|
24049
24381
|
var contourSegmentation = __webpack_require__(7259);
|
|
24050
24382
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/index.js
|
|
@@ -24083,6 +24415,7 @@ var contourSegmentation = __webpack_require__(7259);
|
|
|
24083
24415
|
|
|
24084
24416
|
|
|
24085
24417
|
|
|
24418
|
+
|
|
24086
24419
|
|
|
24087
24420
|
|
|
24088
24421
|
const roundNumber = esm.utilities.roundNumber;
|
|
@@ -24482,7 +24815,7 @@ function triggerSegmentationRender(toolGroupId) {
|
|
|
24482
24815
|
/* unused harmony export triggerAnnotationRender */
|
|
24483
24816
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
24484
24817
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84901);
|
|
24485
|
-
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
24818
|
+
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49574);
|
|
24486
24819
|
/* harmony import */ var _getToolsWithModesForElement__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42360);
|
|
24487
24820
|
|
|
24488
24821
|
|