@ohif/app 3.13.0-beta.8 → 3.13.0-beta.82

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.
Files changed (72) hide show
  1. package/dist/{1459.bundle.9fbac3c8e089c433777e.js → 1459.bundle.e7cfa1c06bc157e2c64a.js} +5 -6
  2. package/dist/{1608.bundle.0687c661f1c9edfb3b8a.js → 1608.bundle.26306ea38618db59eff7.js} +12 -12
  3. package/dist/{1927.bundle.3050588e95f43cf57cdd.js → 1927.bundle.be67b3aafe238ca9f191.js} +27 -38
  4. package/dist/{1933.bundle.7ae9ef1a7b5ed55d9550.js → 1933.bundle.ed916e36a22e150594b5.js} +32 -27
  5. package/dist/{2018.bundle.b8f9fe454ee996818531.js → 2018.bundle.b41b19f62647c65b2d9e.js} +18 -19
  6. package/dist/{6409.bundle.b36048896cb11c8571fb.js → 2075.bundle.ba9ac60662f1fa739378.js} +337 -261
  7. package/dist/{2108.bundle.e84aa8d858d8c4f2413e.js → 2108.bundle.aea8d3b39486dd5ab39e.js} +569 -558
  8. package/dist/{213.bundle.9cff7f3868971abefe05.js → 213.bundle.69683d18ac20f3324845.js} +3 -5
  9. package/dist/{2424.bundle.9c081095926163e359e0.js → 2424.bundle.2c29c4871b1c920c2c3c.js} +3 -5
  10. package/dist/{2516.bundle.1ea0988d309a757bb6da.js → 2516.bundle.f62228e9a800de8d4b31.js} +6 -6
  11. package/dist/{2701.bundle.12bd01a80a9f8ea4cd94.js → 2701.bundle.6873805ddfdccc7a8b1e.js} +10 -10
  12. package/dist/{9195.bundle.a749686750f08e4adf93.js → 2851.bundle.1023a4363b4b9bc3a945.js} +484 -177
  13. package/dist/{1730.bundle.4f947de94428632e2499.js → 3138.bundle.5d0d632ccff4722d4398.js} +16 -310
  14. package/dist/{3461.bundle.8ce95fd079101d3e01b6.js → 3461.bundle.3d5e701f6b03df3c1a06.js} +131 -107
  15. package/dist/{147.bundle.37d627289453cb6c3937.js → 3754.bundle.d2435bb372912595708c.js} +486 -49
  16. package/dist/{4202.bundle.5a0f8e4004c5d8a68548.js → 4202.bundle.4fcd0de412907efd5b53.js} +6 -6
  17. package/dist/{4019.bundle.83a604779f7da0101ced.js → 4287.bundle.4f28e48c1e39a46dfc87.js} +352 -238
  18. package/dist/{5462.bundle.21beddaca145b7465c72.js → 4406.bundle.573d234b4641d23cf8db.js} +1083 -1308
  19. package/dist/{1403.bundle.f7392178d9262e1d99c2.js → 4507.bundle.ecfaa4ab17afa3d0c709.js} +10 -305
  20. package/dist/{6347.bundle.784c48912700f281de1d.js → 4579.bundle.1c315389368cc476aed3.js} +1439 -1879
  21. package/dist/{4819.bundle.c0b6dd8690d5755fde43.js → 4819.bundle.6a9bb28948e541d37fd5.js} +88 -53
  22. package/dist/{4775.bundle.5671e155db52c026a803.js → 5015.bundle.c5a7e45f949cd99d0f66.js} +29 -333
  23. package/dist/{5028.bundle.bc79f49125393ecc4f5f.js → 5028.bundle.739f91f1551cc7e33100.js} +11 -13
  24. package/dist/{5261.bundle.6e1a017f8f1027557f5b.js → 5261.bundle.2655560097e9250eac44.js} +412 -345
  25. package/dist/{5457.bundle.7720e5daa4e2bdff83ee.js → 5457.bundle.6ea5e826de729c202520.js} +16 -23
  26. package/dist/{5485.bundle.2c2a09db8c7a29258e9f.js → 5485.bundle.69f632603c550f76f519.js} +30 -36
  27. package/dist/{5491.bundle.2e01dd7ad29e4cc01bc1.js → 5491.bundle.4866d2ecb20dd089e071.js} +54 -51
  28. package/dist/{5802.bundle.3bf5e6b3ab330a594a47.js → 5802.bundle.cd36386cbe1613913ed4.js} +79 -20
  29. package/dist/5802.css +1 -1
  30. package/dist/{5830.bundle.b073c265c4fcea1afff3.js → 5830.bundle.791019deddd536980a11.js} +3 -3
  31. package/dist/{5858.bundle.ff6b340cf7457db76a1a.js → 5858.bundle.466e58128de344ab53f3.js} +90 -86
  32. package/dist/{6027.bundle.49a5c78a49ed6cd15f72.js → 6027.bundle.12e74735b79df55bf1ef.js} +3 -5
  33. package/dist/{6354.bundle.c387737dc09c9cab4ff2.js → 6354.bundle.929febcf6d326e582e00.js} +151 -140
  34. package/dist/{6376.bundle.9cb74d7bc08476e2f1a7.js → 6376.bundle.527820a5cb1eece2a8d2.js} +6 -6
  35. package/dist/{2842.bundle.860b9f10fcdd9656947a.js → 6386.bundle.dc7e3b159d6b4733647f.js} +913 -2290
  36. package/dist/6939.bundle.41fbdef87597b5172ec6.js +3 -3
  37. package/dist/{7159.bundle.a5991a5d4f0dd8f1c95f.js → 7159.bundle.fb9df255868960f69765.js} +7 -5
  38. package/dist/{3081.bundle.30cd450e2dd213b1b978.js → 7166.bundle.77012bc3ee99cd20787f.js} +1257 -467
  39. package/dist/{7190.bundle.e8f0193e0e06472f795c.js → 7190.bundle.479332d662ffe08d1f92.js} +1228 -855
  40. package/dist/{732.bundle.6978ac30a1e36abf06db.js → 732.bundle.ea6f9d8504e37e01a208.js} +5 -13
  41. package/dist/{7431.bundle.b01791d10e6cf9f503b0.js → 7431.bundle.a9b4dbf97a8c196efe51.js} +28 -28
  42. package/dist/{4410.bundle.c5224cd7d6238a7d4660.js → 7537.bundle.3c7d71348190ed4e9565.js} +5226 -2250
  43. package/dist/{7639.bundle.78e54c6f8dee95f4a6b7.js → 7639.bundle.bbbe6f05a1956e579cd7.js} +3 -5
  44. package/dist/7758.bundle.c8d106364298e7d288f0.js +3 -3
  45. package/dist/{8094.bundle.5c44190a325ac23e3e5c.js → 8094.bundle.148a66619607e37cbf19.js} +3 -4
  46. package/dist/{8305.bundle.d7423a538dca30c376ce.js → 8305.bundle.b8332f9c3bd96ba61085.js} +71 -66
  47. package/dist/{6163.bundle.ab7295912f610ef8b0eb.js → 8499.bundle.ac9af1089a32969e85cb.js} +7 -302
  48. package/dist/8499.css +2 -0
  49. package/dist/{85.bundle.0efe2e23b40b836a1fc1.js → 85.bundle.a2156faa09d13db19b44.js} +3 -5
  50. package/dist/{8558.bundle.53e0018bbb77300516b5.js → 8558.bundle.4008a0b4394aa8fbd0a0.js} +15 -309
  51. package/dist/{8583.bundle.4658de27c0d59037cc9b.js → 8583.bundle.555bfdada9e2fb8c240b.js} +24 -27
  52. package/dist/{997.bundle.822b33e561263084e18c.js → 9039.bundle.49ab126163ca208e52b3.js} +4091 -3016
  53. package/dist/{7412.bundle.fab1742191b7fe937330.js → 9205.bundle.c974537f15d86687f6d2.js} +6185 -3331
  54. package/dist/{3584.bundle.8cc0750425513433e9cc.js → 9567.bundle.ff782480a4c66e306027.js} +3751 -2856
  55. package/dist/{9845.bundle.255e7c7f7a88193b4e47.js → 9845.bundle.8c450e8d65a78a5afcd3.js} +10 -10
  56. package/dist/{9862.bundle.3a8958a82c572015d25d.js → 9862.bundle.6d793a997f85d73002e9.js} +8 -6
  57. package/dist/{9927.bundle.34fec2c87a385cd104be.js → 9927.bundle.dff41e134390fc2121c0.js} +8 -6
  58. package/dist/app-config.js +12 -0
  59. package/dist/{app.bundle.43da7d5a1360d749cf34.js → app.bundle.a685f9eb4e80bae34996.js} +65881 -62856
  60. package/dist/app.bundle.css +3 -3
  61. package/dist/{polySeg.bundle.a5aa9130b4191253c410.js → compute.bundle.2b82d8a0d1f3b41df1d2.js} +8 -20
  62. package/dist/{histogram-worker.bundle.d4e40a8018d2698b072e.js → histogram-worker.bundle.a2a50c4674d99c619ca7.js} +11 -23
  63. package/dist/index.html +1 -1
  64. package/dist/{interpolation.bundle.c70cb95d164dc494e6dc.js → interpolation.bundle.829844ff3f72f5645f29.js} +14 -26
  65. package/dist/{compute.bundle.64280c7af19ff567465f.js → polySeg.bundle.ad2080f28d2c471bf208.js} +10 -22
  66. package/dist/sw.js +1 -1
  67. package/package.json +23 -22
  68. package/dist/3343.bundle.d7578ce8f75d158c0bab.js +0 -297
  69. /package/dist/{1730.css → 3138.css} +0 -0
  70. /package/dist/{147.css → 3754.css} +0 -0
  71. /package/dist/{3343.css → 4972.css} +0 -0
  72. /package/dist/{6163.css → 7829.css} +0 -0
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[4019],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[4287],{
3
3
 
4
- /***/ 97181:
5
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ 76910:
19
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__(95527);
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__(95527);
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 === true ||
831
- annotation.data.isOpenUShapeContour === 'farthestT') {
832
- annotation.data.openUShapeContourVectorToPeak =
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 (!textBox.hasMoved) {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__(95527);
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1120
+ /***/ 5403
1121
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1091
1122
 
1092
1123
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1093
- /* harmony export */ A: () => (/* binding */ findOpenUShapedContourVectorToPeak),
1094
- /* harmony export */ h: () => (/* binding */ findOpenUShapedContourVectorToPeakOnRender)
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 findOpenUShapedContourVectorToPeakOnRender(enabledElement, annotation) {
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 findOpenUShapedContourVectorToPeak(canvasPoints, viewport);
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__(95527);
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__(95527);
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__(95527);
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
- calculateUShapeContourVectorToPeakIfNotPresent(enabledElement, annotation);
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
- if (!openUShapeContourVectorToPeak) {
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
- (0,_drawingSvg__WEBPACK_IMPORTED_MODULE_0__.drawPolyline)(svgDrawingHelper, annotation.annotationUID, 'midpoint-to-open-contour', [
1679
- openUShapeContourVectorToPeakCanvas[0],
1680
- openUShapeContourVectorToPeakCanvas[1],
1681
- ], {
1682
- color: options.color,
1683
- width: options.width,
1684
- closePath: false,
1685
- lineDash: '2,2',
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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 + 6 modules
1956
- var ToolGroupManager = __webpack_require__(77609);
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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 + 11 modules
2196
- var PolyData = __webpack_require__(12548);
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
- /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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__)
@@ -2643,15 +2754,18 @@ function getDefaultLabelmapStyle() {
2643
2754
  function removeLabelmapFromElement(element, segmentationId) {
2644
2755
  const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__.getEnabledElement)(element);
2645
2756
  const { viewport } = enabledElement;
2646
- viewport.removeActors([(0,_stateManagement_segmentation_helpers_getSegmentationActor__WEBPACK_IMPORTED_MODULE_1__/* .getLabelmapActorUID */ .Qe)(viewport.id, segmentationId)]);
2757
+ const actorEntries = (0,_stateManagement_segmentation_helpers_getSegmentationActor__WEBPACK_IMPORTED_MODULE_1__/* .getLabelmapActorEntries */ .ED)(viewport.id, segmentationId);
2758
+ if (actorEntries?.length) {
2759
+ viewport.removeActors(actorEntries.map((entry) => entry.uid));
2760
+ }
2647
2761
  }
2648
2762
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (removeLabelmapFromElement);
2649
2763
 
2650
2764
 
2651
- /***/ }),
2765
+ /***/ },
2652
2766
 
2653
- /***/ 18796:
2654
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2767
+ /***/ 18796
2768
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2655
2769
 
2656
2770
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2657
2771
  /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
@@ -2659,7 +2773,7 @@ function removeLabelmapFromElement(element, segmentationId) {
2659
2773
  /* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15327);
2660
2774
  /* harmony import */ var _kitware_vtk_js_Rendering_Core_Mapper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81418);
2661
2775
  /* 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__(12548);
2776
+ /* harmony import */ var _kitware_vtk_js_Common_DataModel_PolyData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27480);
2663
2777
  /* harmony import */ var _kitware_vtk_js_Common_Core_CellArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32461);
