@ohif/app 3.13.0-beta.5 → 3.13.0-beta.50
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/{1459.bundle.61caf834dbb820188bc4.js → 1459.bundle.447fced04e9eb826ccea.js} +5 -6
- package/dist/{147.bundle.37d627289453cb6c3937.js → 147.bundle.3c8fa1f478644636898a.js} +21 -45
- package/dist/{1608.bundle.0687c661f1c9edfb3b8a.js → 1608.bundle.c10d9aef452fe5a86d77.js} +12 -12
- package/dist/{1927.bundle.3050588e95f43cf57cdd.js → 1927.bundle.be67b3aafe238ca9f191.js} +27 -38
- package/dist/{1933.bundle.afeaf853f1b9bb471d09.js → 1933.bundle.989c660abd3c9cf9d37d.js} +32 -27
- package/dist/{2018.bundle.f94c5a365f20da582cce.js → 2018.bundle.ad78daec731a9cd3061b.js} +18 -19
- package/dist/{6409.bundle.b36048896cb11c8571fb.js → 2075.bundle.0e69a126a39539ff8e9a.js} +308 -237
- package/dist/{2108.bundle.e84aa8d858d8c4f2413e.js → 2108.bundle.aea8d3b39486dd5ab39e.js} +569 -558
- package/dist/{213.bundle.b03e90c6260533129e4a.js → 213.bundle.c53ca67d677314e27800.js} +3 -5
- package/dist/{2424.bundle.36b384fa160f62791af2.js → 2424.bundle.3ad6c94b80f643dda2e9.js} +3 -5
- package/dist/{2516.bundle.1ea0988d309a757bb6da.js → 2516.bundle.f62228e9a800de8d4b31.js} +6 -6
- package/dist/{2701.bundle.12bd01a80a9f8ea4cd94.js → 2701.bundle.28b3ca0e6ae5a13f78b3.js} +10 -10
- package/dist/{1730.bundle.9ccc50f800b3dce59bed.js → 3138.bundle.8cabd6dc7f6aae20779d.js} +14 -308
- package/dist/{3461.bundle.f63b5cb53237ed77e684.js → 3461.bundle.e0e61bb67919e2bbdba6.js} +126 -107
- package/dist/{4202.bundle.5a0f8e4004c5d8a68548.js → 4202.bundle.f11f02596e30a22d1105.js} +6 -6
- package/dist/{4019.bundle.83a604779f7da0101ced.js → 4287.bundle.b7840e7b94cbbc102236.js} +348 -237
- package/dist/{5462.bundle.21beddaca145b7465c72.js → 4406.bundle.573d234b4641d23cf8db.js} +1083 -1308
- package/dist/{1403.bundle.8b63385cd43188c65459.js → 4507.bundle.40e3bc456b8ff90303de.js} +10 -305
- package/dist/{3081.bundle.81ed137529d1fb98d456.js → 4688.bundle.9043e51f5214e6f7d5c8.js} +657 -382
- package/dist/{4819.bundle.2085e6422ae2249830c4.js → 4819.bundle.1cbda706e076fc03b4d3.js} +37 -37
- package/dist/{4775.bundle.308d5e29044a36b3039f.js → 5015.bundle.42c7ac268df2efcd84ef.js} +29 -333
- package/dist/{5028.bundle.af59f031d8564db81587.js → 5028.bundle.3bd4f0f0a040e37c61ee.js} +11 -13
- package/dist/{5261.bundle.6e1a017f8f1027557f5b.js → 5261.bundle.2655560097e9250eac44.js} +412 -345
- package/dist/{5457.bundle.59d61b8ad0daad3b8094.js → 5457.bundle.8055fa42869ed76af08e.js} +16 -23
- package/dist/{5485.bundle.238541403cdc7dd4ad60.js → 5485.bundle.9f197d434446190927d4.js} +20 -32
- package/dist/{5491.bundle.2e01dd7ad29e4cc01bc1.js → 5491.bundle.4866d2ecb20dd089e071.js} +54 -51
- package/dist/{5802.bundle.3bf5e6b3ab330a594a47.js → 5802.bundle.8b2c04396d68ba668af5.js} +77 -18
- package/dist/5802.css +1 -1
- package/dist/{5830.bundle.b073c265c4fcea1afff3.js → 5830.bundle.791019deddd536980a11.js} +3 -3
- package/dist/{5858.bundle.ff6b340cf7457db76a1a.js → 5858.bundle.466e58128de344ab53f3.js} +90 -86
- package/dist/{6027.bundle.6cab80c16ed182c98ef7.js → 6027.bundle.c85c418400c00aa5e9ce.js} +3 -5
- package/dist/{6354.bundle.c387737dc09c9cab4ff2.js → 6354.bundle.929febcf6d326e582e00.js} +151 -140
- package/dist/{6376.bundle.9cb74d7bc08476e2f1a7.js → 6376.bundle.839c708f2fc41e76ee58.js} +6 -6
- package/dist/{2842.bundle.860b9f10fcdd9656947a.js → 6386.bundle.e75a2f70039dfe42f935.js} +886 -2297
- package/dist/6939.bundle.41fbdef87597b5172ec6.js +3 -3
- package/dist/{7159.bundle.a5991a5d4f0dd8f1c95f.js → 7159.bundle.fb9df255868960f69765.js} +7 -5
- package/dist/{7190.bundle.e8f0193e0e06472f795c.js → 7190.bundle.6314b558746e394aeb0e.js} +40 -40
- package/dist/{732.bundle.6978ac30a1e36abf06db.js → 732.bundle.ea6f9d8504e37e01a208.js} +5 -13
- package/dist/{7431.bundle.b01791d10e6cf9f503b0.js → 7431.bundle.5e14641f2c71e852abe7.js} +28 -28
- package/dist/{4410.bundle.c5224cd7d6238a7d4660.js → 7537.bundle.1c612642a1e8a96179ed.js} +5180 -2219
- package/dist/{7639.bundle.b32630bff861ac1b8e89.js → 7639.bundle.fde819e5752815539eb7.js} +3 -5
- package/dist/7758.bundle.c8d106364298e7d288f0.js +3 -3
- package/dist/{8094.bundle.5c44190a325ac23e3e5c.js → 8094.bundle.148a66619607e37cbf19.js} +3 -4
- package/dist/{8305.bundle.0cbccd2240389ee9a4a4.js → 8305.bundle.4a7a9a8acab28482d33b.js} +69 -64
- package/dist/{6163.bundle.53852173360d1a4a1480.js → 8499.bundle.64e99c2adbdb9f655fd6.js} +7 -302
- package/dist/8499.css +2 -0
- package/dist/{85.bundle.62bab793d6689f8a1ec2.js → 85.bundle.0c25dfc0ad8abcf0cca1.js} +3 -5
- package/dist/{8558.bundle.80aa787d04cd852a2c00.js → 8558.bundle.40574cffdbd3f2cc01e1.js} +15 -309
- package/dist/{8583.bundle.ab0e069832ce2a6c9844.js → 8583.bundle.62e146265ee0b86f4e0d.js} +22 -25
- package/dist/{6347.bundle.784c48912700f281de1d.js → 8963.bundle.0f106869f9d0eb0bba03.js} +534 -570
- package/dist/{997.bundle.822b33e561263084e18c.js → 9039.bundle.6c84d903d5baaecf2f3a.js} +3817 -2912
- package/dist/{9195.bundle.8016f417b67b2eb1c1f4.js → 9195.bundle.4e23719eb6d6f0e3d48b.js} +239 -152
- package/dist/{7412.bundle.fab1742191b7fe937330.js → 9205.bundle.9a5f5dd04fd0831d9a4a.js} +5942 -3253
- package/dist/{3584.bundle.8cc0750425513433e9cc.js → 9567.bundle.be350438bed4e656f278.js} +3422 -2880
- package/dist/{9845.bundle.255e7c7f7a88193b4e47.js → 9845.bundle.36b3563ae1dba65b6b9a.js} +10 -10
- package/dist/{9862.bundle.3a8958a82c572015d25d.js → 9862.bundle.51a1e7030f6b635d9528.js} +8 -6
- package/dist/{9927.bundle.8dc1813e602296f01090.js → 9927.bundle.e4d958252895cefe717f.js} +4 -6
- package/dist/{app.bundle.a4ba14820ccf58a3956c.js → app.bundle.8c7d55bdef25097f8086.js} +94613 -92508
- package/dist/app.bundle.css +3 -3
- package/dist/{polySeg.bundle.a5aa9130b4191253c410.js → compute.bundle.ba3878791df68055b11d.js} +8 -20
- package/dist/{histogram-worker.bundle.d4e40a8018d2698b072e.js → histogram-worker.bundle.a2a50c4674d99c619ca7.js} +11 -23
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.c70cb95d164dc494e6dc.js → interpolation.bundle.53073c15cca1c5a41ae4.js} +14 -26
- package/dist/{compute.bundle.64280c7af19ff567465f.js → polySeg.bundle.70369a8c69b843375431.js} +10 -22
- package/dist/sw.js +1 -1
- package/package.json +23 -22
- package/dist/3343.bundle.d7578ce8f75d158c0bab.js +0 -297
- /package/dist/{1730.css → 3138.css} +0 -0
- /package/dist/{3343.css → 4972.css} +0 -0
- /package/dist/{6163.css → 7829.css} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[4287],{
|
|
3
3
|
|
|
4
|
-
/***/ 97181
|
|
5
|
-
|
|
4
|
+
/***/ 97181
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -13,10 +13,70 @@ function _getHash(annotationUID, drawingElementType, nodeUID) {
|
|
|
13
13
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_getHash);
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
/***/ }
|
|
16
|
+
/***/ },
|
|
17
17
|
|
|
18
|
-
/***/
|
|
19
|
-
|
|
18
|
+
/***/ 94021
|
|
19
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20
|
+
|
|
21
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
23
|
+
/* harmony export */ });
|
|
24
|
+
var Events;
|
|
25
|
+
(function (Events) {
|
|
26
|
+
Events["TOOL_ACTIVATED"] = "CORNERSTONE_TOOLS_TOOL_ACTIVATED";
|
|
27
|
+
Events["TOOLGROUP_VIEWPORT_ADDED"] = "CORNERSTONE_TOOLS_TOOLGROUP_VIEWPORT_ADDED";
|
|
28
|
+
Events["TOOLGROUP_VIEWPORT_REMOVED"] = "CORNERSTONE_TOOLS_TOOLGROUP_VIEWPORT_REMOVED";
|
|
29
|
+
Events["TOOL_MODE_CHANGED"] = "CORNERSTONE_TOOLS_TOOL_MODE_CHANGED";
|
|
30
|
+
Events["CROSSHAIR_TOOL_CENTER_CHANGED"] = "CORNERSTONE_TOOLS_CROSSHAIR_TOOL_CENTER_CHANGED";
|
|
31
|
+
Events["VOLUMECROPPINGCONTROL_TOOL_CHANGED"] = "CORNERSTONE_TOOLS_VOLUMECROPPINGCONTROL_TOOL_CHANGED";
|
|
32
|
+
Events["VOLUMECROPPING_TOOL_CHANGED"] = "CORNERSTONE_TOOLS_VOLUMECROPPING_TOOL_CHANGED";
|
|
33
|
+
Events["STACK_PREFETCH_COMPLETE"] = "CORNERSTONE_TOOLS_STACK_PREFETCH_COMPLETE";
|
|
34
|
+
Events["ANNOTATION_ADDED"] = "CORNERSTONE_TOOLS_ANNOTATION_ADDED";
|
|
35
|
+
Events["ANNOTATION_COMPLETED"] = "CORNERSTONE_TOOLS_ANNOTATION_COMPLETED";
|
|
36
|
+
Events["ANNOTATION_MODIFIED"] = "CORNERSTONE_TOOLS_ANNOTATION_MODIFIED";
|
|
37
|
+
Events["ANNOTATION_REMOVED"] = "CORNERSTONE_TOOLS_ANNOTATION_REMOVED";
|
|
38
|
+
Events["ANNOTATION_SELECTION_CHANGE"] = "CORNERSTONE_TOOLS_ANNOTATION_SELECTION_CHANGE";
|
|
39
|
+
Events["ANNOTATION_LOCK_CHANGE"] = "CORNERSTONE_TOOLS_ANNOTATION_LOCK_CHANGE";
|
|
40
|
+
Events["ANNOTATION_VISIBILITY_CHANGE"] = "CORNERSTONE_TOOLS_ANNOTATION_VISIBILITY_CHANGE";
|
|
41
|
+
Events["ANNOTATION_RENDERED"] = "CORNERSTONE_TOOLS_ANNOTATION_RENDERED";
|
|
42
|
+
Events["ANNOTATION_CUT_MERGE_PROCESS_COMPLETED"] = "CORNERSTONE_TOOLS_ANNOTATION_CUT_MERGE_PROCESS_COMPLETED";
|
|
43
|
+
Events["ANNOTATION_INTERPOLATION_PROCESS_COMPLETED"] = "CORNERSTONE_TOOLS_ANNOTATION_INTERPOLATION_PROCESS_COMPLETED";
|
|
44
|
+
Events["INTERPOLATED_ANNOTATIONS_REMOVED"] = "CORNERSTONE_TOOLS_INTERPOLATED_ANNOTATIONS_REMOVED";
|
|
45
|
+
Events["SEGMENTATION_MODIFIED"] = "CORNERSTONE_TOOLS_SEGMENTATION_MODIFIED";
|
|
46
|
+
Events["SEGMENTATION_RENDERED"] = "CORNERSTONE_TOOLS_SEGMENTATION_RENDERED";
|
|
47
|
+
Events["SEGMENTATION_REPRESENTATION_ADDED"] = "CORNERSTONE_TOOLS_SEGMENTATION_REPRESENTATION_ADDED";
|
|
48
|
+
Events["SEGMENTATION_ADDED"] = "CORNERSTONE_TOOLS_SEGMENTATION_ADDED";
|
|
49
|
+
Events["SEGMENTATION_REPRESENTATION_MODIFIED"] = "CORNERSTONE_TOOLS_SEGMENTATION_REPRESENTATION_MODIFIED";
|
|
50
|
+
Events["SEGMENTATION_REMOVED"] = "CORNERSTONE_TOOLS_SEGMENTATION_REMOVED";
|
|
51
|
+
Events["SEGMENTATION_REPRESENTATION_REMOVED"] = "CORNERSTONE_TOOLS_SEGMENTATION_REPRESENTATION_REMOVED";
|
|
52
|
+
Events["SEGMENTATION_DATA_MODIFIED"] = "CORNERSTONE_TOOLS_SEGMENTATION_DATA_MODIFIED";
|
|
53
|
+
Events["HISTORY_UNDO"] = "CORNERSTONE_TOOLS_HISTORY_UNDO";
|
|
54
|
+
Events["HISTORY_REDO"] = "CORNERSTONE_TOOLS_HISTORY_REDO";
|
|
55
|
+
Events["KEY_DOWN"] = "CORNERSTONE_TOOLS_KEY_DOWN";
|
|
56
|
+
Events["KEY_UP"] = "CORNERSTONE_TOOLS_KEY_UP";
|
|
57
|
+
Events["MOUSE_DOWN"] = "CORNERSTONE_TOOLS_MOUSE_DOWN";
|
|
58
|
+
Events["MOUSE_UP"] = "CORNERSTONE_TOOLS_MOUSE_UP";
|
|
59
|
+
Events["MOUSE_DOWN_ACTIVATE"] = "CORNERSTONE_TOOLS_MOUSE_DOWN_ACTIVATE";
|
|
60
|
+
Events["MOUSE_DRAG"] = "CORNERSTONE_TOOLS_MOUSE_DRAG";
|
|
61
|
+
Events["MOUSE_MOVE"] = "CORNERSTONE_TOOLS_MOUSE_MOVE";
|
|
62
|
+
Events["MOUSE_CLICK"] = "CORNERSTONE_TOOLS_MOUSE_CLICK";
|
|
63
|
+
Events["MOUSE_DOUBLE_CLICK"] = "CORNERSTONE_TOOLS_MOUSE_DOUBLE_CLICK";
|
|
64
|
+
Events["MOUSE_WHEEL"] = "CORNERSTONE_TOOLS_MOUSE_WHEEL";
|
|
65
|
+
Events["TOUCH_START"] = "CORNERSTONE_TOOLS_TOUCH_START";
|
|
66
|
+
Events["TOUCH_START_ACTIVATE"] = "CORNERSTONE_TOOLS_TOUCH_START_ACTIVATE";
|
|
67
|
+
Events["TOUCH_PRESS"] = "CORNERSTONE_TOOLS_TOUCH_PRESS";
|
|
68
|
+
Events["TOUCH_DRAG"] = "CORNERSTONE_TOOLS_TOUCH_DRAG";
|
|
69
|
+
Events["TOUCH_END"] = "CORNERSTONE_TOOLS_TOUCH_END";
|
|
70
|
+
Events["TOUCH_TAP"] = "CORNERSTONE_TOOLS_TAP";
|
|
71
|
+
Events["TOUCH_SWIPE"] = "CORNERSTONE_TOOLS_SWIPE";
|
|
72
|
+
})(Events || (Events = {}));
|
|
73
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Events);
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/***/ },
|
|
77
|
+
|
|
78
|
+
/***/ 76910
|
|
79
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20
80
|
|
|
21
81
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22
82
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -56,10 +116,10 @@ const getMouseModifierKey = (evt) => {
|
|
|
56
116
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getMouseModifierKey);
|
|
57
117
|
|
|
58
118
|
|
|
59
|
-
/***/ }
|
|
119
|
+
/***/ },
|
|
60
120
|
|
|
61
|
-
/***/ 97
|
|
62
|
-
|
|
121
|
+
/***/ 97
|
|
122
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
63
123
|
|
|
64
124
|
|
|
65
125
|
// EXPORTS
|
|
@@ -123,10 +183,10 @@ function resetAnnotationManager() {
|
|
|
123
183
|
}
|
|
124
184
|
|
|
125
185
|
|
|
126
|
-
/***/ }
|
|
186
|
+
/***/ },
|
|
127
187
|
|
|
128
|
-
/***/ 75419
|
|
129
|
-
|
|
188
|
+
/***/ 75419
|
|
189
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
130
190
|
|
|
131
191
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
132
192
|
/* harmony export */ R: () => (/* binding */ triggerSegmentationAdded)
|
|
@@ -143,10 +203,10 @@ function triggerSegmentationAdded(segmentationId) {
|
|
|
143
203
|
}
|
|
144
204
|
|
|
145
205
|
|
|
146
|
-
/***/ }
|
|
206
|
+
/***/ },
|
|
147
207
|
|
|
148
|
-
/***/ 9726
|
|
149
|
-
|
|
208
|
+
/***/ 9726
|
|
209
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
150
210
|
|
|
151
211
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
152
212
|
/* harmony export */ G: () => (/* binding */ triggerSegmentationModified)
|
|
@@ -163,10 +223,10 @@ function triggerSegmentationModified(segmentationId) {
|
|
|
163
223
|
}
|
|
164
224
|
|
|
165
225
|
|
|
166
|
-
/***/ }
|
|
226
|
+
/***/ },
|
|
167
227
|
|
|
168
|
-
/***/ 1485
|
|
169
|
-
|
|
228
|
+
/***/ 1485
|
|
229
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
170
230
|
|
|
171
231
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
172
232
|
/* harmony export */ B: () => (/* binding */ triggerSegmentationRemoved)
|
|
@@ -183,10 +243,10 @@ function triggerSegmentationRemoved(segmentationId) {
|
|
|
183
243
|
}
|
|
184
244
|
|
|
185
245
|
|
|
186
|
-
/***/ }
|
|
246
|
+
/***/ },
|
|
187
247
|
|
|
188
|
-
/***/ 44951
|
|
189
|
-
|
|
248
|
+
/***/ 44951
|
|
249
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
190
250
|
|
|
191
251
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
192
252
|
/* harmony export */ r: () => (/* binding */ triggerSegmentationRepresentationModified)
|
|
@@ -205,10 +265,10 @@ function triggerSegmentationRepresentationModified(viewportId, segmentationId, t
|
|
|
205
265
|
}
|
|
206
266
|
|
|
207
267
|
|
|
208
|
-
/***/ }
|
|
268
|
+
/***/ },
|
|
209
269
|
|
|
210
|
-
/***/ 65290
|
|
211
|
-
|
|
270
|
+
/***/ 65290
|
|
271
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
212
272
|
|
|
213
273
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
214
274
|
/* harmony export */ O: () => (/* binding */ triggerSegmentationRepresentationRemoved)
|
|
@@ -227,10 +287,10 @@ function triggerSegmentationRepresentationRemoved(viewportId, segmentationId, ty
|
|
|
227
287
|
}
|
|
228
288
|
|
|
229
289
|
|
|
230
|
-
/***/ }
|
|
290
|
+
/***/ },
|
|
231
291
|
|
|
232
|
-
/***/ 33283
|
|
233
|
-
|
|
292
|
+
/***/ 33283
|
|
293
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
234
294
|
|
|
235
295
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
236
296
|
/* harmony export */ T: () => (/* binding */ getSegmentation)
|
|
@@ -243,10 +303,10 @@ function getSegmentation(segmentationId) {
|
|
|
243
303
|
}
|
|
244
304
|
|
|
245
305
|
|
|
246
|
-
/***/ }
|
|
306
|
+
/***/ },
|
|
247
307
|
|
|
248
|
-
/***/ 47098
|
|
249
|
-
|
|
308
|
+
/***/ 47098
|
|
309
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
250
310
|
|
|
251
311
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
252
312
|
/* harmony export */ s: () => (/* binding */ internalGetHiddenSegmentIndices)
|
|
@@ -268,11 +328,13 @@ function internalGetHiddenSegmentIndices(viewportId, specifier) {
|
|
|
268
328
|
}
|
|
269
329
|
|
|
270
330
|
|
|
271
|
-
/***/ }
|
|
331
|
+
/***/ },
|
|
272
332
|
|
|
273
|
-
/***/ 9711
|
|
274
|
-
|
|
333
|
+
/***/ 9711
|
|
334
|
+
(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
275
335
|
|
|
336
|
+
/* unused harmony import specifier */ var Enums;
|
|
337
|
+
/* unused harmony import specifier */ var validatePublicLabelmap;
|
|
276
338
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29857);
|
|
277
339
|
/* harmony import */ var _utilities_segmentation_validateLabelmap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21345);
|
|
278
340
|
|
|
@@ -297,43 +359,10 @@ function validateSegmentationInput(segmentationInputArray) {
|
|
|
297
359
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (validateSegmentationInput)));
|
|
298
360
|
|
|
299
361
|
|
|
300
|
-
/***/ }
|
|
301
|
-
|
|
302
|
-
/***/ 88029:
|
|
303
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
304
|
-
|
|
305
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
307
|
-
/* harmony export */ });
|
|
308
|
-
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85204);
|
|
309
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29857);
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
const MODES = [_enums__WEBPACK_IMPORTED_MODULE_1__.ToolModes.Active, _enums__WEBPACK_IMPORTED_MODULE_1__.ToolModes.Passive, _enums__WEBPACK_IMPORTED_MODULE_1__.ToolModes.Enabled];
|
|
313
|
-
function getToolGroupsWithToolName(toolName) {
|
|
314
|
-
return _state__WEBPACK_IMPORTED_MODULE_0__/* .state */ .wk.toolGroups.filter(({ toolOptions }) => {
|
|
315
|
-
const toolGroupToolNames = Object.keys(toolOptions);
|
|
316
|
-
for (let i = 0; i < toolGroupToolNames.length; i++) {
|
|
317
|
-
if (toolName !== toolGroupToolNames[i]) {
|
|
318
|
-
continue;
|
|
319
|
-
}
|
|
320
|
-
if (!toolOptions[toolName]) {
|
|
321
|
-
continue;
|
|
322
|
-
}
|
|
323
|
-
if (MODES.includes(toolOptions[toolName].mode)) {
|
|
324
|
-
return true;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return false;
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getToolGroupsWithToolName);
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
/***/ }),
|
|
362
|
+
/***/ },
|
|
334
363
|
|
|
335
|
-
/***/ 57999
|
|
336
|
-
|
|
364
|
+
/***/ 57999
|
|
365
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
337
366
|
|
|
338
367
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
339
368
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -343,7 +372,7 @@ function getToolGroupsWithToolName(toolName) {
|
|
|
343
372
|
/* harmony import */ var _store_state__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85204);
|
|
344
373
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29857);
|
|
345
374
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7001);
|
|
346
|
-
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
375
|
+
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18153);
|
|
347
376
|
/* harmony import */ var _types_ContourAnnotation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93126);
|
|
348
377
|
/* harmony import */ var _utilities_planarFreehandROITool_smoothPoints__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(42797);
|
|
349
378
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(58640);
|
|
@@ -611,10 +640,10 @@ function registerClosedContourEditLoop(toolInstance) {
|
|
|
611
640
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerClosedContourEditLoop);
|
|
612
641
|
|
|
613
642
|
|
|
614
|
-
/***/ }
|
|
643
|
+
/***/ },
|
|
615
644
|
|
|
616
|
-
/***/ 55927
|
|
617
|
-
|
|
645
|
+
/***/ 55927
|
|
646
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
618
647
|
|
|
619
648
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
620
649
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -629,7 +658,7 @@ function registerClosedContourEditLoop(toolInstance) {
|
|
|
629
658
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58640);
|
|
630
659
|
/* harmony import */ var _stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(44049);
|
|
631
660
|
/* harmony import */ var _findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5403);
|
|
632
|
-
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
661
|
+
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(18153);
|
|
633
662
|
/* harmony import */ var _stateManagement_annotation_annotationState__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(82056);
|
|
634
663
|
/* harmony import */ var _types_ContourAnnotation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(93126);
|
|
635
664
|
|
|
@@ -765,7 +794,7 @@ function completeDrawClosedContour(element, options) {
|
|
|
765
794
|
if (this.haltDrawing(element, canvasPoints)) {
|
|
766
795
|
return false;
|
|
767
796
|
}
|
|
768
|
-
const { annotation, viewportIdsToRender } = this.commonData;
|
|
797
|
+
const { annotation, viewportIdsToRender, movingTextBox } = this.commonData;
|
|
769
798
|
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__.getEnabledElement)(element);
|
|
770
799
|
const { viewport } = enabledElement;
|
|
771
800
|
addCanvasPointsToArray(element, canvasPoints, canvasPoints[0], this.commonData);
|
|
@@ -779,7 +808,7 @@ function completeDrawClosedContour(element, options) {
|
|
|
779
808
|
targetWindingDirection: _types_ContourAnnotation__WEBPACK_IMPORTED_MODULE_12__/* .ContourWindingDirection */ .W.Clockwise,
|
|
780
809
|
}, viewport);
|
|
781
810
|
const { textBox } = annotation.data.handles;
|
|
782
|
-
if (!textBox?.hasMoved) {
|
|
811
|
+
if (!textBox?.hasMoved && !movingTextBox) {
|
|
783
812
|
(0,_stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_8__.triggerContourAnnotationCompleted)(annotation, contourHoleProcessingEnabled);
|
|
784
813
|
}
|
|
785
814
|
this.isDrawing = false;
|
|
@@ -811,7 +840,7 @@ function completeDrawOpenContour(element, options) {
|
|
|
811
840
|
if (this.haltDrawing(element, canvasPoints)) {
|
|
812
841
|
return false;
|
|
813
842
|
}
|
|
814
|
-
const { annotation, viewportIdsToRender } = this.commonData;
|
|
843
|
+
const { annotation, viewportIdsToRender, movingTextBox } = this.commonData;
|
|
815
844
|
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__.getEnabledElement)(element);
|
|
816
845
|
const { viewport } = enabledElement;
|
|
817
846
|
const updatedPoints = (0,_utilities_planarFreehandROITool_smoothPoints__WEBPACK_IMPORTED_MODULE_5__/* .shouldSmooth */ .Q)(this.configuration, annotation)
|
|
@@ -827,12 +856,14 @@ function completeDrawOpenContour(element, options) {
|
|
|
827
856
|
worldPoints[0],
|
|
828
857
|
worldPoints[worldPoints.length - 1],
|
|
829
858
|
];
|
|
830
|
-
if (annotation.data.isOpenUShapeContour
|
|
831
|
-
|
|
832
|
-
annotation.data.
|
|
833
|
-
(0,_findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(canvasPoints, viewport);
|
|
859
|
+
if (!annotation.data.isOpenUShapeContour &&
|
|
860
|
+
this.configuration?.openUShapeContour) {
|
|
861
|
+
annotation.data.isOpenUShapeContour = this.configuration.openUShapeContour;
|
|
834
862
|
}
|
|
835
|
-
if (
|
|
863
|
+
if (annotation.data.isOpenUShapeContour) {
|
|
864
|
+
annotation.data.openUShapeContourVectorToPeak = (0,_findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_9__/* .resolveVectorToPeak */ .aV)(canvasPoints, viewport, annotation.data.isOpenUShapeContour);
|
|
865
|
+
}
|
|
866
|
+
if (!textBox.hasMoved && !movingTextBox) {
|
|
836
867
|
(0,_stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_8__.triggerContourAnnotationCompleted)(annotation, contourHoleProcessingEnabled);
|
|
837
868
|
}
|
|
838
869
|
this.isDrawing = false;
|
|
@@ -926,16 +957,16 @@ function registerDrawLoop(toolInstance) {
|
|
|
926
957
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerDrawLoop);
|
|
927
958
|
|
|
928
959
|
|
|
929
|
-
/***/ }
|
|
960
|
+
/***/ },
|
|
930
961
|
|
|
931
|
-
/***/ 92400
|
|
932
|
-
|
|
962
|
+
/***/ 92400
|
|
963
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
933
964
|
|
|
934
965
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
935
966
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
936
967
|
/* harmony export */ });
|
|
937
968
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3823);
|
|
938
|
-
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
969
|
+
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18153);
|
|
939
970
|
|
|
940
971
|
|
|
941
972
|
const { addCanvasPointsToArray, getFirstLineSegmentIntersectionIndexes } = _utilities_math__WEBPACK_IMPORTED_MODULE_1__.polyline;
|
|
@@ -1084,15 +1115,16 @@ function registerEditLoopCommon(toolInstance) {
|
|
|
1084
1115
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerEditLoopCommon);
|
|
1085
1116
|
|
|
1086
1117
|
|
|
1087
|
-
/***/ }
|
|
1118
|
+
/***/ },
|
|
1088
1119
|
|
|
1089
|
-
/***/ 5403
|
|
1090
|
-
|
|
1120
|
+
/***/ 5403
|
|
1121
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1091
1122
|
|
|
1092
1123
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1093
|
-
/* harmony export */
|
|
1094
|
-
/* harmony export */
|
|
1124
|
+
/* harmony export */ J1: () => (/* binding */ resolveVectorToPeakOnRender),
|
|
1125
|
+
/* harmony export */ aV: () => (/* binding */ resolveVectorToPeak)
|
|
1095
1126
|
/* harmony export */ });
|
|
1127
|
+
/* unused harmony export default */
|
|
1096
1128
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3823);
|
|
1097
1129
|
|
|
1098
1130
|
function findOpenUShapedContourVectorToPeak(canvasPoints, viewport) {
|
|
@@ -1128,17 +1160,75 @@ function findOpenUShapedContourVectorToPeak(canvasPoints, viewport) {
|
|
|
1128
1160
|
const toFurthestWorld = toFurthest.map(viewport.canvasToWorld);
|
|
1129
1161
|
return toFurthestWorld;
|
|
1130
1162
|
}
|
|
1131
|
-
function
|
|
1163
|
+
function resolveVectorToPeak(canvasPoints, viewport, variant) {
|
|
1164
|
+
if (variant === 'orthogonalT') {
|
|
1165
|
+
return findOpenUShapedContourVectorToPeakOrthogonal(canvasPoints, viewport);
|
|
1166
|
+
}
|
|
1167
|
+
if (variant === 'lineSegment') {
|
|
1168
|
+
return null;
|
|
1169
|
+
}
|
|
1170
|
+
if (variant) {
|
|
1171
|
+
return findOpenUShapedContourVectorToPeak(canvasPoints, viewport);
|
|
1172
|
+
}
|
|
1173
|
+
return null;
|
|
1174
|
+
}
|
|
1175
|
+
function resolveVectorToPeakOnRender(enabledElement, annotation) {
|
|
1132
1176
|
const { viewport } = enabledElement;
|
|
1133
1177
|
const canvasPoints = annotation.data.contour.polyline.map(viewport.worldToCanvas);
|
|
1134
|
-
return
|
|
1178
|
+
return resolveVectorToPeak(canvasPoints, viewport, annotation.data.isOpenUShapeContour);
|
|
1179
|
+
}
|
|
1180
|
+
function findOpenUShapedContourVectorToPeakOrthogonal(canvasPoints, viewport) {
|
|
1181
|
+
const first = canvasPoints[0];
|
|
1182
|
+
const last = canvasPoints[canvasPoints.length - 1];
|
|
1183
|
+
const firstToLastUnitVector = gl_matrix__WEBPACK_IMPORTED_MODULE_0__/* .vec2.sub */ .Zc.sub(gl_matrix__WEBPACK_IMPORTED_MODULE_0__/* .vec2.create */ .Zc.create(), last, first);
|
|
1184
|
+
gl_matrix__WEBPACK_IMPORTED_MODULE_0__/* .vec2.normalize */ .Zc.normalize(firstToLastUnitVector, firstToLastUnitVector);
|
|
1185
|
+
const chordDir = [
|
|
1186
|
+
firstToLastUnitVector[0],
|
|
1187
|
+
firstToLastUnitVector[1],
|
|
1188
|
+
];
|
|
1189
|
+
const centerOfFirstToLast = [
|
|
1190
|
+
(first[0] + last[0]) / 2,
|
|
1191
|
+
(first[1] + last[1]) / 2,
|
|
1192
|
+
];
|
|
1193
|
+
const delta = gl_matrix__WEBPACK_IMPORTED_MODULE_0__/* .vec2.create */ .Zc.create();
|
|
1194
|
+
let prevDp = null;
|
|
1195
|
+
let prevPoint = null;
|
|
1196
|
+
let orthogonalPoint = null;
|
|
1197
|
+
for (const p of canvasPoints) {
|
|
1198
|
+
gl_matrix__WEBPACK_IMPORTED_MODULE_0__/* .vec2.sub */ .Zc.sub(delta, p, centerOfFirstToLast);
|
|
1199
|
+
const dp = gl_matrix__WEBPACK_IMPORTED_MODULE_0__/* .vec2.dot */ .Zc.dot(chordDir, delta);
|
|
1200
|
+
if (prevDp !== null && prevDp * dp < 0) {
|
|
1201
|
+
const t = Math.abs(prevDp) / (Math.abs(prevDp) + Math.abs(dp));
|
|
1202
|
+
orthogonalPoint = [
|
|
1203
|
+
prevPoint[0] + t * (p[0] - prevPoint[0]),
|
|
1204
|
+
prevPoint[1] + t * (p[1] - prevPoint[1]),
|
|
1205
|
+
];
|
|
1206
|
+
break;
|
|
1207
|
+
}
|
|
1208
|
+
if (Math.abs(dp) < 1e-10) {
|
|
1209
|
+
orthogonalPoint = p;
|
|
1210
|
+
break;
|
|
1211
|
+
}
|
|
1212
|
+
prevDp = dp;
|
|
1213
|
+
prevPoint = p;
|
|
1214
|
+
}
|
|
1215
|
+
if (!orthogonalPoint) {
|
|
1216
|
+
console.warn('No orthogonal intersection found for open U-shaped contour');
|
|
1217
|
+
return null;
|
|
1218
|
+
}
|
|
1219
|
+
const toOrthogonal = [
|
|
1220
|
+
orthogonalPoint,
|
|
1221
|
+
centerOfFirstToLast,
|
|
1222
|
+
];
|
|
1223
|
+
const toOrthogonalWorld = toOrthogonal.map(viewport.canvasToWorld);
|
|
1224
|
+
return toOrthogonalWorld;
|
|
1135
1225
|
}
|
|
1136
1226
|
|
|
1137
1227
|
|
|
1138
|
-
/***/ }
|
|
1228
|
+
/***/ },
|
|
1139
1229
|
|
|
1140
|
-
/***/ 69855
|
|
1141
|
-
|
|
1230
|
+
/***/ 69855
|
|
1231
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1142
1232
|
|
|
1143
1233
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1144
1234
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -1148,7 +1238,7 @@ function findOpenUShapedContourVectorToPeakOnRender(enabledElement, annotation)
|
|
|
1148
1238
|
/* harmony import */ var _store_state__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85204);
|
|
1149
1239
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29857);
|
|
1150
1240
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7001);
|
|
1151
|
-
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
1241
|
+
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18153);
|
|
1152
1242
|
/* harmony import */ var _utilities_planarFreehandROITool_smoothPoints__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42797);
|
|
1153
1243
|
/* harmony import */ var _utilities_triggerAnnotationRenderForViewportIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58640);
|
|
1154
1244
|
/* harmony import */ var _utilities_contours_updateContourPolyline__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(72967);
|
|
@@ -1445,8 +1535,7 @@ function completeOpenContourEdit(element) {
|
|
|
1445
1535
|
worldPoints[worldPoints.length - 1],
|
|
1446
1536
|
];
|
|
1447
1537
|
if (annotation.data.isOpenUShapeContour) {
|
|
1448
|
-
annotation.data.openUShapeContourVectorToPeak =
|
|
1449
|
-
(0,_findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(fusedCanvasPoints, viewport);
|
|
1538
|
+
annotation.data.openUShapeContourVectorToPeak = (0,_findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_9__/* .resolveVectorToPeak */ .aV)(fusedCanvasPoints, viewport, annotation.data.isOpenUShapeContour);
|
|
1450
1539
|
}
|
|
1451
1540
|
(0,_stateManagement_annotation_helpers_state__WEBPACK_IMPORTED_MODULE_10__.triggerAnnotationModified)(annotation, element);
|
|
1452
1541
|
}
|
|
@@ -1485,10 +1574,10 @@ function registerOpenContourEditLoop(toolInstance) {
|
|
|
1485
1574
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerOpenContourEditLoop);
|
|
1486
1575
|
|
|
1487
1576
|
|
|
1488
|
-
/***/ }
|
|
1577
|
+
/***/ },
|
|
1489
1578
|
|
|
1490
|
-
/***/ 70734
|
|
1491
|
-
|
|
1579
|
+
/***/ 70734
|
|
1580
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1492
1581
|
|
|
1493
1582
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1494
1583
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -1497,7 +1586,7 @@ function registerOpenContourEditLoop(toolInstance) {
|
|
|
1497
1586
|
/* harmony import */ var _store_state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85204);
|
|
1498
1587
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29857);
|
|
1499
1588
|
/* harmony import */ var _cursors_elementCursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7001);
|
|
1500
|
-
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
1589
|
+
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18153);
|
|
1501
1590
|
|
|
1502
1591
|
|
|
1503
1592
|
|
|
@@ -1548,16 +1637,16 @@ function registerOpenContourEndEditLoop(toolInstance) {
|
|
|
1548
1637
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerOpenContourEndEditLoop);
|
|
1549
1638
|
|
|
1550
1639
|
|
|
1551
|
-
/***/ }
|
|
1640
|
+
/***/ },
|
|
1552
1641
|
|
|
1553
|
-
/***/ 58161
|
|
1554
|
-
|
|
1642
|
+
/***/ 58161
|
|
1643
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1555
1644
|
|
|
1556
1645
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1557
1646
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1558
1647
|
/* harmony export */ });
|
|
1559
1648
|
/* harmony import */ var _drawingSvg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74347);
|
|
1560
|
-
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1649
|
+
/* harmony import */ var _utilities_math__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18153);
|
|
1561
1650
|
/* harmony import */ var _findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5403);
|
|
1562
1651
|
/* harmony import */ var _utilities_contours_getContourHolesDataCanvas__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15451);
|
|
1563
1652
|
|
|
@@ -1582,7 +1671,9 @@ function _getRenderingOptions(enabledElement, annotation) {
|
|
|
1582
1671
|
width: lineWidth,
|
|
1583
1672
|
lineDash,
|
|
1584
1673
|
fillColor,
|
|
1585
|
-
fillOpacity
|
|
1674
|
+
fillOpacity: this.configuration?.fillOpacity !== undefined
|
|
1675
|
+
? this.configuration.fillOpacity
|
|
1676
|
+
: fillOpacity,
|
|
1586
1677
|
closePath: isClosedContour,
|
|
1587
1678
|
};
|
|
1588
1679
|
return options;
|
|
@@ -1596,7 +1687,9 @@ function renderContour(enabledElement, svgDrawingHelper, annotation) {
|
|
|
1596
1687
|
}
|
|
1597
1688
|
else {
|
|
1598
1689
|
if (annotation.data.isOpenUShapeContour) {
|
|
1599
|
-
|
|
1690
|
+
if (annotation.data.isOpenUShapeContour !== 'lineSegment') {
|
|
1691
|
+
calculateUShapeContourVectorToPeakIfNotPresent(enabledElement, annotation);
|
|
1692
|
+
}
|
|
1600
1693
|
this.renderOpenUShapedContour(enabledElement, svgDrawingHelper, annotation);
|
|
1601
1694
|
}
|
|
1602
1695
|
else {
|
|
@@ -1606,8 +1699,7 @@ function renderContour(enabledElement, svgDrawingHelper, annotation) {
|
|
|
1606
1699
|
}
|
|
1607
1700
|
function calculateUShapeContourVectorToPeakIfNotPresent(enabledElement, annotation) {
|
|
1608
1701
|
if (!annotation.data.openUShapeContourVectorToPeak) {
|
|
1609
|
-
annotation.data.openUShapeContourVectorToPeak =
|
|
1610
|
-
(0,_findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_2__/* .findOpenUShapedContourVectorToPeakOnRender */ .h)(enabledElement, annotation);
|
|
1702
|
+
annotation.data.openUShapeContourVectorToPeak = (0,_findOpenUShapedContourVectorToPeak__WEBPACK_IMPORTED_MODULE_2__/* .resolveVectorToPeakOnRender */ .J1)(enabledElement, annotation);
|
|
1611
1703
|
}
|
|
1612
1704
|
}
|
|
1613
1705
|
function renderClosedContour(enabledElement, svgDrawingHelper, annotation) {
|
|
@@ -1659,15 +1751,12 @@ function renderOpenUShapedContour(enabledElement, svgDrawingHelper, annotation)
|
|
|
1659
1751
|
const { openUShapeContourVectorToPeak } = annotation.data;
|
|
1660
1752
|
const { polyline } = annotation.data.contour;
|
|
1661
1753
|
this.renderOpenContour(enabledElement, svgDrawingHelper, annotation);
|
|
1662
|
-
|
|
1754
|
+
const isLineSegmentOnly = annotation.data.isOpenUShapeContour === 'lineSegment';
|
|
1755
|
+
if (!isLineSegmentOnly && !openUShapeContourVectorToPeak) {
|
|
1663
1756
|
return;
|
|
1664
1757
|
}
|
|
1665
1758
|
const firstCanvasPoint = viewport.worldToCanvas(polyline[0]);
|
|
1666
1759
|
const lastCanvasPoint = viewport.worldToCanvas(polyline[polyline.length - 1]);
|
|
1667
|
-
const openUShapeContourVectorToPeakCanvas = [
|
|
1668
|
-
viewport.worldToCanvas(openUShapeContourVectorToPeak[0]),
|
|
1669
|
-
viewport.worldToCanvas(openUShapeContourVectorToPeak[1]),
|
|
1670
|
-
];
|
|
1671
1760
|
const options = this._getRenderingOptions(enabledElement, annotation);
|
|
1672
1761
|
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_0__.drawPolyline)(svgDrawingHelper, annotation.annotationUID, 'first-to-last', [firstCanvasPoint, lastCanvasPoint], {
|
|
1673
1762
|
color: options.color,
|
|
@@ -1675,15 +1764,31 @@ function renderOpenUShapedContour(enabledElement, svgDrawingHelper, annotation)
|
|
|
1675
1764
|
closePath: false,
|
|
1676
1765
|
lineDash: '2,2',
|
|
1677
1766
|
});
|
|
1678
|
-
(
|
|
1679
|
-
openUShapeContourVectorToPeakCanvas[
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1767
|
+
if (!isLineSegmentOnly) {
|
|
1768
|
+
const openUShapeContourVectorToPeakCanvas = [
|
|
1769
|
+
viewport.worldToCanvas(openUShapeContourVectorToPeak[0]),
|
|
1770
|
+
viewport.worldToCanvas(openUShapeContourVectorToPeak[1]),
|
|
1771
|
+
];
|
|
1772
|
+
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_0__.drawPolyline)(svgDrawingHelper, annotation.annotationUID, 'midpoint-to-open-contour', [
|
|
1773
|
+
openUShapeContourVectorToPeakCanvas[0],
|
|
1774
|
+
openUShapeContourVectorToPeakCanvas[1],
|
|
1775
|
+
], {
|
|
1776
|
+
color: options.color,
|
|
1777
|
+
width: options.width,
|
|
1778
|
+
closePath: false,
|
|
1779
|
+
lineDash: '2,2',
|
|
1780
|
+
});
|
|
1781
|
+
}
|
|
1782
|
+
if (options.fillOpacity > 0) {
|
|
1783
|
+
const canvasPolyline = polyline.map((worldPos) => viewport.worldToCanvas(worldPos));
|
|
1784
|
+
(0,_drawingSvg__WEBPACK_IMPORTED_MODULE_0__.drawPath)(svgDrawingHelper, annotation.annotationUID, 'u-shape-fill', [[...canvasPolyline, firstCanvasPoint]], {
|
|
1785
|
+
color: options.fillColor || options.color,
|
|
1786
|
+
fillColor: options.fillColor || options.color,
|
|
1787
|
+
fillOpacity: options.fillOpacity,
|
|
1788
|
+
closePath: true,
|
|
1789
|
+
width: 0,
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1687
1792
|
}
|
|
1688
1793
|
function renderContourBeingDrawn(enabledElement, svgDrawingHelper, annotation) {
|
|
1689
1794
|
const options = this._getRenderingOptions(enabledElement, annotation);
|
|
@@ -1778,10 +1883,10 @@ function registerRenderMethods(toolInstance) {
|
|
|
1778
1883
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerRenderMethods);
|
|
1779
1884
|
|
|
1780
1885
|
|
|
1781
|
-
/***/ }
|
|
1886
|
+
/***/ },
|
|
1782
1887
|
|
|
1783
|
-
/***/ 36320
|
|
1784
|
-
|
|
1888
|
+
/***/ 36320
|
|
1889
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1785
1890
|
|
|
1786
1891
|
|
|
1787
1892
|
// EXPORTS
|
|
@@ -1952,8 +2057,8 @@ var InterpolationManager = __webpack_require__(27740);
|
|
|
1952
2057
|
var contourSegmentation = __webpack_require__(56534);
|
|
1953
2058
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/utilities/triggerAnnotationRenderForToolGroupIds.js
|
|
1954
2059
|
var triggerAnnotationRenderForToolGroupIds = __webpack_require__(94779);
|
|
1955
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/index.js +
|
|
1956
|
-
var ToolGroupManager = __webpack_require__(
|
|
2060
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/store/ToolGroupManager/index.js + 7 modules
|
|
2061
|
+
var ToolGroupManager = __webpack_require__(7754);
|
|
1957
2062
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/getSegmentationRepresentation.js
|
|
1958
2063
|
var getSegmentationRepresentation = __webpack_require__(93210);
|
|
1959
2064
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/getActiveSegmentation.js
|
|
@@ -2137,10 +2242,10 @@ class ContourSegmentationBaseTool extends ContourBaseTool {
|
|
|
2137
2242
|
|
|
2138
2243
|
|
|
2139
2244
|
|
|
2140
|
-
/***/ }
|
|
2245
|
+
/***/ },
|
|
2141
2246
|
|
|
2142
|
-
/***/ 67772
|
|
2143
|
-
|
|
2247
|
+
/***/ 67772
|
|
2248
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2144
2249
|
|
|
2145
2250
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2146
2251
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -2167,10 +2272,10 @@ function getDefaultContourStyle() {
|
|
|
2167
2272
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getDefaultContourStyle);
|
|
2168
2273
|
|
|
2169
2274
|
|
|
2170
|
-
/***/ }
|
|
2275
|
+
/***/ },
|
|
2171
2276
|
|
|
2172
|
-
/***/ 22384
|
|
2173
|
-
|
|
2277
|
+
/***/ 22384
|
|
2278
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2174
2279
|
|
|
2175
2280
|
|
|
2176
2281
|
// EXPORTS
|
|
@@ -2192,9 +2297,13 @@ var contourSegmentation = __webpack_require__(56534);
|
|
|
2192
2297
|
var CellArray = __webpack_require__(32461);
|
|
2193
2298
|
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/Core/Points.js
|
|
2194
2299
|
var Points = __webpack_require__(74973);
|
|
2195
|
-
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/DataModel/PolyData.js +
|
|
2196
|
-
var PolyData = __webpack_require__(
|
|
2300
|
+
// EXTERNAL MODULE: ../../../node_modules/@kitware/vtk.js/Common/DataModel/PolyData.js + 7 modules
|
|
2301
|
+
var PolyData = __webpack_require__(27480);
|
|
2197
2302
|
;// ../../../node_modules/@cornerstonejs/tools/dist/esm/tools/displayTools/Contour/contourHandler/utils.js
|
|
2303
|
+
/* unused harmony import specifier */ var Enums;
|
|
2304
|
+
/* unused harmony import specifier */ var vtkCellArray;
|
|
2305
|
+
/* unused harmony import specifier */ var vtkPoints;
|
|
2306
|
+
/* unused harmony import specifier */ var vtkPolyData;
|
|
2198
2307
|
|
|
2199
2308
|
|
|
2200
2309
|
|
|
@@ -2320,11 +2429,13 @@ function addContourSetsToElement(viewport, geometryIds, contourRepresentation) {
|
|
|
2320
2429
|
|
|
2321
2430
|
|
|
2322
2431
|
|
|
2323
|
-
/***/ }
|
|
2432
|
+
/***/ },
|
|
2324
2433
|
|
|
2325
|
-
/***/ 87420
|
|
2326
|
-
|
|
2434
|
+
/***/ 87420
|
|
2435
|
+
(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
2327
2436
|
|
|
2437
|
+
/* unused harmony import specifier */ var getSegmentation;
|
|
2438
|
+
/* unused harmony import specifier */ var removeAnnotation;
|
|
2328
2439
|
/* harmony import */ var _stateManagement_segmentation_getSegmentation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33283);
|
|
2329
2440
|
/* harmony import */ var _stateManagement__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6802);
|
|
2330
2441
|
|
|
@@ -2341,10 +2452,10 @@ function removeContourFromElement(viewportId, segmentationId, removeFromCache =
|
|
|
2341
2452
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (removeContourFromElement)));
|
|
2342
2453
|
|
|
2343
2454
|
|
|
2344
|
-
/***/ }
|
|
2455
|
+
/***/ },
|
|
2345
2456
|
|
|
2346
|
-
/***/ 63597
|
|
2347
|
-
|
|
2457
|
+
/***/ 63597
|
|
2458
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2348
2459
|
|
|
2349
2460
|
|
|
2350
2461
|
// EXPORTS
|
|
@@ -2601,10 +2712,10 @@ async function _handleMissingVolume(labelMapData) {
|
|
|
2601
2712
|
/* harmony default export */ const Labelmap_addLabelmapToElement = (addLabelmapToElement);
|
|
2602
2713
|
|
|
2603
2714
|
|
|
2604
|
-
/***/ }
|
|
2715
|
+
/***/ },
|
|
2605
2716
|
|
|
2606
|
-
/***/ 53486
|
|
2607
|
-
|
|
2717
|
+
/***/ 53486
|
|
2718
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2608
2719
|
|
|
2609
2720
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2610
2721
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -2628,10 +2739,10 @@ function getDefaultLabelmapStyle() {
|
|
|
2628
2739
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getDefaultLabelmapStyle);
|
|
2629
2740
|
|
|
2630
2741
|
|
|
2631
|
-
/***/ }
|
|
2742
|
+
/***/ },
|
|
2632
2743
|
|
|
2633
|
-
/***/ 88234
|
|
2634
|
-
|
|
2744
|
+
/***/ 88234
|
|
2745
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2635
2746
|
|
|
2636
2747
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2637
2748
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -2648,10 +2759,10 @@ function removeLabelmapFromElement(element, segmentationId) {
|
|
|
2648
2759
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (removeLabelmapFromElement);
|
|
2649
2760
|
|
|
2650
2761
|
|
|
2651
|
-
/***/ }
|
|
2762
|
+
/***/ },
|
|
2652
2763
|
|
|
2653
|
-
/***/ 18796
|
|
2654
|
-
|
|
2764
|
+
/***/ 18796
|
|
2765
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2655
2766
|
|
|
2656
2767
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2657
2768
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -2659,7 +2770,7 @@ function removeLabelmapFromElement(element, segmentationId) {
|
|
|
2659
2770
|
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15327);
|
|
2660
2771
|
/* harmony import */ var _kitware_vtk_js_Rendering_Core_Mapper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81418);
|
|
2661
2772
|
/* harmony import */ var _kitware_vtk_js_Rendering_Core_Actor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44404);
|
|
2662
|
-
/* harmony import */ var _kitware_vtk_js_Common_DataModel_PolyData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
2773
|
+
/* harmony import */ var _kitware_vtk_js_Common_DataModel_PolyData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27480);
|
|
2663
2774
|
/* harmony import */ var _kitware_vtk_js_Common_Core_CellArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32461);
|
|
2664
2775
|
/* harmony import */ var _stateManagement_segmentation_helpers_getSegmentationActor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(59452);
|
|
2665
2776
|
|
|
@@ -2728,10 +2839,10 @@ function addOrUpdateSurfaceToElement(viewport, surface, segmentationId) {
|
|
|
2728
2839
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addOrUpdateSurfaceToElement);
|
|
2729
2840
|
|
|
2730
2841
|
|
|
2731
|
-
/***/ }
|
|
2842
|
+
/***/ },
|
|
2732
2843
|
|
|
2733
|
-
/***/ 20552
|
|
2734
|
-
|
|
2844
|
+
/***/ 20552
|
|
2845
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2735
2846
|
|
|
2736
2847
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2737
2848
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -2750,10 +2861,10 @@ function removeSurfaceFromElement(element, segmentationId) {
|
|
|
2750
2861
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (removeSurfaceFromElement);
|
|
2751
2862
|
|
|
2752
2863
|
|
|
2753
|
-
/***/ }
|
|
2864
|
+
/***/ },
|
|
2754
2865
|
|
|
2755
|
-
/***/ 55887
|
|
2756
|
-
|
|
2866
|
+
/***/ 55887
|
|
2867
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2757
2868
|
|
|
2758
2869
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2759
2870
|
/* harmony export */ A: () => (/* binding */ BrushStrategy)
|
|
@@ -2916,10 +3027,10 @@ function addSingletonMethod(name, isInitialized = true) {
|
|
|
2916
3027
|
}
|
|
2917
3028
|
|
|
2918
3029
|
|
|
2919
|
-
/***/ }
|
|
3030
|
+
/***/ },
|
|
2920
3031
|
|
|
2921
|
-
/***/ 64664
|
|
2922
|
-
|
|
3032
|
+
/***/ 64664
|
|
3033
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2923
3034
|
|
|
2924
3035
|
|
|
2925
3036
|
// EXPORTS
|
|
@@ -3511,10 +3622,10 @@ var drawingSvg = __webpack_require__(74347);
|
|
|
3511
3622
|
});
|
|
3512
3623
|
|
|
3513
3624
|
|
|
3514
|
-
/***/ }
|
|
3625
|
+
/***/ },
|
|
3515
3626
|
|
|
3516
|
-
/***/ 33852
|
|
3517
|
-
|
|
3627
|
+
/***/ 33852
|
|
3628
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3518
3629
|
|
|
3519
3630
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3520
3631
|
/* harmony export */ r: () => (/* binding */ eraseInsideCircle)
|
|
@@ -3530,10 +3641,10 @@ const eraseInsideCircle = ERASE_CIRCLE_STRATEGY.strategyFunction;
|
|
|
3530
3641
|
|
|
3531
3642
|
|
|
3532
3643
|
|
|
3533
|
-
/***/ }
|
|
3644
|
+
/***/ },
|
|
3534
3645
|
|
|
3535
|
-
/***/ 1989
|
|
3536
|
-
|
|
3646
|
+
/***/ 1989
|
|
3647
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3537
3648
|
|
|
3538
3649
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3539
3650
|
/* harmony export */ _: () => (/* binding */ eraseInsideSphere)
|
|
@@ -3549,10 +3660,10 @@ const eraseInsideSphere = ERASE_SPHERE_STRATEGY.strategyFunction;
|
|
|
3549
3660
|
|
|
3550
3661
|
|
|
3551
3662
|
|
|
3552
|
-
/***/ }
|
|
3663
|
+
/***/ },
|
|
3553
3664
|
|
|
3554
|
-
/***/ 17492
|
|
3555
|
-
|
|
3665
|
+
/***/ 17492
|
|
3666
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3556
3667
|
|
|
3557
3668
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3558
3669
|
/* harmony export */ Jq: () => (/* binding */ fillInsideSphere),
|
|
@@ -3676,10 +3787,10 @@ function fillOutsideSphere() {
|
|
|
3676
3787
|
|
|
3677
3788
|
|
|
3678
3789
|
|
|
3679
|
-
/***/ }
|
|
3790
|
+
/***/ },
|
|
3680
3791
|
|
|
3681
|
-
/***/ 109
|
|
3682
|
-
|
|
3792
|
+
/***/ 109
|
|
3793
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3683
3794
|
|
|
3684
3795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3685
3796
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -3726,10 +3837,10 @@ function getContourImageSequence(imageId, metadataProvider) {
|
|
|
3726
3837
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RectangleROIStartEndThreshold);
|
|
3727
3838
|
|
|
3728
3839
|
|
|
3729
|
-
/***/ }
|
|
3840
|
+
/***/ },
|
|
3730
3841
|
|
|
3731
|
-
/***/ 55421
|
|
3732
|
-
|
|
3842
|
+
/***/ 55421
|
|
3843
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3733
3844
|
|
|
3734
3845
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3735
3846
|
/* harmony export */ A: () => (/* binding */ getInterpolationData)
|
|
@@ -3784,10 +3895,10 @@ function getInterpolationData(viewportData, filterParams = []) {
|
|
|
3784
3895
|
}
|
|
3785
3896
|
|
|
3786
3897
|
|
|
3787
|
-
/***/ }
|
|
3898
|
+
/***/ },
|
|
3788
3899
|
|
|
3789
|
-
/***/ 51893
|
|
3790
|
-
|
|
3900
|
+
/***/ 51893
|
|
3901
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3791
3902
|
|
|
3792
3903
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3793
3904
|
/* harmony export */ A: () => (/* binding */ getInterpolationDataCollection)
|
|
@@ -3809,10 +3920,10 @@ function getInterpolationDataCollection(viewportData, filterParams) {
|
|
|
3809
3920
|
}
|
|
3810
3921
|
|
|
3811
3922
|
|
|
3812
|
-
/***/ }
|
|
3923
|
+
/***/ },
|
|
3813
3924
|
|
|
3814
|
-
/***/ 73816
|
|
3815
|
-
|
|
3925
|
+
/***/ 73816
|
|
3926
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3816
3927
|
|
|
3817
3928
|
|
|
3818
3929
|
// EXPORTS
|
|
@@ -4502,10 +4613,10 @@ function _generateClosedContour(points) {
|
|
|
4502
4613
|
/* harmony default export */ const interpolation_interpolate = (interpolate);
|
|
4503
4614
|
|
|
4504
4615
|
|
|
4505
|
-
/***/ }
|
|
4616
|
+
/***/ },
|
|
4506
4617
|
|
|
4507
|
-
/***/ 69013
|
|
4508
|
-
|
|
4618
|
+
/***/ 69013
|
|
4619
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4509
4620
|
|
|
4510
4621
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4511
4622
|
/* harmony export */ B: () => (/* binding */ InstanceBasicStatsCalculator),
|
|
@@ -4750,10 +4861,10 @@ class InstanceBasicStatsCalculator extends _Calculator__WEBPACK_IMPORTED_MODULE_
|
|
|
4750
4861
|
}
|
|
4751
4862
|
|
|
4752
4863
|
|
|
4753
|
-
/***/ }
|
|
4864
|
+
/***/ },
|
|
4754
4865
|
|
|
4755
|
-
/***/ 86978
|
|
4756
|
-
|
|
4866
|
+
/***/ 86978
|
|
4867
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4757
4868
|
|
|
4758
4869
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4759
4870
|
/* harmony export */ A: () => (/* binding */ distanceToPoint)
|
|
@@ -4768,10 +4879,10 @@ function distanceToPoint(lineStart, lineEnd, point) {
|
|
|
4768
4879
|
}
|
|
4769
4880
|
|
|
4770
4881
|
|
|
4771
|
-
/***/ }
|
|
4882
|
+
/***/ },
|
|
4772
4883
|
|
|
4773
|
-
/***/ 81205
|
|
4774
|
-
|
|
4884
|
+
/***/ 81205
|
|
4885
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4775
4886
|
|
|
4776
4887
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4777
4888
|
/* harmony export */ A: () => (/* binding */ intersectLine)
|
|
@@ -4829,10 +4940,10 @@ function intersectLine(line1Start, line1End, line2Start, line2End, infinite = fa
|
|
|
4829
4940
|
}
|
|
4830
4941
|
|
|
4831
4942
|
|
|
4832
|
-
/***/ }
|
|
4943
|
+
/***/ },
|
|
4833
4944
|
|
|
4834
|
-
/***/ 87105
|
|
4835
|
-
|
|
4945
|
+
/***/ 87105
|
|
4946
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4836
4947
|
|
|
4837
4948
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4838
4949
|
/* harmony export */ A: () => (/* binding */ distanceToPoint)
|
|
@@ -4874,10 +4985,10 @@ function distanceToPoint(rect, point) {
|
|
|
4874
4985
|
}
|
|
4875
4986
|
|
|
4876
4987
|
|
|
4877
|
-
/***/ }
|
|
4988
|
+
/***/ },
|
|
4878
4989
|
|
|
4879
|
-
/***/ 94418
|
|
4880
|
-
|
|
4990
|
+
/***/ 94418
|
|
4991
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4881
4992
|
|
|
4882
4993
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4883
4994
|
/* harmony export */ A: () => (/* binding */ filterAnnotationsForDisplay)
|
|
@@ -4912,10 +5023,10 @@ function filterAnnotationsForDisplay(viewport, annotations, filterOptions = {})
|
|
|
4912
5023
|
}
|
|
4913
5024
|
|
|
4914
5025
|
|
|
4915
|
-
/***/ }
|
|
5026
|
+
/***/ },
|
|
4916
5027
|
|
|
4917
|
-
/***/ 40770
|
|
4918
|
-
|
|
5028
|
+
/***/ 40770
|
|
5029
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4919
5030
|
|
|
4920
5031
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4921
5032
|
/* harmony export */ W: () => (/* binding */ filterAnnotationsWithinSamePlane)
|
|
@@ -4950,10 +5061,10 @@ function filterAnnotationsWithinSamePlane(annotations, camera) {
|
|
|
4950
5061
|
}
|
|
4951
5062
|
|
|
4952
5063
|
|
|
4953
|
-
/***/ }
|
|
5064
|
+
/***/ },
|
|
4954
5065
|
|
|
4955
|
-
/***/ 36374
|
|
4956
|
-
|
|
5066
|
+
/***/ 36374
|
|
5067
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4957
5068
|
|
|
4958
5069
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4959
5070
|
/* harmony export */ A: () => (/* binding */ filterAnnotationsWithinSlice)
|
|
@@ -5036,10 +5147,10 @@ function filterAnnotationsWithinSlice(annotations, camera, spacingInNormalDirect
|
|
|
5036
5147
|
}
|
|
5037
5148
|
|
|
5038
5149
|
|
|
5039
|
-
/***/ }
|
|
5150
|
+
/***/ },
|
|
5040
5151
|
|
|
5041
|
-
/***/ 57063
|
|
5042
|
-
|
|
5152
|
+
/***/ 57063
|
|
5153
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5043
5154
|
|
|
5044
5155
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5045
5156
|
/* harmony export */ R: () => (/* binding */ getPointInLineOfSightWithCriteria),
|
|
@@ -5097,10 +5208,10 @@ const _inBounds = function (point, bounds) {
|
|
|
5097
5208
|
};
|
|
5098
5209
|
|
|
5099
5210
|
|
|
5100
|
-
/***/ }
|
|
5211
|
+
/***/ },
|
|
5101
5212
|
|
|
5102
|
-
/***/ 35489
|
|
5103
|
-
|
|
5213
|
+
/***/ 35489
|
|
5214
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5104
5215
|
|
|
5105
5216
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5106
5217
|
/* harmony export */ A: () => (/* binding */ getWorldWidthAndHeightFromCorners)
|
|
@@ -5126,10 +5237,10 @@ function getWorldWidthAndHeightFromCorners(viewPlaneNormal, viewUp, topLeftWorld
|
|
|
5126
5237
|
}
|
|
5127
5238
|
|
|
5128
5239
|
|
|
5129
|
-
/***/ }
|
|
5240
|
+
/***/ },
|
|
5130
5241
|
|
|
5131
|
-
/***/ 62514
|
|
5132
|
-
|
|
5242
|
+
/***/ 62514
|
|
5243
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5133
5244
|
|
|
5134
5245
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5135
5246
|
/* harmony export */ A: () => (/* binding */ getWorldWidthAndHeightFromTwoPoints)
|
|
@@ -5155,10 +5266,10 @@ function getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1,
|
|
|
5155
5266
|
}
|
|
5156
5267
|
|
|
5157
5268
|
|
|
5158
|
-
/***/ }
|
|
5269
|
+
/***/ },
|
|
5159
5270
|
|
|
5160
|
-
/***/ 30698
|
|
5161
|
-
|
|
5271
|
+
/***/ 30698
|
|
5272
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5162
5273
|
|
|
5163
5274
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5164
5275
|
/* harmony export */ Y: () => (/* binding */ isPlaneIntersectingAABB)
|
|
@@ -5193,10 +5304,10 @@ const isPlaneIntersectingAABB = (origin, normal, minX, minY, minZ, maxX, maxY, m
|
|
|
5193
5304
|
};
|
|
5194
5305
|
|
|
5195
5306
|
|
|
5196
|
-
/***/ }
|
|
5307
|
+
/***/ },
|
|
5197
5308
|
|
|
5198
|
-
/***/ 30269
|
|
5199
|
-
|
|
5309
|
+
/***/ 30269
|
|
5310
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5200
5311
|
|
|
5201
5312
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5202
5313
|
/* harmony export */ H: () => (/* binding */ interpolatePoints)
|
|
@@ -5227,16 +5338,16 @@ function interpolatePoints(originalPoints, knotsIndexes) {
|
|
|
5227
5338
|
}
|
|
5228
5339
|
|
|
5229
5340
|
|
|
5230
|
-
/***/ }
|
|
5341
|
+
/***/ },
|
|
5231
5342
|
|
|
5232
|
-
/***/ 42797
|
|
5233
|
-
|
|
5343
|
+
/***/ 42797
|
|
5344
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5234
5345
|
|
|
5235
5346
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5236
5347
|
/* harmony export */ Q: () => (/* binding */ shouldSmooth),
|
|
5237
5348
|
/* harmony export */ p: () => (/* binding */ getInterpolatedPoints)
|
|
5238
5349
|
/* harmony export */ });
|
|
5239
|
-
/* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5350
|
+
/* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18153);
|
|
5240
5351
|
/* harmony import */ var _interpolation_interpolateSegmentPoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61768);
|
|
5241
5352
|
|
|
5242
5353
|
|
|
@@ -5331,10 +5442,10 @@ function getInterpolatedPoints(configuration, points, pointsOfReference) {
|
|
|
5331
5442
|
}
|
|
5332
5443
|
|
|
5333
5444
|
|
|
5334
|
-
/***/ }
|
|
5445
|
+
/***/ },
|
|
5335
5446
|
|
|
5336
|
-
/***/ 56229
|
|
5337
|
-
|
|
5447
|
+
/***/ 56229
|
|
5448
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5338
5449
|
|
|
5339
5450
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5340
5451
|
/* harmony export */ A: () => (/* binding */ deleteRelatedAnnotations)
|
|
@@ -5412,10 +5523,10 @@ function deleteRelatedAnnotations(viewportData) {
|
|
|
5412
5523
|
}
|
|
5413
5524
|
|
|
5414
5525
|
|
|
5415
|
-
/***/ }
|
|
5526
|
+
/***/ },
|
|
5416
5527
|
|
|
5417
|
-
/***/ 27479
|
|
5418
|
-
|
|
5528
|
+
/***/ 27479
|
|
5529
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5419
5530
|
|
|
5420
5531
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5421
5532
|
/* harmony export */ d: () => (/* binding */ computeAndAddRepresentation)
|
|
@@ -5435,10 +5546,10 @@ async function computeAndAddRepresentation(segmentationId, type, computeFunction
|
|
|
5435
5546
|
|
|
5436
5547
|
|
|
5437
5548
|
|
|
5438
|
-
/***/ }
|
|
5549
|
+
/***/ },
|
|
5439
5550
|
|
|
5440
|
-
/***/ 86644
|
|
5441
|
-
|
|
5551
|
+
/***/ 86644
|
|
5552
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5442
5553
|
|
|
5443
5554
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5444
5555
|
/* harmony export */ u: () => (/* binding */ getSVGStyleForSegment)
|
|
@@ -5527,10 +5638,10 @@ function getSVGStyleForSegment({ segmentationId, segmentIndex, viewportId, autoG
|
|
|
5527
5638
|
}
|
|
5528
5639
|
|
|
5529
5640
|
|
|
5530
|
-
/***/ }
|
|
5641
|
+
/***/ },
|
|
5531
5642
|
|
|
5532
|
-
/***/ 14543
|
|
5533
|
-
|
|
5643
|
+
/***/ 14543
|
|
5644
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5534
5645
|
|
|
5535
5646
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5536
5647
|
/* harmony export */ A: () => (/* binding */ getViewportIdsWithToolToRender)
|
|
@@ -5558,6 +5669,6 @@ function getViewportIdsWithToolToRender(element, toolName, requireParallelNormal
|
|
|
5558
5669
|
}
|
|
5559
5670
|
|
|
5560
5671
|
|
|
5561
|
-
/***/ }
|
|
5672
|
+
/***/ }
|
|
5562
5673
|
|
|
5563
5674
|
}]);
|