@ohif/app 3.7.0-beta.40 → 3.7.0-beta.41
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/{917.bundle.cba9223eb2a6dfea6066.js → 12.bundle.e63fa108deddf4b48ad1.js} +5 -5
- package/dist/{295.bundle.957b1159fec14b9199a1.js → 125.bundle.1ae4c6313c31cd0502cc.js} +4 -4
- package/dist/{208.bundle.a27d931468daecfff934.js → 128.bundle.819cdd5927e7cf4a4f93.js} +4 -4
- package/dist/{468.bundle.84576e0c0e8a7bdcfb90.js → 181.bundle.3c90dbb782b783e30fd8.js} +16 -16
- package/dist/{468.css → 181.css} +1 -1
- package/dist/{606.bundle.5d876f5f3dd8287f0a28.js → 195.bundle.b56618d38bc184f8ef78.js} +26 -27
- package/dist/{616.bundle.b159e7f111ada286d862.js → 204.bundle.f344a75f87137ea091fa.js} +10 -10
- package/dist/{926.bundle.dbc9d0e591cb9217fda2.js → 220.bundle.f7e1c96c94245e70f2be.js} +990 -400
- package/dist/{664.bundle.09abae984223969d1bde.js → 23.bundle.e008ad788170f2ed5569.js} +5 -6
- package/dist/{976.bundle.19dac9a84b453d2c4dbb.js → 236.bundle.970ce03f811085367829.js} +11 -11
- package/dist/{55.bundle.fe53f3784bfe7db4a5a5.js → 250.bundle.ee4bcf159c4d610acc3e.js} +16 -16
- package/dist/{973.bundle.fa8a13ecc41ff54fb82b.js → 281.bundle.c6a26ea22a160a15da31.js} +3 -3
- package/dist/{744.bundle.0be683bc1498cc0d89ef.js → 30.bundle.51b446a6388a463d9550.js} +31 -31
- package/dist/{192.bundle.b2863bbbf41f16203af7.js → 348.bundle.64c2bd15557b5aece504.js} +4 -4
- package/dist/{404.bundle.02cea2f3b08cdbe8ceee.js → 359.bundle.9fdd66fa9a9846c2d051.js} +4 -4
- package/dist/{50.bundle.7def59ad0bc69d63790b.js → 378.bundle.14cdd6874c4d80de89e7.js} +2 -2
- package/dist/{790.bundle.18db48c8d89ce04e57bc.js → 410.bundle.dbedca0b114b39c355c9.js} +4 -4
- package/dist/{151.bundle.31ea35044218837bf73f.js → 417.bundle.720dc8f3a6e99f378aa9.js} +9 -11
- package/dist/{199.bundle.af3f8b331f3b030fe4b1.js → 506.bundle.90338adba4235e1da9ad.js} +6 -6
- package/dist/{935.bundle.deeffff0e4f7b528e3c3.js → 604.bundle.a51f83e64004bca5f497.js} +2 -3
- package/dist/{984.bundle.3623bc3bc26748a21d00.js → 663.bundle.8d2ec1533aa8e75019a4.js} +21 -21
- package/dist/{531.bundle.2a82fb1d69e5b57cc72b.js → 677.bundle.ec5f2b4707db33bd4d8e.js} +731 -447
- package/dist/{625.bundle.7e4bece1b4ef5dc300a8.js → 678.bundle.dcd50fd210e1d7e2efb1.js} +26 -26
- package/dist/{205.bundle.b5a473c200dcf2bbcdb4.js → 686.bundle.70565410179f1e7d22e6.js} +4 -4
- package/dist/{389.bundle.38df7e54d2f632cfa7a0.js → 754.bundle.36f6f0f1c2cad1ffeadc.js} +373 -385
- package/dist/{728.bundle.5bef7c8643b42d70a79f.js → 774.bundle.e2cf44623c1268d8433d.js} +26 -22
- package/dist/{381.bundle.0905e683605fcbc0895f.js → 775.bundle.2285e7e0e67878948c0d.js} +16 -16
- package/dist/{283.bundle.76f6d48710f450ccd0f3.js → 782.bundle.aff17622ba9137558582.js} +13 -13
- package/dist/{581.bundle.15078e71fe52b53f48b3.js → 810.bundle.b3e2cf57e00d35a12f30.js} +7 -7
- package/dist/{642.bundle.ac0c06c27fc4366de343.js → 814.bundle.a37a7407a6b4523f5057.js} +5 -5
- package/dist/{82.bundle.9affd6d9fbce4d32e826.js → 821.bundle.3a7b408c415336b6a010.js} +27 -27
- package/dist/{799.bundle.d8e50f1fd6bf4fa3a5e1.js → 822.bundle.83c544a4283056f1331d.js} +10 -10
- package/dist/{569.bundle.e77c17d37a65e5dedfed.js → 869.bundle.51e2fc87fab5cb911ec1.js} +7 -7
- package/dist/{953.bundle.95b0621f1da8dfeaed8a.js → 886.bundle.1c9ef0b3494270b34bda.js} +9 -9
- package/dist/{780.bundle.fd0f13dc92e9caa0581e.js → 899.bundle.dc9c8c0729bf29173303.js} +43 -43
- package/dist/{270.bundle.2d215f8720350f03e171.js → 925.bundle.150debc1fe2cafa1e036.js} +483 -418
- package/dist/{app.bundle.6987d8f46ddf4345d40a.js → app.bundle.94979d10759d179bbd10.js} +58523 -60385
- package/dist/app.bundle.css +9 -9
- package/dist/{dicom-microscopy-viewer.bundle.aa60bdf008c32c39cfd7.js → dicom-microscopy-viewer.bundle.44f7fedc03a58d5911d1.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +19 -19
- /package/dist/{55.css → 250.css} +0 -0
- /package/dist/{806.css → 579.css} +0 -0
- /package/dist/{625.css → 678.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(
|
|
1
|
+
(self["webpackChunk"] = self["webpackChunk"] || []).push([[925],{
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 26925:
|
|
4
4
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
@@ -505,6 +505,7 @@ __webpack_require__.d(esm_utilities_namespaceObject, {
|
|
|
505
505
|
pointInShapeCallback: () => (pointInShapeCallback),
|
|
506
506
|
pointInSurroundingSphereCallback: () => (pointInSurroundingSphereCallback),
|
|
507
507
|
rectangleROITool: () => (rectangleROITool_namespaceObject),
|
|
508
|
+
roundNumber: () => (utilities_roundNumber),
|
|
508
509
|
scroll: () => (scroll_scroll),
|
|
509
510
|
segmentation: () => (utilities_segmentation_namespaceObject),
|
|
510
511
|
stackPrefetch: () => (utilities_stackPrefetch_namespaceObject),
|
|
@@ -578,8 +579,8 @@ __webpack_require__.d(synchronizers_namespaceObject, {
|
|
|
578
579
|
var types_namespaceObject = {};
|
|
579
580
|
__webpack_require__.r(types_namespaceObject);
|
|
580
581
|
|
|
581
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js +
|
|
582
|
-
var esm = __webpack_require__(
|
|
582
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 337 modules
|
|
583
|
+
var esm = __webpack_require__(45754);
|
|
583
584
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/ToolBindings.js
|
|
584
585
|
var MouseBindings;
|
|
585
586
|
(function (MouseBindings) {
|
|
@@ -607,7 +608,7 @@ var KeyboardBindings;
|
|
|
607
608
|
KeyboardBindings[KeyboardBindings["AltMeta"] = 1891] = "AltMeta";
|
|
608
609
|
})(KeyboardBindings || (KeyboardBindings = {}));
|
|
609
610
|
|
|
610
|
-
|
|
611
|
+
|
|
611
612
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/ToolModes.js
|
|
612
613
|
var ToolModes_ToolModes;
|
|
613
614
|
(function (ToolModes) {
|
|
@@ -617,7 +618,7 @@ var ToolModes_ToolModes;
|
|
|
617
618
|
ToolModes["Disabled"] = "Disabled";
|
|
618
619
|
})(ToolModes_ToolModes || (ToolModes_ToolModes = {}));
|
|
619
620
|
/* harmony default export */ const enums_ToolModes = (ToolModes_ToolModes);
|
|
620
|
-
|
|
621
|
+
|
|
621
622
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/AnnotationStyleStates.js
|
|
622
623
|
var AnnotationStyleStates;
|
|
623
624
|
(function (AnnotationStyleStates) {
|
|
@@ -627,7 +628,7 @@ var AnnotationStyleStates;
|
|
|
627
628
|
AnnotationStyleStates["Locked"] = "Locked";
|
|
628
629
|
})(AnnotationStyleStates || (AnnotationStyleStates = {}));
|
|
629
630
|
/* harmony default export */ const enums_AnnotationStyleStates = (AnnotationStyleStates);
|
|
630
|
-
|
|
631
|
+
|
|
631
632
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/Events.js
|
|
632
633
|
var Events;
|
|
633
634
|
(function (Events) {
|
|
@@ -664,7 +665,7 @@ var Events;
|
|
|
664
665
|
Events["TOUCH_SWIPE"] = "CORNERSTONE_TOOLS_SWIPE";
|
|
665
666
|
})(Events || (Events = {}));
|
|
666
667
|
/* harmony default export */ const enums_Events = (Events);
|
|
667
|
-
|
|
668
|
+
|
|
668
669
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/SegmentationRepresentations.js
|
|
669
670
|
var SegmentationRepresentations;
|
|
670
671
|
(function (SegmentationRepresentations) {
|
|
@@ -672,7 +673,7 @@ var SegmentationRepresentations;
|
|
|
672
673
|
SegmentationRepresentations["Contour"] = "CONTOUR";
|
|
673
674
|
})(SegmentationRepresentations || (SegmentationRepresentations = {}));
|
|
674
675
|
/* harmony default export */ const enums_SegmentationRepresentations = (SegmentationRepresentations);
|
|
675
|
-
|
|
676
|
+
|
|
676
677
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/Touch.js
|
|
677
678
|
var Swipe;
|
|
678
679
|
(function (Swipe) {
|
|
@@ -682,7 +683,7 @@ var Swipe;
|
|
|
682
683
|
Swipe["RIGHT"] = "RIGHT";
|
|
683
684
|
})(Swipe || (Swipe = {}));
|
|
684
685
|
|
|
685
|
-
|
|
686
|
+
|
|
686
687
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/enums/index.js
|
|
687
688
|
|
|
688
689
|
|
|
@@ -691,9 +692,9 @@ var Swipe;
|
|
|
691
692
|
|
|
692
693
|
|
|
693
694
|
|
|
694
|
-
|
|
695
|
+
|
|
695
696
|
// EXTERNAL MODULE: ../../../node_modules/lodash.clonedeep/index.js
|
|
696
|
-
var lodash_clonedeep = __webpack_require__(
|
|
697
|
+
var lodash_clonedeep = __webpack_require__(11677);
|
|
697
698
|
var lodash_clonedeep_default = /*#__PURE__*/__webpack_require__.n(lodash_clonedeep);
|
|
698
699
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/annotationLocking.js
|
|
699
700
|
|
|
@@ -783,7 +784,7 @@ function getIsLocked() {
|
|
|
783
784
|
return isAnnotationLocked(this);
|
|
784
785
|
}
|
|
785
786
|
|
|
786
|
-
|
|
787
|
+
|
|
787
788
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/annotationSelection.js
|
|
788
789
|
|
|
789
790
|
|
|
@@ -856,7 +857,7 @@ function annotationSelection_publish(detail, selectionSet) {
|
|
|
856
857
|
}
|
|
857
858
|
}
|
|
858
859
|
|
|
859
|
-
|
|
860
|
+
|
|
860
861
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/annotationVisibility.js
|
|
861
862
|
|
|
862
863
|
|
|
@@ -944,7 +945,7 @@ function getIsVisible() {
|
|
|
944
945
|
return isAnnotationVisible(this.annotationUID);
|
|
945
946
|
}
|
|
946
947
|
|
|
947
|
-
|
|
948
|
+
|
|
948
949
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/FrameOfReferenceSpecificAnnotationManager.js
|
|
949
950
|
|
|
950
951
|
|
|
@@ -1130,14 +1131,14 @@ class FrameOfReferenceSpecificAnnotationManager {
|
|
|
1130
1131
|
const defaultFrameOfReferenceSpecificAnnotationManager = new FrameOfReferenceSpecificAnnotationManager('DEFAULT');
|
|
1131
1132
|
|
|
1132
1133
|
/* harmony default export */ const annotation_FrameOfReferenceSpecificAnnotationManager = (FrameOfReferenceSpecificAnnotationManager);
|
|
1133
|
-
|
|
1134
|
+
|
|
1134
1135
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/svgNodeCache.js
|
|
1135
1136
|
let svgNodeCache = {};
|
|
1136
1137
|
function resetSvgNodeCache() {
|
|
1137
1138
|
svgNodeCache = {};
|
|
1138
1139
|
}
|
|
1139
1140
|
/* harmony default export */ const store_svgNodeCache = (svgNodeCache);
|
|
1140
|
-
|
|
1141
|
+
|
|
1141
1142
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/state.js
|
|
1142
1143
|
|
|
1143
1144
|
|
|
@@ -1166,7 +1167,7 @@ function resetCornerstoneToolsState() {
|
|
|
1166
1167
|
state = lodash_clonedeep_default()(defaultState);
|
|
1167
1168
|
}
|
|
1168
1169
|
|
|
1169
|
-
|
|
1170
|
+
|
|
1170
1171
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/addTool.js
|
|
1171
1172
|
|
|
1172
1173
|
function addTool(ToolClass) {
|
|
@@ -1195,7 +1196,7 @@ function removeTool(ToolClass) {
|
|
|
1195
1196
|
}
|
|
1196
1197
|
}
|
|
1197
1198
|
/* harmony default export */ const store_addTool = ((/* unused pure expression or super */ null && (addTool)));
|
|
1198
|
-
|
|
1199
|
+
|
|
1199
1200
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/mouse/getMouseEventPoints.js
|
|
1200
1201
|
|
|
1201
1202
|
function getMouseEventPoints(evt, element) {
|
|
@@ -1225,7 +1226,7 @@ function _pageToPoint(evt) {
|
|
|
1225
1226
|
function _clientToPoint(evt) {
|
|
1226
1227
|
return [evt.clientX, evt.clientY];
|
|
1227
1228
|
}
|
|
1228
|
-
|
|
1229
|
+
|
|
1229
1230
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/mouse/mouseDoubleClickListener.js
|
|
1230
1231
|
|
|
1231
1232
|
|
|
@@ -1259,7 +1260,7 @@ function mouseDoubleClickListener(evt) {
|
|
|
1259
1260
|
}
|
|
1260
1261
|
}
|
|
1261
1262
|
/* harmony default export */ const mouse_mouseDoubleClickListener = (mouseDoubleClickListener);
|
|
1262
|
-
|
|
1263
|
+
|
|
1263
1264
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/mouse/mouseMoveListener.js
|
|
1264
1265
|
|
|
1265
1266
|
|
|
@@ -1282,7 +1283,7 @@ function mouseMoveListener(evt) {
|
|
|
1282
1283
|
(0,esm.triggerEvent)(element, eventName, eventDetail);
|
|
1283
1284
|
}
|
|
1284
1285
|
/* harmony default export */ const mouse_mouseMoveListener = (mouseMoveListener);
|
|
1285
|
-
|
|
1286
|
+
|
|
1286
1287
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/mouse/mouseDownListener.js
|
|
1287
1288
|
|
|
1288
1289
|
|
|
@@ -1529,7 +1530,7 @@ function mouseDoubleClickIgnoreListener(evt) {
|
|
|
1529
1530
|
}
|
|
1530
1531
|
}
|
|
1531
1532
|
/* harmony default export */ const mouse_mouseDownListener = (mouseDownListener);
|
|
1532
|
-
|
|
1533
|
+
|
|
1533
1534
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/mouse/index.js
|
|
1534
1535
|
|
|
1535
1536
|
|
|
@@ -1555,7 +1556,7 @@ function enable(element) {
|
|
|
1555
1556
|
enable,
|
|
1556
1557
|
disable,
|
|
1557
1558
|
});
|
|
1558
|
-
|
|
1559
|
+
|
|
1559
1560
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/touch/preventGhostClick.js
|
|
1560
1561
|
const antiGhostDelay = 2000, pointerType = {
|
|
1561
1562
|
mouse: 0,
|
|
@@ -1604,7 +1605,7 @@ function preventGhostClick_enable(element) {
|
|
|
1604
1605
|
enable: preventGhostClick_enable,
|
|
1605
1606
|
disable: preventGhostClick_disable,
|
|
1606
1607
|
});
|
|
1607
|
-
|
|
1608
|
+
|
|
1608
1609
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/touch/getTouchEventPoints.js
|
|
1609
1610
|
|
|
1610
1611
|
function getTouchEventPoints(evt, element) {
|
|
@@ -1644,7 +1645,7 @@ function getTouchEventPoints_pageToPoint(touch) {
|
|
|
1644
1645
|
function getTouchEventPoints_clientToPoint(touch) {
|
|
1645
1646
|
return [touch.clientX, touch.clientY];
|
|
1646
1647
|
}
|
|
1647
|
-
|
|
1648
|
+
|
|
1648
1649
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/touch/index.js
|
|
1649
1650
|
function getDeltaPoints(currentPoints, lastPoints) {
|
|
1650
1651
|
const curr = getMeanPoints(currentPoints);
|
|
@@ -1798,7 +1799,7 @@ function _getDistance3D(point0, point1) {
|
|
|
1798
1799
|
Math.pow(point0[2] - point1[2], 2));
|
|
1799
1800
|
}
|
|
1800
1801
|
|
|
1801
|
-
|
|
1802
|
+
|
|
1802
1803
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/touch/touchStartListener.js
|
|
1803
1804
|
|
|
1804
1805
|
|
|
@@ -2085,7 +2086,7 @@ function _updateTouchEventsLastPoints(element, lastPoints) {
|
|
|
2085
2086
|
});
|
|
2086
2087
|
}
|
|
2087
2088
|
/* harmony default export */ const touch_touchStartListener = (touchStartListener);
|
|
2088
|
-
|
|
2089
|
+
|
|
2089
2090
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/touch/index.js
|
|
2090
2091
|
|
|
2091
2092
|
|
|
@@ -2104,7 +2105,7 @@ function touch_enable(element) {
|
|
|
2104
2105
|
enable: touch_enable,
|
|
2105
2106
|
disable: touch_disable,
|
|
2106
2107
|
});
|
|
2107
|
-
|
|
2108
|
+
|
|
2108
2109
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/wheel/normalizeWheel.js
|
|
2109
2110
|
const PIXEL_STEP = 10;
|
|
2110
2111
|
const LINE_HEIGHT = 40;
|
|
@@ -2154,7 +2155,7 @@ function normalizeWheel(event) {
|
|
|
2154
2155
|
pixelY,
|
|
2155
2156
|
};
|
|
2156
2157
|
}
|
|
2157
|
-
|
|
2158
|
+
|
|
2158
2159
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/wheel/wheelListener.js
|
|
2159
2160
|
|
|
2160
2161
|
|
|
@@ -2190,7 +2191,7 @@ function wheelListener(evt) {
|
|
|
2190
2191
|
(0,esm.triggerEvent)(element, enums_Events.MOUSE_WHEEL, eventDetail);
|
|
2191
2192
|
}
|
|
2192
2193
|
/* harmony default export */ const wheel_wheelListener = (wheelListener);
|
|
2193
|
-
|
|
2194
|
+
|
|
2194
2195
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/wheel/index.js
|
|
2195
2196
|
|
|
2196
2197
|
function wheel_enable(element) {
|
|
@@ -2204,7 +2205,7 @@ function wheel_disable(element) {
|
|
|
2204
2205
|
enable: wheel_enable,
|
|
2205
2206
|
disable: wheel_disable,
|
|
2206
2207
|
});
|
|
2207
|
-
|
|
2208
|
+
|
|
2208
2209
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/keyboard/keyDownListener.js
|
|
2209
2210
|
|
|
2210
2211
|
|
|
@@ -2263,7 +2264,7 @@ function resetModifierKey() {
|
|
|
2263
2264
|
keyDownListener_state.keyCode = undefined;
|
|
2264
2265
|
}
|
|
2265
2266
|
/* harmony default export */ const keyDownListener = (keyListener);
|
|
2266
|
-
|
|
2267
|
+
|
|
2267
2268
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/keyboard/index.js
|
|
2268
2269
|
|
|
2269
2270
|
function keyboard_enable(element) {
|
|
@@ -2278,11 +2279,11 @@ function keyboard_disable(element) {
|
|
|
2278
2279
|
disable: keyboard_disable,
|
|
2279
2280
|
getModifierKey: getModifierKey,
|
|
2280
2281
|
});
|
|
2281
|
-
|
|
2282
|
+
|
|
2282
2283
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/DataModel/PiecewiseFunction.js
|
|
2283
|
-
var PiecewiseFunction = __webpack_require__(
|
|
2284
|
+
var PiecewiseFunction = __webpack_require__(44031);
|
|
2284
2285
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Rendering/Core/ColorTransferFunction.js + 1 modules
|
|
2285
|
-
var ColorTransferFunction = __webpack_require__(
|
|
2286
|
+
var ColorTransferFunction = __webpack_require__(95548);
|
|
2286
2287
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/constants/COLOR_LUT.js
|
|
2287
2288
|
const CORNERSTONE_COLOR_LUT = [
|
|
2288
2289
|
[0, 0, 0, 0],
|
|
@@ -2542,7 +2543,7 @@ const CORNERSTONE_COLOR_LUT = [
|
|
|
2542
2543
|
[81, 111, 224, 255],
|
|
2543
2544
|
];
|
|
2544
2545
|
/* harmony default export */ const COLOR_LUT = (CORNERSTONE_COLOR_LUT);
|
|
2545
|
-
|
|
2546
|
+
|
|
2546
2547
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/contourConfig.js
|
|
2547
2548
|
const defaultContourConfig = {
|
|
2548
2549
|
renderOutline: true,
|
|
@@ -2558,7 +2559,7 @@ function getDefaultContourConfig() {
|
|
|
2558
2559
|
return defaultContourConfig;
|
|
2559
2560
|
}
|
|
2560
2561
|
/* harmony default export */ const contourConfig = (getDefaultContourConfig);
|
|
2561
|
-
|
|
2562
|
+
|
|
2562
2563
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Labelmap/labelmapConfig.js
|
|
2563
2564
|
const defaultLabelmapConfig = {
|
|
2564
2565
|
renderOutline: true,
|
|
@@ -2588,7 +2589,7 @@ function isValidLabelmapConfig(config) {
|
|
|
2588
2589
|
}
|
|
2589
2590
|
/* harmony default export */ const labelmapConfig = (getDefaultLabelmapConfig);
|
|
2590
2591
|
|
|
2591
|
-
|
|
2592
|
+
|
|
2592
2593
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/SegmentationStateManager.js
|
|
2593
2594
|
|
|
2594
2595
|
|
|
@@ -2794,7 +2795,7 @@ class SegmentationStateManager {
|
|
|
2794
2795
|
}
|
|
2795
2796
|
const defaultSegmentationStateManager = new SegmentationStateManager('DEFAULT');
|
|
2796
2797
|
|
|
2797
|
-
|
|
2798
|
+
|
|
2798
2799
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/triggerSegmentationEvents.js
|
|
2799
2800
|
|
|
2800
2801
|
|
|
@@ -2854,7 +2855,7 @@ function triggerSegmentationDataModified(segmentationId, modifiedSlicesToUse) {
|
|
|
2854
2855
|
(0,esm.triggerEvent)(esm.eventTarget, enums_Events.SEGMENTATION_DATA_MODIFIED, eventDetail);
|
|
2855
2856
|
}
|
|
2856
2857
|
|
|
2857
|
-
|
|
2858
|
+
|
|
2858
2859
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/helpers/normalizeSegmentationInput.js
|
|
2859
2860
|
function normalizeSegmentationInput(segmentationInput) {
|
|
2860
2861
|
const { segmentationId, representation } = segmentationInput;
|
|
@@ -2874,7 +2875,7 @@ function normalizeSegmentationInput(segmentationInput) {
|
|
|
2874
2875
|
};
|
|
2875
2876
|
}
|
|
2876
2877
|
/* harmony default export */ const helpers_normalizeSegmentationInput = (normalizeSegmentationInput);
|
|
2877
|
-
|
|
2878
|
+
|
|
2878
2879
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/segmentationState.js
|
|
2879
2880
|
|
|
2880
2881
|
|
|
@@ -2996,7 +2997,7 @@ function addColorLUT(colorLUT, index) {
|
|
|
2996
2997
|
segmentationStateManager.addColorLUT(colorLUT, index);
|
|
2997
2998
|
}
|
|
2998
2999
|
|
|
2999
|
-
|
|
3000
|
+
|
|
3000
3001
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/config/segmentationConfig.js
|
|
3001
3002
|
|
|
3002
3003
|
function segmentationConfig_getGlobalConfig() {
|
|
@@ -3041,7 +3042,7 @@ function setSegmentSpecificConfig(toolGroupId, segmentationRepresentationUID, co
|
|
|
3041
3042
|
setSegmentSpecificRepresentationConfig(toolGroupId, segmentationRepresentationUID, config);
|
|
3042
3043
|
}
|
|
3043
3044
|
|
|
3044
|
-
|
|
3045
|
+
|
|
3045
3046
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Labelmap/addLabelmapToElement.js
|
|
3046
3047
|
|
|
3047
3048
|
async function addLabelmapToElement(element, volumeId, segmentationRepresentationUID) {
|
|
@@ -3062,7 +3063,7 @@ async function addLabelmapToElement(element, volumeId, segmentationRepresentatio
|
|
|
3062
3063
|
await (0,esm.addVolumesToViewports)(renderingEngine, volumeInputs, [viewportId], immediateRender, suppressEvents);
|
|
3063
3064
|
}
|
|
3064
3065
|
/* harmony default export */ const Labelmap_addLabelmapToElement = (addLabelmapToElement);
|
|
3065
|
-
|
|
3066
|
+
|
|
3066
3067
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Labelmap/removeLabelmapFromElement.js
|
|
3067
3068
|
|
|
3068
3069
|
function removeLabelmapFromElement(element, segmentationRepresentationUID, removeFromCache = false) {
|
|
@@ -3073,7 +3074,7 @@ function removeLabelmapFromElement(element, segmentationRepresentationUID, remov
|
|
|
3073
3074
|
]);
|
|
3074
3075
|
}
|
|
3075
3076
|
/* harmony default export */ const Labelmap_removeLabelmapFromElement = (removeLabelmapFromElement);
|
|
3076
|
-
|
|
3077
|
+
|
|
3077
3078
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Labelmap/labelmapDisplay.js
|
|
3078
3079
|
|
|
3079
3080
|
|
|
@@ -3314,24 +3315,24 @@ async function _addLabelmapToViewport(viewport, volumeId, segmentationRepresenta
|
|
|
3314
3315
|
addSegmentationRepresentation: labelmapDisplay_addSegmentationRepresentation,
|
|
3315
3316
|
removeSegmentationRepresentation: labelmapDisplay_removeSegmentationRepresentation,
|
|
3316
3317
|
});
|
|
3317
|
-
|
|
3318
|
+
|
|
3318
3319
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Labelmap/index.js
|
|
3319
3320
|
|
|
3320
3321
|
|
|
3321
3322
|
|
|
3322
|
-
|
|
3323
|
+
|
|
3323
3324
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/DataArray.js
|
|
3324
|
-
var DataArray = __webpack_require__(
|
|
3325
|
+
var DataArray = __webpack_require__(54131);
|
|
3325
3326
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/macros.js + 7 modules
|
|
3326
|
-
var macros = __webpack_require__(
|
|
3327
|
+
var macros = __webpack_require__(41770);
|
|
3327
3328
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/Points.js
|
|
3328
|
-
var Points = __webpack_require__(
|
|
3329
|
+
var Points = __webpack_require__(23834);
|
|
3329
3330
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/DataModel/PolyData.js + 9 modules
|
|
3330
|
-
var PolyData = __webpack_require__(
|
|
3331
|
+
var PolyData = __webpack_require__(1299);
|
|
3331
3332
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/DataModel/DataSetAttributes/Constants.js
|
|
3332
|
-
var Constants = __webpack_require__(
|
|
3333
|
+
var Constants = __webpack_require__(21477);
|
|
3333
3334
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/DataArray/Constants.js
|
|
3334
|
-
var DataArray_Constants = __webpack_require__(
|
|
3335
|
+
var DataArray_Constants = __webpack_require__(89262);
|
|
3335
3336
|
;// CONCATENATED MODULE: ../../../node_modules/@kitware/vtk.js/Filters/General/AppendPolyData.js
|
|
3336
3337
|
|
|
3337
3338
|
|
|
@@ -3577,11 +3578,11 @@ var vtkAppendPolyData$1 = {
|
|
|
3577
3578
|
|
|
3578
3579
|
|
|
3579
3580
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Rendering/Core/Actor.js
|
|
3580
|
-
var Actor = __webpack_require__(
|
|
3581
|
+
var Actor = __webpack_require__(16623);
|
|
3581
3582
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Rendering/Core/Mapper.js
|
|
3582
|
-
var Mapper = __webpack_require__(
|
|
3583
|
+
var Mapper = __webpack_require__(93702);
|
|
3583
3584
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/CellArray.js
|
|
3584
|
-
var CellArray = __webpack_require__(
|
|
3585
|
+
var CellArray = __webpack_require__(17197);
|
|
3585
3586
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/utils.js
|
|
3586
3587
|
|
|
3587
3588
|
|
|
@@ -3635,7 +3636,7 @@ function getPolyData(contourSet) {
|
|
|
3635
3636
|
polygon.setLines(lines);
|
|
3636
3637
|
return polygon;
|
|
3637
3638
|
}
|
|
3638
|
-
|
|
3639
|
+
|
|
3639
3640
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/contourConfigCache.js
|
|
3640
3641
|
const configCachePerSegmentationRepresentationUID = new Map();
|
|
3641
3642
|
function getConfigCache(segmentationRepresentationUID) {
|
|
@@ -3647,7 +3648,7 @@ function setConfigCache(segmentationRepresentationUID, config) {
|
|
|
3647
3648
|
function deleteConfigCache(segmentationRepresentationUID) {
|
|
3648
3649
|
configCachePerSegmentationRepresentationUID.delete(segmentationRepresentationUID);
|
|
3649
3650
|
}
|
|
3650
|
-
|
|
3651
|
+
|
|
3651
3652
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/addContourSetsToElement.js
|
|
3652
3653
|
|
|
3653
3654
|
|
|
@@ -3714,7 +3715,7 @@ function addContourSetsToElement(viewport, geometryIds, contourRepresentation, c
|
|
|
3714
3715
|
viewport.resetCamera();
|
|
3715
3716
|
viewport.render();
|
|
3716
3717
|
}
|
|
3717
|
-
|
|
3718
|
+
|
|
3718
3719
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/updateContourSets.js
|
|
3719
3720
|
|
|
3720
3721
|
|
|
@@ -3808,7 +3809,7 @@ function updateContourSets(viewport, geometryIds, contourRepresentation, contour
|
|
|
3808
3809
|
}
|
|
3809
3810
|
viewport.render();
|
|
3810
3811
|
}
|
|
3811
|
-
|
|
3812
|
+
|
|
3812
3813
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/addOrUpdateContourSets.js
|
|
3813
3814
|
|
|
3814
3815
|
|
|
@@ -3819,7 +3820,7 @@ function addOrUpdateContourSets(viewport, geometryIds, contourRepresentation, co
|
|
|
3819
3820
|
const addOrUpdateFn = actor ? updateContourSets : addContourSetsToElement;
|
|
3820
3821
|
addOrUpdateFn(viewport, geometryIds, contourRepresentation, contourRepresentationConfig, actorUID);
|
|
3821
3822
|
}
|
|
3822
|
-
|
|
3823
|
+
|
|
3823
3824
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/removeContourFromElement.js
|
|
3824
3825
|
|
|
3825
3826
|
function removeContourFromElement(element, segmentationRepresentationUID, removeFromCache = false) {
|
|
@@ -3832,7 +3833,7 @@ function removeContourFromElement(element, segmentationRepresentationUID, remove
|
|
|
3832
3833
|
viewport.removeActors(actorUIDsToRemove);
|
|
3833
3834
|
}
|
|
3834
3835
|
/* harmony default export */ const Contour_removeContourFromElement = (removeContourFromElement);
|
|
3835
|
-
|
|
3836
|
+
|
|
3836
3837
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/contourDisplay.js
|
|
3837
3838
|
|
|
3838
3839
|
|
|
@@ -3912,11 +3913,11 @@ function _removeContourFromToolGroupViewports(toolGroupId, segmentationRepresent
|
|
|
3912
3913
|
addSegmentationRepresentation: contourDisplay_addSegmentationRepresentation,
|
|
3913
3914
|
removeSegmentationRepresentation: contourDisplay_removeSegmentationRepresentation,
|
|
3914
3915
|
});
|
|
3915
|
-
|
|
3916
|
+
|
|
3916
3917
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/index.js
|
|
3917
3918
|
|
|
3918
3919
|
|
|
3919
|
-
|
|
3920
|
+
|
|
3920
3921
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/removeSegmentationsFromToolGroup.js
|
|
3921
3922
|
|
|
3922
3923
|
|
|
@@ -3957,7 +3958,7 @@ function _removeSegmentation(toolGroupId, segmentationRepresentationUID, immedia
|
|
|
3957
3958
|
}
|
|
3958
3959
|
}
|
|
3959
3960
|
/* harmony default export */ const segmentation_removeSegmentationsFromToolGroup = (removeSegmentationsFromToolGroup);
|
|
3960
|
-
|
|
3961
|
+
|
|
3961
3962
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Labelmap/validateRepresentationData.js
|
|
3962
3963
|
|
|
3963
3964
|
function validate(segmentationInput) {
|
|
@@ -3975,7 +3976,7 @@ function validate(segmentationInput) {
|
|
|
3975
3976
|
}
|
|
3976
3977
|
}
|
|
3977
3978
|
/* harmony default export */ const validateRepresentationData = (validate);
|
|
3978
|
-
|
|
3979
|
+
|
|
3979
3980
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/helpers/validateSegmentationInput.js
|
|
3980
3981
|
|
|
3981
3982
|
|
|
@@ -3997,11 +3998,11 @@ function validateSegmentationInput(segmentationInputArray) {
|
|
|
3997
3998
|
});
|
|
3998
3999
|
}
|
|
3999
4000
|
/* harmony default export */ const helpers_validateSegmentationInput = (validateSegmentationInput);
|
|
4000
|
-
|
|
4001
|
+
|
|
4001
4002
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/helpers/index.js
|
|
4002
4003
|
|
|
4003
4004
|
|
|
4004
|
-
|
|
4005
|
+
|
|
4005
4006
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/addSegmentations.js
|
|
4006
4007
|
|
|
4007
4008
|
|
|
@@ -4014,7 +4015,7 @@ function addSegmentations(segmentationInputArray) {
|
|
|
4014
4015
|
});
|
|
4015
4016
|
}
|
|
4016
4017
|
/* harmony default export */ const segmentation_addSegmentations = (addSegmentations);
|
|
4017
|
-
|
|
4018
|
+
|
|
4018
4019
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/addSegmentationRepresentations.js
|
|
4019
4020
|
|
|
4020
4021
|
|
|
@@ -4047,7 +4048,7 @@ async function _addSegmentationRepresentation(toolGroupId, representationInput,
|
|
|
4047
4048
|
return segmentationRepresentationUID;
|
|
4048
4049
|
}
|
|
4049
4050
|
/* harmony default export */ const segmentation_addSegmentationRepresentations = (addSegmentationRepresentations);
|
|
4050
|
-
|
|
4051
|
+
|
|
4051
4052
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/activeSegmentation.js
|
|
4052
4053
|
|
|
4053
4054
|
|
|
@@ -4066,7 +4067,7 @@ function setActiveSegmentationRepresentation(toolGroupId, segmentationRepresenta
|
|
|
4066
4067
|
triggerSegmentationRepresentationModified(toolGroupId, segmentationRepresentationUID);
|
|
4067
4068
|
}
|
|
4068
4069
|
|
|
4069
|
-
|
|
4070
|
+
|
|
4070
4071
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/segmentLocking.js
|
|
4071
4072
|
|
|
4072
4073
|
|
|
@@ -4101,7 +4102,7 @@ function getLockedSegments(segmentationId) {
|
|
|
4101
4102
|
return Array.from(segmentsLocked);
|
|
4102
4103
|
}
|
|
4103
4104
|
|
|
4104
|
-
|
|
4105
|
+
|
|
4105
4106
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/config/segmentationColor.js
|
|
4106
4107
|
|
|
4107
4108
|
|
|
@@ -4144,7 +4145,7 @@ function setColorForSegmentIndex(toolGroupId, segmentationRepresentationUID, seg
|
|
|
4144
4145
|
triggerSegmentationRepresentationModified(toolGroupId, segmentationRepresentationUID);
|
|
4145
4146
|
}
|
|
4146
4147
|
|
|
4147
|
-
|
|
4148
|
+
|
|
4148
4149
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/config/segmentationVisibility.js
|
|
4149
4150
|
|
|
4150
4151
|
|
|
@@ -4231,13 +4232,13 @@ function setSegmentVisibility(toolGroupId, segmentationRepresentationUID, segmen
|
|
|
4231
4232
|
triggerSegmentationRepresentationModified(toolGroupId, segmentationRepresentationUID);
|
|
4232
4233
|
}
|
|
4233
4234
|
|
|
4234
|
-
|
|
4235
|
+
|
|
4235
4236
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/config/index.js
|
|
4236
4237
|
|
|
4237
4238
|
|
|
4238
4239
|
|
|
4239
4240
|
|
|
4240
|
-
|
|
4241
|
+
|
|
4241
4242
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/segmentIndex.js
|
|
4242
4243
|
|
|
4243
4244
|
|
|
@@ -4255,7 +4256,7 @@ function getActiveSegmentIndex(segmentationId) {
|
|
|
4255
4256
|
}
|
|
4256
4257
|
}
|
|
4257
4258
|
|
|
4258
|
-
|
|
4259
|
+
|
|
4259
4260
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/index.js
|
|
4260
4261
|
|
|
4261
4262
|
|
|
@@ -4267,7 +4268,7 @@ function getActiveSegmentIndex(segmentationId) {
|
|
|
4267
4268
|
|
|
4268
4269
|
|
|
4269
4270
|
|
|
4270
|
-
|
|
4271
|
+
|
|
4271
4272
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/base/BaseTool.js
|
|
4272
4273
|
|
|
4273
4274
|
|
|
@@ -4351,9 +4352,9 @@ class BaseTool {
|
|
|
4351
4352
|
}
|
|
4352
4353
|
BaseTool.toolName = 'BaseTool';
|
|
4353
4354
|
/* harmony default export */ const base_BaseTool = (BaseTool);
|
|
4354
|
-
|
|
4355
|
+
|
|
4355
4356
|
// EXTERNAL MODULE: ../../../node_modules/gl-matrix/esm/index.js + 10 modules
|
|
4356
|
-
var gl_matrix_esm = __webpack_require__(
|
|
4357
|
+
var gl_matrix_esm = __webpack_require__(45451);
|
|
4357
4358
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/getSvgDrawingHelper.js
|
|
4358
4359
|
|
|
4359
4360
|
|
|
@@ -4420,7 +4421,7 @@ function clearUntouched(svgLayerElement, canvasHash) {
|
|
|
4420
4421
|
});
|
|
4421
4422
|
}
|
|
4422
4423
|
/* harmony default export */ const drawingSvg_getSvgDrawingHelper = (getSvgDrawingHelper);
|
|
4423
|
-
|
|
4424
|
+
|
|
4424
4425
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/draw.js
|
|
4425
4426
|
|
|
4426
4427
|
function draw(element, fn) {
|
|
@@ -4429,13 +4430,13 @@ function draw(element, fn) {
|
|
|
4429
4430
|
svgDrawingHelper.clearUntouched();
|
|
4430
4431
|
}
|
|
4431
4432
|
/* harmony default export */ const drawingSvg_draw = (draw);
|
|
4432
|
-
|
|
4433
|
+
|
|
4433
4434
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/_getHash.js
|
|
4434
4435
|
function _getHash(annotationUID, drawingElementType, nodeUID) {
|
|
4435
4436
|
return `${annotationUID}::${drawingElementType}::${nodeUID}`;
|
|
4436
4437
|
}
|
|
4437
4438
|
/* harmony default export */ const drawingSvg_getHash = (_getHash);
|
|
4438
|
-
|
|
4439
|
+
|
|
4439
4440
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/_setAttributesIfNecessary.js
|
|
4440
4441
|
function _setAttributesIfNecessary(attributes, svgNode) {
|
|
4441
4442
|
Object.keys(attributes).forEach((key) => {
|
|
@@ -4450,7 +4451,7 @@ function _setAttributesIfNecessary(attributes, svgNode) {
|
|
|
4450
4451
|
});
|
|
4451
4452
|
}
|
|
4452
4453
|
/* harmony default export */ const drawingSvg_setAttributesIfNecessary = (_setAttributesIfNecessary);
|
|
4453
|
-
|
|
4454
|
+
|
|
4454
4455
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/_setNewAttributesIfValid.js
|
|
4455
4456
|
function _setNewAttributesIfValid(attributes, svgNode) {
|
|
4456
4457
|
Object.keys(attributes).forEach((key) => {
|
|
@@ -4461,7 +4462,7 @@ function _setNewAttributesIfValid(attributes, svgNode) {
|
|
|
4461
4462
|
});
|
|
4462
4463
|
}
|
|
4463
4464
|
/* harmony default export */ const drawingSvg_setNewAttributesIfValid = (_setNewAttributesIfValid);
|
|
4464
|
-
|
|
4465
|
+
|
|
4465
4466
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawCircle.js
|
|
4466
4467
|
|
|
4467
4468
|
|
|
@@ -4501,7 +4502,7 @@ function drawCircle(svgDrawingHelper, annotationUID, circleUID, center, radius,
|
|
|
4501
4502
|
}
|
|
4502
4503
|
}
|
|
4503
4504
|
/* harmony default export */ const drawingSvg_drawCircle = (drawCircle);
|
|
4504
|
-
|
|
4505
|
+
|
|
4505
4506
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawEllipse.js
|
|
4506
4507
|
|
|
4507
4508
|
|
|
@@ -4548,7 +4549,7 @@ function drawEllipse(svgDrawingHelper, annotationUID, ellipseUID, corner1, corne
|
|
|
4548
4549
|
}
|
|
4549
4550
|
}
|
|
4550
4551
|
/* harmony default export */ const drawingSvg_drawEllipse = (drawEllipse);
|
|
4551
|
-
|
|
4552
|
+
|
|
4552
4553
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawHandles.js
|
|
4553
4554
|
|
|
4554
4555
|
|
|
@@ -4613,7 +4614,7 @@ function drawHandles(svgDrawingHelper, annotationUID, handleGroupUID, handlePoin
|
|
|
4613
4614
|
}
|
|
4614
4615
|
}
|
|
4615
4616
|
/* harmony default export */ const drawingSvg_drawHandles = (drawHandles);
|
|
4616
|
-
|
|
4617
|
+
|
|
4617
4618
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawLine.js
|
|
4618
4619
|
|
|
4619
4620
|
|
|
@@ -4659,7 +4660,7 @@ function drawLine(svgDrawingHelper, annotationUID, lineUID, start, end, options
|
|
|
4659
4660
|
svgDrawingHelper.appendNode(newLine, svgNodeHash);
|
|
4660
4661
|
}
|
|
4661
4662
|
}
|
|
4662
|
-
|
|
4663
|
+
|
|
4663
4664
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawPolyline.js
|
|
4664
4665
|
|
|
4665
4666
|
|
|
@@ -4704,7 +4705,7 @@ function drawPolyline(svgDrawingHelper, annotationUID, polylineUID, points, opti
|
|
|
4704
4705
|
svgDrawingHelper.appendNode(newPolyLine, svgNodeHash);
|
|
4705
4706
|
}
|
|
4706
4707
|
}
|
|
4707
|
-
|
|
4708
|
+
|
|
4708
4709
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawTextBox.js
|
|
4709
4710
|
|
|
4710
4711
|
|
|
@@ -4826,7 +4827,7 @@ function _drawTextBackground(group, color) {
|
|
|
4826
4827
|
return bBox;
|
|
4827
4828
|
}
|
|
4828
4829
|
/* harmony default export */ const drawingSvg_drawTextBox = (drawTextBox);
|
|
4829
|
-
|
|
4830
|
+
|
|
4830
4831
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/vec2/findClosestPoint.js
|
|
4831
4832
|
function findClosestPoint(sourcePoints, targetPoint) {
|
|
4832
4833
|
let minPoint = [0, 0];
|
|
@@ -4845,7 +4846,7 @@ function _distanceBetween(p1, p2) {
|
|
|
4845
4846
|
const [x2, y2] = p2;
|
|
4846
4847
|
return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
|
|
4847
4848
|
}
|
|
4848
|
-
|
|
4849
|
+
|
|
4849
4850
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawLink.js
|
|
4850
4851
|
|
|
4851
4852
|
|
|
@@ -4873,7 +4874,7 @@ function _boundingBoxPoints(boundingBox) {
|
|
|
4873
4874
|
return [topMiddle, leftMiddle, bottomMiddle, rightMiddle];
|
|
4874
4875
|
}
|
|
4875
4876
|
/* harmony default export */ const drawingSvg_drawLink = (drawLink);
|
|
4876
|
-
|
|
4877
|
+
|
|
4877
4878
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawLinkedTextBox.js
|
|
4878
4879
|
|
|
4879
4880
|
|
|
@@ -4890,7 +4891,7 @@ function drawLinkedTextBox(svgDrawingHelper, annotationUID, textBoxUID, textLine
|
|
|
4890
4891
|
return canvasBoundingBox;
|
|
4891
4892
|
}
|
|
4892
4893
|
/* harmony default export */ const drawingSvg_drawLinkedTextBox = (drawLinkedTextBox);
|
|
4893
|
-
|
|
4894
|
+
|
|
4894
4895
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawRect.js
|
|
4895
4896
|
|
|
4896
4897
|
|
|
@@ -4932,7 +4933,7 @@ function drawRect(svgDrawingHelper, annotationUID, rectangleUID, start, end, opt
|
|
|
4932
4933
|
svgDrawingHelper.appendNode(svgRectElement, svgNodeHash);
|
|
4933
4934
|
}
|
|
4934
4935
|
}
|
|
4935
|
-
|
|
4936
|
+
|
|
4936
4937
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/drawArrow.js
|
|
4937
4938
|
|
|
4938
4939
|
function drawArrow(svgDrawingHelper, annotationUID, arrowUID, start, end, options = {}) {
|
|
@@ -4978,7 +4979,7 @@ function drawArrow(svgDrawingHelper, annotationUID, arrowUID, start, end, option
|
|
|
4978
4979
|
lineWidth,
|
|
4979
4980
|
});
|
|
4980
4981
|
}
|
|
4981
|
-
|
|
4982
|
+
|
|
4982
4983
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/drawingSvg/index.js
|
|
4983
4984
|
|
|
4984
4985
|
|
|
@@ -4991,7 +4992,7 @@ function drawArrow(svgDrawingHelper, annotationUID, arrowUID, start, end, option
|
|
|
4991
4992
|
|
|
4992
4993
|
|
|
4993
4994
|
|
|
4994
|
-
|
|
4995
|
+
|
|
4995
4996
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/getToolsWithModesForElement.js
|
|
4996
4997
|
|
|
4997
4998
|
|
|
@@ -5017,7 +5018,7 @@ function getToolsWithModesForElement_getToolsWithModesForElement(element, modesF
|
|
|
5017
5018
|
}
|
|
5018
5019
|
return enabledTools;
|
|
5019
5020
|
}
|
|
5020
|
-
|
|
5021
|
+
|
|
5021
5022
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/triggerAnnotationRender.js
|
|
5022
5023
|
|
|
5023
5024
|
|
|
@@ -5135,7 +5136,7 @@ function triggerAnnotationRender(element) {
|
|
|
5135
5136
|
}
|
|
5136
5137
|
|
|
5137
5138
|
/* harmony default export */ const utilities_triggerAnnotationRender = (triggerAnnotationRender);
|
|
5138
|
-
|
|
5139
|
+
|
|
5139
5140
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planar/filterAnnotationsWithinSlice.js
|
|
5140
5141
|
|
|
5141
5142
|
|
|
@@ -5179,7 +5180,7 @@ function filterAnnotationsWithinSlice(annotations, camera, spacingInNormalDirect
|
|
|
5179
5180
|
}
|
|
5180
5181
|
return annotationsWithinSlice;
|
|
5181
5182
|
}
|
|
5182
|
-
|
|
5183
|
+
|
|
5183
5184
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planar/filterAnnotationsForDisplay.js
|
|
5184
5185
|
|
|
5185
5186
|
|
|
@@ -5210,7 +5211,7 @@ function filterAnnotationsForDisplay(viewport, annotations) {
|
|
|
5210
5211
|
throw new Error(`Viewport Type ${viewport.type} not supported`);
|
|
5211
5212
|
}
|
|
5212
5213
|
}
|
|
5213
|
-
|
|
5214
|
+
|
|
5214
5215
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/config/ToolStyle.js
|
|
5215
5216
|
class ToolStyle {
|
|
5216
5217
|
constructor() {
|
|
@@ -5340,7 +5341,7 @@ class ToolStyle {
|
|
|
5340
5341
|
}
|
|
5341
5342
|
const toolStyle = new ToolStyle();
|
|
5342
5343
|
/* harmony default export */ const config_ToolStyle = (toolStyle);
|
|
5343
|
-
|
|
5344
|
+
|
|
5344
5345
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/config/helpers.js
|
|
5345
5346
|
|
|
5346
5347
|
function getHierarchalPropertyStyles(property, state, mode) {
|
|
@@ -5361,7 +5362,7 @@ function getStyleProperty(property, styleSpecifier, state, mode) {
|
|
|
5361
5362
|
}
|
|
5362
5363
|
}
|
|
5363
5364
|
|
|
5364
|
-
|
|
5365
|
+
|
|
5365
5366
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/config/getState.js
|
|
5366
5367
|
|
|
5367
5368
|
|
|
@@ -5378,7 +5379,7 @@ function getState(annotation) {
|
|
|
5378
5379
|
return enums_AnnotationStyleStates.Default;
|
|
5379
5380
|
}
|
|
5380
5381
|
/* harmony default export */ const config_getState = (getState);
|
|
5381
|
-
|
|
5382
|
+
|
|
5382
5383
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/config/getFont.js
|
|
5383
5384
|
|
|
5384
5385
|
function getFont(styleSpecifier, state, mode) {
|
|
@@ -5387,15 +5388,14 @@ function getFont(styleSpecifier, state, mode) {
|
|
|
5387
5388
|
return `${fontSize}px ${fontFamily}`;
|
|
5388
5389
|
}
|
|
5389
5390
|
/* harmony default export */ const config_getFont = (getFont);
|
|
5390
|
-
|
|
5391
|
+
|
|
5391
5392
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/config/index.js
|
|
5392
5393
|
|
|
5393
5394
|
|
|
5394
5395
|
|
|
5395
5396
|
|
|
5396
|
-
//# sourceMappingURL=index.js.map
|
|
5397
|
-
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/base/AnnotationDisplayTool.js
|
|
5398
5397
|
|
|
5398
|
+
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/base/AnnotationDisplayTool.js
|
|
5399
5399
|
|
|
5400
5400
|
|
|
5401
5401
|
|
|
@@ -5407,17 +5407,12 @@ class AnnotationDisplayTool extends base_BaseTool {
|
|
|
5407
5407
|
constructor() {
|
|
5408
5408
|
super(...arguments);
|
|
5409
5409
|
this.onImageSpacingCalibrated = (evt) => {
|
|
5410
|
-
const { element,
|
|
5411
|
-
const { viewport } = (0,esm.getEnabledElement)(element);
|
|
5412
|
-
if (viewport instanceof esm.VolumeViewport) {
|
|
5413
|
-
throw new Error('Cannot calibrate a volume viewport');
|
|
5414
|
-
}
|
|
5415
|
-
const calibratedIndexToWorld = calibratedImageData.getIndexToWorld();
|
|
5410
|
+
const { element, imageId } = evt.detail;
|
|
5416
5411
|
const imageURI = esm.utilities.imageIdToURI(imageId);
|
|
5417
|
-
const
|
|
5418
|
-
const framesOfReference =
|
|
5412
|
+
const annotationManager = getAnnotationManager();
|
|
5413
|
+
const framesOfReference = annotationManager.getFramesOfReference();
|
|
5419
5414
|
framesOfReference.forEach((frameOfReference) => {
|
|
5420
|
-
const frameOfReferenceSpecificAnnotations =
|
|
5415
|
+
const frameOfReferenceSpecificAnnotations = annotationManager.getAnnotations(frameOfReference);
|
|
5421
5416
|
const toolSpecificAnnotations = frameOfReferenceSpecificAnnotations[this.getToolName()];
|
|
5422
5417
|
if (!toolSpecificAnnotations || !toolSpecificAnnotations.length) {
|
|
5423
5418
|
return;
|
|
@@ -5427,19 +5422,6 @@ class AnnotationDisplayTool extends base_BaseTool {
|
|
|
5427
5422
|
if (referencedImageURI === imageURI) {
|
|
5428
5423
|
annotation.invalidated = true;
|
|
5429
5424
|
annotation.data.cachedStats = {};
|
|
5430
|
-
annotation.data.handles.points = annotation.data.handles.points.map((point) => {
|
|
5431
|
-
const p = gl_matrix_esm/* vec4.fromValues */.vh.fromValues(...point, 1);
|
|
5432
|
-
const pCalibrated = gl_matrix_esm/* vec4.fromValues */.vh.fromValues(0, 0, 0, 1);
|
|
5433
|
-
const nonCalibratedIndexVec4 = gl_matrix_esm/* vec4.create */.vh.create();
|
|
5434
|
-
gl_matrix_esm/* vec4.transformMat4 */.vh.transformMat4(nonCalibratedIndexVec4, p, nonCalibratedWorldToIndex);
|
|
5435
|
-
const calibratedIndex = [
|
|
5436
|
-
columnScale * nonCalibratedIndexVec4[0],
|
|
5437
|
-
rowScale * nonCalibratedIndexVec4[1],
|
|
5438
|
-
nonCalibratedIndexVec4[2],
|
|
5439
|
-
];
|
|
5440
|
-
gl_matrix_esm/* vec4.transformMat4 */.vh.transformMat4(pCalibrated, gl_matrix_esm/* vec4.fromValues */.vh.fromValues(calibratedIndex[0], calibratedIndex[1], calibratedIndex[2], 1), calibratedIndexToWorld);
|
|
5441
|
-
return pCalibrated.slice(0, 3);
|
|
5442
|
-
});
|
|
5443
5425
|
}
|
|
5444
5426
|
});
|
|
5445
5427
|
utilities_triggerAnnotationRender(element);
|
|
@@ -5473,7 +5455,7 @@ class AnnotationDisplayTool extends base_BaseTool {
|
|
|
5473
5455
|
}
|
|
5474
5456
|
AnnotationDisplayTool.toolName = 'AnnotationDisplayTool';
|
|
5475
5457
|
/* harmony default export */ const base_AnnotationDisplayTool = (AnnotationDisplayTool);
|
|
5476
|
-
|
|
5458
|
+
|
|
5477
5459
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/base/AnnotationTool.js
|
|
5478
5460
|
|
|
5479
5461
|
|
|
@@ -5584,12 +5566,12 @@ class AnnotationTool extends base_AnnotationDisplayTool {
|
|
|
5584
5566
|
}
|
|
5585
5567
|
AnnotationTool.toolName = 'AnnotationTool';
|
|
5586
5568
|
/* harmony default export */ const base_AnnotationTool = (AnnotationTool);
|
|
5587
|
-
|
|
5569
|
+
|
|
5588
5570
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/base/index.js
|
|
5589
5571
|
|
|
5590
5572
|
|
|
5591
5573
|
|
|
5592
|
-
|
|
5574
|
+
|
|
5593
5575
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/SegmentationDisplayTool.js
|
|
5594
5576
|
|
|
5595
5577
|
|
|
@@ -5672,7 +5654,7 @@ class SegmentationDisplayTool extends base_BaseTool {
|
|
|
5672
5654
|
}
|
|
5673
5655
|
SegmentationDisplayTool.toolName = 'SegmentationDisplay';
|
|
5674
5656
|
/* harmony default export */ const displayTools_SegmentationDisplayTool = (SegmentationDisplayTool);
|
|
5675
|
-
|
|
5657
|
+
|
|
5676
5658
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/triggerSegmentationRender.js
|
|
5677
5659
|
|
|
5678
5660
|
|
|
@@ -5778,7 +5760,7 @@ function triggerSegmentationRender(toolGroupId) {
|
|
|
5778
5760
|
}
|
|
5779
5761
|
|
|
5780
5762
|
/* harmony default export */ const segmentation_triggerSegmentationRender = (triggerSegmentationRender);
|
|
5781
|
-
|
|
5763
|
+
|
|
5782
5764
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/segmentation/segmentationRepresentationModifiedEventListener.js
|
|
5783
5765
|
|
|
5784
5766
|
const segmentationRepresentationModifiedListener = function (evt) {
|
|
@@ -5786,7 +5768,7 @@ const segmentationRepresentationModifiedListener = function (evt) {
|
|
|
5786
5768
|
segmentation_triggerSegmentationRender(toolGroupId);
|
|
5787
5769
|
};
|
|
5788
5770
|
/* harmony default export */ const segmentationRepresentationModifiedEventListener = (segmentationRepresentationModifiedListener);
|
|
5789
|
-
|
|
5771
|
+
|
|
5790
5772
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/segmentation/segmentationDataModifiedEventListener.js
|
|
5791
5773
|
|
|
5792
5774
|
|
|
@@ -5826,7 +5808,7 @@ const onSegmentationDataModified = function (evt) {
|
|
|
5826
5808
|
});
|
|
5827
5809
|
};
|
|
5828
5810
|
/* harmony default export */ const segmentationDataModifiedEventListener = (onSegmentationDataModified);
|
|
5829
|
-
|
|
5811
|
+
|
|
5830
5812
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/segmentation/segmentationRepresentationRemovedEventListener.js
|
|
5831
5813
|
|
|
5832
5814
|
const segmentationRepresentationRemovedEventListener = function (evt) {
|
|
@@ -5834,7 +5816,7 @@ const segmentationRepresentationRemovedEventListener = function (evt) {
|
|
|
5834
5816
|
segmentation_triggerSegmentationRender(toolGroupId);
|
|
5835
5817
|
};
|
|
5836
5818
|
/* harmony default export */ const segmentation_segmentationRepresentationRemovedEventListener = (segmentationRepresentationRemovedEventListener);
|
|
5837
|
-
|
|
5819
|
+
|
|
5838
5820
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/segmentation/segmentationModifiedEventListener.js
|
|
5839
5821
|
|
|
5840
5822
|
|
|
@@ -5851,14 +5833,14 @@ const segmentationModifiedListener = function (evt) {
|
|
|
5851
5833
|
});
|
|
5852
5834
|
};
|
|
5853
5835
|
/* harmony default export */ const segmentationModifiedEventListener = (segmentationModifiedListener);
|
|
5854
|
-
|
|
5836
|
+
|
|
5855
5837
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/segmentation/index.js
|
|
5856
5838
|
|
|
5857
5839
|
|
|
5858
5840
|
|
|
5859
5841
|
|
|
5860
5842
|
|
|
5861
|
-
|
|
5843
|
+
|
|
5862
5844
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/getAnnotationNearPoint.js
|
|
5863
5845
|
|
|
5864
5846
|
|
|
@@ -5906,14 +5888,14 @@ function findAnnotationNearPointByTool(tool, enabledElement, point, proximity) {
|
|
|
5906
5888
|
return null;
|
|
5907
5889
|
}
|
|
5908
5890
|
|
|
5909
|
-
|
|
5891
|
+
|
|
5910
5892
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/isObject.js
|
|
5911
5893
|
function isObject(value) {
|
|
5912
5894
|
const type = typeof value;
|
|
5913
5895
|
return value !== null && (type === 'object' || type === 'function');
|
|
5914
5896
|
}
|
|
5915
5897
|
/* harmony default export */ const utilities_isObject = (isObject);
|
|
5916
|
-
|
|
5898
|
+
|
|
5917
5899
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/debounce.js
|
|
5918
5900
|
|
|
5919
5901
|
function debounce(func, wait, options) {
|
|
@@ -6028,7 +6010,7 @@ function debounce(func, wait, options) {
|
|
|
6028
6010
|
return debounced;
|
|
6029
6011
|
}
|
|
6030
6012
|
/* harmony default export */ const utilities_debounce = (debounce);
|
|
6031
|
-
|
|
6013
|
+
|
|
6032
6014
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/throttle.js
|
|
6033
6015
|
|
|
6034
6016
|
|
|
@@ -6049,7 +6031,7 @@ function throttle(func, wait, options) {
|
|
|
6049
6031
|
});
|
|
6050
6032
|
}
|
|
6051
6033
|
/* harmony default export */ const utilities_throttle = (throttle);
|
|
6052
|
-
|
|
6034
|
+
|
|
6053
6035
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/clip.js
|
|
6054
6036
|
function clip(val, low, high) {
|
|
6055
6037
|
return Math.min(Math.max(low, val), high);
|
|
@@ -6059,18 +6041,18 @@ function clipToBox(point, box) {
|
|
|
6059
6041
|
point.y = clip(point.y, 0, box.height);
|
|
6060
6042
|
}
|
|
6061
6043
|
/* harmony default export */ const utilities_clip = (clip);
|
|
6062
|
-
|
|
6044
|
+
|
|
6063
6045
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/calibrateImageSpacing.js
|
|
6064
6046
|
|
|
6065
6047
|
const { calibratedPixelSpacingMetadataProvider } = esm.utilities;
|
|
6066
|
-
function calibrateImageSpacing(imageId, renderingEngine,
|
|
6067
|
-
if (
|
|
6068
|
-
|
|
6048
|
+
function calibrateImageSpacing(imageId, renderingEngine, calibrationOrScale) {
|
|
6049
|
+
if (typeof calibrationOrScale === 'number') {
|
|
6050
|
+
calibrationOrScale = {
|
|
6051
|
+
type: esm.Enums.CalibrationTypes.USER,
|
|
6052
|
+
scale: calibrationOrScale,
|
|
6053
|
+
};
|
|
6069
6054
|
}
|
|
6070
|
-
calibratedPixelSpacingMetadataProvider.add(imageId,
|
|
6071
|
-
rowPixelSpacing,
|
|
6072
|
-
columnPixelSpacing,
|
|
6073
|
-
});
|
|
6055
|
+
calibratedPixelSpacingMetadataProvider.add(imageId, calibrationOrScale);
|
|
6074
6056
|
const viewports = renderingEngine.getStackViewports();
|
|
6075
6057
|
viewports.forEach((viewport) => {
|
|
6076
6058
|
const imageIds = viewport.getImageIds();
|
|
@@ -6079,7 +6061,7 @@ function calibrateImageSpacing(imageId, renderingEngine, rowPixelSpacing, column
|
|
|
6079
6061
|
}
|
|
6080
6062
|
});
|
|
6081
6063
|
}
|
|
6082
|
-
|
|
6064
|
+
|
|
6083
6065
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/triggerAnnotationRenderForViewportIds.js
|
|
6084
6066
|
|
|
6085
6067
|
function triggerAnnotationRenderForViewportIds(renderingEngine, viewportIdsToRender) {
|
|
@@ -6092,7 +6074,7 @@ function triggerAnnotationRenderForViewportIds(renderingEngine, viewportIdsToRen
|
|
|
6092
6074
|
});
|
|
6093
6075
|
}
|
|
6094
6076
|
/* harmony default export */ const utilities_triggerAnnotationRenderForViewportIds = (triggerAnnotationRenderForViewportIds);
|
|
6095
|
-
|
|
6077
|
+
|
|
6096
6078
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/scroll.js
|
|
6097
6079
|
|
|
6098
6080
|
function scroll_scroll(viewport, options) {
|
|
@@ -6144,7 +6126,7 @@ function scrollVolume(viewport, volumeId, delta) {
|
|
|
6144
6126
|
esm.utilities.triggerEvent(esm.eventTarget, esm.EVENTS.VOLUME_SCROLL_OUT_OF_BOUNDS, VolumeScrollEventDetail);
|
|
6145
6127
|
}
|
|
6146
6128
|
}
|
|
6147
|
-
|
|
6129
|
+
|
|
6148
6130
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewport/jumpToSlice.js
|
|
6149
6131
|
|
|
6150
6132
|
|
|
@@ -6182,7 +6164,7 @@ function _getImageIndexToJump(numberOfSlices, imageIndex) {
|
|
|
6182
6164
|
return utilities_clip(imageIndex, 0, lastSliceIndex);
|
|
6183
6165
|
}
|
|
6184
6166
|
/* harmony default export */ const viewport_jumpToSlice = (jumpToSlice);
|
|
6185
|
-
|
|
6167
|
+
|
|
6186
6168
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/pointInShapeCallback.js
|
|
6187
6169
|
|
|
6188
6170
|
function pointInShapeCallback(imageData, pointInShapeFn, callback, boundsIJK) {
|
|
@@ -6253,7 +6235,7 @@ function pointInShapeCallback(imageData, pointInShapeFn, callback, boundsIJK) {
|
|
|
6253
6235
|
}
|
|
6254
6236
|
}
|
|
6255
6237
|
}
|
|
6256
|
-
|
|
6238
|
+
|
|
6257
6239
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/sphere/pointInSphere.js
|
|
6258
6240
|
function pointInSphere(sphere, pointLPS) {
|
|
6259
6241
|
const { center, radius } = sphere;
|
|
@@ -6262,11 +6244,11 @@ function pointInSphere(sphere, pointLPS) {
|
|
|
6262
6244
|
(pointLPS[2] - center[2]) ** 2 <=
|
|
6263
6245
|
radius ** 2);
|
|
6264
6246
|
}
|
|
6265
|
-
|
|
6247
|
+
|
|
6266
6248
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/sphere/index.js
|
|
6267
6249
|
|
|
6268
6250
|
|
|
6269
|
-
|
|
6251
|
+
|
|
6270
6252
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/boundingBox/extend2DBoundingBoxInViewAxis.js
|
|
6271
6253
|
function extend2DBoundingBoxInViewAxis(boundsIJK, numSlicesToProject) {
|
|
6272
6254
|
const sliceNormalIndex = boundsIJK.findIndex(([min, max]) => min === max);
|
|
@@ -6278,7 +6260,7 @@ function extend2DBoundingBoxInViewAxis(boundsIJK, numSlicesToProject) {
|
|
|
6278
6260
|
return boundsIJK;
|
|
6279
6261
|
}
|
|
6280
6262
|
/* harmony default export */ const boundingBox_extend2DBoundingBoxInViewAxis = (extend2DBoundingBoxInViewAxis);
|
|
6281
|
-
|
|
6263
|
+
|
|
6282
6264
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/boundingBox/getBoundingBoxAroundShape.js
|
|
6283
6265
|
function getBoundingBoxAroundShape(points, dimensions) {
|
|
6284
6266
|
let xMin = Infinity;
|
|
@@ -6317,12 +6299,12 @@ function getBoundingBoxAroundShape(points, dimensions) {
|
|
|
6317
6299
|
];
|
|
6318
6300
|
}
|
|
6319
6301
|
/* harmony default export */ const boundingBox_getBoundingBoxAroundShape = (getBoundingBoxAroundShape);
|
|
6320
|
-
|
|
6302
|
+
|
|
6321
6303
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/boundingBox/index.js
|
|
6322
6304
|
|
|
6323
6305
|
|
|
6324
6306
|
|
|
6325
|
-
|
|
6307
|
+
|
|
6326
6308
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/pointInSurroundingSphereCallback.js
|
|
6327
6309
|
|
|
6328
6310
|
|
|
@@ -6387,7 +6369,31 @@ function _computeBoundsIJKWithCamera(imageData, viewport, circlePoints, centerWo
|
|
|
6387
6369
|
const boundsIJK = boundingBox_getBoundingBoxAroundShape(sphereCornersIJK, dimensions);
|
|
6388
6370
|
return boundsIJK;
|
|
6389
6371
|
}
|
|
6390
|
-
|
|
6372
|
+
|
|
6373
|
+
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/roundNumber.js
|
|
6374
|
+
function roundNumber(value, precision = 2) {
|
|
6375
|
+
if (value === undefined || value === null || value === '')
|
|
6376
|
+
return 'NaN';
|
|
6377
|
+
value = Number(value);
|
|
6378
|
+
if (value < 0.0001)
|
|
6379
|
+
return `${value}`;
|
|
6380
|
+
const fixedPrecision = value >= 100
|
|
6381
|
+
? precision - 2
|
|
6382
|
+
: value >= 10
|
|
6383
|
+
? precision - 1
|
|
6384
|
+
: value >= 1
|
|
6385
|
+
? precision
|
|
6386
|
+
: value >= 0.1
|
|
6387
|
+
? precision + 1
|
|
6388
|
+
: value >= 0.01
|
|
6389
|
+
? precision + 2
|
|
6390
|
+
: value >= 0.001
|
|
6391
|
+
? precision + 3
|
|
6392
|
+
: precision + 4;
|
|
6393
|
+
return value.toFixed(fixedPrecision);
|
|
6394
|
+
}
|
|
6395
|
+
/* harmony default export */ const utilities_roundNumber = (roundNumber);
|
|
6396
|
+
|
|
6391
6397
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/strategies/fillSphere.js
|
|
6392
6398
|
|
|
6393
6399
|
|
|
@@ -6417,7 +6423,7 @@ function fillInsideSphere(enabledElement, operationData) {
|
|
|
6417
6423
|
function fillOutsideSphere(enabledElement, operationData) {
|
|
6418
6424
|
fillSphere(enabledElement, operationData, false);
|
|
6419
6425
|
}
|
|
6420
|
-
|
|
6426
|
+
|
|
6421
6427
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/strategies/eraseSphere.js
|
|
6422
6428
|
|
|
6423
6429
|
function eraseInsideSphere(enabledElement, operationData) {
|
|
@@ -6426,7 +6432,7 @@ function eraseInsideSphere(enabledElement, operationData) {
|
|
|
6426
6432
|
});
|
|
6427
6433
|
fillInsideSphere(enabledElement, eraseOperationData);
|
|
6428
6434
|
}
|
|
6429
|
-
|
|
6435
|
+
|
|
6430
6436
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/ellipse/pointInEllipse.js
|
|
6431
6437
|
function pointInEllipse(ellipse, pointLPS) {
|
|
6432
6438
|
const { center: circleCenterWorld, xRadius, yRadius, zRadius } = ellipse;
|
|
@@ -6444,7 +6450,7 @@ function pointInEllipse(ellipse, pointLPS) {
|
|
|
6444
6450
|
}
|
|
6445
6451
|
return inside <= 1;
|
|
6446
6452
|
}
|
|
6447
|
-
|
|
6453
|
+
|
|
6448
6454
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/ellipse/getCanvasEllipseCorners.js
|
|
6449
6455
|
function getCanvasEllipseCorners(ellipseCanvasPoints) {
|
|
6450
6456
|
const [bottom, top, left, right] = ellipseCanvasPoints;
|
|
@@ -6452,12 +6458,12 @@ function getCanvasEllipseCorners(ellipseCanvasPoints) {
|
|
|
6452
6458
|
const bottomRight = [right[0], bottom[1]];
|
|
6453
6459
|
return [topLeft, bottomRight];
|
|
6454
6460
|
}
|
|
6455
|
-
|
|
6461
|
+
|
|
6456
6462
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/ellipse/index.js
|
|
6457
6463
|
|
|
6458
6464
|
|
|
6459
6465
|
|
|
6460
|
-
|
|
6466
|
+
|
|
6461
6467
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/strategies/fillCircle.js
|
|
6462
6468
|
|
|
6463
6469
|
|
|
@@ -6540,7 +6546,7 @@ function thresholdInsideCircle(enabledElement, operationData) {
|
|
|
6540
6546
|
function fillOutsideCircle(enabledElement, operationData) {
|
|
6541
6547
|
throw new Error('Not yet implemented');
|
|
6542
6548
|
}
|
|
6543
|
-
|
|
6549
|
+
|
|
6544
6550
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/strategies/eraseCircle.js
|
|
6545
6551
|
|
|
6546
6552
|
function eraseInsideCircle(enabledElement, operationData) {
|
|
@@ -6550,7 +6556,7 @@ function eraseInsideCircle(enabledElement, operationData) {
|
|
|
6550
6556
|
};
|
|
6551
6557
|
fillInsideCircle(enabledElement, eraseOperationData);
|
|
6552
6558
|
}
|
|
6553
|
-
|
|
6559
|
+
|
|
6554
6560
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/MouseCursor.js
|
|
6555
6561
|
const DEFINED_CURSORS = Symbol('DefinedCursors');
|
|
6556
6562
|
const STANDARD_CURSORS = new Set([
|
|
@@ -6640,7 +6646,7 @@ function getDefinedCursors(context, symbol) {
|
|
|
6640
6646
|
}
|
|
6641
6647
|
const standardCursorNames = STANDARD_CURSORS.values();
|
|
6642
6648
|
|
|
6643
|
-
|
|
6649
|
+
|
|
6644
6650
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/ImageMouseCursor.js
|
|
6645
6651
|
|
|
6646
6652
|
|
|
@@ -6664,7 +6670,7 @@ class ImageMouseCursor extends MouseCursor {
|
|
|
6664
6670
|
return `${prefix}-${esm.utilities.getRuntimeId(ImageMouseCursor)}`;
|
|
6665
6671
|
}
|
|
6666
6672
|
}
|
|
6667
|
-
|
|
6673
|
+
|
|
6668
6674
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/SVGCursorDescriptor.js
|
|
6669
6675
|
const BASE = {
|
|
6670
6676
|
iconContent: '',
|
|
@@ -7064,7 +7070,7 @@ function getDefinedSVGCursorDescriptor(name) {
|
|
|
7064
7070
|
}
|
|
7065
7071
|
const svgCursorNames = Object.keys(CursorSVG);
|
|
7066
7072
|
|
|
7067
|
-
|
|
7073
|
+
|
|
7068
7074
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/SVGMouseCursor.js
|
|
7069
7075
|
|
|
7070
7076
|
|
|
@@ -7137,7 +7143,7 @@ function createSVGIconWithPointer(descriptor, options) {
|
|
|
7137
7143
|
</svg>`;
|
|
7138
7144
|
return format(svgString, options);
|
|
7139
7145
|
}
|
|
7140
|
-
|
|
7146
|
+
|
|
7141
7147
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/setCursorForElement.js
|
|
7142
7148
|
|
|
7143
7149
|
|
|
@@ -7154,7 +7160,7 @@ function setCursorForElement(element, cursorName) {
|
|
|
7154
7160
|
_setElementCursor(element, cursor);
|
|
7155
7161
|
}
|
|
7156
7162
|
/* harmony default export */ const cursors_setCursorForElement = (setCursorForElement);
|
|
7157
|
-
|
|
7163
|
+
|
|
7158
7164
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/index.js
|
|
7159
7165
|
|
|
7160
7166
|
|
|
@@ -7164,7 +7170,7 @@ function setCursorForElement(element, cursorName) {
|
|
|
7164
7170
|
|
|
7165
7171
|
const CursorNames = [...svgCursorNames, ...standardCursorNames];
|
|
7166
7172
|
|
|
7167
|
-
|
|
7173
|
+
|
|
7168
7174
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/cursors/elementCursor.js
|
|
7169
7175
|
|
|
7170
7176
|
const ELEMENT_CURSORS_MAP = Symbol('ElementCursorsMap');
|
|
@@ -7202,7 +7208,7 @@ function _getElementCursors(element) {
|
|
|
7202
7208
|
return cursors;
|
|
7203
7209
|
}
|
|
7204
7210
|
|
|
7205
|
-
|
|
7211
|
+
|
|
7206
7212
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/BrushTool.js
|
|
7207
7213
|
|
|
7208
7214
|
|
|
@@ -7475,7 +7481,7 @@ class BrushTool extends base_BaseTool {
|
|
|
7475
7481
|
}
|
|
7476
7482
|
BrushTool.toolName = 'Brush';
|
|
7477
7483
|
/* harmony default export */ const segmentation_BrushTool = (BrushTool);
|
|
7478
|
-
|
|
7484
|
+
|
|
7479
7485
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/utilities.js
|
|
7480
7486
|
|
|
7481
7487
|
|
|
@@ -7543,7 +7549,7 @@ function processVolumes(segmentationVolume, thresholdVolumeInformation) {
|
|
|
7543
7549
|
baseVolumeIdx,
|
|
7544
7550
|
};
|
|
7545
7551
|
}
|
|
7546
|
-
|
|
7552
|
+
|
|
7547
7553
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/thresholdVolumeByRange.js
|
|
7548
7554
|
|
|
7549
7555
|
|
|
@@ -7614,7 +7620,7 @@ function thresholdVolumeByRange(segmentationVolume, thresholdVolumeInformation,
|
|
|
7614
7620
|
return segmentationVolume;
|
|
7615
7621
|
}
|
|
7616
7622
|
/* harmony default export */ const segmentation_thresholdVolumeByRange = (thresholdVolumeByRange);
|
|
7617
|
-
|
|
7623
|
+
|
|
7618
7624
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/index.js
|
|
7619
7625
|
|
|
7620
7626
|
|
|
@@ -7623,7 +7629,7 @@ function thresholdVolumeByRange(segmentationVolume, thresholdVolumeInformation,
|
|
|
7623
7629
|
|
|
7624
7630
|
|
|
7625
7631
|
|
|
7626
|
-
|
|
7632
|
+
|
|
7627
7633
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/PanTool.js
|
|
7628
7634
|
|
|
7629
7635
|
|
|
@@ -7664,9 +7670,9 @@ class PanTool extends base_BaseTool {
|
|
|
7664
7670
|
}
|
|
7665
7671
|
PanTool.toolName = 'Pan';
|
|
7666
7672
|
/* harmony default export */ const tools_PanTool = (PanTool);
|
|
7667
|
-
|
|
7673
|
+
|
|
7668
7674
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/Math.js
|
|
7669
|
-
var Core_Math = __webpack_require__(
|
|
7675
|
+
var Core_Math = __webpack_require__(32899);
|
|
7670
7676
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/TrackballRotateTool.js
|
|
7671
7677
|
|
|
7672
7678
|
|
|
@@ -7767,7 +7773,7 @@ class TrackballRotateTool extends base_BaseTool {
|
|
|
7767
7773
|
}
|
|
7768
7774
|
TrackballRotateTool.toolName = 'TrackballRotate';
|
|
7769
7775
|
/* harmony default export */ const tools_TrackballRotateTool = (TrackballRotateTool);
|
|
7770
|
-
|
|
7776
|
+
|
|
7771
7777
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/WindowLevelTool.js
|
|
7772
7778
|
|
|
7773
7779
|
|
|
@@ -7962,7 +7968,7 @@ class WindowLevelTool extends base_BaseTool {
|
|
|
7962
7968
|
}
|
|
7963
7969
|
WindowLevelTool.toolName = 'WindowLevel';
|
|
7964
7970
|
/* harmony default export */ const tools_WindowLevelTool = (WindowLevelTool);
|
|
7965
|
-
|
|
7971
|
+
|
|
7966
7972
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/StackScrollTool.js
|
|
7967
7973
|
|
|
7968
7974
|
|
|
@@ -8031,7 +8037,7 @@ class StackScrollTool extends base_BaseTool {
|
|
|
8031
8037
|
}
|
|
8032
8038
|
StackScrollTool.toolName = 'StackScroll';
|
|
8033
8039
|
/* harmony default export */ const tools_StackScrollTool = (StackScrollTool);
|
|
8034
|
-
|
|
8040
|
+
|
|
8035
8041
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/angle/angleBetweenLines.js
|
|
8036
8042
|
|
|
8037
8043
|
function angleBetweenLines(line1, line2) {
|
|
@@ -8046,7 +8052,7 @@ function angleBetweenLines(line1, line2) {
|
|
|
8046
8052
|
const radian = Math.acos(cos);
|
|
8047
8053
|
return (radian * 180) / Math.PI;
|
|
8048
8054
|
}
|
|
8049
|
-
|
|
8055
|
+
|
|
8050
8056
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/PlanarRotateTool.js
|
|
8051
8057
|
|
|
8052
8058
|
|
|
@@ -8097,7 +8103,7 @@ class PlanarRotateTool extends base_BaseTool {
|
|
|
8097
8103
|
}
|
|
8098
8104
|
PlanarRotateTool.toolName = 'PlanarRotate';
|
|
8099
8105
|
/* harmony default export */ const tools_PlanarRotateTool = (PlanarRotateTool);
|
|
8100
|
-
|
|
8106
|
+
|
|
8101
8107
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/StackScrollToolMouseWheelTool.js
|
|
8102
8108
|
|
|
8103
8109
|
|
|
@@ -8131,7 +8137,7 @@ class StackScrollMouseWheelTool extends base_BaseTool {
|
|
|
8131
8137
|
}
|
|
8132
8138
|
StackScrollMouseWheelTool.toolName = 'StackScrollMouseWheel';
|
|
8133
8139
|
/* harmony default export */ const StackScrollToolMouseWheelTool = (StackScrollMouseWheelTool);
|
|
8134
|
-
|
|
8140
|
+
|
|
8135
8141
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/ZoomTool.js
|
|
8136
8142
|
|
|
8137
8143
|
|
|
@@ -8316,7 +8322,7 @@ class ZoomTool extends base_BaseTool {
|
|
|
8316
8322
|
}
|
|
8317
8323
|
ZoomTool.toolName = 'Zoom';
|
|
8318
8324
|
/* harmony default export */ const tools_ZoomTool = (ZoomTool);
|
|
8319
|
-
|
|
8325
|
+
|
|
8320
8326
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/VolumeRotateMouseWheelTool.js
|
|
8321
8327
|
|
|
8322
8328
|
|
|
@@ -8370,7 +8376,7 @@ class VolumeRotateMouseWheelTool extends base_BaseTool {
|
|
|
8370
8376
|
}
|
|
8371
8377
|
VolumeRotateMouseWheelTool.toolName = 'VolumeRotateMouseWheel';
|
|
8372
8378
|
/* harmony default export */ const tools_VolumeRotateMouseWheelTool = (VolumeRotateMouseWheelTool);
|
|
8373
|
-
|
|
8379
|
+
|
|
8374
8380
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planar/getWorldWidthAndHeightFromCorners.js
|
|
8375
8381
|
|
|
8376
8382
|
function getWorldWidthAndHeightFromCorners(viewPlaneNormal, viewUp, topLeftWorld, bottomRightWorld) {
|
|
@@ -8390,7 +8396,7 @@ function getWorldWidthAndHeightFromCorners(viewPlaneNormal, viewUp, topLeftWorld
|
|
|
8390
8396
|
const worldHeight = cosTheta * diagonalLength;
|
|
8391
8397
|
return { worldWidth, worldHeight };
|
|
8392
8398
|
}
|
|
8393
|
-
|
|
8399
|
+
|
|
8394
8400
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planar/getPointInLineOfSightWithCriteria.js
|
|
8395
8401
|
|
|
8396
8402
|
|
|
@@ -8430,7 +8436,7 @@ const _inBounds = function (point, bounds) {
|
|
|
8430
8436
|
point[2] > zMin &&
|
|
8431
8437
|
point[2] < zMax);
|
|
8432
8438
|
};
|
|
8433
|
-
|
|
8439
|
+
|
|
8434
8440
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planar/index.js
|
|
8435
8441
|
|
|
8436
8442
|
|
|
@@ -8443,7 +8449,7 @@ const _inBounds = function (point, bounds) {
|
|
|
8443
8449
|
getPointInLineOfSightWithCriteria: getPointInLineOfSightWithCriteria,
|
|
8444
8450
|
});
|
|
8445
8451
|
|
|
8446
|
-
|
|
8452
|
+
|
|
8447
8453
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewport/jumpToWorld.js
|
|
8448
8454
|
|
|
8449
8455
|
|
|
@@ -8477,7 +8483,7 @@ function _applyShift(viewport, delta) {
|
|
|
8477
8483
|
viewport.render();
|
|
8478
8484
|
}
|
|
8479
8485
|
}
|
|
8480
|
-
|
|
8486
|
+
|
|
8481
8487
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/MIPJumpToClickTool.js
|
|
8482
8488
|
|
|
8483
8489
|
|
|
@@ -8534,9 +8540,9 @@ class MIPJumpToClickTool extends base_BaseTool {
|
|
|
8534
8540
|
}
|
|
8535
8541
|
MIPJumpToClickTool.toolName = 'MIPJumpToClickTool';
|
|
8536
8542
|
/* harmony default export */ const tools_MIPJumpToClickTool = (MIPJumpToClickTool);
|
|
8537
|
-
|
|
8543
|
+
|
|
8538
8544
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/MatrixBuilder.js
|
|
8539
|
-
var MatrixBuilder = __webpack_require__(
|
|
8545
|
+
var MatrixBuilder = __webpack_require__(45802);
|
|
8540
8546
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/filterViewportsWithFrameOfReferenceUID.js
|
|
8541
8547
|
function filterViewportsWithFrameOfReferenceUID(viewports, FrameOfReferenceUID) {
|
|
8542
8548
|
const numViewports = viewports.length;
|
|
@@ -8549,7 +8555,7 @@ function filterViewportsWithFrameOfReferenceUID(viewports, FrameOfReferenceUID)
|
|
|
8549
8555
|
}
|
|
8550
8556
|
return viewportsWithFrameOfReferenceUID;
|
|
8551
8557
|
}
|
|
8552
|
-
|
|
8558
|
+
|
|
8553
8559
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/filterViewportsWithToolEnabled.js
|
|
8554
8560
|
|
|
8555
8561
|
|
|
@@ -8579,7 +8585,7 @@ function _toolGroupHasActiveEnabledOrPassiveTool(toolGroup, toolName) {
|
|
|
8579
8585
|
const toolMode = tool.mode;
|
|
8580
8586
|
return toolMode === filterViewportsWithToolEnabled_Active || toolMode === filterViewportsWithToolEnabled_Passive || toolMode === filterViewportsWithToolEnabled_Enabled;
|
|
8581
8587
|
}
|
|
8582
|
-
|
|
8588
|
+
|
|
8583
8589
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/filterViewportsWithParallelNormals.js
|
|
8584
8590
|
|
|
8585
8591
|
function filterViewportsWithParallelNormals(viewports, camera, EPS = 0.999) {
|
|
@@ -8591,7 +8597,7 @@ function filterViewportsWithParallelNormals(viewports, camera, EPS = 0.999) {
|
|
|
8591
8597
|
});
|
|
8592
8598
|
}
|
|
8593
8599
|
/* harmony default export */ const viewportFilters_filterViewportsWithParallelNormals = (filterViewportsWithParallelNormals);
|
|
8594
|
-
|
|
8600
|
+
|
|
8595
8601
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/getViewportIdsWithToolToRender.js
|
|
8596
8602
|
|
|
8597
8603
|
|
|
@@ -8610,14 +8616,14 @@ function getViewportIdsWithToolToRender(element, toolName, requireParallelNormal
|
|
|
8610
8616
|
const viewportIds = viewports.map((vp) => vp.id);
|
|
8611
8617
|
return viewportIds;
|
|
8612
8618
|
}
|
|
8613
|
-
|
|
8619
|
+
|
|
8614
8620
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewportFilters/index.js
|
|
8615
8621
|
|
|
8616
8622
|
|
|
8617
8623
|
|
|
8618
8624
|
|
|
8619
8625
|
|
|
8620
|
-
|
|
8626
|
+
|
|
8621
8627
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/vec2/liangBarksyClip.js
|
|
8622
8628
|
const liangBarksyClip_EPSILON = 1e-6;
|
|
8623
8629
|
const INSIDE = 1;
|
|
@@ -8682,7 +8688,7 @@ function liangBarksyClip_clip(a, b, box, da, db) {
|
|
|
8682
8688
|
}
|
|
8683
8689
|
return OUTSIDE;
|
|
8684
8690
|
}
|
|
8685
|
-
|
|
8691
|
+
|
|
8686
8692
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/line/distanceToPointSquared.js
|
|
8687
8693
|
function dist2(p1, p2) {
|
|
8688
8694
|
return (p1[0] - p2[0]) * (p1[0] - p2[0]) + (p1[1] - p2[1]) * (p1[1] - p2[1]);
|
|
@@ -8707,7 +8713,7 @@ function distanceToPointSquared(lineStart, lineEnd, point) {
|
|
|
8707
8713
|
];
|
|
8708
8714
|
return dist2(point, pt);
|
|
8709
8715
|
}
|
|
8710
|
-
|
|
8716
|
+
|
|
8711
8717
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/line/distanceToPoint.js
|
|
8712
8718
|
|
|
8713
8719
|
function distanceToPoint_distanceToPoint(lineStart, lineEnd, point) {
|
|
@@ -8716,7 +8722,7 @@ function distanceToPoint_distanceToPoint(lineStart, lineEnd, point) {
|
|
|
8716
8722
|
}
|
|
8717
8723
|
return Math.sqrt(distanceToPointSquared(lineStart, lineEnd, point));
|
|
8718
8724
|
}
|
|
8719
|
-
|
|
8725
|
+
|
|
8720
8726
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/line/intersectLine.js
|
|
8721
8727
|
function sign(x) {
|
|
8722
8728
|
return typeof x === 'number'
|
|
@@ -8759,13 +8765,13 @@ function intersectLine(line1Start, line1End, line2Start, line2End) {
|
|
|
8759
8765
|
const intersectionPoint = [x, y];
|
|
8760
8766
|
return intersectionPoint;
|
|
8761
8767
|
}
|
|
8762
|
-
|
|
8768
|
+
|
|
8763
8769
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/line/index.js
|
|
8764
8770
|
|
|
8765
8771
|
|
|
8766
8772
|
|
|
8767
8773
|
|
|
8768
|
-
|
|
8774
|
+
|
|
8769
8775
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/CrosshairsTool.js
|
|
8770
8776
|
|
|
8771
8777
|
|
|
@@ -10171,7 +10177,7 @@ class CrosshairsTool extends base_AnnotationTool {
|
|
|
10171
10177
|
}
|
|
10172
10178
|
CrosshairsTool.toolName = 'Crosshairs';
|
|
10173
10179
|
/* harmony default export */ const tools_CrosshairsTool = (CrosshairsTool);
|
|
10174
|
-
|
|
10180
|
+
|
|
10175
10181
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/MagnifyTool.js
|
|
10176
10182
|
|
|
10177
10183
|
|
|
@@ -10347,7 +10353,7 @@ class MagnifyTool extends base_BaseTool {
|
|
|
10347
10353
|
}
|
|
10348
10354
|
MagnifyTool.toolName = 'Magnify';
|
|
10349
10355
|
/* harmony default export */ const tools_MagnifyTool = (MagnifyTool);
|
|
10350
|
-
|
|
10356
|
+
|
|
10351
10357
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/ReferenceLinesTool.js
|
|
10352
10358
|
|
|
10353
10359
|
|
|
@@ -10495,7 +10501,37 @@ class ReferenceLines extends base_AnnotationDisplayTool {
|
|
|
10495
10501
|
}
|
|
10496
10502
|
ReferenceLines.toolName = 'ReferenceLines';
|
|
10497
10503
|
/* harmony default export */ const ReferenceLinesTool = (ReferenceLines);
|
|
10498
|
-
|
|
10504
|
+
|
|
10505
|
+
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/getCalibratedUnits.js
|
|
10506
|
+
|
|
10507
|
+
const { CalibrationTypes } = esm.Enums;
|
|
10508
|
+
const PIXEL_UNITS = 'px';
|
|
10509
|
+
const getCalibratedLengthUnits = (handles, image) => {
|
|
10510
|
+
const { calibration, hasPixelSpacing } = image;
|
|
10511
|
+
const units = hasPixelSpacing ? 'mm' : PIXEL_UNITS;
|
|
10512
|
+
if (!calibration || !calibration.type)
|
|
10513
|
+
return units;
|
|
10514
|
+
if (calibration.type === CalibrationTypes.UNCALIBRATED)
|
|
10515
|
+
return PIXEL_UNITS;
|
|
10516
|
+
if (calibration.SequenceOfUltrasoundRegions)
|
|
10517
|
+
return 'US Region';
|
|
10518
|
+
return `${units} ${calibration.type}`;
|
|
10519
|
+
};
|
|
10520
|
+
const SQUARE = '\xb2';
|
|
10521
|
+
const getCalibratedAreaUnits = (handles, image) => {
|
|
10522
|
+
const { calibration, hasPixelSpacing } = image;
|
|
10523
|
+
const units = (hasPixelSpacing ? 'mm' : PIXEL_UNITS) + SQUARE;
|
|
10524
|
+
if (!calibration || !calibration.type)
|
|
10525
|
+
return units;
|
|
10526
|
+
if (calibration.SequenceOfUltrasoundRegions)
|
|
10527
|
+
return 'US Region';
|
|
10528
|
+
return `${units} ${calibration.type}`;
|
|
10529
|
+
};
|
|
10530
|
+
const getCalibratedScale = (image) => image.calibration?.scale || 1;
|
|
10531
|
+
const getCalibratedAspect = (image) => image.calibration?.aspect || 1;
|
|
10532
|
+
/* harmony default export */ const getCalibratedUnits = ((/* unused pure expression or super */ null && (getCalibratedLengthUnits)));
|
|
10533
|
+
|
|
10534
|
+
|
|
10499
10535
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/drawing/getTextBoxCoordsCanvas.js
|
|
10500
10536
|
function getTextBoxCoordsCanvas(annotationCanvasPoints) {
|
|
10501
10537
|
const corners = _determineCorners(annotationCanvasPoints);
|
|
@@ -10521,11 +10557,11 @@ function _determineCorners(canvasPoints) {
|
|
|
10521
10557
|
return a[1] < b[1] ? -1 : 1;
|
|
10522
10558
|
}
|
|
10523
10559
|
}
|
|
10524
|
-
|
|
10560
|
+
|
|
10525
10561
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/drawing/index.js
|
|
10526
10562
|
|
|
10527
10563
|
|
|
10528
|
-
|
|
10564
|
+
|
|
10529
10565
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/BidirectionalTool.js
|
|
10530
10566
|
|
|
10531
10567
|
|
|
@@ -10542,6 +10578,8 @@ function _determineCorners(canvasPoints) {
|
|
|
10542
10578
|
|
|
10543
10579
|
|
|
10544
10580
|
|
|
10581
|
+
|
|
10582
|
+
|
|
10545
10583
|
const { transformWorldToIndex: BidirectionalTool_transformWorldToIndex } = esm.utilities;
|
|
10546
10584
|
class BidirectionalTool extends base_AnnotationTool {
|
|
10547
10585
|
constructor(toolProps = {}, defaultToolProps = {
|
|
@@ -11116,8 +11154,8 @@ class BidirectionalTool extends base_AnnotationTool {
|
|
|
11116
11154
|
return;
|
|
11117
11155
|
}
|
|
11118
11156
|
const textLines = [
|
|
11119
|
-
`L: ${length
|
|
11120
|
-
`W: ${width
|
|
11157
|
+
`L: ${utilities_roundNumber(length)} ${unit}`,
|
|
11158
|
+
`W: ${utilities_roundNumber(width)} ${unit}`,
|
|
11121
11159
|
];
|
|
11122
11160
|
return textLines;
|
|
11123
11161
|
};
|
|
@@ -11136,9 +11174,10 @@ class BidirectionalTool extends base_AnnotationTool {
|
|
|
11136
11174
|
if (!image) {
|
|
11137
11175
|
continue;
|
|
11138
11176
|
}
|
|
11139
|
-
const { imageData, dimensions
|
|
11140
|
-
const
|
|
11141
|
-
const
|
|
11177
|
+
const { imageData, dimensions } = image;
|
|
11178
|
+
const scale = getCalibratedScale(image);
|
|
11179
|
+
const dist1 = this._calculateLength(worldPos1, worldPos2) / scale;
|
|
11180
|
+
const dist2 = this._calculateLength(worldPos3, worldPos4) / scale;
|
|
11142
11181
|
const length = dist1 > dist2 ? dist1 : dist2;
|
|
11143
11182
|
const width = dist1 > dist2 ? dist2 : dist1;
|
|
11144
11183
|
const index1 = BidirectionalTool_transformWorldToIndex(imageData, worldPos1);
|
|
@@ -11151,7 +11190,7 @@ class BidirectionalTool extends base_AnnotationTool {
|
|
|
11151
11190
|
cachedStats[targetId] = {
|
|
11152
11191
|
length,
|
|
11153
11192
|
width,
|
|
11154
|
-
unit:
|
|
11193
|
+
unit: getCalibratedLengthUnits(null, image),
|
|
11155
11194
|
};
|
|
11156
11195
|
}
|
|
11157
11196
|
annotation.invalidated = false;
|
|
@@ -11245,7 +11284,7 @@ class BidirectionalTool extends base_AnnotationTool {
|
|
|
11245
11284
|
}
|
|
11246
11285
|
BidirectionalTool.toolName = 'Bidirectional';
|
|
11247
11286
|
/* harmony default export */ const annotation_BidirectionalTool = (BidirectionalTool);
|
|
11248
|
-
|
|
11287
|
+
|
|
11249
11288
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/LengthTool.js
|
|
11250
11289
|
|
|
11251
11290
|
|
|
@@ -11261,6 +11300,8 @@ BidirectionalTool.toolName = 'Bidirectional';
|
|
|
11261
11300
|
|
|
11262
11301
|
|
|
11263
11302
|
|
|
11303
|
+
|
|
11304
|
+
|
|
11264
11305
|
const { transformWorldToIndex: LengthTool_transformWorldToIndex } = esm.utilities;
|
|
11265
11306
|
class LengthTool extends base_AnnotationTool {
|
|
11266
11307
|
constructor(toolProps = {}, defaultToolProps = {
|
|
@@ -11619,7 +11660,7 @@ class LengthTool extends base_AnnotationTool {
|
|
|
11619
11660
|
if (length === undefined || length === null || isNaN(length)) {
|
|
11620
11661
|
return;
|
|
11621
11662
|
}
|
|
11622
|
-
const textLines = [`${length
|
|
11663
|
+
const textLines = [`${utilities_roundNumber(length)} ${unit}`];
|
|
11623
11664
|
return textLines;
|
|
11624
11665
|
}
|
|
11625
11666
|
_calculateLength(pos1, pos2) {
|
|
@@ -11641,8 +11682,9 @@ class LengthTool extends base_AnnotationTool {
|
|
|
11641
11682
|
if (!image) {
|
|
11642
11683
|
continue;
|
|
11643
11684
|
}
|
|
11644
|
-
const { imageData, dimensions
|
|
11645
|
-
const
|
|
11685
|
+
const { imageData, dimensions } = image;
|
|
11686
|
+
const scale = getCalibratedScale(image);
|
|
11687
|
+
const length = this._calculateLength(worldPos1, worldPos2) / scale;
|
|
11646
11688
|
const index1 = LengthTool_transformWorldToIndex(imageData, worldPos1);
|
|
11647
11689
|
const index2 = LengthTool_transformWorldToIndex(imageData, worldPos2);
|
|
11648
11690
|
this._isInsideVolume(index1, index2, dimensions)
|
|
@@ -11650,7 +11692,7 @@ class LengthTool extends base_AnnotationTool {
|
|
|
11650
11692
|
: (this.isHandleOutsideImage = true);
|
|
11651
11693
|
cachedStats[targetId] = {
|
|
11652
11694
|
length,
|
|
11653
|
-
unit:
|
|
11695
|
+
unit: getCalibratedLengthUnits(null, image),
|
|
11654
11696
|
};
|
|
11655
11697
|
}
|
|
11656
11698
|
annotation.invalidated = false;
|
|
@@ -11670,7 +11712,7 @@ class LengthTool extends base_AnnotationTool {
|
|
|
11670
11712
|
}
|
|
11671
11713
|
LengthTool.toolName = 'Length';
|
|
11672
11714
|
/* harmony default export */ const annotation_LengthTool = (LengthTool);
|
|
11673
|
-
|
|
11715
|
+
|
|
11674
11716
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/getModalityUnit.js
|
|
11675
11717
|
|
|
11676
11718
|
function getModalityUnit(modality, imageId, options) {
|
|
@@ -11695,7 +11737,7 @@ function _handlePTModality(imageId, options) {
|
|
|
11695
11737
|
return petSeriesModule?.units || 'unitless';
|
|
11696
11738
|
}
|
|
11697
11739
|
|
|
11698
|
-
|
|
11740
|
+
|
|
11699
11741
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewport/isViewportPreScaled.js
|
|
11700
11742
|
|
|
11701
11743
|
function isViewportPreScaled(viewport, targetId) {
|
|
@@ -11713,7 +11755,7 @@ function isViewportPreScaled(viewport, targetId) {
|
|
|
11713
11755
|
}
|
|
11714
11756
|
}
|
|
11715
11757
|
|
|
11716
|
-
|
|
11758
|
+
|
|
11717
11759
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/ProbeTool.js
|
|
11718
11760
|
|
|
11719
11761
|
|
|
@@ -12040,7 +12082,7 @@ class ProbeTool extends base_AnnotationTool {
|
|
|
12040
12082
|
}
|
|
12041
12083
|
ProbeTool.toolName = 'Probe';
|
|
12042
12084
|
/* harmony default export */ const annotation_ProbeTool = (ProbeTool);
|
|
12043
|
-
|
|
12085
|
+
|
|
12044
12086
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/DragProbeTool.js
|
|
12045
12087
|
|
|
12046
12088
|
|
|
@@ -12161,7 +12203,7 @@ class DragProbeTool extends annotation_ProbeTool {
|
|
|
12161
12203
|
}
|
|
12162
12204
|
DragProbeTool.toolName = 'DragProbe';
|
|
12163
12205
|
/* harmony default export */ const annotation_DragProbeTool = (DragProbeTool);
|
|
12164
|
-
|
|
12206
|
+
|
|
12165
12207
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/index.js
|
|
12166
12208
|
|
|
12167
12209
|
|
|
@@ -12169,7 +12211,7 @@ DragProbeTool.toolName = 'DragProbe';
|
|
|
12169
12211
|
|
|
12170
12212
|
|
|
12171
12213
|
|
|
12172
|
-
|
|
12214
|
+
|
|
12173
12215
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/rectangle/distanceToPoint.js
|
|
12174
12216
|
|
|
12175
12217
|
function rectToLineSegments(left, top, width, height) {
|
|
@@ -12205,11 +12247,11 @@ function rectangle_distanceToPoint_distanceToPoint(rect, point) {
|
|
|
12205
12247
|
});
|
|
12206
12248
|
return minDistance;
|
|
12207
12249
|
}
|
|
12208
|
-
|
|
12250
|
+
|
|
12209
12251
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/rectangle/index.js
|
|
12210
12252
|
|
|
12211
12253
|
|
|
12212
|
-
|
|
12254
|
+
|
|
12213
12255
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/RectangleROITool.js
|
|
12214
12256
|
|
|
12215
12257
|
|
|
@@ -12228,6 +12270,8 @@ function rectangle_distanceToPoint_distanceToPoint(rect, point) {
|
|
|
12228
12270
|
|
|
12229
12271
|
|
|
12230
12272
|
|
|
12273
|
+
|
|
12274
|
+
|
|
12231
12275
|
const { transformWorldToIndex: RectangleROITool_transformWorldToIndex } = esm.utilities;
|
|
12232
12276
|
class RectangleROITool extends base_AnnotationTool {
|
|
12233
12277
|
constructor(toolProps = {}, defaultToolProps = {
|
|
@@ -12662,10 +12706,10 @@ class RectangleROITool extends base_AnnotationTool {
|
|
|
12662
12706
|
return;
|
|
12663
12707
|
}
|
|
12664
12708
|
const textLines = [];
|
|
12665
|
-
textLines.push(`Area: ${area
|
|
12666
|
-
textLines.push(`Mean: ${mean
|
|
12667
|
-
textLines.push(`Max: ${max
|
|
12668
|
-
textLines.push(`Std Dev: ${stdDev
|
|
12709
|
+
textLines.push(`Area: ${utilities_roundNumber(area)} ${areaUnit}`);
|
|
12710
|
+
textLines.push(`Mean: ${utilities_roundNumber(mean)} ${modalityUnit}`);
|
|
12711
|
+
textLines.push(`Max: ${utilities_roundNumber(max)} ${modalityUnit}`);
|
|
12712
|
+
textLines.push(`Std Dev: ${utilities_roundNumber(stdDev)} ${modalityUnit}`);
|
|
12669
12713
|
return textLines;
|
|
12670
12714
|
};
|
|
12671
12715
|
this._calculateCachedStats = (annotation, viewPlaneNormal, viewUp, renderingEngine, enabledElement, modalityUnitOptions) => {
|
|
@@ -12681,7 +12725,7 @@ class RectangleROITool extends base_AnnotationTool {
|
|
|
12681
12725
|
if (!image) {
|
|
12682
12726
|
continue;
|
|
12683
12727
|
}
|
|
12684
|
-
const { dimensions, imageData, metadata
|
|
12728
|
+
const { dimensions, imageData, metadata } = image;
|
|
12685
12729
|
const scalarData = 'getScalarData' in image ? image.getScalarData() : image.scalarData;
|
|
12686
12730
|
const worldPos1Index = RectangleROITool_transformWorldToIndex(imageData, worldPos1);
|
|
12687
12731
|
worldPos1Index[0] = Math.floor(worldPos1Index[0]);
|
|
@@ -12700,7 +12744,8 @@ class RectangleROITool extends base_AnnotationTool {
|
|
|
12700
12744
|
const kMin = Math.min(worldPos1Index[2], worldPos2Index[2]);
|
|
12701
12745
|
const kMax = Math.max(worldPos1Index[2], worldPos2Index[2]);
|
|
12702
12746
|
const { worldWidth, worldHeight } = getWorldWidthAndHeightFromCorners(viewPlaneNormal, viewUp, worldPos1, worldPos2);
|
|
12703
|
-
const
|
|
12747
|
+
const scale = getCalibratedScale(image);
|
|
12748
|
+
const area = Math.abs(worldWidth * worldHeight) / (scale * scale);
|
|
12704
12749
|
let count = 0;
|
|
12705
12750
|
let mean = 0;
|
|
12706
12751
|
let stdDev = 0;
|
|
@@ -12738,7 +12783,7 @@ class RectangleROITool extends base_AnnotationTool {
|
|
|
12738
12783
|
mean,
|
|
12739
12784
|
stdDev,
|
|
12740
12785
|
max,
|
|
12741
|
-
areaUnit:
|
|
12786
|
+
areaUnit: getCalibratedAreaUnits(null, image),
|
|
12742
12787
|
modalityUnit,
|
|
12743
12788
|
};
|
|
12744
12789
|
}
|
|
@@ -12768,7 +12813,7 @@ class RectangleROITool extends base_AnnotationTool {
|
|
|
12768
12813
|
}
|
|
12769
12814
|
RectangleROITool.toolName = 'RectangleROI';
|
|
12770
12815
|
/* harmony default export */ const annotation_RectangleROITool = (RectangleROITool);
|
|
12771
|
-
|
|
12816
|
+
|
|
12772
12817
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planar/getWorldWidthAndHeightFromTwoPoints.js
|
|
12773
12818
|
|
|
12774
12819
|
function getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1, worldPos2) {
|
|
@@ -12788,7 +12833,7 @@ function getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1,
|
|
|
12788
12833
|
const worldHeight = cosTheta * diagonalLength;
|
|
12789
12834
|
return { worldWidth, worldHeight };
|
|
12790
12835
|
}
|
|
12791
|
-
|
|
12836
|
+
|
|
12792
12837
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/EllipticalROITool.js
|
|
12793
12838
|
|
|
12794
12839
|
|
|
@@ -12808,6 +12853,8 @@ function getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1,
|
|
|
12808
12853
|
|
|
12809
12854
|
|
|
12810
12855
|
|
|
12856
|
+
|
|
12857
|
+
|
|
12811
12858
|
const { transformWorldToIndex: EllipticalROITool_transformWorldToIndex } = esm.utilities;
|
|
12812
12859
|
class EllipticalROITool extends base_AnnotationTool {
|
|
12813
12860
|
constructor(toolProps = {}, defaultToolProps = {
|
|
@@ -13334,17 +13381,17 @@ class EllipticalROITool extends base_AnnotationTool {
|
|
|
13334
13381
|
if (area) {
|
|
13335
13382
|
const areaLine = isEmptyArea
|
|
13336
13383
|
? `Area: Oblique not supported`
|
|
13337
|
-
: `Area: ${area
|
|
13384
|
+
: `Area: ${utilities_roundNumber(area)} ${areaUnit}`;
|
|
13338
13385
|
textLines.push(areaLine);
|
|
13339
13386
|
}
|
|
13340
13387
|
if (mean) {
|
|
13341
|
-
textLines.push(`Mean: ${mean
|
|
13388
|
+
textLines.push(`Mean: ${utilities_roundNumber(mean)} ${modalityUnit}`);
|
|
13342
13389
|
}
|
|
13343
13390
|
if (max) {
|
|
13344
|
-
textLines.push(`Max: ${max
|
|
13391
|
+
textLines.push(`Max: ${utilities_roundNumber(max)} ${modalityUnit}`);
|
|
13345
13392
|
}
|
|
13346
13393
|
if (stdDev) {
|
|
13347
|
-
textLines.push(`Std Dev: ${stdDev
|
|
13394
|
+
textLines.push(`Std Dev: ${utilities_roundNumber(stdDev)} ${modalityUnit}`);
|
|
13348
13395
|
}
|
|
13349
13396
|
return textLines;
|
|
13350
13397
|
};
|
|
@@ -13401,7 +13448,10 @@ class EllipticalROITool extends base_AnnotationTool {
|
|
|
13401
13448
|
};
|
|
13402
13449
|
const { worldWidth, worldHeight } = getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1, worldPos2);
|
|
13403
13450
|
const isEmptyArea = worldWidth === 0 && worldHeight === 0;
|
|
13404
|
-
const
|
|
13451
|
+
const scale = getCalibratedScale(image);
|
|
13452
|
+
const area = Math.abs(Math.PI * (worldWidth / 2) * (worldHeight / 2)) /
|
|
13453
|
+
scale /
|
|
13454
|
+
scale;
|
|
13405
13455
|
let count = 0;
|
|
13406
13456
|
let mean = 0;
|
|
13407
13457
|
let stdDev = 0;
|
|
@@ -13430,7 +13480,7 @@ class EllipticalROITool extends base_AnnotationTool {
|
|
|
13430
13480
|
max,
|
|
13431
13481
|
stdDev,
|
|
13432
13482
|
isEmptyArea,
|
|
13433
|
-
areaUnit:
|
|
13483
|
+
areaUnit: getCalibratedAreaUnits(null, image),
|
|
13434
13484
|
modalityUnit,
|
|
13435
13485
|
};
|
|
13436
13486
|
}
|
|
@@ -13482,7 +13532,7 @@ class EllipticalROITool extends base_AnnotationTool {
|
|
|
13482
13532
|
}
|
|
13483
13533
|
EllipticalROITool.toolName = 'EllipticalROI';
|
|
13484
13534
|
/* harmony default export */ const annotation_EllipticalROITool = (EllipticalROITool);
|
|
13485
|
-
|
|
13535
|
+
|
|
13486
13536
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/point/distanceToPoint.js
|
|
13487
13537
|
function distanceToPoint(p1, p2) {
|
|
13488
13538
|
if (p1?.length !== 2 || p2?.length !== 2) {
|
|
@@ -13492,18 +13542,18 @@ function distanceToPoint(p1, p2) {
|
|
|
13492
13542
|
const [x2, y2] = p2;
|
|
13493
13543
|
return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
|
|
13494
13544
|
}
|
|
13495
|
-
|
|
13545
|
+
|
|
13496
13546
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/point/index.js
|
|
13497
13547
|
|
|
13498
13548
|
|
|
13499
|
-
|
|
13549
|
+
|
|
13500
13550
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/circle/getCanvasCircleRadius.js
|
|
13501
13551
|
|
|
13502
13552
|
function getCanvasCircleRadius(circleCanvasPoints) {
|
|
13503
13553
|
const [center, end] = circleCanvasPoints;
|
|
13504
13554
|
return distanceToPoint(center, end);
|
|
13505
13555
|
}
|
|
13506
|
-
|
|
13556
|
+
|
|
13507
13557
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/circle/getCanvasCircleCorners.js
|
|
13508
13558
|
|
|
13509
13559
|
function getCanvasCircleCorners(circleCanvasPoints) {
|
|
@@ -13513,12 +13563,12 @@ function getCanvasCircleCorners(circleCanvasPoints) {
|
|
|
13513
13563
|
const bottomRight = [center[0] + radius, center[1] + radius];
|
|
13514
13564
|
return [topLeft, bottomRight];
|
|
13515
13565
|
}
|
|
13516
|
-
|
|
13566
|
+
|
|
13517
13567
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/circle/index.js
|
|
13518
13568
|
|
|
13519
13569
|
|
|
13520
13570
|
|
|
13521
|
-
|
|
13571
|
+
|
|
13522
13572
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/CircleROITool.js
|
|
13523
13573
|
|
|
13524
13574
|
|
|
@@ -13538,6 +13588,8 @@ function getCanvasCircleCorners(circleCanvasPoints) {
|
|
|
13538
13588
|
|
|
13539
13589
|
|
|
13540
13590
|
|
|
13591
|
+
|
|
13592
|
+
|
|
13541
13593
|
|
|
13542
13594
|
const { transformWorldToIndex: CircleROITool_transformWorldToIndex } = esm.utilities;
|
|
13543
13595
|
class CircleROITool extends base_AnnotationTool {
|
|
@@ -13976,23 +14028,23 @@ class CircleROITool extends base_AnnotationTool {
|
|
|
13976
14028
|
if (radius) {
|
|
13977
14029
|
const radiusLine = isEmptyArea
|
|
13978
14030
|
? `Radius: Oblique not supported`
|
|
13979
|
-
: `Radius: ${radius
|
|
14031
|
+
: `Radius: ${utilities_roundNumber(radius)} ${radiusUnit}`;
|
|
13980
14032
|
textLines.push(radiusLine);
|
|
13981
14033
|
}
|
|
13982
14034
|
if (area) {
|
|
13983
14035
|
const areaLine = isEmptyArea
|
|
13984
14036
|
? `Area: Oblique not supported`
|
|
13985
|
-
: `Area: ${area
|
|
14037
|
+
: `Area: ${utilities_roundNumber(area)} ${areaUnit}`;
|
|
13986
14038
|
textLines.push(areaLine);
|
|
13987
14039
|
}
|
|
13988
14040
|
if (mean) {
|
|
13989
|
-
textLines.push(`Mean: ${mean
|
|
14041
|
+
textLines.push(`Mean: ${utilities_roundNumber(mean)} ${modalityUnit}`);
|
|
13990
14042
|
}
|
|
13991
14043
|
if (max) {
|
|
13992
|
-
textLines.push(`Max: ${max
|
|
14044
|
+
textLines.push(`Max: ${utilities_roundNumber(max)} ${modalityUnit}`);
|
|
13993
14045
|
}
|
|
13994
14046
|
if (stdDev) {
|
|
13995
|
-
textLines.push(`Std Dev: ${stdDev
|
|
14047
|
+
textLines.push(`Std Dev: ${utilities_roundNumber(stdDev)} ${modalityUnit}`);
|
|
13996
14048
|
}
|
|
13997
14049
|
return textLines;
|
|
13998
14050
|
};
|
|
@@ -14049,7 +14101,11 @@ class CircleROITool extends base_AnnotationTool {
|
|
|
14049
14101
|
};
|
|
14050
14102
|
const { worldWidth, worldHeight } = getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1, worldPos2);
|
|
14051
14103
|
const isEmptyArea = worldWidth === 0 && worldHeight === 0;
|
|
14052
|
-
const
|
|
14104
|
+
const scale = getCalibratedScale(image);
|
|
14105
|
+
const aspect = getCalibratedAspect(image);
|
|
14106
|
+
const area = Math.abs(Math.PI *
|
|
14107
|
+
(worldWidth / scale / 2) *
|
|
14108
|
+
(worldHeight / aspect / scale / 2));
|
|
14053
14109
|
let count = 0;
|
|
14054
14110
|
let mean = 0;
|
|
14055
14111
|
let stdDev = 0;
|
|
@@ -14078,10 +14134,10 @@ class CircleROITool extends base_AnnotationTool {
|
|
|
14078
14134
|
max,
|
|
14079
14135
|
stdDev,
|
|
14080
14136
|
isEmptyArea,
|
|
14081
|
-
areaUnit:
|
|
14082
|
-
radius: worldWidth / 2,
|
|
14083
|
-
radiusUnit:
|
|
14084
|
-
perimeter: 2 * Math.PI * (worldWidth / 2),
|
|
14137
|
+
areaUnit: getCalibratedAreaUnits(null, image),
|
|
14138
|
+
radius: worldWidth / 2 / scale,
|
|
14139
|
+
radiusUnit: getCalibratedLengthUnits(null, image),
|
|
14140
|
+
perimeter: (2 * Math.PI * (worldWidth / 2)) / scale,
|
|
14085
14141
|
modalityUnit,
|
|
14086
14142
|
};
|
|
14087
14143
|
}
|
|
@@ -14111,12 +14167,12 @@ class CircleROITool extends base_AnnotationTool {
|
|
|
14111
14167
|
}
|
|
14112
14168
|
CircleROITool.toolName = 'CircleROI';
|
|
14113
14169
|
/* harmony default export */ const annotation_CircleROITool = (CircleROITool);
|
|
14114
|
-
|
|
14170
|
+
|
|
14115
14171
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/vec2/index.js
|
|
14116
14172
|
|
|
14117
14173
|
|
|
14118
14174
|
|
|
14119
|
-
|
|
14175
|
+
|
|
14120
14176
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/getIntersectionWithPolyline.js
|
|
14121
14177
|
|
|
14122
14178
|
function getAllIntersectionsWithPolyline(points, p1, q1, closed = true) {
|
|
@@ -14271,7 +14327,7 @@ function getIntersection(p1, q1, p2, q2) {
|
|
|
14271
14327
|
return [resultX, resultY];
|
|
14272
14328
|
}
|
|
14273
14329
|
|
|
14274
|
-
|
|
14330
|
+
|
|
14275
14331
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/getSubPixelSpacingAndXYDirections.js
|
|
14276
14332
|
|
|
14277
14333
|
|
|
@@ -14342,14 +14398,14 @@ const getSubPixelSpacingAndXYDirections = (viewport, subPixelResolution) => {
|
|
|
14342
14398
|
return { spacing: subPixelSpacing, xDir, yDir };
|
|
14343
14399
|
};
|
|
14344
14400
|
/* harmony default export */ const polyline_getSubPixelSpacingAndXYDirections = (getSubPixelSpacingAndXYDirections);
|
|
14345
|
-
|
|
14401
|
+
|
|
14346
14402
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/pointsAreWithinCloseContourProximity.js
|
|
14347
14403
|
|
|
14348
14404
|
const pointsAreWithinCloseContourProximity = (p1, p2, closeContourProximity) => {
|
|
14349
14405
|
return gl_matrix_esm/* vec2.dist */.K4.dist(p1, p2) < closeContourProximity;
|
|
14350
14406
|
};
|
|
14351
14407
|
/* harmony default export */ const polyline_pointsAreWithinCloseContourProximity = (pointsAreWithinCloseContourProximity);
|
|
14352
|
-
|
|
14408
|
+
|
|
14353
14409
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/addCanvasPointsToArray.js
|
|
14354
14410
|
|
|
14355
14411
|
|
|
@@ -14384,7 +14440,7 @@ const addCanvasPointsToArray = (element, canvasPoints, newCanvasPoint, commonDat
|
|
|
14384
14440
|
return numPointsToAdd;
|
|
14385
14441
|
};
|
|
14386
14442
|
/* harmony default export */ const polyline_addCanvasPointsToArray = (addCanvasPointsToArray);
|
|
14387
|
-
|
|
14443
|
+
|
|
14388
14444
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/pointCanProjectOnLine.js
|
|
14389
14445
|
|
|
14390
14446
|
const pointCanProjectOnLine = (p, p1, p2, proximity) => {
|
|
@@ -14418,7 +14474,7 @@ const pointCanProjectOnLine = (p, p1, p2, proximity) => {
|
|
|
14418
14474
|
return true;
|
|
14419
14475
|
};
|
|
14420
14476
|
/* harmony default export */ const polyline_pointCanProjectOnLine = (pointCanProjectOnLine);
|
|
14421
|
-
|
|
14477
|
+
|
|
14422
14478
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/calculateAreaOfPoints.js
|
|
14423
14479
|
function calculateAreaOfPoints(points) {
|
|
14424
14480
|
const n = points.length;
|
|
@@ -14430,7 +14486,7 @@ function calculateAreaOfPoints(points) {
|
|
|
14430
14486
|
}
|
|
14431
14487
|
return Math.abs(area / 2.0);
|
|
14432
14488
|
}
|
|
14433
|
-
|
|
14489
|
+
|
|
14434
14490
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/polyline/index.js
|
|
14435
14491
|
|
|
14436
14492
|
|
|
@@ -14439,7 +14495,7 @@ function calculateAreaOfPoints(points) {
|
|
|
14439
14495
|
|
|
14440
14496
|
|
|
14441
14497
|
|
|
14442
|
-
|
|
14498
|
+
|
|
14443
14499
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/index.js
|
|
14444
14500
|
|
|
14445
14501
|
|
|
@@ -14448,11 +14504,11 @@ function calculateAreaOfPoints(points) {
|
|
|
14448
14504
|
|
|
14449
14505
|
|
|
14450
14506
|
|
|
14451
|
-
|
|
14507
|
+
|
|
14452
14508
|
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js + 31 modules
|
|
14453
|
-
var src = __webpack_require__(
|
|
14509
|
+
var src = __webpack_require__(22791);
|
|
14454
14510
|
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js + 61 modules
|
|
14455
|
-
var d3_array_src = __webpack_require__(
|
|
14511
|
+
var d3_array_src = __webpack_require__(47294);
|
|
14456
14512
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planarFreehandROITool/interpolation/algorithms/bspline.js
|
|
14457
14513
|
|
|
14458
14514
|
|
|
@@ -14476,7 +14532,7 @@ function interpolatePoints(originalPoints, knotsIndexes) {
|
|
|
14476
14532
|
return ((0,d3_array_src/* zip */.$R)((0,src/* quantize */.q$)(xInterpolator, n), (0,src/* quantize */.q$)(yInterpolator, n)));
|
|
14477
14533
|
}
|
|
14478
14534
|
}
|
|
14479
|
-
|
|
14535
|
+
|
|
14480
14536
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planarFreehandROITool/interpolation/interpolateSegmentPoints.js
|
|
14481
14537
|
|
|
14482
14538
|
function getContinuousUniformDistributionValues(minDistributionDistance, closedInterval) {
|
|
@@ -14519,7 +14575,7 @@ function interpolateSegmentPoints(points, iniIndex, endIndex, knotsRatioPercenta
|
|
|
14519
14575
|
...segmentPointsUnchangedEnd,
|
|
14520
14576
|
];
|
|
14521
14577
|
}
|
|
14522
|
-
|
|
14578
|
+
|
|
14523
14579
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planarFreehandROITool/interpolatePoints.js
|
|
14524
14580
|
|
|
14525
14581
|
|
|
@@ -14608,7 +14664,7 @@ function getInterpolatedPoints(configuration, points, pointsOfReference) {
|
|
|
14608
14664
|
}
|
|
14609
14665
|
return result;
|
|
14610
14666
|
}
|
|
14611
|
-
|
|
14667
|
+
|
|
14612
14668
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/findOpenUShapedContourVectorToPeak.js
|
|
14613
14669
|
|
|
14614
14670
|
function findOpenUShapedContourVectorToPeak(canvasPoints, viewport) {
|
|
@@ -14649,7 +14705,7 @@ function findOpenUShapedContourVectorToPeakOnRender(enabledElement, annotation)
|
|
|
14649
14705
|
const canvasPoints = annotation.data.polyline.map(viewport.worldToCanvas);
|
|
14650
14706
|
return findOpenUShapedContourVectorToPeak(canvasPoints, viewport);
|
|
14651
14707
|
}
|
|
14652
|
-
|
|
14708
|
+
|
|
14653
14709
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/drawLoop.js
|
|
14654
14710
|
|
|
14655
14711
|
|
|
@@ -14908,7 +14964,7 @@ function registerDrawLoop(toolInstance) {
|
|
|
14908
14964
|
toolInstance.haltDrawing = haltDrawing.bind(toolInstance);
|
|
14909
14965
|
}
|
|
14910
14966
|
/* harmony default export */ const drawLoop = (registerDrawLoop);
|
|
14911
|
-
|
|
14967
|
+
|
|
14912
14968
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/editLoopCommon.js
|
|
14913
14969
|
|
|
14914
14970
|
|
|
@@ -15056,7 +15112,7 @@ function registerEditLoopCommon(toolInstance) {
|
|
|
15056
15112
|
checkAndRemoveCrossesOnEditLine.bind(toolInstance);
|
|
15057
15113
|
}
|
|
15058
15114
|
/* harmony default export */ const editLoopCommon = (registerEditLoopCommon);
|
|
15059
|
-
|
|
15115
|
+
|
|
15060
15116
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/closedContourEditLoop.js
|
|
15061
15117
|
|
|
15062
15118
|
|
|
@@ -15293,7 +15349,7 @@ function registerClosedContourEditLoop(toolInstance) {
|
|
|
15293
15349
|
completeClosedContourEdit.bind(toolInstance);
|
|
15294
15350
|
}
|
|
15295
15351
|
/* harmony default export */ const closedContourEditLoop = (registerClosedContourEditLoop);
|
|
15296
|
-
|
|
15352
|
+
|
|
15297
15353
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/openContourEditLoop.js
|
|
15298
15354
|
|
|
15299
15355
|
|
|
@@ -15607,7 +15663,7 @@ function registerOpenContourEditLoop(toolInstance) {
|
|
|
15607
15663
|
completeOpenContourEdit.bind(toolInstance);
|
|
15608
15664
|
}
|
|
15609
15665
|
/* harmony default export */ const openContourEditLoop = (registerOpenContourEditLoop);
|
|
15610
|
-
|
|
15666
|
+
|
|
15611
15667
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/openContourEndEditLoop.js
|
|
15612
15668
|
|
|
15613
15669
|
|
|
@@ -15657,7 +15713,7 @@ function registerOpenContourEndEditLoop(toolInstance) {
|
|
|
15657
15713
|
activateOpenContourEndEdit.bind(toolInstance);
|
|
15658
15714
|
}
|
|
15659
15715
|
/* harmony default export */ const openContourEndEditLoop = (registerOpenContourEndEditLoop);
|
|
15660
|
-
|
|
15716
|
+
|
|
15661
15717
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/planarFreehandROITool/renderMethods.js
|
|
15662
15718
|
|
|
15663
15719
|
|
|
@@ -15827,7 +15883,7 @@ function registerRenderMethods(toolInstance) {
|
|
|
15827
15883
|
toolInstance._getRenderingOptions = _getRenderingOptions.bind(toolInstance);
|
|
15828
15884
|
}
|
|
15829
15885
|
/* harmony default export */ const renderMethods = (registerRenderMethods);
|
|
15830
|
-
|
|
15886
|
+
|
|
15831
15887
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/PlanarFreehandROITool.js
|
|
15832
15888
|
|
|
15833
15889
|
|
|
@@ -15848,6 +15904,8 @@ function registerRenderMethods(toolInstance) {
|
|
|
15848
15904
|
|
|
15849
15905
|
|
|
15850
15906
|
|
|
15907
|
+
|
|
15908
|
+
|
|
15851
15909
|
|
|
15852
15910
|
|
|
15853
15911
|
|
|
@@ -16088,9 +16146,10 @@ class PlanarFreehandROITool extends base_AnnotationTool {
|
|
|
16088
16146
|
if (!image) {
|
|
16089
16147
|
continue;
|
|
16090
16148
|
}
|
|
16091
|
-
const { imageData, metadata
|
|
16149
|
+
const { imageData, metadata } = image;
|
|
16092
16150
|
const canvasCoordinates = points.map((p) => viewport.worldToCanvas(p));
|
|
16093
|
-
const
|
|
16151
|
+
const scale = getCalibratedScale(image);
|
|
16152
|
+
const area = calculateAreaOfPoints(canvasCoordinates) / scale / scale;
|
|
16094
16153
|
const worldPosIndex = esm.utilities.transformWorldToIndex(imageData, points[0]);
|
|
16095
16154
|
worldPosIndex[0] = Math.floor(worldPosIndex[0]);
|
|
16096
16155
|
worldPosIndex[1] = Math.floor(worldPosIndex[1]);
|
|
@@ -16180,7 +16239,7 @@ class PlanarFreehandROITool extends base_AnnotationTool {
|
|
|
16180
16239
|
mean,
|
|
16181
16240
|
max,
|
|
16182
16241
|
stdDev,
|
|
16183
|
-
areaUnit:
|
|
16242
|
+
areaUnit: getCalibratedAreaUnits(null, image),
|
|
16184
16243
|
modalityUnit,
|
|
16185
16244
|
};
|
|
16186
16245
|
}
|
|
@@ -16223,17 +16282,17 @@ class PlanarFreehandROITool extends base_AnnotationTool {
|
|
|
16223
16282
|
if (area) {
|
|
16224
16283
|
const areaLine = isEmptyArea
|
|
16225
16284
|
? `Area: Oblique not supported`
|
|
16226
|
-
: `Area: ${area
|
|
16285
|
+
: `Area: ${utilities_roundNumber(area)} ${areaUnit}`;
|
|
16227
16286
|
textLines.push(areaLine);
|
|
16228
16287
|
}
|
|
16229
16288
|
if (mean) {
|
|
16230
|
-
textLines.push(`Mean: ${mean
|
|
16289
|
+
textLines.push(`Mean: ${utilities_roundNumber(mean)} ${modalityUnit}`);
|
|
16231
16290
|
}
|
|
16232
16291
|
if (max) {
|
|
16233
|
-
textLines.push(`Max: ${max
|
|
16292
|
+
textLines.push(`Max: ${utilities_roundNumber(max)} ${modalityUnit}`);
|
|
16234
16293
|
}
|
|
16235
16294
|
if (stdDev) {
|
|
16236
|
-
textLines.push(`Std Dev: ${stdDev
|
|
16295
|
+
textLines.push(`Std Dev: ${utilities_roundNumber(stdDev)} ${modalityUnit}`);
|
|
16237
16296
|
}
|
|
16238
16297
|
return textLines;
|
|
16239
16298
|
};
|
|
@@ -16297,7 +16356,7 @@ class PlanarFreehandROITool extends base_AnnotationTool {
|
|
|
16297
16356
|
}
|
|
16298
16357
|
PlanarFreehandROITool.toolName = 'PlanarFreehandROI';
|
|
16299
16358
|
/* harmony default export */ const annotation_PlanarFreehandROITool = (PlanarFreehandROITool);
|
|
16300
|
-
|
|
16359
|
+
|
|
16301
16360
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/ArrowAnnotateTool.js
|
|
16302
16361
|
|
|
16303
16362
|
|
|
@@ -16726,7 +16785,7 @@ function changeTextCallback(data, eventData, doneChangingTextCallback) {
|
|
|
16726
16785
|
}
|
|
16727
16786
|
ArrowAnnotateTool.toolName = 'ArrowAnnotate';
|
|
16728
16787
|
/* harmony default export */ const annotation_ArrowAnnotateTool = (ArrowAnnotateTool);
|
|
16729
|
-
|
|
16788
|
+
|
|
16730
16789
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/AngleTool.js
|
|
16731
16790
|
|
|
16732
16791
|
|
|
@@ -16741,6 +16800,7 @@ ArrowAnnotateTool.toolName = 'ArrowAnnotate';
|
|
|
16741
16800
|
|
|
16742
16801
|
|
|
16743
16802
|
|
|
16803
|
+
|
|
16744
16804
|
class AngleTool extends base_AnnotationTool {
|
|
16745
16805
|
constructor(toolProps = {}, defaultToolProps = {
|
|
16746
16806
|
supportedInteractionTypes: ['Mouse', 'Touch'],
|
|
@@ -16817,7 +16877,6 @@ class AngleTool extends base_AnnotationTool {
|
|
|
16817
16877
|
const [point1, point2, point3] = data.handles.points;
|
|
16818
16878
|
const canvasPoint1 = viewport.worldToCanvas(point1);
|
|
16819
16879
|
const canvasPoint2 = viewport.worldToCanvas(point2);
|
|
16820
|
-
const canvasPoint3 = viewport.worldToCanvas(point3);
|
|
16821
16880
|
const line1 = {
|
|
16822
16881
|
start: {
|
|
16823
16882
|
x: canvasPoint1[0],
|
|
@@ -16828,6 +16887,12 @@ class AngleTool extends base_AnnotationTool {
|
|
|
16828
16887
|
y: canvasPoint2[1],
|
|
16829
16888
|
},
|
|
16830
16889
|
};
|
|
16890
|
+
const distanceToPoint = distanceToPoint_distanceToPoint([line1.start.x, line1.start.y], [line1.end.x, line1.end.y], [canvasCoords[0], canvasCoords[1]]);
|
|
16891
|
+
if (distanceToPoint <= proximity)
|
|
16892
|
+
return true;
|
|
16893
|
+
if (!point3)
|
|
16894
|
+
return false;
|
|
16895
|
+
const canvasPoint3 = viewport.worldToCanvas(point3);
|
|
16831
16896
|
const line2 = {
|
|
16832
16897
|
start: {
|
|
16833
16898
|
x: canvasPoint2[0],
|
|
@@ -16838,9 +16903,8 @@ class AngleTool extends base_AnnotationTool {
|
|
|
16838
16903
|
y: canvasPoint3[1],
|
|
16839
16904
|
},
|
|
16840
16905
|
};
|
|
16841
|
-
const distanceToPoint = distanceToPoint_distanceToPoint([line1.start.x, line1.start.y], [line1.end.x, line1.end.y], [canvasCoords[0], canvasCoords[1]]);
|
|
16842
16906
|
const distanceToPoint2 = distanceToPoint_distanceToPoint([line2.start.x, line2.start.y], [line2.end.x, line2.end.y], [canvasCoords[0], canvasCoords[1]]);
|
|
16843
|
-
if (
|
|
16907
|
+
if (distanceToPoint2 <= proximity) {
|
|
16844
16908
|
return true;
|
|
16845
16909
|
}
|
|
16846
16910
|
return false;
|
|
@@ -17125,7 +17189,7 @@ class AngleTool extends base_AnnotationTool {
|
|
|
17125
17189
|
if (angle === undefined) {
|
|
17126
17190
|
return;
|
|
17127
17191
|
}
|
|
17128
|
-
const textLines = [`${angle
|
|
17192
|
+
const textLines = [`${utilities_roundNumber(angle)} ${String.fromCharCode(176)}`];
|
|
17129
17193
|
return textLines;
|
|
17130
17194
|
}
|
|
17131
17195
|
_calculateCachedStats(annotation, renderingEngine, enabledElement) {
|
|
@@ -17159,7 +17223,7 @@ class AngleTool extends base_AnnotationTool {
|
|
|
17159
17223
|
}
|
|
17160
17224
|
AngleTool.toolName = 'Angle';
|
|
17161
17225
|
/* harmony default export */ const annotation_AngleTool = (AngleTool);
|
|
17162
|
-
|
|
17226
|
+
|
|
17163
17227
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/math/midPoint.js
|
|
17164
17228
|
const midPoint = (...args) => {
|
|
17165
17229
|
const ret = args[0].length === 2 ? [0, 0] : [0, 0, 0];
|
|
@@ -17175,7 +17239,7 @@ const midPoint = (...args) => {
|
|
|
17175
17239
|
const midPoint2 = midPoint;
|
|
17176
17240
|
/* harmony default export */ const math_midPoint = ((/* unused pure expression or super */ null && (midPoint)));
|
|
17177
17241
|
|
|
17178
|
-
|
|
17242
|
+
|
|
17179
17243
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/annotation/CobbAngleTool.js
|
|
17180
17244
|
|
|
17181
17245
|
|
|
@@ -17649,7 +17713,7 @@ class CobbAngleTool extends base_AnnotationTool {
|
|
|
17649
17713
|
}
|
|
17650
17714
|
CobbAngleTool.toolName = 'CobbAngle';
|
|
17651
17715
|
/* harmony default export */ const annotation_CobbAngleTool = (CobbAngleTool);
|
|
17652
|
-
|
|
17716
|
+
|
|
17653
17717
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/ReferenceCursors.js
|
|
17654
17718
|
|
|
17655
17719
|
|
|
@@ -17931,7 +17995,7 @@ class ReferenceCursors extends base_AnnotationDisplayTool {
|
|
|
17931
17995
|
}
|
|
17932
17996
|
ReferenceCursors.toolName = 'ReferenceCursors';
|
|
17933
17997
|
/* harmony default export */ const tools_ReferenceCursors = (ReferenceCursors);
|
|
17934
|
-
|
|
17998
|
+
|
|
17935
17999
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/ScaleOverlayTool.js
|
|
17936
18000
|
|
|
17937
18001
|
|
|
@@ -18325,7 +18389,7 @@ class ScaleOverlayTool extends base_AnnotationDisplayTool {
|
|
|
18325
18389
|
}
|
|
18326
18390
|
ScaleOverlayTool.toolName = 'ScaleOverlay';
|
|
18327
18391
|
/* harmony default export */ const tools_ScaleOverlayTool = (ScaleOverlayTool);
|
|
18328
|
-
|
|
18392
|
+
|
|
18329
18393
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/strategies/fillRectangle.js
|
|
18330
18394
|
|
|
18331
18395
|
|
|
@@ -18370,7 +18434,7 @@ function fillInsideRectangle(enabledElement, operationData) {
|
|
|
18370
18434
|
function fillOutsideRectangle(enabledElement, operationData) {
|
|
18371
18435
|
fillRectangle(enabledElement, operationData, false);
|
|
18372
18436
|
}
|
|
18373
|
-
|
|
18437
|
+
|
|
18374
18438
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/strategies/eraseRectangle.js
|
|
18375
18439
|
|
|
18376
18440
|
|
|
@@ -18404,7 +18468,7 @@ function eraseInsideRectangle(enabledElement, operationData) {
|
|
|
18404
18468
|
function eraseOutsideRectangle(enabledElement, operationData) {
|
|
18405
18469
|
eraseRectangle(enabledElement, operationData, false);
|
|
18406
18470
|
}
|
|
18407
|
-
|
|
18471
|
+
|
|
18408
18472
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/RectangleScissorsTool.js
|
|
18409
18473
|
|
|
18410
18474
|
|
|
@@ -18617,7 +18681,7 @@ class RectangleScissorsTool extends base_BaseTool {
|
|
|
18617
18681
|
}
|
|
18618
18682
|
RectangleScissorsTool.toolName = 'RectangleScissor';
|
|
18619
18683
|
/* harmony default export */ const segmentation_RectangleScissorsTool = (RectangleScissorsTool);
|
|
18620
|
-
|
|
18684
|
+
|
|
18621
18685
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/CircleScissorsTool.js
|
|
18622
18686
|
|
|
18623
18687
|
|
|
@@ -18825,7 +18889,7 @@ class CircleScissorsTool extends base_BaseTool {
|
|
|
18825
18889
|
}
|
|
18826
18890
|
CircleScissorsTool.toolName = 'CircleScissor';
|
|
18827
18891
|
/* harmony default export */ const segmentation_CircleScissorsTool = (CircleScissorsTool);
|
|
18828
|
-
|
|
18892
|
+
|
|
18829
18893
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/SphereScissorsTool.js
|
|
18830
18894
|
|
|
18831
18895
|
|
|
@@ -19035,7 +19099,7 @@ class SphereScissorsTool extends base_BaseTool {
|
|
|
19035
19099
|
}
|
|
19036
19100
|
SphereScissorsTool.toolName = 'SphereScissor';
|
|
19037
19101
|
/* harmony default export */ const segmentation_SphereScissorsTool = (SphereScissorsTool);
|
|
19038
|
-
|
|
19102
|
+
|
|
19039
19103
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/RectangleROIThresholdTool.js
|
|
19040
19104
|
|
|
19041
19105
|
|
|
@@ -19188,7 +19252,7 @@ class RectangleROIThresholdTool extends annotation_RectangleROITool {
|
|
|
19188
19252
|
}
|
|
19189
19253
|
RectangleROIThresholdTool.toolName = 'RectangleROIThreshold';
|
|
19190
19254
|
/* harmony default export */ const segmentation_RectangleROIThresholdTool = (RectangleROIThresholdTool);
|
|
19191
|
-
|
|
19255
|
+
|
|
19192
19256
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/RectangleROIStartEndThresholdTool.js
|
|
19193
19257
|
|
|
19194
19258
|
|
|
@@ -19431,7 +19495,7 @@ class RectangleROIStartEndThresholdTool extends annotation_RectangleROITool {
|
|
|
19431
19495
|
}
|
|
19432
19496
|
RectangleROIStartEndThresholdTool.toolName = 'RectangleROIStartEndThreshold';
|
|
19433
19497
|
/* harmony default export */ const segmentation_RectangleROIStartEndThresholdTool = (RectangleROIStartEndThresholdTool);
|
|
19434
|
-
|
|
19498
|
+
|
|
19435
19499
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/floodFill.js
|
|
19436
19500
|
function floodFill(getter, seed, options = {}) {
|
|
19437
19501
|
const onFlood = options.onFlood;
|
|
@@ -19561,7 +19625,7 @@ function lpad(string, character, length) {
|
|
|
19561
19625
|
return (pad + string).slice(-length);
|
|
19562
19626
|
}
|
|
19563
19627
|
/* harmony default export */ const segmentation_floodFill = (floodFill);
|
|
19564
|
-
|
|
19628
|
+
|
|
19565
19629
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/segmentation/PaintFillTool.js
|
|
19566
19630
|
|
|
19567
19631
|
|
|
@@ -19773,7 +19837,7 @@ class PaintFillTool extends base_BaseTool {
|
|
|
19773
19837
|
}
|
|
19774
19838
|
PaintFillTool.toolName = 'PaintFill';
|
|
19775
19839
|
/* harmony default export */ const segmentation_PaintFillTool = (PaintFillTool);
|
|
19776
|
-
|
|
19840
|
+
|
|
19777
19841
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/index.js
|
|
19778
19842
|
|
|
19779
19843
|
|
|
@@ -19811,7 +19875,7 @@ PaintFillTool.toolName = 'PaintFill';
|
|
|
19811
19875
|
|
|
19812
19876
|
|
|
19813
19877
|
|
|
19814
|
-
|
|
19878
|
+
|
|
19815
19879
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/rectangleROITool/getBoundsIJKFromRectangleAnnotations.js
|
|
19816
19880
|
|
|
19817
19881
|
|
|
@@ -19857,7 +19921,7 @@ function getBoundsIJKFromRectangleAnnotations(annotations, referenceVolume, opti
|
|
|
19857
19921
|
return boundsIJK;
|
|
19858
19922
|
}
|
|
19859
19923
|
/* harmony default export */ const rectangleROITool_getBoundsIJKFromRectangleAnnotations = (getBoundsIJKFromRectangleAnnotations);
|
|
19860
|
-
|
|
19924
|
+
|
|
19861
19925
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/rectangleROIThresholdVolumeByRange.js
|
|
19862
19926
|
|
|
19863
19927
|
|
|
@@ -19891,7 +19955,7 @@ function _validateAnnotations(annotations) {
|
|
|
19891
19955
|
}
|
|
19892
19956
|
}
|
|
19893
19957
|
/* harmony default export */ const segmentation_rectangleROIThresholdVolumeByRange = (rectangleROIThresholdVolumeByRange);
|
|
19894
|
-
|
|
19958
|
+
|
|
19895
19959
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/createMergedLabelmapForIndex.js
|
|
19896
19960
|
|
|
19897
19961
|
function createMergedLabelmapForIndex(labelmaps, segmentIndex = 1, volumeId = 'mergedLabelmap') {
|
|
@@ -19927,7 +19991,7 @@ function createMergedLabelmapForIndex(labelmaps, segmentIndex = 1, volumeId = 'm
|
|
|
19927
19991
|
return mergedVolume;
|
|
19928
19992
|
}
|
|
19929
19993
|
/* harmony default export */ const segmentation_createMergedLabelmapForIndex = (createMergedLabelmapForIndex);
|
|
19930
|
-
|
|
19994
|
+
|
|
19931
19995
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/isValidRepresentationConfig.js
|
|
19932
19996
|
|
|
19933
19997
|
|
|
@@ -19939,7 +20003,7 @@ function isValidRepresentationConfig(representationType, config) {
|
|
|
19939
20003
|
throw new Error(`Unknown representation type: ${representationType}`);
|
|
19940
20004
|
}
|
|
19941
20005
|
}
|
|
19942
|
-
|
|
20006
|
+
|
|
19943
20007
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/getDefaultRepresentationConfig.js
|
|
19944
20008
|
|
|
19945
20009
|
|
|
@@ -19952,7 +20016,7 @@ function getDefaultRepresentationConfig(segmentation) {
|
|
|
19952
20016
|
throw new Error(`Unknown representation type: ${representationType}`);
|
|
19953
20017
|
}
|
|
19954
20018
|
}
|
|
19955
|
-
|
|
20019
|
+
|
|
19956
20020
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/createLabelmapVolumeForViewport.js
|
|
19957
20021
|
|
|
19958
20022
|
|
|
@@ -19983,7 +20047,7 @@ async function createLabelmapVolumeForViewport(input) {
|
|
|
19983
20047
|
}
|
|
19984
20048
|
return segmentationId;
|
|
19985
20049
|
}
|
|
19986
|
-
|
|
20050
|
+
|
|
19987
20051
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/brushSizeForToolGroup.js
|
|
19988
20052
|
|
|
19989
20053
|
|
|
@@ -20025,7 +20089,7 @@ function getBrushSizeForToolGroup(toolGroupId) {
|
|
|
20025
20089
|
}
|
|
20026
20090
|
return brushToolInstance.configuration.brushSize;
|
|
20027
20091
|
}
|
|
20028
|
-
|
|
20092
|
+
|
|
20029
20093
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/brushThresholdForToolGroup.js
|
|
20030
20094
|
|
|
20031
20095
|
|
|
@@ -20067,7 +20131,7 @@ function getBrushThresholdForToolGroup(toolGroupId) {
|
|
|
20067
20131
|
return brushToolInstance.configuration.strategySpecificConfiguration
|
|
20068
20132
|
.THRESHOLD_INSIDE_CIRCLE.threshold;
|
|
20069
20133
|
}
|
|
20070
|
-
|
|
20134
|
+
|
|
20071
20135
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/thresholdSegmentationByRange.js
|
|
20072
20136
|
|
|
20073
20137
|
|
|
@@ -20120,7 +20184,7 @@ function _handleSameSizeVolume(scalarData, segmentationIndex, volumeInfo) {
|
|
|
20120
20184
|
}
|
|
20121
20185
|
}
|
|
20122
20186
|
/* harmony default export */ const segmentation_thresholdSegmentationByRange = (thresholdSegmentationByRange);
|
|
20123
|
-
|
|
20187
|
+
|
|
20124
20188
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/segmentation/index.js
|
|
20125
20189
|
|
|
20126
20190
|
|
|
@@ -20134,7 +20198,7 @@ function _handleSameSizeVolume(scalarData, segmentationIndex, volumeInfo) {
|
|
|
20134
20198
|
|
|
20135
20199
|
|
|
20136
20200
|
|
|
20137
|
-
|
|
20201
|
+
|
|
20138
20202
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/orientation/getOrientationStringLPS.js
|
|
20139
20203
|
function getOrientationStringLPS(vector) {
|
|
20140
20204
|
let orientation = '';
|
|
@@ -20177,7 +20241,7 @@ function getOrientationStringLPS(vector) {
|
|
|
20177
20241
|
}
|
|
20178
20242
|
return orientation;
|
|
20179
20243
|
}
|
|
20180
|
-
|
|
20244
|
+
|
|
20181
20245
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/orientation/invertOrientationStringLPS.js
|
|
20182
20246
|
function invertOrientationStringLPS(orientationString) {
|
|
20183
20247
|
let inverted = orientationString.replace('H', 'f');
|
|
@@ -20189,12 +20253,12 @@ function invertOrientationStringLPS(orientationString) {
|
|
|
20189
20253
|
inverted = inverted.toUpperCase();
|
|
20190
20254
|
return inverted;
|
|
20191
20255
|
}
|
|
20192
|
-
|
|
20256
|
+
|
|
20193
20257
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/orientation/index.js
|
|
20194
20258
|
|
|
20195
20259
|
|
|
20196
20260
|
|
|
20197
|
-
|
|
20261
|
+
|
|
20198
20262
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/cine/events.js
|
|
20199
20263
|
var events_Events;
|
|
20200
20264
|
(function (Events) {
|
|
@@ -20202,7 +20266,7 @@ var events_Events;
|
|
|
20202
20266
|
Events["CLIP_STARTED"] = "CORNERSTONE_CINE_TOOL_STARTED";
|
|
20203
20267
|
})(events_Events || (events_Events = {}));
|
|
20204
20268
|
/* harmony default export */ const events = (events_Events);
|
|
20205
|
-
|
|
20269
|
+
|
|
20206
20270
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/cine/state.js
|
|
20207
20271
|
|
|
20208
20272
|
const state_state = {};
|
|
@@ -20217,7 +20281,7 @@ function getToolState(element) {
|
|
|
20217
20281
|
return state_state[viewportId];
|
|
20218
20282
|
}
|
|
20219
20283
|
|
|
20220
|
-
|
|
20284
|
+
|
|
20221
20285
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/cine/playClip.js
|
|
20222
20286
|
|
|
20223
20287
|
|
|
@@ -20490,13 +20554,13 @@ function _createCinePlayContext(viewport, playClipOptions) {
|
|
|
20490
20554
|
throw new Error('Unknown viewport type');
|
|
20491
20555
|
}
|
|
20492
20556
|
|
|
20493
|
-
|
|
20557
|
+
|
|
20494
20558
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/cine/index.js
|
|
20495
20559
|
|
|
20496
20560
|
|
|
20497
20561
|
|
|
20498
20562
|
|
|
20499
|
-
|
|
20563
|
+
|
|
20500
20564
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planarFreehandROITool/interpolateAnnotation.js
|
|
20501
20565
|
|
|
20502
20566
|
|
|
@@ -20537,18 +20601,18 @@ function interpolateAnnotation(enabledElement, annotation, knotsRatioPercentage)
|
|
|
20537
20601
|
annotation.data.polyline = interpolatedCanvasPoints.map(viewport.canvasToWorld);
|
|
20538
20602
|
return true;
|
|
20539
20603
|
}
|
|
20540
|
-
|
|
20604
|
+
|
|
20541
20605
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/planarFreehandROITool/index.js
|
|
20542
20606
|
|
|
20543
20607
|
/* harmony default export */ const planarFreehandROITool = ({
|
|
20544
20608
|
interpolateAnnotation: interpolateAnnotation,
|
|
20545
20609
|
});
|
|
20546
20610
|
|
|
20547
|
-
|
|
20611
|
+
|
|
20548
20612
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/rectangleROITool/index.js
|
|
20549
20613
|
|
|
20550
20614
|
|
|
20551
|
-
|
|
20615
|
+
|
|
20552
20616
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/stackPrefetch/state.js
|
|
20553
20617
|
|
|
20554
20618
|
const stackPrefetch_state_state = {};
|
|
@@ -20563,7 +20627,7 @@ function state_getToolState(element) {
|
|
|
20563
20627
|
return stackPrefetch_state_state[viewportId];
|
|
20564
20628
|
}
|
|
20565
20629
|
|
|
20566
|
-
|
|
20630
|
+
|
|
20567
20631
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/stackPrefetch/stackPrefetch.js
|
|
20568
20632
|
|
|
20569
20633
|
|
|
@@ -20788,17 +20852,17 @@ function setConfiguration(config) {
|
|
|
20788
20852
|
configuration = config;
|
|
20789
20853
|
}
|
|
20790
20854
|
|
|
20791
|
-
|
|
20855
|
+
|
|
20792
20856
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/stackPrefetch/index.js
|
|
20793
20857
|
|
|
20794
20858
|
|
|
20795
|
-
|
|
20859
|
+
|
|
20796
20860
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/viewport/index.js
|
|
20797
20861
|
|
|
20798
20862
|
|
|
20799
20863
|
|
|
20800
20864
|
|
|
20801
|
-
|
|
20865
|
+
|
|
20802
20866
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/dynamicVolume/getDataInTime.js
|
|
20803
20867
|
|
|
20804
20868
|
function getDataInTime(dynamicVolume, options) {
|
|
@@ -20861,7 +20925,7 @@ function _getTimePointDataMask(frames, indexArray, volume) {
|
|
|
20861
20925
|
return value;
|
|
20862
20926
|
}
|
|
20863
20927
|
/* harmony default export */ const dynamicVolume_getDataInTime = (getDataInTime);
|
|
20864
|
-
|
|
20928
|
+
|
|
20865
20929
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/dynamicVolume/generateImageFromTimeData.js
|
|
20866
20930
|
|
|
20867
20931
|
function generateImageFromTimeData(dynamicVolume, operation, frameNumbers) {
|
|
@@ -20905,13 +20969,13 @@ function generateImageFromTimeData(dynamicVolume, operation, frameNumbers) {
|
|
|
20905
20969
|
}
|
|
20906
20970
|
}
|
|
20907
20971
|
/* harmony default export */ const dynamicVolume_generateImageFromTimeData = (generateImageFromTimeData);
|
|
20908
|
-
|
|
20972
|
+
|
|
20909
20973
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/dynamicVolume/index.js
|
|
20910
20974
|
|
|
20911
20975
|
|
|
20912
20976
|
|
|
20913
20977
|
|
|
20914
|
-
|
|
20978
|
+
|
|
20915
20979
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/index.js
|
|
20916
20980
|
|
|
20917
20981
|
|
|
@@ -20941,7 +21005,8 @@ function generateImageFromTimeData(dynamicVolume, operation, frameNumbers) {
|
|
|
20941
21005
|
|
|
20942
21006
|
|
|
20943
21007
|
|
|
20944
|
-
|
|
21008
|
+
|
|
21009
|
+
|
|
20945
21010
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/annotations/annotationSelectionListener.js
|
|
20946
21011
|
|
|
20947
21012
|
|
|
@@ -20958,7 +21023,7 @@ function annotationSelectionListener(evt) {
|
|
|
20958
21023
|
});
|
|
20959
21024
|
}
|
|
20960
21025
|
/* harmony default export */ const annotations_annotationSelectionListener = (annotationSelectionListener);
|
|
20961
|
-
|
|
21026
|
+
|
|
20962
21027
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/annotations/annotationModifiedListener.js
|
|
20963
21028
|
|
|
20964
21029
|
|
|
@@ -20968,12 +21033,12 @@ function annotationModifiedListener(evt) {
|
|
|
20968
21033
|
utilities_triggerAnnotationRenderForViewportIds(renderingEngine, [viewportId]);
|
|
20969
21034
|
}
|
|
20970
21035
|
/* harmony default export */ const annotations_annotationModifiedListener = (annotationModifiedListener);
|
|
20971
|
-
|
|
21036
|
+
|
|
20972
21037
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/annotations/index.js
|
|
20973
21038
|
|
|
20974
21039
|
|
|
20975
21040
|
|
|
20976
|
-
|
|
21041
|
+
|
|
20977
21042
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventListeners/index.js
|
|
20978
21043
|
|
|
20979
21044
|
|
|
@@ -20982,7 +21047,7 @@ function annotationModifiedListener(evt) {
|
|
|
20982
21047
|
|
|
20983
21048
|
|
|
20984
21049
|
|
|
20985
|
-
|
|
21050
|
+
|
|
20986
21051
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/imageRenderedEventDispatcher.js
|
|
20987
21052
|
|
|
20988
21053
|
|
|
@@ -20999,7 +21064,7 @@ const imageRenderedEventDispatcher_disable = function (element) {
|
|
|
20999
21064
|
enable: imageRenderedEventDispatcher_enable,
|
|
21000
21065
|
disable: imageRenderedEventDispatcher_disable,
|
|
21001
21066
|
});
|
|
21002
|
-
|
|
21067
|
+
|
|
21003
21068
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/customCallbackHandler.js
|
|
21004
21069
|
|
|
21005
21070
|
|
|
@@ -21030,17 +21095,17 @@ function customCallbackHandler(handlerType, customFunction, evt) {
|
|
|
21030
21095
|
}
|
|
21031
21096
|
activeTool[customFunction](evt);
|
|
21032
21097
|
}
|
|
21033
|
-
|
|
21098
|
+
|
|
21034
21099
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseClick.js
|
|
21035
21100
|
|
|
21036
21101
|
const mouseClick = customCallbackHandler.bind(null, 'Mouse', 'mouseClickCallback');
|
|
21037
21102
|
/* harmony default export */ const mouseEventHandlers_mouseClick = (mouseClick);
|
|
21038
|
-
|
|
21103
|
+
|
|
21039
21104
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseDoubleClick.js
|
|
21040
21105
|
|
|
21041
21106
|
const mouseDoubleClick = customCallbackHandler.bind(null, 'Mouse', 'doubleClickCallback');
|
|
21042
21107
|
/* harmony default export */ const mouseEventHandlers_mouseDoubleClick = (mouseDoubleClick);
|
|
21043
|
-
|
|
21108
|
+
|
|
21044
21109
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/filterToolsWithMoveableHandles.js
|
|
21045
21110
|
function filterToolsWithMoveableHandles(element, ToolAndAnnotations, canvasCoords, interactionType = 'mouse') {
|
|
21046
21111
|
const proximity = interactionType === 'touch' ? 36 : 6;
|
|
@@ -21063,7 +21128,7 @@ function filterToolsWithMoveableHandles(element, ToolAndAnnotations, canvasCoord
|
|
|
21063
21128
|
});
|
|
21064
21129
|
return toolsWithMoveableHandles;
|
|
21065
21130
|
}
|
|
21066
|
-
|
|
21131
|
+
|
|
21067
21132
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/filterToolsWithAnnotationsForElement.js
|
|
21068
21133
|
|
|
21069
21134
|
function filterToolsWithAnnotationsForElement_filterToolsWithAnnotationsForElement(element, tools) {
|
|
@@ -21087,7 +21152,7 @@ function filterToolsWithAnnotationsForElement_filterToolsWithAnnotationsForEleme
|
|
|
21087
21152
|
}
|
|
21088
21153
|
return result;
|
|
21089
21154
|
}
|
|
21090
|
-
|
|
21155
|
+
|
|
21091
21156
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/filterMoveableAnnotationTools.js
|
|
21092
21157
|
function filterMoveableAnnotationTools(element, ToolAndAnnotations, canvasCoords, interactionType = 'mouse') {
|
|
21093
21158
|
const proximity = interactionType === 'touch' ? 36 : 6;
|
|
@@ -21109,7 +21174,7 @@ function filterMoveableAnnotationTools(element, ToolAndAnnotations, canvasCoords
|
|
|
21109
21174
|
});
|
|
21110
21175
|
return moveableAnnotationTools;
|
|
21111
21176
|
}
|
|
21112
|
-
|
|
21177
|
+
|
|
21113
21178
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/getMouseModifier.js
|
|
21114
21179
|
|
|
21115
21180
|
const getMouseModifierKey = (evt) => {
|
|
@@ -21138,7 +21203,7 @@ const getMouseModifierKey = (evt) => {
|
|
|
21138
21203
|
return undefined;
|
|
21139
21204
|
};
|
|
21140
21205
|
/* harmony default export */ const getMouseModifier = (getMouseModifierKey);
|
|
21141
|
-
|
|
21206
|
+
|
|
21142
21207
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/getActiveToolForMouseEvent.js
|
|
21143
21208
|
|
|
21144
21209
|
|
|
@@ -21169,7 +21234,7 @@ function getActiveToolForMouseEvent(evt) {
|
|
|
21169
21234
|
}
|
|
21170
21235
|
}
|
|
21171
21236
|
}
|
|
21172
|
-
|
|
21237
|
+
|
|
21173
21238
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/getToolsWithModesForMouseEvent.js
|
|
21174
21239
|
|
|
21175
21240
|
function getToolsWithModesForMouseEvent(evt, modesFilter, evtButton) {
|
|
@@ -21194,7 +21259,7 @@ function getToolsWithModesForMouseEvent(evt, modesFilter, evtButton) {
|
|
|
21194
21259
|
}
|
|
21195
21260
|
return enabledTools;
|
|
21196
21261
|
}
|
|
21197
|
-
|
|
21262
|
+
|
|
21198
21263
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseDown.js
|
|
21199
21264
|
|
|
21200
21265
|
|
|
@@ -21274,7 +21339,7 @@ function toggleAnnotationSelection(annotationUID, isMultiSelect = false) {
|
|
|
21274
21339
|
setAnnotationSelected(annotationUID, true, preserveSelected);
|
|
21275
21340
|
}
|
|
21276
21341
|
}
|
|
21277
|
-
|
|
21342
|
+
|
|
21278
21343
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseDownActivate.js
|
|
21279
21344
|
|
|
21280
21345
|
|
|
@@ -21295,7 +21360,7 @@ function mouseDownActivate(evt) {
|
|
|
21295
21360
|
setAnnotationSelected(annotation.annotationUID);
|
|
21296
21361
|
}
|
|
21297
21362
|
}
|
|
21298
|
-
|
|
21363
|
+
|
|
21299
21364
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseDrag.js
|
|
21300
21365
|
|
|
21301
21366
|
|
|
@@ -21310,7 +21375,7 @@ function mouseDrag(evt) {
|
|
|
21310
21375
|
}
|
|
21311
21376
|
activeTool.mouseDragCallback(evt);
|
|
21312
21377
|
}
|
|
21313
|
-
|
|
21378
|
+
|
|
21314
21379
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseMove.js
|
|
21315
21380
|
|
|
21316
21381
|
|
|
@@ -21349,17 +21414,17 @@ function mouseMove(evt) {
|
|
|
21349
21414
|
utilities_triggerAnnotationRender(element);
|
|
21350
21415
|
}
|
|
21351
21416
|
}
|
|
21352
|
-
|
|
21417
|
+
|
|
21353
21418
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseUp.js
|
|
21354
21419
|
|
|
21355
21420
|
const mouseUp = customCallbackHandler.bind(null, 'Mouse', 'mouseUpCallback');
|
|
21356
21421
|
/* harmony default export */ const mouseEventHandlers_mouseUp = (mouseUp);
|
|
21357
|
-
|
|
21422
|
+
|
|
21358
21423
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/mouseWheel.js
|
|
21359
21424
|
|
|
21360
21425
|
const mouseWheel = customCallbackHandler.bind(null, 'MouseWheel', 'mouseWheelCallback');
|
|
21361
21426
|
/* harmony default export */ const mouseEventHandlers_mouseWheel = (mouseWheel);
|
|
21362
|
-
|
|
21427
|
+
|
|
21363
21428
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseEventHandlers/index.js
|
|
21364
21429
|
|
|
21365
21430
|
|
|
@@ -21370,7 +21435,7 @@ const mouseWheel = customCallbackHandler.bind(null, 'MouseWheel', 'mouseWheelCal
|
|
|
21370
21435
|
|
|
21371
21436
|
|
|
21372
21437
|
|
|
21373
|
-
|
|
21438
|
+
|
|
21374
21439
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/mouseToolEventDispatcher.js
|
|
21375
21440
|
|
|
21376
21441
|
|
|
@@ -21399,7 +21464,7 @@ const mouseToolEventDispatcher = {
|
|
|
21399
21464
|
disable: mouseToolEventDispatcher_disable,
|
|
21400
21465
|
};
|
|
21401
21466
|
/* harmony default export */ const eventDispatchers_mouseToolEventDispatcher = (mouseToolEventDispatcher);
|
|
21402
|
-
|
|
21467
|
+
|
|
21403
21468
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/getActiveToolForKeyboardEvent.js
|
|
21404
21469
|
|
|
21405
21470
|
|
|
@@ -21427,7 +21492,7 @@ function getActiveToolForKeyboardEvent(evt) {
|
|
|
21427
21492
|
}
|
|
21428
21493
|
}
|
|
21429
21494
|
}
|
|
21430
|
-
|
|
21495
|
+
|
|
21431
21496
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/keyboardEventHandlers/keyDown.js
|
|
21432
21497
|
|
|
21433
21498
|
|
|
@@ -21443,7 +21508,7 @@ function keyDown(evt) {
|
|
|
21443
21508
|
toolGroup.setViewportsCursorByToolName(toolName);
|
|
21444
21509
|
}
|
|
21445
21510
|
}
|
|
21446
|
-
|
|
21511
|
+
|
|
21447
21512
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/keyboardEventHandlers/keyUp.js
|
|
21448
21513
|
|
|
21449
21514
|
|
|
@@ -21461,12 +21526,12 @@ function keyUp(evt) {
|
|
|
21461
21526
|
toolGroup.setViewportsCursorByToolName(toolName);
|
|
21462
21527
|
}
|
|
21463
21528
|
}
|
|
21464
|
-
|
|
21529
|
+
|
|
21465
21530
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/keyboardEventHandlers/index.js
|
|
21466
21531
|
|
|
21467
21532
|
|
|
21468
21533
|
|
|
21469
|
-
|
|
21534
|
+
|
|
21470
21535
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/keyboardToolEventDispatcher.js
|
|
21471
21536
|
|
|
21472
21537
|
|
|
@@ -21483,7 +21548,7 @@ const keyboardToolEventDispatcher = {
|
|
|
21483
21548
|
disable: keyboardToolEventDispatcher_disable,
|
|
21484
21549
|
};
|
|
21485
21550
|
/* harmony default export */ const eventDispatchers_keyboardToolEventDispatcher = (keyboardToolEventDispatcher);
|
|
21486
|
-
|
|
21551
|
+
|
|
21487
21552
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/cameraModifiedEventDispatcher.js
|
|
21488
21553
|
|
|
21489
21554
|
|
|
@@ -21511,7 +21576,7 @@ const cameraModifiedEventDispatcher_disable = function (element) {
|
|
|
21511
21576
|
enable: cameraModifiedEventDispatcher_enable,
|
|
21512
21577
|
disable: cameraModifiedEventDispatcher_disable,
|
|
21513
21578
|
});
|
|
21514
|
-
|
|
21579
|
+
|
|
21515
21580
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/imageSpacingCalibratedEventDispatcher.js
|
|
21516
21581
|
|
|
21517
21582
|
|
|
@@ -21539,7 +21604,7 @@ const imageSpacingCalibratedEventDispatcher_disable = function (element) {
|
|
|
21539
21604
|
enable: imageSpacingCalibratedEventDispatcher_enable,
|
|
21540
21605
|
disable: imageSpacingCalibratedEventDispatcher_disable,
|
|
21541
21606
|
});
|
|
21542
|
-
|
|
21607
|
+
|
|
21543
21608
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/getActiveToolForTouchEvent.js
|
|
21544
21609
|
|
|
21545
21610
|
|
|
@@ -21570,7 +21635,7 @@ function getActiveToolForTouchEvent(evt) {
|
|
|
21570
21635
|
}
|
|
21571
21636
|
}
|
|
21572
21637
|
}
|
|
21573
|
-
|
|
21638
|
+
|
|
21574
21639
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/shared/getToolsWithModesForTouchEvent.js
|
|
21575
21640
|
|
|
21576
21641
|
function getToolsWithModesForTouchEvent(evt, modesFilter, numTouchPoints) {
|
|
@@ -21595,7 +21660,7 @@ function getToolsWithModesForTouchEvent(evt, modesFilter, numTouchPoints) {
|
|
|
21595
21660
|
}
|
|
21596
21661
|
return enabledTools;
|
|
21597
21662
|
}
|
|
21598
|
-
|
|
21663
|
+
|
|
21599
21664
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/touchStart.js
|
|
21600
21665
|
|
|
21601
21666
|
|
|
@@ -21676,7 +21741,7 @@ function touchStart_toggleAnnotationSelection(annotationUID, isMultiSelect = fal
|
|
|
21676
21741
|
setAnnotationSelected(annotationUID, true, preserveSelected);
|
|
21677
21742
|
}
|
|
21678
21743
|
}
|
|
21679
|
-
|
|
21744
|
+
|
|
21680
21745
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/touchStartActivate.js
|
|
21681
21746
|
|
|
21682
21747
|
|
|
@@ -21697,7 +21762,7 @@ function touchStartActivate(evt) {
|
|
|
21697
21762
|
setAnnotationSelected(annotation.annotationUID);
|
|
21698
21763
|
}
|
|
21699
21764
|
}
|
|
21700
|
-
|
|
21765
|
+
|
|
21701
21766
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/touchDrag.js
|
|
21702
21767
|
|
|
21703
21768
|
|
|
@@ -21712,22 +21777,22 @@ function touchDrag(evt) {
|
|
|
21712
21777
|
}
|
|
21713
21778
|
activeTool.touchDragCallback(evt);
|
|
21714
21779
|
}
|
|
21715
|
-
|
|
21780
|
+
|
|
21716
21781
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/touchEnd.js
|
|
21717
21782
|
|
|
21718
21783
|
const touchEnd = customCallbackHandler.bind(null, 'Touch', 'touchEndCallback');
|
|
21719
21784
|
/* harmony default export */ const touchEventHandlers_touchEnd = (touchEnd);
|
|
21720
|
-
|
|
21785
|
+
|
|
21721
21786
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/touchTap.js
|
|
21722
21787
|
|
|
21723
21788
|
const touchTap = customCallbackHandler.bind(null, 'Touch', 'touchTapCallback');
|
|
21724
21789
|
/* harmony default export */ const touchEventHandlers_touchTap = (touchTap);
|
|
21725
|
-
|
|
21790
|
+
|
|
21726
21791
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/touchPress.js
|
|
21727
21792
|
|
|
21728
21793
|
const touchPress = customCallbackHandler.bind(null, 'Touch', 'touchPressCallback');
|
|
21729
21794
|
/* harmony default export */ const touchEventHandlers_touchPress = (touchPress);
|
|
21730
|
-
|
|
21795
|
+
|
|
21731
21796
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchEventHandlers/index.js
|
|
21732
21797
|
|
|
21733
21798
|
|
|
@@ -21736,7 +21801,7 @@ const touchPress = customCallbackHandler.bind(null, 'Touch', 'touchPressCallback
|
|
|
21736
21801
|
|
|
21737
21802
|
|
|
21738
21803
|
|
|
21739
|
-
|
|
21804
|
+
|
|
21740
21805
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/touchToolEventDispatcher.js
|
|
21741
21806
|
|
|
21742
21807
|
|
|
@@ -21760,7 +21825,7 @@ const touchToolEventDispatcher = {
|
|
|
21760
21825
|
disable: touchToolEventDispatcher_disable,
|
|
21761
21826
|
};
|
|
21762
21827
|
/* harmony default export */ const eventDispatchers_touchToolEventDispatcher = (touchToolEventDispatcher);
|
|
21763
|
-
|
|
21828
|
+
|
|
21764
21829
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/eventDispatchers/index.js
|
|
21765
21830
|
|
|
21766
21831
|
|
|
@@ -21769,7 +21834,7 @@ const touchToolEventDispatcher = {
|
|
|
21769
21834
|
|
|
21770
21835
|
|
|
21771
21836
|
|
|
21772
|
-
|
|
21837
|
+
|
|
21773
21838
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/addEnabledElement.js
|
|
21774
21839
|
|
|
21775
21840
|
|
|
@@ -21837,7 +21902,7 @@ function _setSvgNodeCache(element) {
|
|
|
21837
21902
|
function _appendChild(newNode, referenceNode) {
|
|
21838
21903
|
referenceNode.querySelector('div.viewport-element').appendChild(newNode);
|
|
21839
21904
|
}
|
|
21840
|
-
|
|
21905
|
+
|
|
21841
21906
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/getSynchronizersForViewport.js
|
|
21842
21907
|
|
|
21843
21908
|
function getSynchronizersForViewport(viewportId, renderingEngineId) {
|
|
@@ -21857,7 +21922,7 @@ function getSynchronizersForViewport(viewportId, renderingEngineId) {
|
|
|
21857
21922
|
return synchronizersFilteredByIds;
|
|
21858
21923
|
}
|
|
21859
21924
|
/* harmony default export */ const SynchronizerManager_getSynchronizersForViewport = (getSynchronizersForViewport);
|
|
21860
|
-
|
|
21925
|
+
|
|
21861
21926
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/getToolGroupForViewport.js
|
|
21862
21927
|
|
|
21863
21928
|
function getToolGroupForViewport(viewportId, renderingEngineId) {
|
|
@@ -21873,7 +21938,7 @@ function getToolGroupForViewport(viewportId, renderingEngineId) {
|
|
|
21873
21938
|
return toolGroupFilteredByIds[0];
|
|
21874
21939
|
}
|
|
21875
21940
|
/* harmony default export */ const ToolGroupManager_getToolGroupForViewport = (getToolGroupForViewport);
|
|
21876
|
-
|
|
21941
|
+
|
|
21877
21942
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/removeEnabledElement.js
|
|
21878
21943
|
|
|
21879
21944
|
|
|
@@ -21951,7 +22016,7 @@ const _removeEnabledElement = function (element) {
|
|
|
21951
22016
|
}
|
|
21952
22017
|
};
|
|
21953
22018
|
/* harmony default export */ const store_removeEnabledElement = (removeEnabledElement);
|
|
21954
|
-
|
|
22019
|
+
|
|
21955
22020
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/cancelActiveManipulations.js
|
|
21956
22021
|
|
|
21957
22022
|
|
|
@@ -21969,7 +22034,7 @@ function cancelActiveManipulations(element) {
|
|
|
21969
22034
|
}
|
|
21970
22035
|
}
|
|
21971
22036
|
}
|
|
21972
|
-
|
|
22037
|
+
|
|
21973
22038
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/Synchronizer.js
|
|
21974
22039
|
|
|
21975
22040
|
class Synchronizer {
|
|
@@ -22147,7 +22212,7 @@ function _getViewportElement(vp) {
|
|
|
22147
22212
|
return renderingEngine.getViewport(vp.viewportId).element;
|
|
22148
22213
|
}
|
|
22149
22214
|
/* harmony default export */ const SynchronizerManager_Synchronizer = (Synchronizer);
|
|
22150
|
-
|
|
22215
|
+
|
|
22151
22216
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/createSynchronizer.js
|
|
22152
22217
|
|
|
22153
22218
|
|
|
@@ -22161,7 +22226,7 @@ function createSynchronizer(synchronizerId, eventName, eventHandler) {
|
|
|
22161
22226
|
return synchronizer;
|
|
22162
22227
|
}
|
|
22163
22228
|
/* harmony default export */ const SynchronizerManager_createSynchronizer = (createSynchronizer);
|
|
22164
|
-
|
|
22229
|
+
|
|
22165
22230
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/destroy.js
|
|
22166
22231
|
|
|
22167
22232
|
function destroy() {
|
|
@@ -22171,21 +22236,21 @@ function destroy() {
|
|
|
22171
22236
|
}
|
|
22172
22237
|
}
|
|
22173
22238
|
/* harmony default export */ const SynchronizerManager_destroy = (destroy);
|
|
22174
|
-
|
|
22239
|
+
|
|
22175
22240
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/getSynchronizer.js
|
|
22176
22241
|
|
|
22177
22242
|
function getSynchronizer(synchronizerId) {
|
|
22178
22243
|
return state.synchronizers.find((s) => s.id === synchronizerId);
|
|
22179
22244
|
}
|
|
22180
22245
|
/* harmony default export */ const SynchronizerManager_getSynchronizer = (getSynchronizer);
|
|
22181
|
-
|
|
22246
|
+
|
|
22182
22247
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/getAllSynchronizers.js
|
|
22183
22248
|
|
|
22184
22249
|
function getAllSynchronizers() {
|
|
22185
22250
|
return state.synchronizers;
|
|
22186
22251
|
}
|
|
22187
22252
|
/* harmony default export */ const SynchronizerManager_getAllSynchronizers = (getAllSynchronizers);
|
|
22188
|
-
|
|
22253
|
+
|
|
22189
22254
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/destroySynchronizer.js
|
|
22190
22255
|
|
|
22191
22256
|
function destroySynchronizer(synchronizerId) {
|
|
@@ -22197,7 +22262,7 @@ function destroySynchronizer(synchronizerId) {
|
|
|
22197
22262
|
}
|
|
22198
22263
|
}
|
|
22199
22264
|
/* harmony default export */ const SynchronizerManager_destroySynchronizer = (destroySynchronizer);
|
|
22200
|
-
|
|
22265
|
+
|
|
22201
22266
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/SynchronizerManager/index.js
|
|
22202
22267
|
|
|
22203
22268
|
|
|
@@ -22206,7 +22271,7 @@ function destroySynchronizer(synchronizerId) {
|
|
|
22206
22271
|
|
|
22207
22272
|
|
|
22208
22273
|
|
|
22209
|
-
|
|
22274
|
+
|
|
22210
22275
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/index.js
|
|
22211
22276
|
|
|
22212
22277
|
|
|
@@ -22218,9 +22283,9 @@ function destroySynchronizer(synchronizerId) {
|
|
|
22218
22283
|
|
|
22219
22284
|
|
|
22220
22285
|
|
|
22221
|
-
|
|
22286
|
+
|
|
22222
22287
|
// EXTERNAL MODULE: ../../../node_modules/lodash.get/index.js
|
|
22223
|
-
var lodash_get = __webpack_require__(
|
|
22288
|
+
var lodash_get = __webpack_require__(20346);
|
|
22224
22289
|
var lodash_get_default = /*#__PURE__*/__webpack_require__.n(lodash_get);
|
|
22225
22290
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/ToolGroup.js
|
|
22226
22291
|
|
|
@@ -22564,7 +22629,7 @@ function hasSameBinding(binding1, binding2) {
|
|
|
22564
22629
|
}
|
|
22565
22630
|
return binding1.modifierKey === binding2.modifierKey;
|
|
22566
22631
|
}
|
|
22567
|
-
|
|
22632
|
+
|
|
22568
22633
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/createToolGroup.js
|
|
22569
22634
|
|
|
22570
22635
|
|
|
@@ -22579,7 +22644,7 @@ function createToolGroup(toolGroupId) {
|
|
|
22579
22644
|
return toolGroup;
|
|
22580
22645
|
}
|
|
22581
22646
|
/* harmony default export */ const ToolGroupManager_createToolGroup = (createToolGroup);
|
|
22582
|
-
|
|
22647
|
+
|
|
22583
22648
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/destroyToolGroup.js
|
|
22584
22649
|
|
|
22585
22650
|
|
|
@@ -22593,7 +22658,7 @@ function destroyToolGroup(toolGroupId) {
|
|
|
22593
22658
|
}
|
|
22594
22659
|
}
|
|
22595
22660
|
/* harmony default export */ const ToolGroupManager_destroyToolGroup = (destroyToolGroup);
|
|
22596
|
-
|
|
22661
|
+
|
|
22597
22662
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/destroy.js
|
|
22598
22663
|
|
|
22599
22664
|
|
|
@@ -22605,21 +22670,21 @@ function destroy_destroy() {
|
|
|
22605
22670
|
state.toolGroups = [];
|
|
22606
22671
|
}
|
|
22607
22672
|
/* harmony default export */ const ToolGroupManager_destroy = (destroy_destroy);
|
|
22608
|
-
|
|
22673
|
+
|
|
22609
22674
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/getToolGroup.js
|
|
22610
22675
|
|
|
22611
22676
|
function getToolGroup(toolGroupId) {
|
|
22612
22677
|
return state.toolGroups.find((s) => s.id === toolGroupId);
|
|
22613
22678
|
}
|
|
22614
22679
|
/* harmony default export */ const ToolGroupManager_getToolGroup = (getToolGroup);
|
|
22615
|
-
|
|
22680
|
+
|
|
22616
22681
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/getAllToolGroups.js
|
|
22617
22682
|
|
|
22618
22683
|
function getAllToolGroups() {
|
|
22619
22684
|
return state.toolGroups;
|
|
22620
22685
|
}
|
|
22621
22686
|
/* harmony default export */ const ToolGroupManager_getAllToolGroups = (getAllToolGroups);
|
|
22622
|
-
|
|
22687
|
+
|
|
22623
22688
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/getToolGroupsWithToolName.js
|
|
22624
22689
|
|
|
22625
22690
|
|
|
@@ -22641,7 +22706,7 @@ function getToolGroupsWithToolName(toolName) {
|
|
|
22641
22706
|
});
|
|
22642
22707
|
}
|
|
22643
22708
|
/* harmony default export */ const ToolGroupManager_getToolGroupsWithToolName = (getToolGroupsWithToolName);
|
|
22644
|
-
|
|
22709
|
+
|
|
22645
22710
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/index.js
|
|
22646
22711
|
|
|
22647
22712
|
|
|
@@ -22651,7 +22716,7 @@ function getToolGroupsWithToolName(toolName) {
|
|
|
22651
22716
|
|
|
22652
22717
|
|
|
22653
22718
|
|
|
22654
|
-
|
|
22719
|
+
|
|
22655
22720
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/helpers/state.js
|
|
22656
22721
|
|
|
22657
22722
|
|
|
@@ -22697,7 +22762,7 @@ function triggerAnnotationAddedForFOR(annotation) {
|
|
|
22697
22762
|
});
|
|
22698
22763
|
}
|
|
22699
22764
|
|
|
22700
|
-
|
|
22765
|
+
|
|
22701
22766
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/annotation/annotationState.js
|
|
22702
22767
|
|
|
22703
22768
|
|
|
@@ -22762,7 +22827,7 @@ function removeAllAnnotations() {
|
|
|
22762
22827
|
manager.removeAllAnnotations();
|
|
22763
22828
|
}
|
|
22764
22829
|
|
|
22765
|
-
|
|
22830
|
+
|
|
22766
22831
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/init.js
|
|
22767
22832
|
|
|
22768
22833
|
|
|
@@ -22825,11 +22890,11 @@ function _removeCornerstoneToolsEventListeners() {
|
|
|
22825
22890
|
esm.eventTarget.removeEventListener(enums_Events.SEGMENTATION_REPRESENTATION_REMOVED, segmentation_segmentationRepresentationRemovedEventListener);
|
|
22826
22891
|
}
|
|
22827
22892
|
/* harmony default export */ const esm_init = ((/* unused pure expression or super */ null && (init)));
|
|
22828
|
-
|
|
22893
|
+
|
|
22829
22894
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/constants/index.js
|
|
22830
22895
|
|
|
22831
22896
|
|
|
22832
|
-
|
|
22897
|
+
|
|
22833
22898
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/callbacks/cameraSyncCallback.js
|
|
22834
22899
|
|
|
22835
22900
|
function cameraSyncCallback(synchronizerInstance, sourceViewport, targetViewport, cameraModifiedEvent) {
|
|
@@ -22842,7 +22907,7 @@ function cameraSyncCallback(synchronizerInstance, sourceViewport, targetViewport
|
|
|
22842
22907
|
tViewport.setCamera(camera);
|
|
22843
22908
|
tViewport.render();
|
|
22844
22909
|
}
|
|
22845
|
-
|
|
22910
|
+
|
|
22846
22911
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/synchronizers/createCameraPositionSynchronizer.js
|
|
22847
22912
|
|
|
22848
22913
|
|
|
@@ -22852,7 +22917,7 @@ function createCameraPositionSynchronizer(synchronizerName) {
|
|
|
22852
22917
|
const cameraPositionSynchronizer = SynchronizerManager_createSynchronizer(synchronizerName, CAMERA_MODIFIED, cameraSyncCallback);
|
|
22853
22918
|
return cameraPositionSynchronizer;
|
|
22854
22919
|
}
|
|
22855
|
-
|
|
22920
|
+
|
|
22856
22921
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/callbacks/voiSyncCallback.js
|
|
22857
22922
|
|
|
22858
22923
|
function voiSyncCallback(synchronizerInstance, sourceViewport, targetViewport, voiModifiedEvent) {
|
|
@@ -22880,7 +22945,7 @@ function voiSyncCallback(synchronizerInstance, sourceViewport, targetViewport, v
|
|
|
22880
22945
|
}
|
|
22881
22946
|
tViewport.render();
|
|
22882
22947
|
}
|
|
22883
|
-
|
|
22948
|
+
|
|
22884
22949
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/synchronizers/createVOISynchronizer.js
|
|
22885
22950
|
|
|
22886
22951
|
|
|
@@ -22889,7 +22954,7 @@ function createVOISynchronizer(synchronizerName) {
|
|
|
22889
22954
|
const VOISynchronizer = SynchronizerManager_createSynchronizer(synchronizerName, esm.Enums.Events.VOI_MODIFIED, voiSyncCallback);
|
|
22890
22955
|
return VOISynchronizer;
|
|
22891
22956
|
}
|
|
22892
|
-
|
|
22957
|
+
|
|
22893
22958
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/callbacks/zoomPanSyncCallback.js
|
|
22894
22959
|
|
|
22895
22960
|
function zoomPanSyncCallback(synchronizerInstance, sourceViewport, targetViewport) {
|
|
@@ -22910,7 +22975,7 @@ function zoomPanSyncCallback(synchronizerInstance, sourceViewport, targetViewpor
|
|
|
22910
22975
|
}
|
|
22911
22976
|
tViewport.render();
|
|
22912
22977
|
}
|
|
22913
|
-
|
|
22978
|
+
|
|
22914
22979
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/synchronizers/createZoomPanSynchronizer.js
|
|
22915
22980
|
|
|
22916
22981
|
|
|
@@ -22920,7 +22985,7 @@ function createZoomPanSynchronizer(synchronizerName) {
|
|
|
22920
22985
|
const zoomPanSynchronizer = SynchronizerManager_createSynchronizer(synchronizerName, createZoomPanSynchronizer_CAMERA_MODIFIED, zoomPanSyncCallback);
|
|
22921
22986
|
return zoomPanSynchronizer;
|
|
22922
22987
|
}
|
|
22923
|
-
|
|
22988
|
+
|
|
22924
22989
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/callbacks/areViewportsCoplanar .js
|
|
22925
22990
|
|
|
22926
22991
|
function areViewportsCoplanar(viewport1, viewport2) {
|
|
@@ -22929,7 +22994,7 @@ function areViewportsCoplanar(viewport1, viewport2) {
|
|
|
22929
22994
|
const dotProducts = gl_matrix_esm/* vec3.dot */.R3.dot(viewPlaneNormal1, viewPlaneNormal2);
|
|
22930
22995
|
return Math.abs(dotProducts) > 0.9;
|
|
22931
22996
|
}
|
|
22932
|
-
|
|
22997
|
+
|
|
22933
22998
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/callbacks/stackImageSyncCallback.js
|
|
22934
22999
|
|
|
22935
23000
|
|
|
@@ -22992,7 +23057,7 @@ function _getClosestImageIdIndex(targetPoint, imageIds) {
|
|
|
22992
23057
|
index: -1,
|
|
22993
23058
|
});
|
|
22994
23059
|
}
|
|
22995
|
-
|
|
23060
|
+
|
|
22996
23061
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/synchronizers/createStackImageSynchronizer.js
|
|
22997
23062
|
|
|
22998
23063
|
|
|
@@ -23002,17 +23067,17 @@ function createStackImageSynchronizer(synchronizerName) {
|
|
|
23002
23067
|
const stackImageSynchronizer = SynchronizerManager_createSynchronizer(synchronizerName, STACK_NEW_IMAGE, stackImageSyncCallback);
|
|
23003
23068
|
return stackImageSynchronizer;
|
|
23004
23069
|
}
|
|
23005
|
-
|
|
23070
|
+
|
|
23006
23071
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/synchronizers/index.js
|
|
23007
23072
|
|
|
23008
23073
|
|
|
23009
23074
|
|
|
23010
23075
|
|
|
23011
23076
|
|
|
23012
|
-
|
|
23077
|
+
|
|
23013
23078
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/types/index.js
|
|
23014
23079
|
|
|
23015
|
-
|
|
23080
|
+
|
|
23016
23081
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js
|
|
23017
23082
|
|
|
23018
23083
|
|
|
@@ -23027,11 +23092,11 @@ function createStackImageSynchronizer(synchronizerName) {
|
|
|
23027
23092
|
|
|
23028
23093
|
|
|
23029
23094
|
|
|
23030
|
-
|
|
23095
|
+
|
|
23031
23096
|
|
|
23032
23097
|
/***/ }),
|
|
23033
23098
|
|
|
23034
|
-
/***/
|
|
23099
|
+
/***/ 20346:
|
|
23035
23100
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23036
23101
|
|
|
23037
23102
|
/**
|