2664
2778
  /* harmony import */ var _stateManagement_segmentation_helpers_getSegmentationActor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(59452);
2665
2779
 
@@ -2728,10 +2842,10 @@ function addOrUpdateSurfaceToElement(viewport, surface, segmentationId) {
2728
2842
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addOrUpdateSurfaceToElement);
2729
2843
 
2730
2844
 
2731
- /***/ }),
2845
+ /***/ },
2732
2846
 
2733
- /***/ 20552:
2734
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2847
+ /***/ 20552
2848
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2735
2849
 
2736
2850
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2737
2851
  /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
@@ -2750,10 +2864,10 @@ function removeSurfaceFromElement(element, segmentationId) {
2750
2864
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (removeSurfaceFromElement);
2751
2865
 
2752
2866
 
2753
- /***/ }),
2867
+ /***/ },
2754
2868
 
2755
- /***/ 55887:
2756
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2869
+ /***/ 55887
2870
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2757
2871
 
2758
2872
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2759
2873
  /* harmony export */ A: () => (/* binding */ BrushStrategy)
@@ -2916,10 +3030,10 @@ function addSingletonMethod(name, isInitialized = true) {
2916
3030
  }
2917
3031
 
2918
3032
 
2919
- /***/ }),
3033
+ /***/ },
2920
3034
 
2921
- /***/ 64664:
2922
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3035
+ /***/ 64664
3036
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2923
3037
 
2924
3038
 
2925
3039
  // EXPORTS
@@ -3511,10 +3625,10 @@ var drawingSvg = __webpack_require__(74347);
3511
3625
  });
3512
3626
 
3513
3627
 
3514
- /***/ }),
3628
+ /***/ },
3515
3629
 
3516
- /***/ 33852:
3517
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3630
+ /***/ 33852
3631
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3518
3632
 
3519
3633
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3520
3634
  /* harmony export */ r: () => (/* binding */ eraseInsideCircle)
@@ -3530,10 +3644,10 @@ const eraseInsideCircle = ERASE_CIRCLE_STRATEGY.strategyFunction;
3530
3644
 
3531
3645
 
3532
3646
 
3533
- /***/ }),
3647
+ /***/ },
3534
3648
 
3535
- /***/ 1989:
3536
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3649
+ /***/ 1989
3650
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3537
3651
 
3538
3652
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3539
3653
  /* harmony export */ _: () => (/* binding */ eraseInsideSphere)
@@ -3549,10 +3663,10 @@ const eraseInsideSphere = ERASE_SPHERE_STRATEGY.strategyFunction;
3549
3663
 
3550
3664
 
3551
3665
 
3552
- /***/ }),
3666
+ /***/ },
3553
3667
 
3554
- /***/ 17492:
3555
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3668
+ /***/ 17492
3669
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3556
3670
 
3557
3671
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3558
3672
  /* harmony export */ Jq: () => (/* binding */ fillInsideSphere),
@@ -3676,10 +3790,10 @@ function fillOutsideSphere() {
3676
3790
 
3677
3791
 
3678
3792
 
3679
- /***/ }),
3793
+ /***/ },
3680
3794
 
3681
- /***/ 109:
3682
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3795
+ /***/ 109
3796
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3683
3797
 
3684
3798
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3685
3799
  /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
@@ -3726,10 +3840,10 @@ function getContourImageSequence(imageId, metadataProvider) {
3726
3840
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RectangleROIStartEndThreshold);
3727
3841
 
3728
3842
 
3729
- /***/ }),
3843
+ /***/ },
3730
3844
 
3731
- /***/ 55421:
3732
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3845
+ /***/ 55421
3846
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3733
3847
 
3734
3848
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3735
3849
  /* harmony export */ A: () => (/* binding */ getInterpolationData)
@@ -3784,10 +3898,10 @@ function getInterpolationData(viewportData, filterParams = []) {
3784
3898
  }
3785
3899
 
3786
3900
 
3787
- /***/ }),
3901
+ /***/ },
3788
3902
 
3789
- /***/ 51893:
3790
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3903
+ /***/ 51893
3904
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3791
3905
 
3792
3906
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3793
3907
  /* harmony export */ A: () => (/* binding */ getInterpolationDataCollection)
@@ -3809,10 +3923,10 @@ function getInterpolationDataCollection(viewportData, filterParams) {
3809
3923
  }
3810
3924
 
3811
3925
 
3812
- /***/ }),
3926
+ /***/ },
3813
3927
 
3814
- /***/ 73816:
3815
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3928
+ /***/ 73816
3929
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3816
3930
 
3817
3931
 
3818
3932
  // EXPORTS
@@ -4502,10 +4616,10 @@ function _generateClosedContour(points) {
4502
4616
  /* harmony default export */ const interpolation_interpolate = (interpolate);
4503
4617
 
4504
4618
 
4505
- /***/ }),
4619
+ /***/ },
4506
4620
 
4507
- /***/ 69013:
4508
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4621
+ /***/ 69013
4622
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4509
4623
 
4510
4624
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4511
4625
  /* harmony export */ B: () => (/* binding */ InstanceBasicStatsCalculator),
@@ -4750,10 +4864,10 @@ class InstanceBasicStatsCalculator extends _Calculator__WEBPACK_IMPORTED_MODULE_
4750
4864
  }
4751
4865
 
4752
4866
 
4753
- /***/ }),
4867
+ /***/ },
4754
4868
 
4755
- /***/ 86978:
4756
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4869
+ /***/ 86978
4870
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4757
4871
 
4758
4872
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4759
4873
  /* harmony export */ A: () => (/* binding */ distanceToPoint)
@@ -4768,10 +4882,10 @@ function distanceToPoint(lineStart, lineEnd, point) {
4768
4882
  }
4769
4883
 
4770
4884
 
4771
- /***/ }),
4885
+ /***/ },
4772
4886
 
4773
- /***/ 81205:
4774
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4887
+ /***/ 81205
4888
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4775
4889
 
4776
4890
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4777
4891
  /* harmony export */ A: () => (/* binding */ intersectLine)
@@ -4829,10 +4943,10 @@ function intersectLine(line1Start, line1End, line2Start, line2End, infinite = fa
4829
4943
  }
4830
4944
 
4831
4945
 
4832
- /***/ }),
4946
+ /***/ },
4833
4947
 
4834
- /***/ 87105:
4835
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4948
+ /***/ 87105
4949
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4836
4950
 
4837
4951
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4838
4952
  /* harmony export */ A: () => (/* binding */ distanceToPoint)
@@ -4874,10 +4988,10 @@ function distanceToPoint(rect, point) {
4874
4988
  }
4875
4989
 
4876
4990
 
4877
- /***/ }),
4991
+ /***/ },
4878
4992
 
4879
- /***/ 94418:
4880
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4993
+ /***/ 94418
4994
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4881
4995
 
4882
4996
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4883
4997
  /* harmony export */ A: () => (/* binding */ filterAnnotationsForDisplay)
@@ -4912,10 +5026,10 @@ function filterAnnotationsForDisplay(viewport, annotations, filterOptions = {})
4912
5026
  }
4913
5027
 
4914
5028
 
4915
- /***/ }),
5029
+ /***/ },
4916
5030
 
4917
- /***/ 40770:
4918
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5031
+ /***/ 40770
5032
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4919
5033
 
4920
5034
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4921
5035
  /* harmony export */ W: () => (/* binding */ filterAnnotationsWithinSamePlane)
@@ -4950,10 +5064,10 @@ function filterAnnotationsWithinSamePlane(annotations, camera) {
4950
5064
  }
4951
5065
 
4952
5066
 
4953
- /***/ }),
5067
+ /***/ },
4954
5068
 
4955
- /***/ 36374:
4956
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5069
+ /***/ 36374
5070
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4957
5071
 
4958
5072
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4959
5073
  /* harmony export */ A: () => (/* binding */ filterAnnotationsWithinSlice)
@@ -5036,10 +5150,10 @@ function filterAnnotationsWithinSlice(annotations, camera, spacingInNormalDirect
5036
5150
  }
5037
5151
 
5038
5152
 
5039
- /***/ }),
5153
+ /***/ },
5040
5154
 
5041
- /***/ 57063:
5042
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5155
+ /***/ 57063
5156
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5043
5157
 
5044
5158
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5045
5159
  /* harmony export */ R: () => (/* binding */ getPointInLineOfSightWithCriteria),
@@ -5097,10 +5211,10 @@ const _inBounds = function (point, bounds) {
5097
5211
  };
5098
5212
 
5099
5213
 
5100
- /***/ }),
5214
+ /***/ },
5101
5215
 
5102
- /***/ 35489:
5103
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5216
+ /***/ 35489
5217
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5104
5218
 
5105
5219
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5106
5220
  /* harmony export */ A: () => (/* binding */ getWorldWidthAndHeightFromCorners)
@@ -5126,10 +5240,10 @@ function getWorldWidthAndHeightFromCorners(viewPlaneNormal, viewUp, topLeftWorld
5126
5240
  }
5127
5241
 
5128
5242
 
5129
- /***/ }),
5243
+ /***/ },
5130
5244
 
5131
- /***/ 62514:
5132
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5245
+ /***/ 62514
5246
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5133
5247
 
5134
5248
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5135
5249
  /* harmony export */ A: () => (/* binding */ getWorldWidthAndHeightFromTwoPoints)
@@ -5155,10 +5269,10 @@ function getWorldWidthAndHeightFromTwoPoints(viewPlaneNormal, viewUp, worldPos1,
5155
5269
  }
5156
5270
 
5157
5271
 
5158
- /***/ }),
5272
+ /***/ },
5159
5273
 
5160
- /***/ 30698:
5161
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5274
+ /***/ 30698
5275
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5162
5276
 
5163
5277
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5164
5278
  /* harmony export */ Y: () => (/* binding */ isPlaneIntersectingAABB)
@@ -5193,10 +5307,10 @@ const isPlaneIntersectingAABB = (origin, normal, minX, minY, minZ, maxX, maxY, m
5193
5307
  };
5194
5308
 
5195
5309
 
5196
- /***/ }),
5310
+ /***/ },
5197
5311
 
5198
- /***/ 30269:
5199
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5312
+ /***/ 30269
5313
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5200
5314
 
5201
5315
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5202
5316
  /* harmony export */ H: () => (/* binding */ interpolatePoints)
@@ -5227,16 +5341,16 @@ function interpolatePoints(originalPoints, knotsIndexes) {
5227
5341
  }
5228
5342
 
5229
5343
 
5230
- /***/ }),
5344
+ /***/ },
5231
5345
 
5232
- /***/ 42797:
5233
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5346
+ /***/ 42797
5347
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5234
5348
 
5235
5349
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5236
5350
  /* harmony export */ Q: () => (/* binding */ shouldSmooth),
5237
5351
  /* harmony export */ p: () => (/* binding */ getInterpolatedPoints)
5238
5352
  /* harmony export */ });
5239
- /* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(95527);
5353
+ /* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18153);
5240
5354
  /* harmony import */ var _interpolation_interpolateSegmentPoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61768);
5241
5355
 
5242
5356
 
@@ -5331,10 +5445,10 @@ function getInterpolatedPoints(configuration, points, pointsOfReference) {
5331
5445
  }
5332
5446
 
5333
5447
 
5334
- /***/ }),
5448
+ /***/ },
5335
5449
 
5336
- /***/ 56229:
5337
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5450
+ /***/ 56229
5451
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5338
5452
 
5339
5453
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5340
5454
  /* harmony export */ A: () => (/* binding */ deleteRelatedAnnotations)
@@ -5412,10 +5526,10 @@ function deleteRelatedAnnotations(viewportData) {
5412
5526
  }
5413
5527
 
5414
5528
 
5415
- /***/ }),
5529
+ /***/ },
5416
5530
 
5417
- /***/ 27479:
5418
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5531
+ /***/ 27479
5532
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5419
5533
 
5420
5534
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5421
5535
  /* harmony export */ d: () => (/* binding */ computeAndAddRepresentation)
@@ -5435,10 +5549,10 @@ async function computeAndAddRepresentation(segmentationId, type, computeFunction
5435
5549
 
5436
5550
 
5437
5551
 
5438
- /***/ }),
5552
+ /***/ },
5439
5553
 
5440
- /***/ 86644:
5441
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5554
+ /***/ 86644
5555
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5442
5556
 
5443
5557
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5444
5558
  /* harmony export */ u: () => (/* binding */ getSVGStyleForSegment)
@@ -5527,10 +5641,10 @@ function getSVGStyleForSegment({ segmentationId, segmentIndex, viewportId, autoG
5527
5641
  }
5528
5642
 
5529
5643
 
5530
- /***/ }),
5644
+ /***/ },
5531
5645
 
5532
- /***/ 14543:
5533
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5646
+ /***/ 14543
5647
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5534
5648
 
5535
5649
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5536
5650
  /* harmony export */ A: () => (/* binding */ getViewportIdsWithToolToRender)
@@ -5558,6 +5672,6 @@ function getViewportIdsWithToolToRender(element, toolName, requireParallelNormal
5558
5672
  }
5559
5673
 
5560
5674
 
5561
- /***/ })
5675
+ /***/ }
5562
5676
 
5563
5677
  }]);