@ohif/extension-dicom-pdf 1.1.0
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/CHANGELOG.md +206 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/1.index.umd.js +3 -0
- package/dist/1.index.umd.js.LICENSE +2507 -0
- package/dist/1.index.umd.js.map +1 -0
- package/dist/2.index.umd.js +1 -0
- package/dist/index.umd.js +3 -0
- package/dist/index.umd.js.LICENSE +732 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,2507 @@
|
|
|
1
|
+
/*! cornerstone-tools - 6.0.0 - 2021-09-15 | (c) 2017 Chris Hafey | https://github.com/cornerstonejs/cornerstoneTools */
|
|
2
|
+
|
|
3
|
+
/*!****************************************************************!*\
|
|
4
|
+
!*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
|
5
|
+
\****************************************************************/
|
|
6
|
+
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
|
|
9
|
+
/*!*******************************************************************!*\
|
|
10
|
+
!*** ../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
|
|
11
|
+
\*******************************************************************/
|
|
12
|
+
|
|
13
|
+
/*!***********************************************************************!*\
|
|
14
|
+
!*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
|
15
|
+
\***********************************************************************/
|
|
16
|
+
|
|
17
|
+
/*!******************************************************************!*\
|
|
18
|
+
!*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
|
|
19
|
+
\******************************************************************/
|
|
20
|
+
|
|
21
|
+
/*!****************************************************************!*\
|
|
22
|
+
!*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
23
|
+
\****************************************************************/
|
|
24
|
+
|
|
25
|
+
/*!*************************************************************!*\
|
|
26
|
+
!*** ../node_modules/@babel/runtime/helpers/createClass.js ***!
|
|
27
|
+
\*************************************************************/
|
|
28
|
+
|
|
29
|
+
/*!****************************************************************!*\
|
|
30
|
+
!*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
|
31
|
+
\****************************************************************/
|
|
32
|
+
|
|
33
|
+
/*!****************************************************************!*\
|
|
34
|
+
!*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
|
|
35
|
+
\****************************************************************/
|
|
36
|
+
|
|
37
|
+
/*!**********************************************************!*\
|
|
38
|
+
!*** ../node_modules/@babel/runtime/helpers/inherits.js ***!
|
|
39
|
+
\**********************************************************/
|
|
40
|
+
|
|
41
|
+
/*! ./setPrototypeOf */
|
|
42
|
+
|
|
43
|
+
/*!*****************************************************************!*\
|
|
44
|
+
!*** ../node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
|
45
|
+
\*****************************************************************/
|
|
46
|
+
|
|
47
|
+
/*!**********************************************************************!*\
|
|
48
|
+
!*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
|
|
49
|
+
\**********************************************************************/
|
|
50
|
+
|
|
51
|
+
/*!*****************************************************************!*\
|
|
52
|
+
!*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
|
53
|
+
\*****************************************************************/
|
|
54
|
+
|
|
55
|
+
/*!*******************************************************************!*\
|
|
56
|
+
!*** ../node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
|
|
57
|
+
\*******************************************************************/
|
|
58
|
+
|
|
59
|
+
/*!***************************************************************************!*\
|
|
60
|
+
!*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
|
|
61
|
+
\***************************************************************************/
|
|
62
|
+
|
|
63
|
+
/*! ../helpers/typeof */
|
|
64
|
+
|
|
65
|
+
/*! ./assertThisInitialized */
|
|
66
|
+
|
|
67
|
+
/*!****************************************************************!*\
|
|
68
|
+
!*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
|
|
69
|
+
\****************************************************************/
|
|
70
|
+
|
|
71
|
+
/*!***************************************************************!*\
|
|
72
|
+
!*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***!
|
|
73
|
+
\***************************************************************/
|
|
74
|
+
|
|
75
|
+
/*! ./arrayWithHoles */
|
|
76
|
+
|
|
77
|
+
/*! ./iterableToArrayLimit */
|
|
78
|
+
|
|
79
|
+
/*! ./nonIterableRest */
|
|
80
|
+
|
|
81
|
+
/*!*******************************************************************!*\
|
|
82
|
+
!*** ../node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
|
|
83
|
+
\*******************************************************************/
|
|
84
|
+
|
|
85
|
+
/*! ./arrayWithoutHoles */
|
|
86
|
+
|
|
87
|
+
/*! ./iterableToArray */
|
|
88
|
+
|
|
89
|
+
/*! ./nonIterableSpread */
|
|
90
|
+
|
|
91
|
+
/*!********************************************************!*\
|
|
92
|
+
!*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
|
|
93
|
+
\********************************************************/
|
|
94
|
+
|
|
95
|
+
/*!***********************************************************!*\
|
|
96
|
+
!*** ../node_modules/@babel/runtime/regenerator/index.js ***!
|
|
97
|
+
\***********************************************************/
|
|
98
|
+
|
|
99
|
+
/*! regenerator-runtime */
|
|
100
|
+
|
|
101
|
+
/*!***********************************!*\
|
|
102
|
+
!*** ../node_modules/ms/index.js ***!
|
|
103
|
+
\***********************************/
|
|
104
|
+
|
|
105
|
+
/*!******************************************!*\
|
|
106
|
+
!*** ../node_modules/process/browser.js ***!
|
|
107
|
+
\******************************************/
|
|
108
|
+
|
|
109
|
+
/*!*************************************************************!*\
|
|
110
|
+
!*** ../node_modules/regenerator-runtime/runtime-module.js ***!
|
|
111
|
+
\*************************************************************/
|
|
112
|
+
|
|
113
|
+
/*! ./runtime */
|
|
114
|
+
|
|
115
|
+
/*!******************************************************!*\
|
|
116
|
+
!*** ../node_modules/regenerator-runtime/runtime.js ***!
|
|
117
|
+
\******************************************************/
|
|
118
|
+
|
|
119
|
+
/*!*************************!*\
|
|
120
|
+
!*** ./drawing/draw.js ***!
|
|
121
|
+
\*************************/
|
|
122
|
+
|
|
123
|
+
/*! exports provided: default */
|
|
124
|
+
|
|
125
|
+
/*!******************************!*\
|
|
126
|
+
!*** ./drawing/drawArrow.js ***!
|
|
127
|
+
\******************************/
|
|
128
|
+
|
|
129
|
+
/*! ./drawLine.js */
|
|
130
|
+
|
|
131
|
+
/*! ./drawJoinedLines.js */
|
|
132
|
+
|
|
133
|
+
/*!*******************************!*\
|
|
134
|
+
!*** ./drawing/drawCircle.js ***!
|
|
135
|
+
\*******************************/
|
|
136
|
+
|
|
137
|
+
/*! ./../externalModules.js */
|
|
138
|
+
|
|
139
|
+
/*! ./path.js */
|
|
140
|
+
|
|
141
|
+
/*!********************************!*\
|
|
142
|
+
!*** ./drawing/drawEllipse.js ***!
|
|
143
|
+
\********************************/
|
|
144
|
+
|
|
145
|
+
/*! ../util/pointProjector.js */
|
|
146
|
+
|
|
147
|
+
/*!********************************!*\
|
|
148
|
+
!*** ./drawing/drawHandles.js ***!
|
|
149
|
+
\********************************/
|
|
150
|
+
|
|
151
|
+
/*! ./../stateManagement/toolStyle.js */
|
|
152
|
+
|
|
153
|
+
/*! ./../stateManagement/toolColors.js */
|
|
154
|
+
|
|
155
|
+
/*! ./../store/index.js */
|
|
156
|
+
|
|
157
|
+
/*!************************************!*\
|
|
158
|
+
!*** ./drawing/drawJoinedLines.js ***!
|
|
159
|
+
\************************************/
|
|
160
|
+
|
|
161
|
+
/*!*****************************!*\
|
|
162
|
+
!*** ./drawing/drawLine.js ***!
|
|
163
|
+
\*****************************/
|
|
164
|
+
|
|
165
|
+
/*!******************************!*\
|
|
166
|
+
!*** ./drawing/drawLines.js ***!
|
|
167
|
+
\******************************/
|
|
168
|
+
|
|
169
|
+
/*!*****************************!*\
|
|
170
|
+
!*** ./drawing/drawLink.js ***!
|
|
171
|
+
\*****************************/
|
|
172
|
+
|
|
173
|
+
/*! ../externalModules.js */
|
|
174
|
+
|
|
175
|
+
/*!**************************************!*\
|
|
176
|
+
!*** ./drawing/drawLinkedTextBox.js ***!
|
|
177
|
+
\**************************************/
|
|
178
|
+
|
|
179
|
+
/*! ./drawTextBox.js */
|
|
180
|
+
|
|
181
|
+
/*! ./drawLink.js */
|
|
182
|
+
|
|
183
|
+
/*!*****************************!*\
|
|
184
|
+
!*** ./drawing/drawRect.js ***!
|
|
185
|
+
\*****************************/
|
|
186
|
+
|
|
187
|
+
/*!********************************!*\
|
|
188
|
+
!*** ./drawing/drawTextBox.js ***!
|
|
189
|
+
\********************************/
|
|
190
|
+
|
|
191
|
+
/*! exports provided: textBoxWidth, default */
|
|
192
|
+
|
|
193
|
+
/*! ../stateManagement/textStyle.js */
|
|
194
|
+
|
|
195
|
+
/*! ./draw.js */
|
|
196
|
+
|
|
197
|
+
/*! ./fillTextLines.js */
|
|
198
|
+
|
|
199
|
+
/*! ./fillBox.js */
|
|
200
|
+
|
|
201
|
+
/*!****************************!*\
|
|
202
|
+
!*** ./drawing/fillBox.js ***!
|
|
203
|
+
\****************************/
|
|
204
|
+
|
|
205
|
+
/*!************************************!*\
|
|
206
|
+
!*** ./drawing/fillOutsideRect.js ***!
|
|
207
|
+
\************************************/
|
|
208
|
+
|
|
209
|
+
/*!**********************************!*\
|
|
210
|
+
!*** ./drawing/fillTextLines.js ***!
|
|
211
|
+
\**********************************/
|
|
212
|
+
|
|
213
|
+
/*! ./../stateManagement/textStyle.js */
|
|
214
|
+
|
|
215
|
+
/*!**********************************!*\
|
|
216
|
+
!*** ./drawing/getNewContext.js ***!
|
|
217
|
+
\**********************************/
|
|
218
|
+
|
|
219
|
+
/*!**************************!*\
|
|
220
|
+
!*** ./drawing/index.js ***!
|
|
221
|
+
\**************************/
|
|
222
|
+
|
|
223
|
+
/*! exports provided: draw, drawArrow, drawCircle, drawEllipse, drawHandles, drawJoinedLines, drawLine, drawLines, drawLink, drawLinkedTextBox, drawRect, drawTextBox, fillBox, fillOutsideRect, fillTextLines, getNewContext, path, setShadow, transformCanvasContext, resetCanvasContextTransform */
|
|
224
|
+
|
|
225
|
+
/*! ./drawArrow.js */
|
|
226
|
+
|
|
227
|
+
/*! ./drawCircle.js */
|
|
228
|
+
|
|
229
|
+
/*! ./drawEllipse.js */
|
|
230
|
+
|
|
231
|
+
/*! ./drawHandles.js */
|
|
232
|
+
|
|
233
|
+
/*! ./drawLines.js */
|
|
234
|
+
|
|
235
|
+
/*! ./drawLinkedTextBox.js */
|
|
236
|
+
|
|
237
|
+
/*! ./drawRect.js */
|
|
238
|
+
|
|
239
|
+
/*! ./fillOutsideRect.js */
|
|
240
|
+
|
|
241
|
+
/*! ./getNewContext.js */
|
|
242
|
+
|
|
243
|
+
/*! ./setShadow.js */
|
|
244
|
+
|
|
245
|
+
/*! ./transformCanvasContext.js */
|
|
246
|
+
|
|
247
|
+
/*! ./resetCanvasContextTransform.js */
|
|
248
|
+
|
|
249
|
+
/*!*************************!*\
|
|
250
|
+
!*** ./drawing/path.js ***!
|
|
251
|
+
\*************************/
|
|
252
|
+
|
|
253
|
+
/*!************************************************!*\
|
|
254
|
+
!*** ./drawing/resetCanvasContextTransform.js ***!
|
|
255
|
+
\************************************************/
|
|
256
|
+
|
|
257
|
+
/*!******************************!*\
|
|
258
|
+
!*** ./drawing/setShadow.js ***!
|
|
259
|
+
\******************************/
|
|
260
|
+
|
|
261
|
+
/*! ./../util/getDefault.js */
|
|
262
|
+
|
|
263
|
+
/*!*******************************************!*\
|
|
264
|
+
!*** ./drawing/transformCanvasContext.js ***!
|
|
265
|
+
\*******************************************/
|
|
266
|
+
|
|
267
|
+
/*!**********************************************************!*\
|
|
268
|
+
!*** ./eventDispatchers/imageRenderedEventDispatcher.js ***!
|
|
269
|
+
\**********************************************************/
|
|
270
|
+
|
|
271
|
+
/*! ../stateManagement/toolState */
|
|
272
|
+
|
|
273
|
+
/*! ../eventListeners/onImageRenderedBrushEventHandler.js */
|
|
274
|
+
|
|
275
|
+
/*!***********************************!*\
|
|
276
|
+
!*** ./eventDispatchers/index.js ***!
|
|
277
|
+
\***********************************/
|
|
278
|
+
|
|
279
|
+
/*! exports provided: imageRenderedEventDispatcher, mouseToolEventDispatcher, newImageEventDispatcher, touchToolEventDispatcher */
|
|
280
|
+
|
|
281
|
+
/*! ./imageRenderedEventDispatcher.js */
|
|
282
|
+
|
|
283
|
+
/*! ./mouseToolEventDispatcher.js */
|
|
284
|
+
|
|
285
|
+
/*! ./newImageEventDispatcher.js */
|
|
286
|
+
|
|
287
|
+
/*! ./touchToolEventDispatcher.js */
|
|
288
|
+
|
|
289
|
+
/*!******************************************************************!*\
|
|
290
|
+
!*** ./eventDispatchers/mouseEventHandlers/addNewMeasurement.js ***!
|
|
291
|
+
\******************************************************************/
|
|
292
|
+
|
|
293
|
+
/*! ../../events.js */
|
|
294
|
+
|
|
295
|
+
/*! ../../externalModules.js */
|
|
296
|
+
|
|
297
|
+
/*! ../../stateManagement/toolState.js */
|
|
298
|
+
|
|
299
|
+
/*! ../../manipulators/index.js */
|
|
300
|
+
|
|
301
|
+
/*! ../../util/logger.js */
|
|
302
|
+
|
|
303
|
+
/*! ../../util/triggerEvent.js */
|
|
304
|
+
|
|
305
|
+
/*!******************************************************!*\
|
|
306
|
+
!*** ./eventDispatchers/mouseEventHandlers/index.js ***!
|
|
307
|
+
\******************************************************/
|
|
308
|
+
|
|
309
|
+
/*! exports provided: mouseClick, mouseDown, mouseDownActivate, mouseDoubleClick, mouseDrag, mouseMove, mouseUp, mouseWheel */
|
|
310
|
+
|
|
311
|
+
/*! ./../shared/customCallbackHandler.js */
|
|
312
|
+
|
|
313
|
+
/*! ./mouseDown.js */
|
|
314
|
+
|
|
315
|
+
/*! ./mouseDownActivate.js */
|
|
316
|
+
|
|
317
|
+
/*! ./mouseDrag.js */
|
|
318
|
+
|
|
319
|
+
/*! ./mouseMove.js */
|
|
320
|
+
|
|
321
|
+
/*!**********************************************************!*\
|
|
322
|
+
!*** ./eventDispatchers/mouseEventHandlers/mouseDown.js ***!
|
|
323
|
+
\**********************************************************/
|
|
324
|
+
|
|
325
|
+
/*! ./../../store/index.js */
|
|
326
|
+
|
|
327
|
+
/*! ./../../stateManagement/toolState.js */
|
|
328
|
+
|
|
329
|
+
/*! ../../store/getToolsWithMoveableHandles.js */
|
|
330
|
+
|
|
331
|
+
/*! ../../util/findAndMoveHelpers.js */
|
|
332
|
+
|
|
333
|
+
/*! ./../../store/getInteractiveToolsForElement.js */
|
|
334
|
+
|
|
335
|
+
/*! ./../../store/getToolsWithDataForElement.js */
|
|
336
|
+
|
|
337
|
+
/*! ./../../store/filterToolsUsableWithMultiPartTools.js */
|
|
338
|
+
|
|
339
|
+
/*!******************************************************************!*\
|
|
340
|
+
!*** ./eventDispatchers/mouseEventHandlers/mouseDownActivate.js ***!
|
|
341
|
+
\******************************************************************/
|
|
342
|
+
|
|
343
|
+
/*! ./addNewMeasurement.js */
|
|
344
|
+
|
|
345
|
+
/*! ./../../tools/base/BaseAnnotationTool.js */
|
|
346
|
+
|
|
347
|
+
/*! ../../util/getActiveTool */
|
|
348
|
+
|
|
349
|
+
/*!**********************************************************!*\
|
|
350
|
+
!*** ./eventDispatchers/mouseEventHandlers/mouseDrag.js ***!
|
|
351
|
+
\**********************************************************/
|
|
352
|
+
|
|
353
|
+
/*! ./../../store/getActiveToolsForElement.js */
|
|
354
|
+
|
|
355
|
+
/*!**********************************************************!*\
|
|
356
|
+
!*** ./eventDispatchers/mouseEventHandlers/mouseMove.js ***!
|
|
357
|
+
\**********************************************************/
|
|
358
|
+
|
|
359
|
+
/*! ./../../externalModules.js */
|
|
360
|
+
|
|
361
|
+
/*!******************************************************!*\
|
|
362
|
+
!*** ./eventDispatchers/mouseToolEventDispatcher.js ***!
|
|
363
|
+
\******************************************************/
|
|
364
|
+
|
|
365
|
+
/*! ./../events.js */
|
|
366
|
+
|
|
367
|
+
/*! ./mouseEventHandlers/index.js */
|
|
368
|
+
|
|
369
|
+
/*!*****************************************************!*\
|
|
370
|
+
!*** ./eventDispatchers/newImageEventDispatcher.js ***!
|
|
371
|
+
\*****************************************************/
|
|
372
|
+
|
|
373
|
+
/*!**********************************************************!*\
|
|
374
|
+
!*** ./eventDispatchers/shared/customCallbackHandler.js ***!
|
|
375
|
+
\**********************************************************/
|
|
376
|
+
|
|
377
|
+
/*!******************************************************************!*\
|
|
378
|
+
!*** ./eventDispatchers/touchEventHandlers/addNewMeasurement.js ***!
|
|
379
|
+
\******************************************************************/
|
|
380
|
+
|
|
381
|
+
/*! ../../store/index.js */
|
|
382
|
+
|
|
383
|
+
/*! ./../../manipulators/anyHandlesOutsideImage.js */
|
|
384
|
+
|
|
385
|
+
/*!******************************************************!*\
|
|
386
|
+
!*** ./eventDispatchers/touchEventHandlers/index.js ***!
|
|
387
|
+
\******************************************************/
|
|
388
|
+
|
|
389
|
+
/*! exports provided: doubleTap, multiTouchDrag, tap, touchDrag, touchEnd, touchPinch, touchPress, touchRotate, touchStart, touchStartActive */
|
|
390
|
+
|
|
391
|
+
/*! ./multiTouchDrag.js */
|
|
392
|
+
|
|
393
|
+
/*! ./tap.js */
|
|
394
|
+
|
|
395
|
+
/*! ./touchStart.js */
|
|
396
|
+
|
|
397
|
+
/*! ./touchStartActive.js */
|
|
398
|
+
|
|
399
|
+
/*!***************************************************************!*\
|
|
400
|
+
!*** ./eventDispatchers/touchEventHandlers/multiTouchDrag.js ***!
|
|
401
|
+
\***************************************************************/
|
|
402
|
+
|
|
403
|
+
/*! ../../store/getActiveToolsForElement.js */
|
|
404
|
+
|
|
405
|
+
/*!**********************************************************************************!*\
|
|
406
|
+
!*** ./eventDispatchers/touchEventHandlers/shared/deactivateAllToolInstances.js ***!
|
|
407
|
+
\**********************************************************************************/
|
|
408
|
+
|
|
409
|
+
/*!****************************************************!*\
|
|
410
|
+
!*** ./eventDispatchers/touchEventHandlers/tap.js ***!
|
|
411
|
+
\****************************************************/
|
|
412
|
+
|
|
413
|
+
/*! ../../store/getToolsWithDataForElement.js */
|
|
414
|
+
|
|
415
|
+
/*! ../../manipulators/getHandleNearImagePoint.js */
|
|
416
|
+
|
|
417
|
+
/*! ./shared/deactivateAllToolInstances.js */
|
|
418
|
+
|
|
419
|
+
/*!***********************************************************!*\
|
|
420
|
+
!*** ./eventDispatchers/touchEventHandlers/touchStart.js ***!
|
|
421
|
+
\***********************************************************/
|
|
422
|
+
|
|
423
|
+
/*!*****************************************************************!*\
|
|
424
|
+
!*** ./eventDispatchers/touchEventHandlers/touchStartActive.js ***!
|
|
425
|
+
\*****************************************************************/
|
|
426
|
+
|
|
427
|
+
/*!******************************************************!*\
|
|
428
|
+
!*** ./eventDispatchers/touchToolEventDispatcher.js ***!
|
|
429
|
+
\******************************************************/
|
|
430
|
+
|
|
431
|
+
/*! ../events.js */
|
|
432
|
+
|
|
433
|
+
/*! ./touchEventHandlers/index.js */
|
|
434
|
+
|
|
435
|
+
/*!*********************************!*\
|
|
436
|
+
!*** ./eventListeners/index.js ***!
|
|
437
|
+
\*********************************/
|
|
438
|
+
|
|
439
|
+
/*! exports provided: mouseEventListeners, wheelEventListener, touchEventListeners */
|
|
440
|
+
|
|
441
|
+
/*! ./mouseEventListeners.js */
|
|
442
|
+
|
|
443
|
+
/*! ./wheelEventListener.js */
|
|
444
|
+
|
|
445
|
+
/*! ./touchEventListeners.js */
|
|
446
|
+
|
|
447
|
+
/*!****************************************************!*\
|
|
448
|
+
!*** ./eventListeners/internals/normalizeWheel.js ***!
|
|
449
|
+
\****************************************************/
|
|
450
|
+
|
|
451
|
+
/*!********************************************************!*\
|
|
452
|
+
!*** ./eventListeners/internals/renderSegmentation.js ***!
|
|
453
|
+
\********************************************************/
|
|
454
|
+
|
|
455
|
+
/*! ./renderSegmentationFill */
|
|
456
|
+
|
|
457
|
+
/*! ./renderSegmentationOutline */
|
|
458
|
+
|
|
459
|
+
/*!************************************************************!*\
|
|
460
|
+
!*** ./eventListeners/internals/renderSegmentationFill.js ***!
|
|
461
|
+
\************************************************************/
|
|
462
|
+
|
|
463
|
+
/*! exports provided: default, getLabelmapCanvas, renderFill */
|
|
464
|
+
|
|
465
|
+
/*! ../../drawing/index.js */
|
|
466
|
+
|
|
467
|
+
/*! ../../externalModules */
|
|
468
|
+
|
|
469
|
+
/*!***************************************************************!*\
|
|
470
|
+
!*** ./eventListeners/internals/renderSegmentationOutline.js ***!
|
|
471
|
+
\***************************************************************/
|
|
472
|
+
|
|
473
|
+
/*! exports provided: default, renderOutline, getOutline, _addTopRightCorner */
|
|
474
|
+
|
|
475
|
+
/*! ../../index.js */
|
|
476
|
+
|
|
477
|
+
/*!***********************************************!*\
|
|
478
|
+
!*** ./eventListeners/mouseEventListeners.js ***!
|
|
479
|
+
\***********************************************/
|
|
480
|
+
|
|
481
|
+
/*! ../util/copyPoints.js */
|
|
482
|
+
|
|
483
|
+
/*! ../util/triggerEvent.js */
|
|
484
|
+
|
|
485
|
+
/*! ../util/logger.js */
|
|
486
|
+
|
|
487
|
+
/*!************************************************************!*\
|
|
488
|
+
!*** ./eventListeners/onImageRenderedBrushEventHandler.js ***!
|
|
489
|
+
\************************************************************/
|
|
490
|
+
|
|
491
|
+
/*! ../store/index.js */
|
|
492
|
+
|
|
493
|
+
/*! ./internals/renderSegmentation.js */
|
|
494
|
+
|
|
495
|
+
/*!*********************************************!*\
|
|
496
|
+
!*** ./eventListeners/preventGhostClick.js ***!
|
|
497
|
+
\*********************************************/
|
|
498
|
+
|
|
499
|
+
/*!***********************************************!*\
|
|
500
|
+
!*** ./eventListeners/touchEventListeners.js ***!
|
|
501
|
+
\***********************************************/
|
|
502
|
+
|
|
503
|
+
/*! ./preventGhostClick.js */
|
|
504
|
+
|
|
505
|
+
/*! ../toolOptions.js */
|
|
506
|
+
|
|
507
|
+
/*!**********************************************!*\
|
|
508
|
+
!*** ./eventListeners/wheelEventListener.js ***!
|
|
509
|
+
\**********************************************/
|
|
510
|
+
|
|
511
|
+
/*! ./internals/normalizeWheel.js */
|
|
512
|
+
|
|
513
|
+
/*!***********************************************!*\
|
|
514
|
+
!*** ./eventListeners/windowResizeHandler.js ***!
|
|
515
|
+
\***********************************************/
|
|
516
|
+
|
|
517
|
+
/*! exports provided: forceEnabledElementResize, default */
|
|
518
|
+
|
|
519
|
+
/*!*******************!*\
|
|
520
|
+
!*** ./events.js ***!
|
|
521
|
+
\*******************/
|
|
522
|
+
|
|
523
|
+
/*!****************************!*\
|
|
524
|
+
!*** ./externalModules.js ***!
|
|
525
|
+
\****************************/
|
|
526
|
+
|
|
527
|
+
/*!***************************!*\
|
|
528
|
+
!*** ./importInternal.js ***!
|
|
529
|
+
\***************************/
|
|
530
|
+
|
|
531
|
+
/*! ./lib.js */
|
|
532
|
+
|
|
533
|
+
/*!******************!*\
|
|
534
|
+
!*** ./index.js ***!
|
|
535
|
+
\******************/
|
|
536
|
+
|
|
537
|
+
/*! exports provided: AngleTool, ArrowAnnotateTool, BidirectionalTool, CircleRoiTool, CobbAngleTool, EllipticalRoiTool, FreehandRoiTool, LengthTool, ProbeTool, RectangleRoiTool, TextMarkerTool, BrushTool, SphericalBrushTool, RectangleScissorsTool, FreehandScissorsTool, CircleScissorsTool, CorrectionScissorsTool, CrosshairsTool, DoubleTapFitToWindowTool, DragProbeTool, EraserTool, FreehandRoiSculptorTool, MagnifyTool, OverlayTool, OrientationMarkersTool, PanMultiTouchTool, PanTool, ReferenceLinesTool, RotateTool, RotateTouchTool, ScaleOverlayTool, StackScrollMouseWheelTool, StackScrollMultiTouchTool, StackScrollTool, WwwcRegionTool, WwwcTool, ZoomMouseWheelTool, ZoomTool, ZoomTouchPinchTool, init, stackPrefetch, stackRenderers, playClip, stopClip, store, getModule, getToolForElement, addTool, addToolForElement, removeTool, removeToolForElement, setToolOptions, setToolOptionsForElement, isToolActiveForElement, setToolActive, setToolActiveForElement, setToolEnabled, setToolEnabledForElement, setToolDisabled, setToolDisabledForElement, setToolPassive, setToolPassiveForElement, addToolState, getToolState, removeToolState, clearToolState, setElementToolStateManager, getElementToolStateManager, textStyle, toolStyle, toolColors, toolCoordinates, stackSpecificStateManager, newStackSpecificToolStateManager, addStackStateManager, loadHandlerManager, newImageIdSpecificToolStateManager, globalImageIdSpecificToolStateManager, newFrameOfReferenceSpecificToolStateManager, globalFrameOfReferenceSpecificToolStateManager, forceEnabledElementResize, orientation, SaveAs, enableLogger, disableLogger, register, registerSome, wwwcSynchronizer, updateImageSynchronizer, Synchronizer, stackScrollSynchronizer, stackImagePositionSynchronizer, stackImagePositionOffsetSynchronizer, stackImageIndexSynchronizer, panZoomSynchronizer, importInternal, external, EVENTS, version, import, default */
|
|
538
|
+
|
|
539
|
+
/*! ./tools/annotation/index.js */
|
|
540
|
+
|
|
541
|
+
/*! ./tools/segmentation/index.js */
|
|
542
|
+
|
|
543
|
+
/*! ./tools/index.js */
|
|
544
|
+
|
|
545
|
+
/*! ./init.js */
|
|
546
|
+
|
|
547
|
+
/*! ./stackTools/stackPrefetch.js */
|
|
548
|
+
|
|
549
|
+
/*! ./stackTools/stackRenderers.js */
|
|
550
|
+
|
|
551
|
+
/*! ./stackTools/playClip.js */
|
|
552
|
+
|
|
553
|
+
/*! ./store/index.js */
|
|
554
|
+
|
|
555
|
+
/*! ./store/getToolForElement.js */
|
|
556
|
+
|
|
557
|
+
/*! ./store/addTool.js */
|
|
558
|
+
|
|
559
|
+
/*! ./store/removeTool.js */
|
|
560
|
+
|
|
561
|
+
/*! ./store/setToolOptions.js */
|
|
562
|
+
|
|
563
|
+
/*! ./store/setToolMode.js */
|
|
564
|
+
|
|
565
|
+
/*! ./store/isToolActiveForElement */
|
|
566
|
+
|
|
567
|
+
/*! ./stateManagement/toolState.js */
|
|
568
|
+
|
|
569
|
+
/*! ./stateManagement/textStyle.js */
|
|
570
|
+
|
|
571
|
+
/*! ./stateManagement/toolStyle.js */
|
|
572
|
+
|
|
573
|
+
/*! ./stateManagement/toolColors.js */
|
|
574
|
+
|
|
575
|
+
/*! ./stateManagement/toolCoordinates.js */
|
|
576
|
+
|
|
577
|
+
/*! ./stateManagement/stackSpecificStateManager.js */
|
|
578
|
+
|
|
579
|
+
/*! ./stateManagement/loadHandlerManager.js */
|
|
580
|
+
|
|
581
|
+
/*! ./stateManagement/imageIdSpecificStateManager.js */
|
|
582
|
+
|
|
583
|
+
/*! ./stateManagement/frameOfReferenceStateManager.js */
|
|
584
|
+
|
|
585
|
+
/*! ./eventListeners/windowResizeHandler.js */
|
|
586
|
+
|
|
587
|
+
/*! ./orientation/index.js */
|
|
588
|
+
|
|
589
|
+
/*! ./util/SaveAs.js */
|
|
590
|
+
|
|
591
|
+
/*! ./util/logger.js */
|
|
592
|
+
|
|
593
|
+
/*! ./thirdParty/register.js */
|
|
594
|
+
|
|
595
|
+
/*! ./thirdParty/registerSome.js */
|
|
596
|
+
|
|
597
|
+
/*! ./synchronization/wwwcSynchronizer.js */
|
|
598
|
+
|
|
599
|
+
/*! ./synchronization/updateImageSynchronizer.js */
|
|
600
|
+
|
|
601
|
+
/*! ./synchronization/Synchronizer.js */
|
|
602
|
+
|
|
603
|
+
/*! ./synchronization/stackScrollSynchronizer.js */
|
|
604
|
+
|
|
605
|
+
/*! ./synchronization/stackImagePositionSynchronizer.js */
|
|
606
|
+
|
|
607
|
+
/*! ./synchronization/stackImagePositionOffsetSynchronizer.js */
|
|
608
|
+
|
|
609
|
+
/*! ./synchronization/stackImageIndexSynchronizer.js */
|
|
610
|
+
|
|
611
|
+
/*! ./synchronization/panZoomSynchronizer.js */
|
|
612
|
+
|
|
613
|
+
/*! ./externalModules.js */
|
|
614
|
+
|
|
615
|
+
/*! ./events.js */
|
|
616
|
+
|
|
617
|
+
/*! ./version.js */
|
|
618
|
+
|
|
619
|
+
/*! ./importInternal.js */
|
|
620
|
+
|
|
621
|
+
/*!*****************!*\
|
|
622
|
+
!*** ./init.js ***!
|
|
623
|
+
\*****************/
|
|
624
|
+
|
|
625
|
+
/*! ./store/internals/addEnabledElement.js */
|
|
626
|
+
|
|
627
|
+
/*! ./store/internals/removeEnabledElement.js */
|
|
628
|
+
|
|
629
|
+
/*!****************!*\
|
|
630
|
+
!*** ./lib.js ***!
|
|
631
|
+
\****************/
|
|
632
|
+
|
|
633
|
+
/*! exports provided: lib */
|
|
634
|
+
|
|
635
|
+
/*! ./tools/base/BaseTool.js */
|
|
636
|
+
|
|
637
|
+
/*! ./tools/base/BaseAnnotationTool.js */
|
|
638
|
+
|
|
639
|
+
/*! ./tools/base/BaseBrushTool.js */
|
|
640
|
+
|
|
641
|
+
/*! ./manipulators/index.js */
|
|
642
|
+
|
|
643
|
+
/*! ./util/findAndMoveHelpers.js */
|
|
644
|
+
|
|
645
|
+
/*! ./mixins/index.js */
|
|
646
|
+
|
|
647
|
+
/*! ./tools/cursors/index.js */
|
|
648
|
+
|
|
649
|
+
/*! ./drawing/index.js */
|
|
650
|
+
|
|
651
|
+
/*! ./util/clip.js */
|
|
652
|
+
|
|
653
|
+
/*! ./util/debounce */
|
|
654
|
+
|
|
655
|
+
/*! ./util/deepmerge */
|
|
656
|
+
|
|
657
|
+
/*! ./util/getDefault */
|
|
658
|
+
|
|
659
|
+
/*! ./util/getPixelSpacing */
|
|
660
|
+
|
|
661
|
+
/*! ./util/isEmptyObject */
|
|
662
|
+
|
|
663
|
+
/*! ./util/isObject */
|
|
664
|
+
|
|
665
|
+
/*! ./util/isPointInImage */
|
|
666
|
+
|
|
667
|
+
/*! ./util/isPointInPolygon */
|
|
668
|
+
|
|
669
|
+
/*! ./util/throttle */
|
|
670
|
+
|
|
671
|
+
/*! ./util/wait */
|
|
672
|
+
|
|
673
|
+
/*! ./util/getKeyPressData */
|
|
674
|
+
|
|
675
|
+
/*! ./drawing/drawTextBox.js */
|
|
676
|
+
|
|
677
|
+
/*! ./drawing/drawArrow.js */
|
|
678
|
+
|
|
679
|
+
/*! ./drawing/drawLink.js */
|
|
680
|
+
|
|
681
|
+
/*! ./drawing/drawLinkedTextBox.js */
|
|
682
|
+
|
|
683
|
+
/*! ./drawing/drawHandles.js */
|
|
684
|
+
|
|
685
|
+
/*! ./util/getActiveTool */
|
|
686
|
+
|
|
687
|
+
/*! ./util/getLuminance.js */
|
|
688
|
+
|
|
689
|
+
/*! ./util/getROITextBoxCoords */
|
|
690
|
+
|
|
691
|
+
/*! ./util/copyPoints.js */
|
|
692
|
+
|
|
693
|
+
/*! ./util/calculateSUV.js */
|
|
694
|
+
|
|
695
|
+
/*! ./util/setContextToDisplayFontSize.js */
|
|
696
|
+
|
|
697
|
+
/*! ./util/scrollToIndex.js */
|
|
698
|
+
|
|
699
|
+
/*! ./util/scroll.js */
|
|
700
|
+
|
|
701
|
+
/*! ./util/roundToDecimal.js */
|
|
702
|
+
|
|
703
|
+
/*! ./util/pointProjector.js */
|
|
704
|
+
|
|
705
|
+
/*! ./util/lineSegDistance.js */
|
|
706
|
+
|
|
707
|
+
/*! ./util/logger */
|
|
708
|
+
|
|
709
|
+
/*! ./util/pointInsideBoundingBox.js */
|
|
710
|
+
|
|
711
|
+
/*! ./util/makeUnselectable.js */
|
|
712
|
+
|
|
713
|
+
/*! ./util/getRGBPixels.js */
|
|
714
|
+
|
|
715
|
+
/*! ./util/getMaxSimultaneousRequests.js */
|
|
716
|
+
|
|
717
|
+
/*! ./util/angleBetweenPoints.js */
|
|
718
|
+
|
|
719
|
+
/*! ./util/numbersWithCommas.js */
|
|
720
|
+
|
|
721
|
+
/*! ./tools/cursors/MouseCursor.js */
|
|
722
|
+
|
|
723
|
+
/*! ./util/ellipse/index.js */
|
|
724
|
+
|
|
725
|
+
/*! ./util/freehand/index.js */
|
|
726
|
+
|
|
727
|
+
/*! ./util/segmentation */
|
|
728
|
+
|
|
729
|
+
/*! ./util/zoom/index.js */
|
|
730
|
+
|
|
731
|
+
/*! ./util/triggerEvent.js */
|
|
732
|
+
|
|
733
|
+
/*! ./util/convertToVector3.js */
|
|
734
|
+
|
|
735
|
+
/*!************************************************!*\
|
|
736
|
+
!*** ./manipulators/anyHandlesOutsideImage.js ***!
|
|
737
|
+
\************************************************/
|
|
738
|
+
|
|
739
|
+
/*!*************************************************!*\
|
|
740
|
+
!*** ./manipulators/getHandleNearImagePoint.js ***!
|
|
741
|
+
\*************************************************/
|
|
742
|
+
|
|
743
|
+
/*! @babel/runtime/helpers/typeof */
|
|
744
|
+
|
|
745
|
+
/*! ../util/pointInsideBoundingBox.js */
|
|
746
|
+
|
|
747
|
+
/*!*****************************************!*\
|
|
748
|
+
!*** ./manipulators/handleActivator.js ***!
|
|
749
|
+
\*****************************************/
|
|
750
|
+
|
|
751
|
+
/*! ./getHandleNearImagePoint.js */
|
|
752
|
+
|
|
753
|
+
/*!*******************************!*\
|
|
754
|
+
!*** ./manipulators/index.js ***!
|
|
755
|
+
\*******************************/
|
|
756
|
+
|
|
757
|
+
/*! exports provided: anyHandlesOutsideImage, getHandleNearImagePoint, handleActivator, moveAllHandles, moveHandle, moveNewHandle */
|
|
758
|
+
|
|
759
|
+
/*! ./anyHandlesOutsideImage.js */
|
|
760
|
+
|
|
761
|
+
/*! ./handleActivator.js */
|
|
762
|
+
|
|
763
|
+
/*! ./moveAllHandles.js */
|
|
764
|
+
|
|
765
|
+
/*! ./moveHandle.js */
|
|
766
|
+
|
|
767
|
+
/*! ./moveNewHandle.js */
|
|
768
|
+
|
|
769
|
+
/*!****************************************!*\
|
|
770
|
+
!*** ./manipulators/moveAllHandles.js ***!
|
|
771
|
+
\****************************************/
|
|
772
|
+
|
|
773
|
+
/*! ../stateManagement/toolState.js */
|
|
774
|
+
|
|
775
|
+
/*! ../util/clip.js */
|
|
776
|
+
|
|
777
|
+
/*! ../util/getActiveTool */
|
|
778
|
+
|
|
779
|
+
/*! ../tools/base/BaseAnnotationTool */
|
|
780
|
+
|
|
781
|
+
/*!************************************!*\
|
|
782
|
+
!*** ./manipulators/moveHandle.js ***!
|
|
783
|
+
\************************************/
|
|
784
|
+
|
|
785
|
+
/*!***************************************!*\
|
|
786
|
+
!*** ./manipulators/moveNewHandle.js ***!
|
|
787
|
+
\***************************************/
|
|
788
|
+
|
|
789
|
+
/*!**********************************************!*\
|
|
790
|
+
!*** ./mixins/activeOrDisabledBinaryTool.js ***!
|
|
791
|
+
\**********************************************/
|
|
792
|
+
|
|
793
|
+
/*! ../store/setToolMode.js */
|
|
794
|
+
|
|
795
|
+
/*!***********************************************!*\
|
|
796
|
+
!*** ./mixins/enabledOrDisabledBinaryTool.js ***!
|
|
797
|
+
\***********************************************/
|
|
798
|
+
|
|
799
|
+
/*!*************************!*\
|
|
800
|
+
!*** ./mixins/index.js ***!
|
|
801
|
+
\*************************/
|
|
802
|
+
|
|
803
|
+
/*! ./activeOrDisabledBinaryTool.js */
|
|
804
|
+
|
|
805
|
+
/*! ./enabledOrDisabledBinaryTool.js */
|
|
806
|
+
|
|
807
|
+
/*! ./segmentation/circleSegmentationMixin.js */
|
|
808
|
+
|
|
809
|
+
/*! ./segmentation/polylineSegmentationMixin.js */
|
|
810
|
+
|
|
811
|
+
/*! ./segmentation/freehandSegmentationMixin.js */
|
|
812
|
+
|
|
813
|
+
/*! ./segmentation/rectangleSegmentationMixin.js */
|
|
814
|
+
|
|
815
|
+
/*! ./segmentation/renderBrushMixin.js */
|
|
816
|
+
|
|
817
|
+
/*!********************************************************!*\
|
|
818
|
+
!*** ./mixins/segmentation/circleSegmentationMixin.js ***!
|
|
819
|
+
\********************************************************/
|
|
820
|
+
|
|
821
|
+
/*! ../../drawing */
|
|
822
|
+
|
|
823
|
+
/*! ../../util/isEmptyObject */
|
|
824
|
+
|
|
825
|
+
/*! ../../store */
|
|
826
|
+
|
|
827
|
+
/*! ../../util/segmentation */
|
|
828
|
+
|
|
829
|
+
/*!**********************************************************!*\
|
|
830
|
+
!*** ./mixins/segmentation/freehandSegmentationMixin.js ***!
|
|
831
|
+
\**********************************************************/
|
|
832
|
+
|
|
833
|
+
/*! @babel/runtime/helpers/toConsumableArray */
|
|
834
|
+
|
|
835
|
+
/*!**********************************************************!*\
|
|
836
|
+
!*** ./mixins/segmentation/polylineSegmentationMixin.js ***!
|
|
837
|
+
\**********************************************************/
|
|
838
|
+
|
|
839
|
+
/*! ./freehandSegmentationMixin */
|
|
840
|
+
|
|
841
|
+
/*!***********************************************************!*\
|
|
842
|
+
!*** ./mixins/segmentation/rectangleSegmentationMixin.js ***!
|
|
843
|
+
\***********************************************************/
|
|
844
|
+
|
|
845
|
+
/*!*************************************************!*\
|
|
846
|
+
!*** ./mixins/segmentation/renderBrushMixin.js ***!
|
|
847
|
+
\*************************************************/
|
|
848
|
+
|
|
849
|
+
/*!*********************************************!*\
|
|
850
|
+
!*** ./orientation/getOrientationString.js ***!
|
|
851
|
+
\*********************************************/
|
|
852
|
+
|
|
853
|
+
/*! ../util/convertToVector3.js */
|
|
854
|
+
|
|
855
|
+
/*!******************************!*\
|
|
856
|
+
!*** ./orientation/index.js ***!
|
|
857
|
+
\******************************/
|
|
858
|
+
|
|
859
|
+
/*! ./getOrientationString.js */
|
|
860
|
+
|
|
861
|
+
/*! ./invertOrientationString.js */
|
|
862
|
+
|
|
863
|
+
/*!************************************************!*\
|
|
864
|
+
!*** ./orientation/invertOrientationString.js ***!
|
|
865
|
+
\************************************************/
|
|
866
|
+
|
|
867
|
+
/*!**************************************!*\
|
|
868
|
+
!*** ./stackTools/fusionRenderer.js ***!
|
|
869
|
+
\**************************************/
|
|
870
|
+
|
|
871
|
+
/*! @babel/runtime/helpers/classCallCheck */
|
|
872
|
+
|
|
873
|
+
/*! @babel/runtime/helpers/createClass */
|
|
874
|
+
|
|
875
|
+
/*!********************************!*\
|
|
876
|
+
!*** ./stackTools/playClip.js ***!
|
|
877
|
+
\********************************/
|
|
878
|
+
|
|
879
|
+
/*! exports provided: playClip, stopClip */
|
|
880
|
+
|
|
881
|
+
/*! ../stateManagement/loadHandlerManager.js */
|
|
882
|
+
|
|
883
|
+
/*!*************************************!*\
|
|
884
|
+
!*** ./stackTools/stackPrefetch.js ***!
|
|
885
|
+
\*************************************/
|
|
886
|
+
|
|
887
|
+
/*! ../util/triggerEvent */
|
|
888
|
+
|
|
889
|
+
/*!**************************************!*\
|
|
890
|
+
!*** ./stackTools/stackRenderers.js ***!
|
|
891
|
+
\**************************************/
|
|
892
|
+
|
|
893
|
+
/*! ./fusionRenderer.js */
|
|
894
|
+
|
|
895
|
+
/*!*********************************************************!*\
|
|
896
|
+
!*** ./stateManagement/frameOfReferenceStateManager.js ***!
|
|
897
|
+
\*********************************************************/
|
|
898
|
+
|
|
899
|
+
/*! exports provided: newFrameOfReferenceSpecificToolStateManager, globalFrameOfReferenceSpecificToolStateManager */
|
|
900
|
+
|
|
901
|
+
/*!********************************************************!*\
|
|
902
|
+
!*** ./stateManagement/imageIdSpecificStateManager.js ***!
|
|
903
|
+
\********************************************************/
|
|
904
|
+
|
|
905
|
+
/*! exports provided: newImageIdSpecificToolStateManager, globalImageIdSpecificToolStateManager */
|
|
906
|
+
|
|
907
|
+
/*!***********************************************!*\
|
|
908
|
+
!*** ./stateManagement/loadHandlerManager.js ***!
|
|
909
|
+
\***********************************************/
|
|
910
|
+
|
|
911
|
+
/*!******************************************************!*\
|
|
912
|
+
!*** ./stateManagement/stackSpecificStateManager.js ***!
|
|
913
|
+
\******************************************************/
|
|
914
|
+
|
|
915
|
+
/*! exports provided: stackSpecificStateManager, newStackSpecificToolStateManager, addStackStateManager */
|
|
916
|
+
|
|
917
|
+
/*! ./imageIdSpecificStateManager.js */
|
|
918
|
+
|
|
919
|
+
/*! ./toolState.js */
|
|
920
|
+
|
|
921
|
+
/*!**************************************!*\
|
|
922
|
+
!*** ./stateManagement/textStyle.js ***!
|
|
923
|
+
\**************************************/
|
|
924
|
+
|
|
925
|
+
/*!***************************************!*\
|
|
926
|
+
!*** ./stateManagement/toolColors.js ***!
|
|
927
|
+
\***************************************/
|
|
928
|
+
|
|
929
|
+
/*!********************************************!*\
|
|
930
|
+
!*** ./stateManagement/toolCoordinates.js ***!
|
|
931
|
+
\********************************************/
|
|
932
|
+
|
|
933
|
+
/*!**************************************!*\
|
|
934
|
+
!*** ./stateManagement/toolState.js ***!
|
|
935
|
+
\**************************************/
|
|
936
|
+
|
|
937
|
+
/*! exports provided: addToolState, getToolState, removeToolState, clearToolState, setElementToolStateManager, getElementToolStateManager */
|
|
938
|
+
|
|
939
|
+
/*! ../util/uuidv4.js */
|
|
940
|
+
|
|
941
|
+
/*!**************************************!*\
|
|
942
|
+
!*** ./stateManagement/toolStyle.js ***!
|
|
943
|
+
\**************************************/
|
|
944
|
+
|
|
945
|
+
/*!**************************!*\
|
|
946
|
+
!*** ./store/addTool.js ***!
|
|
947
|
+
\**************************/
|
|
948
|
+
|
|
949
|
+
/*! exports provided: addTool, addToolForElement */
|
|
950
|
+
|
|
951
|
+
/*! ./index.js */
|
|
952
|
+
|
|
953
|
+
/*! ./getToolForElement.js */
|
|
954
|
+
|
|
955
|
+
/*!******************************************************!*\
|
|
956
|
+
!*** ./store/filterToolsUsableWithMultiPartTools.js ***!
|
|
957
|
+
\******************************************************/
|
|
958
|
+
|
|
959
|
+
/*! ../tools/base/BaseAnnotationTool.js */
|
|
960
|
+
|
|
961
|
+
/*! ../tools/base/BaseBrushTool.js */
|
|
962
|
+
|
|
963
|
+
/*!*******************************************!*\
|
|
964
|
+
!*** ./store/getActiveToolsForElement.js ***!
|
|
965
|
+
\*******************************************/
|
|
966
|
+
|
|
967
|
+
/*!************************************************!*\
|
|
968
|
+
!*** ./store/getInteractiveToolsForElement.js ***!
|
|
969
|
+
\************************************************/
|
|
970
|
+
|
|
971
|
+
/*!************************************!*\
|
|
972
|
+
!*** ./store/getToolForElement.js ***!
|
|
973
|
+
\************************************/
|
|
974
|
+
|
|
975
|
+
/*!*********************************************!*\
|
|
976
|
+
!*** ./store/getToolsWithDataForElement.js ***!
|
|
977
|
+
\*********************************************/
|
|
978
|
+
|
|
979
|
+
/*! ./../stateManagement/toolState.js */
|
|
980
|
+
|
|
981
|
+
/*!**********************************************!*\
|
|
982
|
+
!*** ./store/getToolsWithMoveableHandles.js ***!
|
|
983
|
+
\**********************************************/
|
|
984
|
+
|
|
985
|
+
/*! ../manipulators/getHandleNearImagePoint.js */
|
|
986
|
+
|
|
987
|
+
/*!************************!*\
|
|
988
|
+
!*** ./store/index.js ***!
|
|
989
|
+
\************************/
|
|
990
|
+
|
|
991
|
+
/*! exports provided: state, getters, modules, getModule, default */
|
|
992
|
+
|
|
993
|
+
/*! ./modules/segmentationModule */
|
|
994
|
+
|
|
995
|
+
/*! ./modules/manipulatorStateModule */
|
|
996
|
+
|
|
997
|
+
/*! ./modules/cursorModule.js */
|
|
998
|
+
|
|
999
|
+
/*! ./modules/globalConfigurationModule.js */
|
|
1000
|
+
|
|
1001
|
+
/*!**********************************************!*\
|
|
1002
|
+
!*** ./store/internals/addEnabledElement.js ***!
|
|
1003
|
+
\**********************************************/
|
|
1004
|
+
|
|
1005
|
+
/*! ../../eventListeners/index.js */
|
|
1006
|
+
|
|
1007
|
+
/*! ../../eventDispatchers/index.js */
|
|
1008
|
+
|
|
1009
|
+
/*! ./../addTool.js */
|
|
1010
|
+
|
|
1011
|
+
/*! ./../setToolMode.js */
|
|
1012
|
+
|
|
1013
|
+
/*! ../index.js */
|
|
1014
|
+
|
|
1015
|
+
/*!*************************************************!*\
|
|
1016
|
+
!*** ./store/internals/removeEnabledElement.js ***!
|
|
1017
|
+
\*************************************************/
|
|
1018
|
+
|
|
1019
|
+
/*! ../../stateManagement/loadHandlerManager.js */
|
|
1020
|
+
|
|
1021
|
+
/*! ../setToolMode */
|
|
1022
|
+
|
|
1023
|
+
/*!*****************************************!*\
|
|
1024
|
+
!*** ./store/isToolActiveForElement.js ***!
|
|
1025
|
+
\*****************************************/
|
|
1026
|
+
|
|
1027
|
+
/*!***************************************!*\
|
|
1028
|
+
!*** ./store/modules/cursorModule.js ***!
|
|
1029
|
+
\***************************************/
|
|
1030
|
+
|
|
1031
|
+
/*!****************************************************!*\
|
|
1032
|
+
!*** ./store/modules/globalConfigurationModule.js ***!
|
|
1033
|
+
\****************************************************/
|
|
1034
|
+
|
|
1035
|
+
/*!*************************************************!*\
|
|
1036
|
+
!*** ./store/modules/manipulatorStateModule.js ***!
|
|
1037
|
+
\*************************************************/
|
|
1038
|
+
|
|
1039
|
+
/*!*****************************************************************!*\
|
|
1040
|
+
!*** ./store/modules/segmentationModule/activeLabelmapIndex.js ***!
|
|
1041
|
+
\*****************************************************************/
|
|
1042
|
+
|
|
1043
|
+
/*! exports provided: getActiveLabelmapIndex, setActiveLabelmapIndex */
|
|
1044
|
+
|
|
1045
|
+
/*! ./getElement */
|
|
1046
|
+
|
|
1047
|
+
/*! ../../../stateManagement/toolState.js */
|
|
1048
|
+
|
|
1049
|
+
/*! ./addLabelmap3D */
|
|
1050
|
+
|
|
1051
|
+
/*! ./state */
|
|
1052
|
+
|
|
1053
|
+
/*! ../../../externalModules */
|
|
1054
|
+
|
|
1055
|
+
/*!****************************************************************!*\
|
|
1056
|
+
!*** ./store/modules/segmentationModule/activeSegmentIndex.js ***!
|
|
1057
|
+
\****************************************************************/
|
|
1058
|
+
|
|
1059
|
+
/*! exports provided: getActiveSegmentIndex, setActiveSegmentIndex, incrementActiveSegmentIndex, decrementActiveSegmentIndex */
|
|
1060
|
+
|
|
1061
|
+
/*!***********************************************************!*\
|
|
1062
|
+
!*** ./store/modules/segmentationModule/addLabelmap2D.js ***!
|
|
1063
|
+
\***********************************************************/
|
|
1064
|
+
|
|
1065
|
+
/*! ./arrayTypes */
|
|
1066
|
+
|
|
1067
|
+
/*!***********************************************************!*\
|
|
1068
|
+
!*** ./store/modules/segmentationModule/addLabelmap3D.js ***!
|
|
1069
|
+
\***********************************************************/
|
|
1070
|
+
|
|
1071
|
+
/*!********************************************************!*\
|
|
1072
|
+
!*** ./store/modules/segmentationModule/arrayTypes.js ***!
|
|
1073
|
+
\********************************************************/
|
|
1074
|
+
|
|
1075
|
+
/*!******************************************************!*\
|
|
1076
|
+
!*** ./store/modules/segmentationModule/colorLUT.js ***!
|
|
1077
|
+
\******************************************************/
|
|
1078
|
+
|
|
1079
|
+
/*! exports provided: default, setColorLUTIndexForLabelmap3D, getColorForSegmentIndexColorLUT, setColorForSegmentIndexOfColorLUT, getColorLUT */
|
|
1080
|
+
|
|
1081
|
+
/*! ../../../util/logger */
|
|
1082
|
+
|
|
1083
|
+
/*!******************************************************************!*\
|
|
1084
|
+
!*** ./store/modules/segmentationModule/defaultConfiguration.js ***!
|
|
1085
|
+
\******************************************************************/
|
|
1086
|
+
|
|
1087
|
+
/*!***********************************************************!*\
|
|
1088
|
+
!*** ./store/modules/segmentationModule/deleteSegment.js ***!
|
|
1089
|
+
\***********************************************************/
|
|
1090
|
+
|
|
1091
|
+
/*!***********************************************************!*\
|
|
1092
|
+
!*** ./store/modules/segmentationModule/getBrushColor.js ***!
|
|
1093
|
+
\***********************************************************/
|
|
1094
|
+
|
|
1095
|
+
/*!********************************************************!*\
|
|
1096
|
+
!*** ./store/modules/segmentationModule/getElement.js ***!
|
|
1097
|
+
\********************************************************/
|
|
1098
|
+
|
|
1099
|
+
/*!***********************************************************!*\
|
|
1100
|
+
!*** ./store/modules/segmentationModule/getLabelmap2D.js ***!
|
|
1101
|
+
\***********************************************************/
|
|
1102
|
+
|
|
1103
|
+
/*! exports provided: default, getLabelmap2DByImageIdIndex */
|
|
1104
|
+
|
|
1105
|
+
/*! ./getSegmentsOnPixeldata */
|
|
1106
|
+
|
|
1107
|
+
/*! ./addLabelmap2D */
|
|
1108
|
+
|
|
1109
|
+
/*!****************************************************************!*\
|
|
1110
|
+
!*** ./store/modules/segmentationModule/getLabelmapBuffers.js ***!
|
|
1111
|
+
\****************************************************************/
|
|
1112
|
+
|
|
1113
|
+
/*! exports provided: getLabelmapBuffers, getActiveLabelmapBuffer */
|
|
1114
|
+
|
|
1115
|
+
/*! ./getLabelmaps3D */
|
|
1116
|
+
|
|
1117
|
+
/*!**************************************************************!*\
|
|
1118
|
+
!*** ./store/modules/segmentationModule/getLabelmapStats.js ***!
|
|
1119
|
+
\**************************************************************/
|
|
1120
|
+
|
|
1121
|
+
/*! exports provided: default, _calculateLabelmapStats */
|
|
1122
|
+
|
|
1123
|
+
/*!************************************************************!*\
|
|
1124
|
+
!*** ./store/modules/segmentationModule/getLabelmaps3D.js ***!
|
|
1125
|
+
\************************************************************/
|
|
1126
|
+
|
|
1127
|
+
/*! exports provided: default, getLabelmap3D */
|
|
1128
|
+
|
|
1129
|
+
/*!*******************************************************************************!*\
|
|
1130
|
+
!*** ./store/modules/segmentationModule/getSegmentOfActiveLabelmapAtEvent.js ***!
|
|
1131
|
+
\*******************************************************************************/
|
|
1132
|
+
|
|
1133
|
+
/*! ../../../util/isPointInImage */
|
|
1134
|
+
|
|
1135
|
+
/*!********************************************************************!*\
|
|
1136
|
+
!*** ./store/modules/segmentationModule/getSegmentsOnPixeldata.js ***!
|
|
1137
|
+
\********************************************************************/
|
|
1138
|
+
|
|
1139
|
+
/*!*****************************************************!*\
|
|
1140
|
+
!*** ./store/modules/segmentationModule/history.js ***!
|
|
1141
|
+
\*****************************************************/
|
|
1142
|
+
|
|
1143
|
+
/*! exports provided: pushState, undo, redo */
|
|
1144
|
+
|
|
1145
|
+
/*!***************************************************!*\
|
|
1146
|
+
!*** ./store/modules/segmentationModule/index.js ***!
|
|
1147
|
+
\***************************************************/
|
|
1148
|
+
|
|
1149
|
+
/*! ./metadata */
|
|
1150
|
+
|
|
1151
|
+
/*! ./activeLabelmapIndex */
|
|
1152
|
+
|
|
1153
|
+
/*! ./activeSegmentIndex */
|
|
1154
|
+
|
|
1155
|
+
/*! ./segmentVisibility.js */
|
|
1156
|
+
|
|
1157
|
+
/*! ./getLabelmapBuffers */
|
|
1158
|
+
|
|
1159
|
+
/*! ./setLabelmap3D.js */
|
|
1160
|
+
|
|
1161
|
+
/*! ./getLabelmapStats */
|
|
1162
|
+
|
|
1163
|
+
/*! ./getLabelmap2D */
|
|
1164
|
+
|
|
1165
|
+
/*! ./getSegmentOfActiveLabelmapAtEvent */
|
|
1166
|
+
|
|
1167
|
+
/*! ./colorLUT */
|
|
1168
|
+
|
|
1169
|
+
/*! ./getBrushColor */
|
|
1170
|
+
|
|
1171
|
+
/*! ./deleteSegment */
|
|
1172
|
+
|
|
1173
|
+
/*! ./defaultConfiguration */
|
|
1174
|
+
|
|
1175
|
+
/*! ./history */
|
|
1176
|
+
|
|
1177
|
+
/*! ./setRadius */
|
|
1178
|
+
|
|
1179
|
+
/*!******************************************************!*\
|
|
1180
|
+
!*** ./store/modules/segmentationModule/metadata.js ***!
|
|
1181
|
+
\******************************************************/
|
|
1182
|
+
|
|
1183
|
+
/*! exports provided: getMetadata, setMetadata */
|
|
1184
|
+
|
|
1185
|
+
/*!***************************************************************!*\
|
|
1186
|
+
!*** ./store/modules/segmentationModule/segmentVisibility.js ***!
|
|
1187
|
+
\***************************************************************/
|
|
1188
|
+
|
|
1189
|
+
/*! exports provided: isSegmentVisible, toggleSegmentVisibility */
|
|
1190
|
+
|
|
1191
|
+
/*!***********************************************************!*\
|
|
1192
|
+
!*** ./store/modules/segmentationModule/setLabelmap3D.js ***!
|
|
1193
|
+
\***********************************************************/
|
|
1194
|
+
|
|
1195
|
+
/*! exports provided: setLabelmap3DByFirstImageId, setLabelmap3DForElement */
|
|
1196
|
+
|
|
1197
|
+
/*! ../../../util/segmentation */
|
|
1198
|
+
|
|
1199
|
+
/*!*******************************************************!*\
|
|
1200
|
+
!*** ./store/modules/segmentationModule/setRadius.js ***!
|
|
1201
|
+
\*******************************************************/
|
|
1202
|
+
|
|
1203
|
+
/*! ../../index */
|
|
1204
|
+
|
|
1205
|
+
/*!***************************************************!*\
|
|
1206
|
+
!*** ./store/modules/segmentationModule/state.js ***!
|
|
1207
|
+
\***************************************************/
|
|
1208
|
+
|
|
1209
|
+
/*!*****************************!*\
|
|
1210
|
+
!*** ./store/removeTool.js ***!
|
|
1211
|
+
\*****************************/
|
|
1212
|
+
|
|
1213
|
+
/*! exports provided: removeTool, removeToolForElement */
|
|
1214
|
+
|
|
1215
|
+
/*!********************************!*\
|
|
1216
|
+
!*** ./store/setToolCursor.js ***!
|
|
1217
|
+
\********************************/
|
|
1218
|
+
|
|
1219
|
+
/*! exports provided: setToolCursor, resetToolCursor, hideToolCursor */
|
|
1220
|
+
|
|
1221
|
+
/*!******************************!*\
|
|
1222
|
+
!*** ./store/setToolMode.js ***!
|
|
1223
|
+
\******************************/
|
|
1224
|
+
|
|
1225
|
+
/*! exports provided: setToolActive, setToolActiveForElement, setToolDisabled, setToolDisabledForElement, setToolEnabled, setToolEnabledForElement, setToolPassive, setToolPassiveForElement, setToolMode, setToolModeForElement, _getNormalizedOptions, _mergeMouseButtonMask */
|
|
1226
|
+
|
|
1227
|
+
/*! ./../util/triggerEvent.js */
|
|
1228
|
+
|
|
1229
|
+
/*! ./setToolCursor.js */
|
|
1230
|
+
|
|
1231
|
+
/*!*********************************!*\
|
|
1232
|
+
!*** ./store/setToolOptions.js ***!
|
|
1233
|
+
\*********************************/
|
|
1234
|
+
|
|
1235
|
+
/*! exports provided: setToolOptions, setToolOptionsForElement */
|
|
1236
|
+
|
|
1237
|
+
/*!*****************************************!*\
|
|
1238
|
+
!*** ./synchronization/Synchronizer.js ***!
|
|
1239
|
+
\*****************************************/
|
|
1240
|
+
|
|
1241
|
+
/*!************************************************!*\
|
|
1242
|
+
!*** ./synchronization/panZoomSynchronizer.js ***!
|
|
1243
|
+
\************************************************/
|
|
1244
|
+
|
|
1245
|
+
/*!********************************************************!*\
|
|
1246
|
+
!*** ./synchronization/stackImageIndexSynchronizer.js ***!
|
|
1247
|
+
\********************************************************/
|
|
1248
|
+
|
|
1249
|
+
/*!*****************************************************************!*\
|
|
1250
|
+
!*** ./synchronization/stackImagePositionOffsetSynchronizer.js ***!
|
|
1251
|
+
\*****************************************************************/
|
|
1252
|
+
|
|
1253
|
+
/*!***********************************************************!*\
|
|
1254
|
+
!*** ./synchronization/stackImagePositionSynchronizer.js ***!
|
|
1255
|
+
\***********************************************************/
|
|
1256
|
+
|
|
1257
|
+
/*!****************************************************!*\
|
|
1258
|
+
!*** ./synchronization/stackScrollSynchronizer.js ***!
|
|
1259
|
+
\****************************************************/
|
|
1260
|
+
|
|
1261
|
+
/*!****************************************************!*\
|
|
1262
|
+
!*** ./synchronization/updateImageSynchronizer.js ***!
|
|
1263
|
+
\****************************************************/
|
|
1264
|
+
|
|
1265
|
+
/*!*********************************************!*\
|
|
1266
|
+
!*** ./synchronization/wwwcSynchronizer.js ***!
|
|
1267
|
+
\*********************************************/
|
|
1268
|
+
|
|
1269
|
+
/*!********************************!*\
|
|
1270
|
+
!*** ./thirdParty/register.js ***!
|
|
1271
|
+
\********************************/
|
|
1272
|
+
|
|
1273
|
+
/*! ./registerModule.js */
|
|
1274
|
+
|
|
1275
|
+
/*! ./registerMixin.js */
|
|
1276
|
+
|
|
1277
|
+
/*! ./registerItem.js */
|
|
1278
|
+
|
|
1279
|
+
/*!************************************!*\
|
|
1280
|
+
!*** ./thirdParty/registerItem.js ***!
|
|
1281
|
+
\************************************/
|
|
1282
|
+
|
|
1283
|
+
/*! ../lib.js */
|
|
1284
|
+
|
|
1285
|
+
/*!*************************************!*\
|
|
1286
|
+
!*** ./thirdParty/registerMixin.js ***!
|
|
1287
|
+
\*************************************/
|
|
1288
|
+
|
|
1289
|
+
/*! ../mixins/index.js */
|
|
1290
|
+
|
|
1291
|
+
/*!**************************************!*\
|
|
1292
|
+
!*** ./thirdParty/registerModule.js ***!
|
|
1293
|
+
\**************************************/
|
|
1294
|
+
|
|
1295
|
+
/*!************************************!*\
|
|
1296
|
+
!*** ./thirdParty/registerSome.js ***!
|
|
1297
|
+
\************************************/
|
|
1298
|
+
|
|
1299
|
+
/*! ./register.js */
|
|
1300
|
+
|
|
1301
|
+
/*!************************!*\
|
|
1302
|
+
!*** ./toolOptions.js ***!
|
|
1303
|
+
\************************/
|
|
1304
|
+
|
|
1305
|
+
/*! exports provided: getToolOptions, setToolOptions, clearToolOptions, clearToolOptionsByToolType, clearToolOptionsByToolName, clearToolOptionsByElement */
|
|
1306
|
+
|
|
1307
|
+
/*!*********************************!*\
|
|
1308
|
+
!*** ./tools/CrosshairsTool.js ***!
|
|
1309
|
+
\*********************************/
|
|
1310
|
+
|
|
1311
|
+
/*! @babel/runtime/helpers/possibleConstructorReturn */
|
|
1312
|
+
|
|
1313
|
+
/*! @babel/runtime/helpers/getPrototypeOf */
|
|
1314
|
+
|
|
1315
|
+
/*! @babel/runtime/helpers/assertThisInitialized */
|
|
1316
|
+
|
|
1317
|
+
/*! @babel/runtime/helpers/inherits */
|
|
1318
|
+
|
|
1319
|
+
/*! ./base/BaseTool.js */
|
|
1320
|
+
|
|
1321
|
+
/*! ./cursors/index.js */
|
|
1322
|
+
|
|
1323
|
+
/*!*******************************************!*\
|
|
1324
|
+
!*** ./tools/DoubleTapFitToWindowTool.js ***!
|
|
1325
|
+
\*******************************************/
|
|
1326
|
+
|
|
1327
|
+
/*!********************************!*\
|
|
1328
|
+
!*** ./tools/DragProbeTool.js ***!
|
|
1329
|
+
\********************************/
|
|
1330
|
+
|
|
1331
|
+
/*! ../stateManagement/toolColors.js */
|
|
1332
|
+
|
|
1333
|
+
/*! ../util/getRGBPixels.js */
|
|
1334
|
+
|
|
1335
|
+
/*! ../util/calculateSUV.js */
|
|
1336
|
+
|
|
1337
|
+
/*! ../drawing/index.js */
|
|
1338
|
+
|
|
1339
|
+
/*! ../drawing/drawTextBox.js */
|
|
1340
|
+
|
|
1341
|
+
/*!*****************************!*\
|
|
1342
|
+
!*** ./tools/EraserTool.js ***!
|
|
1343
|
+
\*****************************/
|
|
1344
|
+
|
|
1345
|
+
/*!******************************************!*\
|
|
1346
|
+
!*** ./tools/FreehandRoiSculptorTool.js ***!
|
|
1347
|
+
\******************************************/
|
|
1348
|
+
|
|
1349
|
+
/*! ../drawing/drawHandles.js */
|
|
1350
|
+
|
|
1351
|
+
/*! ../store/getToolForElement.js */
|
|
1352
|
+
|
|
1353
|
+
/*! ../store/setToolCursor.js */
|
|
1354
|
+
|
|
1355
|
+
/*! ../util/freehand/index.js */
|
|
1356
|
+
|
|
1357
|
+
/*!******************************!*\
|
|
1358
|
+
!*** ./tools/MagnifyTool.js ***!
|
|
1359
|
+
\******************************/
|
|
1360
|
+
|
|
1361
|
+
/*!*****************************************!*\
|
|
1362
|
+
!*** ./tools/OrientationMarkersTool.js ***!
|
|
1363
|
+
\*****************************************/
|
|
1364
|
+
|
|
1365
|
+
/*! ../orientation/index.js */
|
|
1366
|
+
|
|
1367
|
+
/*!******************************!*\
|
|
1368
|
+
!*** ./tools/OverlayTool.js ***!
|
|
1369
|
+
\******************************/
|
|
1370
|
+
|
|
1371
|
+
/*!************************************!*\
|
|
1372
|
+
!*** ./tools/PanMultiTouchTool.js ***!
|
|
1373
|
+
\************************************/
|
|
1374
|
+
|
|
1375
|
+
/*!**************************!*\
|
|
1376
|
+
!*** ./tools/PanTool.js ***!
|
|
1377
|
+
\**************************/
|
|
1378
|
+
|
|
1379
|
+
/*!*************************************!*\
|
|
1380
|
+
!*** ./tools/ReferenceLinesTool.js ***!
|
|
1381
|
+
\*************************************/
|
|
1382
|
+
|
|
1383
|
+
/*! @babel/runtime/regenerator */
|
|
1384
|
+
|
|
1385
|
+
/*! @babel/runtime/helpers/asyncToGenerator */
|
|
1386
|
+
|
|
1387
|
+
/*! ./referenceLines/renderActiveReferenceLine.js */
|
|
1388
|
+
|
|
1389
|
+
/*! ../util/wait.js */
|
|
1390
|
+
|
|
1391
|
+
/*!*****************************!*\
|
|
1392
|
+
!*** ./tools/RotateTool.js ***!
|
|
1393
|
+
\*****************************/
|
|
1394
|
+
|
|
1395
|
+
/*! ../util/angleBetweenPoints.js */
|
|
1396
|
+
|
|
1397
|
+
/*!**********************************!*\
|
|
1398
|
+
!*** ./tools/RotateTouchTool.js ***!
|
|
1399
|
+
\**********************************/
|
|
1400
|
+
|
|
1401
|
+
/*!***********************************!*\
|
|
1402
|
+
!*** ./tools/ScaleOverlayTool.js ***!
|
|
1403
|
+
\***********************************/
|
|
1404
|
+
|
|
1405
|
+
/*! ../stateManagement/toolStyle.js */
|
|
1406
|
+
|
|
1407
|
+
/*!********************************************!*\
|
|
1408
|
+
!*** ./tools/StackScrollMouseWheelTool.js ***!
|
|
1409
|
+
\********************************************/
|
|
1410
|
+
|
|
1411
|
+
/*! ../util/scroll.js */
|
|
1412
|
+
|
|
1413
|
+
/*!********************************************!*\
|
|
1414
|
+
!*** ./tools/StackScrollMultiTouchTool.js ***!
|
|
1415
|
+
\********************************************/
|
|
1416
|
+
|
|
1417
|
+
/*!**********************************!*\
|
|
1418
|
+
!*** ./tools/StackScrollTool.js ***!
|
|
1419
|
+
\**********************************/
|
|
1420
|
+
|
|
1421
|
+
/*!*********************************!*\
|
|
1422
|
+
!*** ./tools/WwwcRegionTool.js ***!
|
|
1423
|
+
\*********************************/
|
|
1424
|
+
|
|
1425
|
+
/*! ../util/getLuminance.js */
|
|
1426
|
+
|
|
1427
|
+
/*!***************************!*\
|
|
1428
|
+
!*** ./tools/WwwcTool.js ***!
|
|
1429
|
+
\***************************/
|
|
1430
|
+
|
|
1431
|
+
/*!*************************************!*\
|
|
1432
|
+
!*** ./tools/ZoomMouseWheelTool.js ***!
|
|
1433
|
+
\*************************************/
|
|
1434
|
+
|
|
1435
|
+
/*! ../util/zoom/index.js */
|
|
1436
|
+
|
|
1437
|
+
/*!***************************!*\
|
|
1438
|
+
!*** ./tools/ZoomTool.js ***!
|
|
1439
|
+
\***************************/
|
|
1440
|
+
|
|
1441
|
+
/*!*************************************!*\
|
|
1442
|
+
!*** ./tools/ZoomTouchPinchTool.js ***!
|
|
1443
|
+
\*************************************/
|
|
1444
|
+
|
|
1445
|
+
/*!***************************************!*\
|
|
1446
|
+
!*** ./tools/annotation/AngleTool.js ***!
|
|
1447
|
+
\***************************************/
|
|
1448
|
+
|
|
1449
|
+
/*! ../base/BaseAnnotationTool.js */
|
|
1450
|
+
|
|
1451
|
+
/*! ./../../stateManagement/toolStyle.js */
|
|
1452
|
+
|
|
1453
|
+
/*! ./../../stateManagement/toolColors.js */
|
|
1454
|
+
|
|
1455
|
+
/*! ./../../manipulators/index.js */
|
|
1456
|
+
|
|
1457
|
+
/*! ./../../drawing/index.js */
|
|
1458
|
+
|
|
1459
|
+
/*! ./../../drawing/drawLinkedTextBox.js */
|
|
1460
|
+
|
|
1461
|
+
/*! ./../../drawing/drawTextBox.js */
|
|
1462
|
+
|
|
1463
|
+
/*! ./../../drawing/drawHandles.js */
|
|
1464
|
+
|
|
1465
|
+
/*! ./../../util/lineSegDistance.js */
|
|
1466
|
+
|
|
1467
|
+
/*! ./../../util/roundToDecimal.js */
|
|
1468
|
+
|
|
1469
|
+
/*! ../cursors/index.js */
|
|
1470
|
+
|
|
1471
|
+
/*! ../../util/getPixelSpacing */
|
|
1472
|
+
|
|
1473
|
+
/*! ../../util/throttle */
|
|
1474
|
+
|
|
1475
|
+
/*! ../../store/index */
|
|
1476
|
+
|
|
1477
|
+
/*!***********************************************!*\
|
|
1478
|
+
!*** ./tools/annotation/ArrowAnnotateTool.js ***!
|
|
1479
|
+
\***********************************************/
|
|
1480
|
+
|
|
1481
|
+
/*! ./../../events.js */
|
|
1482
|
+
|
|
1483
|
+
/*! ./../../stateManagement/textStyle.js */
|
|
1484
|
+
|
|
1485
|
+
/*! ./../../util/pointInsideBoundingBox.js */
|
|
1486
|
+
|
|
1487
|
+
/*! ./../../util/triggerEvent.js */
|
|
1488
|
+
|
|
1489
|
+
/*! ./../../drawing/drawArrow.js */
|
|
1490
|
+
|
|
1491
|
+
/*!***********************************************!*\
|
|
1492
|
+
!*** ./tools/annotation/BidirectionalTool.js ***!
|
|
1493
|
+
\***********************************************/
|
|
1494
|
+
|
|
1495
|
+
/*! ./bidirectionalTool/createNewMeasurement.js */
|
|
1496
|
+
|
|
1497
|
+
/*! ./bidirectionalTool/pointNearTool.js */
|
|
1498
|
+
|
|
1499
|
+
/*! ./bidirectionalTool/renderToolData.js */
|
|
1500
|
+
|
|
1501
|
+
/*! ./bidirectionalTool/addNewMeasurement.js */
|
|
1502
|
+
|
|
1503
|
+
/*! ./bidirectionalTool/mouseMoveCallback.js */
|
|
1504
|
+
|
|
1505
|
+
/*! ./bidirectionalTool/handleSelectedCallback.js */
|
|
1506
|
+
|
|
1507
|
+
/*! ./bidirectionalTool/handleSelectedMouseCallback.js */
|
|
1508
|
+
|
|
1509
|
+
/*! ./bidirectionalTool/handleSelectedTouchCallback.js */
|
|
1510
|
+
|
|
1511
|
+
/*! ./bidirectionalTool/utils/calculateLongestAndShortestDiameters */
|
|
1512
|
+
|
|
1513
|
+
/*!*******************************************!*\
|
|
1514
|
+
!*** ./tools/annotation/CircleRoiTool.js ***!
|
|
1515
|
+
\*******************************************/
|
|
1516
|
+
|
|
1517
|
+
/*! ./../../util/calculateSUV.js */
|
|
1518
|
+
|
|
1519
|
+
/*! ./../../util/ellipse/index.js */
|
|
1520
|
+
|
|
1521
|
+
/*! ../../util/getROITextBoxCoords.js */
|
|
1522
|
+
|
|
1523
|
+
/*! ./../../util/numbersWithCommas.js */
|
|
1524
|
+
|
|
1525
|
+
/*! ./../../util/throttle.js */
|
|
1526
|
+
|
|
1527
|
+
/*! ../../util/getCircleCoords */
|
|
1528
|
+
|
|
1529
|
+
/*!*******************************************!*\
|
|
1530
|
+
!*** ./tools/annotation/CobbAngleTool.js ***!
|
|
1531
|
+
\*******************************************/
|
|
1532
|
+
|
|
1533
|
+
/*!***********************************************!*\
|
|
1534
|
+
!*** ./tools/annotation/EllipticalRoiTool.js ***!
|
|
1535
|
+
\***********************************************/
|
|
1536
|
+
|
|
1537
|
+
/*! ../../manipulators/getHandleNearImagePoint */
|
|
1538
|
+
|
|
1539
|
+
/*!*********************************************!*\
|
|
1540
|
+
!*** ./tools/annotation/FreehandRoiTool.js ***!
|
|
1541
|
+
\*********************************************/
|
|
1542
|
+
|
|
1543
|
+
/*! ./../base/BaseAnnotationTool.js */
|
|
1544
|
+
|
|
1545
|
+
/*! ../../util/pointInsideBoundingBox.js */
|
|
1546
|
+
|
|
1547
|
+
/*! ../../util/calculateSUV.js */
|
|
1548
|
+
|
|
1549
|
+
/*! ../../util/numbersWithCommas.js */
|
|
1550
|
+
|
|
1551
|
+
/*! ../../drawing/drawLinkedTextBox.js */
|
|
1552
|
+
|
|
1553
|
+
/*! ../../drawing/drawHandles.js */
|
|
1554
|
+
|
|
1555
|
+
/*! ../../util/clip.js */
|
|
1556
|
+
|
|
1557
|
+
/*! ../../store/setToolCursor.js */
|
|
1558
|
+
|
|
1559
|
+
/*! ../../util/freehand/index.js */
|
|
1560
|
+
|
|
1561
|
+
/*!****************************************!*\
|
|
1562
|
+
!*** ./tools/annotation/LengthTool.js ***!
|
|
1563
|
+
\****************************************/
|
|
1564
|
+
|
|
1565
|
+
/*!***************************************!*\
|
|
1566
|
+
!*** ./tools/annotation/ProbeTool.js ***!
|
|
1567
|
+
\***************************************/
|
|
1568
|
+
|
|
1569
|
+
/*! ../../stateManagement/textStyle.js */
|
|
1570
|
+
|
|
1571
|
+
/*! ../../stateManagement/toolColors.js */
|
|
1572
|
+
|
|
1573
|
+
/*! ../../drawing/drawTextBox.js */
|
|
1574
|
+
|
|
1575
|
+
/*! ../../util/getRGBPixels.js */
|
|
1576
|
+
|
|
1577
|
+
/*!**********************************************!*\
|
|
1578
|
+
!*** ./tools/annotation/RectangleRoiTool.js ***!
|
|
1579
|
+
\**********************************************/
|
|
1580
|
+
|
|
1581
|
+
/*!********************************************!*\
|
|
1582
|
+
!*** ./tools/annotation/TextMarkerTool.js ***!
|
|
1583
|
+
\********************************************/
|
|
1584
|
+
|
|
1585
|
+
/*!*****************************************************************!*\
|
|
1586
|
+
!*** ./tools/annotation/bidirectionalTool/addNewMeasurement.js ***!
|
|
1587
|
+
\*****************************************************************/
|
|
1588
|
+
|
|
1589
|
+
/*! ./../../../externalModules.js */
|
|
1590
|
+
|
|
1591
|
+
/*! ./../../../events.js */
|
|
1592
|
+
|
|
1593
|
+
/*! ./../../../manipulators/index.js */
|
|
1594
|
+
|
|
1595
|
+
/*! ./../../../manipulators/anyHandlesOutsideImage.js */
|
|
1596
|
+
|
|
1597
|
+
/*! ./../../../stateManagement/toolState.js */
|
|
1598
|
+
|
|
1599
|
+
/*! ../../../util/triggerEvent.js */
|
|
1600
|
+
|
|
1601
|
+
/*! ../../../util/getActiveTool */
|
|
1602
|
+
|
|
1603
|
+
/*! ../BidirectionalTool */
|
|
1604
|
+
|
|
1605
|
+
/*! ./utils/updatePerpendicularLineHandles.js */
|
|
1606
|
+
|
|
1607
|
+
/*!********************************************************************!*\
|
|
1608
|
+
!*** ./tools/annotation/bidirectionalTool/createNewMeasurement.js ***!
|
|
1609
|
+
\********************************************************************/
|
|
1610
|
+
|
|
1611
|
+
/*!**********************************************************************!*\
|
|
1612
|
+
!*** ./tools/annotation/bidirectionalTool/handleSelectedCallback.js ***!
|
|
1613
|
+
\**********************************************************************/
|
|
1614
|
+
|
|
1615
|
+
/*!***************************************************************************!*\
|
|
1616
|
+
!*** ./tools/annotation/bidirectionalTool/handleSelectedMouseCallback.js ***!
|
|
1617
|
+
\***************************************************************************/
|
|
1618
|
+
|
|
1619
|
+
/*! ../../../store/index.js */
|
|
1620
|
+
|
|
1621
|
+
/*! ./../../../manipulators/getHandleNearImagePoint.js */
|
|
1622
|
+
|
|
1623
|
+
/*! ./moveHandle/moveHandle.js */
|
|
1624
|
+
|
|
1625
|
+
/*! ./invertHandles.js */
|
|
1626
|
+
|
|
1627
|
+
/*! ../../../store/setToolCursor.js */
|
|
1628
|
+
|
|
1629
|
+
/*!***************************************************************************!*\
|
|
1630
|
+
!*** ./tools/annotation/bidirectionalTool/handleSelectedTouchCallback.js ***!
|
|
1631
|
+
\***************************************************************************/
|
|
1632
|
+
|
|
1633
|
+
/*! ./moveHandle/touchMoveHandle.js */
|
|
1634
|
+
|
|
1635
|
+
/*!*************************************************************!*\
|
|
1636
|
+
!*** ./tools/annotation/bidirectionalTool/invertHandles.js ***!
|
|
1637
|
+
\*************************************************************/
|
|
1638
|
+
|
|
1639
|
+
/*!*****************************************************************!*\
|
|
1640
|
+
!*** ./tools/annotation/bidirectionalTool/mouseMoveCallback.js ***!
|
|
1641
|
+
\*****************************************************************/
|
|
1642
|
+
|
|
1643
|
+
/*! ./../../../stateManagement/toolCoordinates.js */
|
|
1644
|
+
|
|
1645
|
+
/*!**********************************************************************!*\
|
|
1646
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/getBaseData.js ***!
|
|
1647
|
+
\**********************************************************************/
|
|
1648
|
+
|
|
1649
|
+
/*! ../../../../externalModules.js */
|
|
1650
|
+
|
|
1651
|
+
/*! ../utils/getDistanceWithPixelSpacing.js */
|
|
1652
|
+
|
|
1653
|
+
/*!*********************************************************************!*\
|
|
1654
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/moveHandle.js ***!
|
|
1655
|
+
\*********************************************************************/
|
|
1656
|
+
|
|
1657
|
+
/*! ./../../../../externalModules.js */
|
|
1658
|
+
|
|
1659
|
+
/*! ../../../../store/index.js */
|
|
1660
|
+
|
|
1661
|
+
/*! ./../../../../events.js */
|
|
1662
|
+
|
|
1663
|
+
/*! ./setHandlesPosition.js */
|
|
1664
|
+
|
|
1665
|
+
/*! ../../../../util/getActiveTool */
|
|
1666
|
+
|
|
1667
|
+
/*! ../../../base/BaseAnnotationTool */
|
|
1668
|
+
|
|
1669
|
+
/*!************************************************************************************!*\
|
|
1670
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/moveLongLine/moveLongLine.js ***!
|
|
1671
|
+
\************************************************************************************/
|
|
1672
|
+
|
|
1673
|
+
/*! ../../utils/getDistanceWithPixelSpacing.js */
|
|
1674
|
+
|
|
1675
|
+
/*! ../getBaseData.js */
|
|
1676
|
+
|
|
1677
|
+
/*! ./updatePerpendicularLine.js */
|
|
1678
|
+
|
|
1679
|
+
/*!***********************************************************************************************!*\
|
|
1680
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/moveLongLine/updatePerpendicularLine.js ***!
|
|
1681
|
+
\***********************************************************************************************/
|
|
1682
|
+
|
|
1683
|
+
/*! ../../utils/getLineVector */
|
|
1684
|
+
|
|
1685
|
+
/*! ../../utils/getDistanceWithPixelSpacing */
|
|
1686
|
+
|
|
1687
|
+
/*!*******************************************************************************************************!*\
|
|
1688
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/getDirectionMultiplier.js ***!
|
|
1689
|
+
\*******************************************************************************************************/
|
|
1690
|
+
|
|
1691
|
+
/*! ./isPerpendicularEndFixed.js */
|
|
1692
|
+
|
|
1693
|
+
/*!**********************************************************************************************!*\
|
|
1694
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/getHelperLine.js ***!
|
|
1695
|
+
\**********************************************************************************************/
|
|
1696
|
+
|
|
1697
|
+
/*! ./getDirectionMultiplier */
|
|
1698
|
+
|
|
1699
|
+
/*!***********************************************************************************************!*\
|
|
1700
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/getMovingPoint.js ***!
|
|
1701
|
+
\***********************************************************************************************/
|
|
1702
|
+
|
|
1703
|
+
/*!********************************************************************************************************!*\
|
|
1704
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/isPerpendicularEndFixed.js ***!
|
|
1705
|
+
\********************************************************************************************************/
|
|
1706
|
+
|
|
1707
|
+
/*!**********************************************************************************************!*\
|
|
1708
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/lineHasLength.js ***!
|
|
1709
|
+
\**********************************************************************************************/
|
|
1710
|
+
|
|
1711
|
+
/*!******************************************************************************************************!*\
|
|
1712
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/movePerpendicularLine.js ***!
|
|
1713
|
+
\******************************************************************************************************/
|
|
1714
|
+
|
|
1715
|
+
/*! ./../../../../../externalModules.js */
|
|
1716
|
+
|
|
1717
|
+
/*! ../../utils/getLineVector.js */
|
|
1718
|
+
|
|
1719
|
+
/*! ./lineHasLength.js */
|
|
1720
|
+
|
|
1721
|
+
/*! ./getHelperLine.js */
|
|
1722
|
+
|
|
1723
|
+
/*!********************************************************************************************************!*\
|
|
1724
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/movePerpendicularLine/updatePerpendicularLine.js ***!
|
|
1725
|
+
\********************************************************************************************************/
|
|
1726
|
+
|
|
1727
|
+
/*! @babel/runtime/helpers/defineProperty */
|
|
1728
|
+
|
|
1729
|
+
/*! ./getMovingPoint */
|
|
1730
|
+
|
|
1731
|
+
/*!*****************************************************************************!*\
|
|
1732
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/setHandlesPosition.js ***!
|
|
1733
|
+
\*****************************************************************************/
|
|
1734
|
+
|
|
1735
|
+
/*! ./moveLongLine/moveLongLine.js */
|
|
1736
|
+
|
|
1737
|
+
/*! ./movePerpendicularLine/movePerpendicularLine.js */
|
|
1738
|
+
|
|
1739
|
+
/*!**************************************************************************!*\
|
|
1740
|
+
!*** ./tools/annotation/bidirectionalTool/moveHandle/touchMoveHandle.js ***!
|
|
1741
|
+
\**************************************************************************/
|
|
1742
|
+
|
|
1743
|
+
/*!*************************************************************!*\
|
|
1744
|
+
!*** ./tools/annotation/bidirectionalTool/pointNearTool.js ***!
|
|
1745
|
+
\*************************************************************/
|
|
1746
|
+
|
|
1747
|
+
/*! ./../../../util/pointInsideBoundingBox.js */
|
|
1748
|
+
|
|
1749
|
+
/*!**************************************************************!*\
|
|
1750
|
+
!*** ./tools/annotation/bidirectionalTool/renderToolData.js ***!
|
|
1751
|
+
\**************************************************************/
|
|
1752
|
+
|
|
1753
|
+
/*! ./../../../drawing/drawHandles.js */
|
|
1754
|
+
|
|
1755
|
+
/*! ../../../store/index */
|
|
1756
|
+
|
|
1757
|
+
/*! ./../../../stateManagement/toolStyle.js */
|
|
1758
|
+
|
|
1759
|
+
/*! ./../../../stateManagement/toolColors.js */
|
|
1760
|
+
|
|
1761
|
+
/*! ./../../../drawing/index.js */
|
|
1762
|
+
|
|
1763
|
+
/*! ./../../../drawing/drawLinkedTextBox.js */
|
|
1764
|
+
|
|
1765
|
+
/*! ../../../util/getPixelSpacing */
|
|
1766
|
+
|
|
1767
|
+
/*!******************************************************************************************!*\
|
|
1768
|
+
!*** ./tools/annotation/bidirectionalTool/utils/calculateLongestAndShortestDiameters.js ***!
|
|
1769
|
+
\******************************************************************************************/
|
|
1770
|
+
|
|
1771
|
+
/*!*********************************************************************************!*\
|
|
1772
|
+
!*** ./tools/annotation/bidirectionalTool/utils/getDistanceWithPixelSpacing.js ***!
|
|
1773
|
+
\*********************************************************************************/
|
|
1774
|
+
|
|
1775
|
+
/*!*******************************************************************!*\
|
|
1776
|
+
!*** ./tools/annotation/bidirectionalTool/utils/getLineVector.js ***!
|
|
1777
|
+
\*******************************************************************/
|
|
1778
|
+
|
|
1779
|
+
/*!************************************************************************************!*\
|
|
1780
|
+
!*** ./tools/annotation/bidirectionalTool/utils/updatePerpendicularLineHandles.js ***!
|
|
1781
|
+
\************************************************************************************/
|
|
1782
|
+
|
|
1783
|
+
/*! ./getLineVector */
|
|
1784
|
+
|
|
1785
|
+
/*!***********************************!*\
|
|
1786
|
+
!*** ./tools/annotation/index.js ***!
|
|
1787
|
+
\***********************************/
|
|
1788
|
+
|
|
1789
|
+
/*! exports provided: AngleTool, ArrowAnnotateTool, BidirectionalTool, CircleRoiTool, CobbAngleTool, EllipticalRoiTool, FreehandRoiTool, LengthTool, ProbeTool, RectangleRoiTool, TextMarkerTool, default */
|
|
1790
|
+
|
|
1791
|
+
/*! ./AngleTool.js */
|
|
1792
|
+
|
|
1793
|
+
/*! ./ArrowAnnotateTool.js */
|
|
1794
|
+
|
|
1795
|
+
/*! ./BidirectionalTool.js */
|
|
1796
|
+
|
|
1797
|
+
/*! ./CircleRoiTool.js */
|
|
1798
|
+
|
|
1799
|
+
/*! ./CobbAngleTool.js */
|
|
1800
|
+
|
|
1801
|
+
/*! ./EllipticalRoiTool.js */
|
|
1802
|
+
|
|
1803
|
+
/*! ./FreehandRoiTool.js */
|
|
1804
|
+
|
|
1805
|
+
/*! ./LengthTool.js */
|
|
1806
|
+
|
|
1807
|
+
/*! ./ProbeTool.js */
|
|
1808
|
+
|
|
1809
|
+
/*! ./RectangleRoiTool.js */
|
|
1810
|
+
|
|
1811
|
+
/*! ./TextMarkerTool.js */
|
|
1812
|
+
|
|
1813
|
+
/*!******************************************!*\
|
|
1814
|
+
!*** ./tools/base/BaseAnnotationTool.js ***!
|
|
1815
|
+
\******************************************/
|
|
1816
|
+
|
|
1817
|
+
/*! ./BaseTool.js */
|
|
1818
|
+
|
|
1819
|
+
/*! ./../../manipulators/handleActivator.js */
|
|
1820
|
+
|
|
1821
|
+
/*! ./../../util/findAndMoveHelpers.js */
|
|
1822
|
+
|
|
1823
|
+
/*! ../../util/logger */
|
|
1824
|
+
|
|
1825
|
+
/*!*************************************!*\
|
|
1826
|
+
!*** ./tools/base/BaseBrushTool.js ***!
|
|
1827
|
+
\*************************************/
|
|
1828
|
+
|
|
1829
|
+
/*! ./../../store/isToolActiveForElement.js */
|
|
1830
|
+
|
|
1831
|
+
/*!********************************!*\
|
|
1832
|
+
!*** ./tools/base/BaseTool.js ***!
|
|
1833
|
+
\********************************/
|
|
1834
|
+
|
|
1835
|
+
/*! ./../../mixins/index.js */
|
|
1836
|
+
|
|
1837
|
+
/*! ./../../util/deepmerge.js */
|
|
1838
|
+
|
|
1839
|
+
/*!*****************************!*\
|
|
1840
|
+
!*** ./tools/base/index.js ***!
|
|
1841
|
+
\*****************************/
|
|
1842
|
+
|
|
1843
|
+
/*! exports provided: BaseAnnotationTool, BaseBrushTool, BaseTool, default */
|
|
1844
|
+
|
|
1845
|
+
/*! ./BaseAnnotationTool.js */
|
|
1846
|
+
|
|
1847
|
+
/*! ./BaseBrushTool.js */
|
|
1848
|
+
|
|
1849
|
+
/*!**************************************!*\
|
|
1850
|
+
!*** ./tools/cursors/MouseCursor.js ***!
|
|
1851
|
+
\**************************************/
|
|
1852
|
+
|
|
1853
|
+
/*!********************************!*\
|
|
1854
|
+
!*** ./tools/cursors/index.js ***!
|
|
1855
|
+
\********************************/
|
|
1856
|
+
|
|
1857
|
+
/*! exports provided: angleCursor, arrowAnnotateCursor, bidirectionalCursor, cobbAngleCursor, circleRoiCursor, ellipticalRoiCursor, freehandRoiCursor, freehandRoiSculptorCursor, lengthCursor, probeCursor, rectangleRoiCursor, textMarkerCursor, crosshairsCursor, eraserCursor, magnifyCursor, panCursor, rotateCursor, stackScrollCursor, wwwcRegionCursor, wwwcCursor, zoomCursor, freehandEraseInsideCursor, freehandFillInsideCursor, freehandEraseOutsideCursor, freehandFillOutsideCursor, segRectangleEraseInsideCursor, segRectangleFillInsideCursor, segRectangleEraseOutsideCursor, segRectangleFillOutsideCursor, segCircleEraseInsideCursor, segCircleFillInsideCursor, segCircleEraseOutsideCursor, segCircleFillOutsideCursor */
|
|
1858
|
+
|
|
1859
|
+
/*! ./MouseCursor.js */
|
|
1860
|
+
|
|
1861
|
+
/*!************************!*\
|
|
1862
|
+
!*** ./tools/index.js ***!
|
|
1863
|
+
\************************/
|
|
1864
|
+
|
|
1865
|
+
/*! exports provided: CrosshairsTool, DoubleTapFitToWindowTool, DragProbeTool, EraserTool, FreehandRoiSculptorTool, MagnifyTool, OverlayTool, OrientationMarkersTool, PanMultiTouchTool, PanTool, ReferenceLinesTool, RotateTool, RotateTouchTool, ScaleOverlayTool, StackScrollMouseWheelTool, StackScrollMultiTouchTool, StackScrollTool, WwwcRegionTool, WwwcTool, ZoomMouseWheelTool, ZoomTool, ZoomTouchPinchTool, default */
|
|
1866
|
+
|
|
1867
|
+
/*! ./CrosshairsTool.js */
|
|
1868
|
+
|
|
1869
|
+
/*! ./DoubleTapFitToWindowTool.js */
|
|
1870
|
+
|
|
1871
|
+
/*! ./DragProbeTool.js */
|
|
1872
|
+
|
|
1873
|
+
/*! ./EraserTool.js */
|
|
1874
|
+
|
|
1875
|
+
/*! ./FreehandRoiSculptorTool.js */
|
|
1876
|
+
|
|
1877
|
+
/*! ./MagnifyTool.js */
|
|
1878
|
+
|
|
1879
|
+
/*! ./OverlayTool.js */
|
|
1880
|
+
|
|
1881
|
+
/*! ./OrientationMarkersTool.js */
|
|
1882
|
+
|
|
1883
|
+
/*! ./PanMultiTouchTool.js */
|
|
1884
|
+
|
|
1885
|
+
/*! ./PanTool.js */
|
|
1886
|
+
|
|
1887
|
+
/*! ./ReferenceLinesTool.js */
|
|
1888
|
+
|
|
1889
|
+
/*! ./RotateTool.js */
|
|
1890
|
+
|
|
1891
|
+
/*! ./RotateTouchTool.js */
|
|
1892
|
+
|
|
1893
|
+
/*! ./ScaleOverlayTool.js */
|
|
1894
|
+
|
|
1895
|
+
/*! ./StackScrollMouseWheelTool.js */
|
|
1896
|
+
|
|
1897
|
+
/*! ./StackScrollMultiTouchTool.js */
|
|
1898
|
+
|
|
1899
|
+
/*! ./StackScrollTool.js */
|
|
1900
|
+
|
|
1901
|
+
/*! ./WwwcRegionTool.js */
|
|
1902
|
+
|
|
1903
|
+
/*! ./WwwcTool.js */
|
|
1904
|
+
|
|
1905
|
+
/*! ./ZoomMouseWheelTool.js */
|
|
1906
|
+
|
|
1907
|
+
/*! ./ZoomTool.js */
|
|
1908
|
+
|
|
1909
|
+
/*! ./ZoomTouchPinchTool.js */
|
|
1910
|
+
|
|
1911
|
+
/*!********************************************************!*\
|
|
1912
|
+
!*** ./tools/referenceLines/calculateReferenceLine.js ***!
|
|
1913
|
+
\********************************************************/
|
|
1914
|
+
|
|
1915
|
+
/*! ./../../util/pointProjector.js */
|
|
1916
|
+
|
|
1917
|
+
/*!***********************************************************!*\
|
|
1918
|
+
!*** ./tools/referenceLines/renderActiveReferenceLine.js ***!
|
|
1919
|
+
\***********************************************************/
|
|
1920
|
+
|
|
1921
|
+
/*! ./calculateReferenceLine.js */
|
|
1922
|
+
|
|
1923
|
+
/*! ./../../util/convertToVector3.js */
|
|
1924
|
+
|
|
1925
|
+
/*!*****************************************!*\
|
|
1926
|
+
!*** ./tools/segmentation/BrushTool.js ***!
|
|
1927
|
+
\*****************************************/
|
|
1928
|
+
|
|
1929
|
+
/*! ../base */
|
|
1930
|
+
|
|
1931
|
+
/*! ../../util/segmentation/index.js */
|
|
1932
|
+
|
|
1933
|
+
/*!**************************************************!*\
|
|
1934
|
+
!*** ./tools/segmentation/CircleScissorsTool.js ***!
|
|
1935
|
+
\**************************************************/
|
|
1936
|
+
|
|
1937
|
+
/*! ./strategies */
|
|
1938
|
+
|
|
1939
|
+
/*! ../cursors */
|
|
1940
|
+
|
|
1941
|
+
/*!******************************************************!*\
|
|
1942
|
+
!*** ./tools/segmentation/CorrectionScissorsTool.js ***!
|
|
1943
|
+
\******************************************************/
|
|
1944
|
+
|
|
1945
|
+
/*!****************************************************!*\
|
|
1946
|
+
!*** ./tools/segmentation/FreehandScissorsTool.js ***!
|
|
1947
|
+
\****************************************************/
|
|
1948
|
+
|
|
1949
|
+
/*!*****************************************************!*\
|
|
1950
|
+
!*** ./tools/segmentation/RectangleScissorsTool.js ***!
|
|
1951
|
+
\*****************************************************/
|
|
1952
|
+
|
|
1953
|
+
/*!**************************************************!*\
|
|
1954
|
+
!*** ./tools/segmentation/SphericalBrushTool.js ***!
|
|
1955
|
+
\**************************************************/
|
|
1956
|
+
|
|
1957
|
+
/*! ./../base/BaseBrushTool.js */
|
|
1958
|
+
|
|
1959
|
+
/*! ./../../util/segmentation */
|
|
1960
|
+
|
|
1961
|
+
/*!*************************************!*\
|
|
1962
|
+
!*** ./tools/segmentation/index.js ***!
|
|
1963
|
+
\*************************************/
|
|
1964
|
+
|
|
1965
|
+
/*! exports provided: BrushTool, SphericalBrushTool, FreehandScissorsTool, RectangleScissorsTool, CircleScissorsTool, CorrectionScissorsTool, default */
|
|
1966
|
+
|
|
1967
|
+
/*! ./BrushTool */
|
|
1968
|
+
|
|
1969
|
+
/*! ./SphericalBrushTool */
|
|
1970
|
+
|
|
1971
|
+
/*! ./FreehandScissorsTool */
|
|
1972
|
+
|
|
1973
|
+
/*! ./RectangleScissorsTool */
|
|
1974
|
+
|
|
1975
|
+
/*! ./CircleScissorsTool */
|
|
1976
|
+
|
|
1977
|
+
/*! ./CorrectionScissorsTool */
|
|
1978
|
+
|
|
1979
|
+
/*!*****************************************************!*\
|
|
1980
|
+
!*** ./tools/segmentation/strategies/correction.js ***!
|
|
1981
|
+
\*****************************************************/
|
|
1982
|
+
|
|
1983
|
+
/*! ../../../util/clip */
|
|
1984
|
+
|
|
1985
|
+
/*!******************************************************!*\
|
|
1986
|
+
!*** ./tools/segmentation/strategies/eraseCircle.js ***!
|
|
1987
|
+
\******************************************************/
|
|
1988
|
+
|
|
1989
|
+
/*! exports provided: eraseInsideCircle, eraseOutsideCircle */
|
|
1990
|
+
|
|
1991
|
+
/*! @babel/runtime/helpers/slicedToArray */
|
|
1992
|
+
|
|
1993
|
+
/*! ../../../util/ellipse */
|
|
1994
|
+
|
|
1995
|
+
/*! ../../../util/getCircleCoords.js */
|
|
1996
|
+
|
|
1997
|
+
/*!********************************************************!*\
|
|
1998
|
+
!*** ./tools/segmentation/strategies/eraseFreehand.js ***!
|
|
1999
|
+
\********************************************************/
|
|
2000
|
+
|
|
2001
|
+
/*! exports provided: eraseInsideFreehand, eraseOutsideFreehand */
|
|
2002
|
+
|
|
2003
|
+
/*! ../../../util/isPointInPolygon */
|
|
2004
|
+
|
|
2005
|
+
/*!*********************************************************!*\
|
|
2006
|
+
!*** ./tools/segmentation/strategies/eraseRectangle.js ***!
|
|
2007
|
+
\*********************************************************/
|
|
2008
|
+
|
|
2009
|
+
/*! exports provided: eraseInsideRectangle, eraseOutsideRectangle */
|
|
2010
|
+
|
|
2011
|
+
/*!*****************************************************!*\
|
|
2012
|
+
!*** ./tools/segmentation/strategies/fillCircle.js ***!
|
|
2013
|
+
\*****************************************************/
|
|
2014
|
+
|
|
2015
|
+
/*! exports provided: fillInsideCircle, fillOutsideCircle */
|
|
2016
|
+
|
|
2017
|
+
/*! ../../../util/getCircleCoords */
|
|
2018
|
+
|
|
2019
|
+
/*!*******************************************************!*\
|
|
2020
|
+
!*** ./tools/segmentation/strategies/fillFreehand.js ***!
|
|
2021
|
+
\*******************************************************/
|
|
2022
|
+
|
|
2023
|
+
/*! exports provided: fillInsideFreehand, fillOutsideFreehand */
|
|
2024
|
+
|
|
2025
|
+
/*!********************************************************!*\
|
|
2026
|
+
!*** ./tools/segmentation/strategies/fillRectangle.js ***!
|
|
2027
|
+
\********************************************************/
|
|
2028
|
+
|
|
2029
|
+
/*! exports provided: fillInsideRectangle, fillOutsideRectangle */
|
|
2030
|
+
|
|
2031
|
+
/*!************************************************!*\
|
|
2032
|
+
!*** ./tools/segmentation/strategies/index.js ***!
|
|
2033
|
+
\************************************************/
|
|
2034
|
+
|
|
2035
|
+
/*! exports provided: correction, eraseInsideFreehand, eraseOutsideFreehand, eraseInsideRectangle, eraseOutsideRectangle, fillInsideFreehand, fillOutsideFreehand, fillInsideRectangle, fillOutsideRectangle, fillInsideCircle, fillOutsideCircle, eraseInsideCircle, eraseOutsideCircle */
|
|
2036
|
+
|
|
2037
|
+
/*! ./correction */
|
|
2038
|
+
|
|
2039
|
+
/*! ./eraseFreehand */
|
|
2040
|
+
|
|
2041
|
+
/*! ./eraseRectangle.js */
|
|
2042
|
+
|
|
2043
|
+
/*! ./fillFreehand */
|
|
2044
|
+
|
|
2045
|
+
/*! ./fillRectangle */
|
|
2046
|
+
|
|
2047
|
+
/*! ./fillCircle */
|
|
2048
|
+
|
|
2049
|
+
/*! ./eraseCircle */
|
|
2050
|
+
|
|
2051
|
+
/*!************************!*\
|
|
2052
|
+
!*** ./util/SaveAs.js ***!
|
|
2053
|
+
\************************/
|
|
2054
|
+
|
|
2055
|
+
/*!************************************!*\
|
|
2056
|
+
!*** ./util/angleBetweenPoints.js ***!
|
|
2057
|
+
\************************************/
|
|
2058
|
+
|
|
2059
|
+
/*!******************************!*\
|
|
2060
|
+
!*** ./util/calculateSUV.js ***!
|
|
2061
|
+
\******************************/
|
|
2062
|
+
|
|
2063
|
+
/*!**********************!*\
|
|
2064
|
+
!*** ./util/clip.js ***!
|
|
2065
|
+
\**********************/
|
|
2066
|
+
|
|
2067
|
+
/*! exports provided: clip, clipToBox, default */
|
|
2068
|
+
|
|
2069
|
+
/*!**********************************!*\
|
|
2070
|
+
!*** ./util/convertToVector3.js ***!
|
|
2071
|
+
\**********************************/
|
|
2072
|
+
|
|
2073
|
+
/*!****************************!*\
|
|
2074
|
+
!*** ./util/copyPoints.js ***!
|
|
2075
|
+
\****************************/
|
|
2076
|
+
|
|
2077
|
+
/*!**************************!*\
|
|
2078
|
+
!*** ./util/debounce.js ***!
|
|
2079
|
+
\**************************/
|
|
2080
|
+
|
|
2081
|
+
/*! ./isObject.js */
|
|
2082
|
+
|
|
2083
|
+
/*!*********************************!*\
|
|
2084
|
+
!*** ./util/debugLib/common.js ***!
|
|
2085
|
+
\*********************************/
|
|
2086
|
+
|
|
2087
|
+
/*! ms */
|
|
2088
|
+
|
|
2089
|
+
/*!********************************!*\
|
|
2090
|
+
!*** ./util/debugLib/index.js ***!
|
|
2091
|
+
\********************************/
|
|
2092
|
+
|
|
2093
|
+
/*! ./common.js */
|
|
2094
|
+
|
|
2095
|
+
/*! ./../../../node_modules/process/browser.js */
|
|
2096
|
+
|
|
2097
|
+
/*!***************************!*\
|
|
2098
|
+
!*** ./util/deepmerge.js ***!
|
|
2099
|
+
\***************************/
|
|
2100
|
+
|
|
2101
|
+
/*!****************************************************!*\
|
|
2102
|
+
!*** ./util/ellipse/calculateEllipseStatistics.js ***!
|
|
2103
|
+
\****************************************************/
|
|
2104
|
+
|
|
2105
|
+
/*! ./pointInEllipse.js */
|
|
2106
|
+
|
|
2107
|
+
/*!*******************************!*\
|
|
2108
|
+
!*** ./util/ellipse/index.js ***!
|
|
2109
|
+
\*******************************/
|
|
2110
|
+
|
|
2111
|
+
/*! exports provided: calculateEllipseStatistics, pointInEllipse, default */
|
|
2112
|
+
|
|
2113
|
+
/*! ./calculateEllipseStatistics.js */
|
|
2114
|
+
|
|
2115
|
+
/*!****************************************!*\
|
|
2116
|
+
!*** ./util/ellipse/pointInEllipse.js ***!
|
|
2117
|
+
\****************************************/
|
|
2118
|
+
|
|
2119
|
+
/*!************************************!*\
|
|
2120
|
+
!*** ./util/findAndMoveHelpers.js ***!
|
|
2121
|
+
\************************************/
|
|
2122
|
+
|
|
2123
|
+
/*! exports provided: moveHandleNearImagePoint, findHandleDataNearImagePoint, moveAnnotation */
|
|
2124
|
+
|
|
2125
|
+
/*! ./../manipulators/index.js */
|
|
2126
|
+
|
|
2127
|
+
/*!******************************************!*\
|
|
2128
|
+
!*** ./util/freehand/ClickedLineData.js ***!
|
|
2129
|
+
\******************************************/
|
|
2130
|
+
|
|
2131
|
+
/*!*********************************************!*\
|
|
2132
|
+
!*** ./util/freehand/FreehandHandleData.js ***!
|
|
2133
|
+
\*********************************************/
|
|
2134
|
+
|
|
2135
|
+
/*!*********************************************!*\
|
|
2136
|
+
!*** ./util/freehand/FreehandLineFinder.js ***!
|
|
2137
|
+
\*********************************************/
|
|
2138
|
+
|
|
2139
|
+
/*! ./ClickedLineData.js */
|
|
2140
|
+
|
|
2141
|
+
/*!**********************************!*\
|
|
2142
|
+
!*** ./util/freehand/addLine.js ***!
|
|
2143
|
+
\**********************************/
|
|
2144
|
+
|
|
2145
|
+
/*!******************************************************!*\
|
|
2146
|
+
!*** ./util/freehand/calculateFreehandStatistics.js ***!
|
|
2147
|
+
\******************************************************/
|
|
2148
|
+
|
|
2149
|
+
/*! ./pointInFreehand.js */
|
|
2150
|
+
|
|
2151
|
+
/*!***************************************!*\
|
|
2152
|
+
!*** ./util/freehand/freehandArea.js ***!
|
|
2153
|
+
\***************************************/
|
|
2154
|
+
|
|
2155
|
+
/*!********************************************!*\
|
|
2156
|
+
!*** ./util/freehand/freehandIntersect.js ***!
|
|
2157
|
+
\********************************************/
|
|
2158
|
+
|
|
2159
|
+
/*!********************************!*\
|
|
2160
|
+
!*** ./util/freehand/index.js ***!
|
|
2161
|
+
\********************************/
|
|
2162
|
+
|
|
2163
|
+
/*! ./calculateFreehandStatistics.js */
|
|
2164
|
+
|
|
2165
|
+
/*! ./freehandArea.js */
|
|
2166
|
+
|
|
2167
|
+
/*! ./FreehandHandleData.js */
|
|
2168
|
+
|
|
2169
|
+
/*! ./freehandIntersect.js */
|
|
2170
|
+
|
|
2171
|
+
/*! ./FreehandLineFinder.js */
|
|
2172
|
+
|
|
2173
|
+
/*! ./insertOrDelete.js */
|
|
2174
|
+
|
|
2175
|
+
/*! ./addLine.js */
|
|
2176
|
+
|
|
2177
|
+
/*!*****************************************!*\
|
|
2178
|
+
!*** ./util/freehand/insertOrDelete.js ***!
|
|
2179
|
+
\*****************************************/
|
|
2180
|
+
|
|
2181
|
+
/*!******************************************!*\
|
|
2182
|
+
!*** ./util/freehand/pointInFreehand.js ***!
|
|
2183
|
+
\******************************************/
|
|
2184
|
+
|
|
2185
|
+
/*!*******************************!*\
|
|
2186
|
+
!*** ./util/getActiveTool.js ***!
|
|
2187
|
+
\*******************************/
|
|
2188
|
+
|
|
2189
|
+
/*! ../store */
|
|
2190
|
+
|
|
2191
|
+
/*! ../store/getActiveToolsForElement */
|
|
2192
|
+
|
|
2193
|
+
/*! ../store/filterToolsUsableWithMultiPartTools */
|
|
2194
|
+
|
|
2195
|
+
/*!*********************************!*\
|
|
2196
|
+
!*** ./util/getCircleCoords.js ***!
|
|
2197
|
+
\*********************************/
|
|
2198
|
+
|
|
2199
|
+
/*! ../externalModules */
|
|
2200
|
+
|
|
2201
|
+
/*!****************************!*\
|
|
2202
|
+
!*** ./util/getDefault.js ***!
|
|
2203
|
+
\****************************/
|
|
2204
|
+
|
|
2205
|
+
/*!*********************************!*\
|
|
2206
|
+
!*** ./util/getKeyPressData.js ***!
|
|
2207
|
+
\*********************************/
|
|
2208
|
+
|
|
2209
|
+
/*! ../store/ */
|
|
2210
|
+
|
|
2211
|
+
/*!******************************!*\
|
|
2212
|
+
!*** ./util/getLuminance.js ***!
|
|
2213
|
+
\******************************/
|
|
2214
|
+
|
|
2215
|
+
/*!********************************************!*\
|
|
2216
|
+
!*** ./util/getMaxSimultaneousRequests.js ***!
|
|
2217
|
+
\********************************************/
|
|
2218
|
+
|
|
2219
|
+
/*! exports provided: getDefaultSimultaneousRequests, getMaxSimultaneousRequests, setMaxSimultaneousRequests, getBrowserInfo, isMobileDevice */
|
|
2220
|
+
|
|
2221
|
+
/*!*********************************!*\
|
|
2222
|
+
!*** ./util/getPixelSpacing.js ***!
|
|
2223
|
+
\*********************************/
|
|
2224
|
+
|
|
2225
|
+
/*!******************************!*\
|
|
2226
|
+
!*** ./util/getRGBPixels.js ***!
|
|
2227
|
+
\******************************/
|
|
2228
|
+
|
|
2229
|
+
/*!*************************************!*\
|
|
2230
|
+
!*** ./util/getROITextBoxCoords.js ***!
|
|
2231
|
+
\*************************************/
|
|
2232
|
+
|
|
2233
|
+
/*!*******************************!*\
|
|
2234
|
+
!*** ./util/isEmptyObject.js ***!
|
|
2235
|
+
\*******************************/
|
|
2236
|
+
|
|
2237
|
+
/*!**************************!*\
|
|
2238
|
+
!*** ./util/isObject.js ***!
|
|
2239
|
+
\**************************/
|
|
2240
|
+
|
|
2241
|
+
/*!********************************!*\
|
|
2242
|
+
!*** ./util/isPointInImage.js ***!
|
|
2243
|
+
\********************************/
|
|
2244
|
+
|
|
2245
|
+
/*!**********************************!*\
|
|
2246
|
+
!*** ./util/isPointInPolygon.js ***!
|
|
2247
|
+
\**********************************/
|
|
2248
|
+
|
|
2249
|
+
/*!*********************************!*\
|
|
2250
|
+
!*** ./util/lineSegDistance.js ***!
|
|
2251
|
+
\*********************************/
|
|
2252
|
+
|
|
2253
|
+
/*!************************!*\
|
|
2254
|
+
!*** ./util/logger.js ***!
|
|
2255
|
+
\************************/
|
|
2256
|
+
|
|
2257
|
+
/*! exports provided: getLogger, enable, disable */
|
|
2258
|
+
|
|
2259
|
+
/*! ./debugLib/index.js */
|
|
2260
|
+
|
|
2261
|
+
/*!**********************************!*\
|
|
2262
|
+
!*** ./util/makeUnselectable.js ***!
|
|
2263
|
+
\**********************************/
|
|
2264
|
+
|
|
2265
|
+
/*!***********************************!*\
|
|
2266
|
+
!*** ./util/numbersWithCommas.js ***!
|
|
2267
|
+
\***********************************/
|
|
2268
|
+
|
|
2269
|
+
/*!****************************************!*\
|
|
2270
|
+
!*** ./util/pointInsideBoundingBox.js ***!
|
|
2271
|
+
\****************************************/
|
|
2272
|
+
|
|
2273
|
+
/*!********************************!*\
|
|
2274
|
+
!*** ./util/pointProjector.js ***!
|
|
2275
|
+
\********************************/
|
|
2276
|
+
|
|
2277
|
+
/*! exports provided: projectPatientPointToImagePlane, imagePointToPatientPoint, planePlaneIntersection, rotatePoint */
|
|
2278
|
+
|
|
2279
|
+
/*!********************************!*\
|
|
2280
|
+
!*** ./util/roundToDecimal.js ***!
|
|
2281
|
+
\********************************/
|
|
2282
|
+
|
|
2283
|
+
/*!************************!*\
|
|
2284
|
+
!*** ./util/scroll.js ***!
|
|
2285
|
+
\************************/
|
|
2286
|
+
|
|
2287
|
+
/*! ./scrollToIndex.js */
|
|
2288
|
+
|
|
2289
|
+
/*! ./clip.js */
|
|
2290
|
+
|
|
2291
|
+
/*!*******************************!*\
|
|
2292
|
+
!*** ./util/scrollToIndex.js ***!
|
|
2293
|
+
\*******************************/
|
|
2294
|
+
|
|
2295
|
+
/*!****************************************!*\
|
|
2296
|
+
!*** ./util/segmentation/drawBrush.js ***!
|
|
2297
|
+
\****************************************/
|
|
2298
|
+
|
|
2299
|
+
/*! exports provided: drawBrushPixels */
|
|
2300
|
+
|
|
2301
|
+
/*! ./eraseIfSegmentIndex.js */
|
|
2302
|
+
|
|
2303
|
+
/*!**************************************************!*\
|
|
2304
|
+
!*** ./util/segmentation/eraseIfSegmentIndex.js ***!
|
|
2305
|
+
\**************************************************/
|
|
2306
|
+
|
|
2307
|
+
/*!******************************************************!*\
|
|
2308
|
+
!*** ./util/segmentation/eraseOutsideBoundingBox.js ***!
|
|
2309
|
+
\******************************************************/
|
|
2310
|
+
|
|
2311
|
+
/*! ./eraseIfSegmentIndex */
|
|
2312
|
+
|
|
2313
|
+
/*!*****************************************!*\
|
|
2314
|
+
!*** ./util/segmentation/eraseShape.js ***!
|
|
2315
|
+
\*****************************************/
|
|
2316
|
+
|
|
2317
|
+
/*! exports provided: eraseInsideShape, eraseOutsideShape */
|
|
2318
|
+
|
|
2319
|
+
/*! ./eraseOutsideBoundingBox */
|
|
2320
|
+
|
|
2321
|
+
/*! ./isSameSegment.js */
|
|
2322
|
+
|
|
2323
|
+
/*! ../logger.js */
|
|
2324
|
+
|
|
2325
|
+
/*!*****************************************************!*\
|
|
2326
|
+
!*** ./util/segmentation/fillOutsideBoundingBox.js ***!
|
|
2327
|
+
\*****************************************************/
|
|
2328
|
+
|
|
2329
|
+
/*!****************************************!*\
|
|
2330
|
+
!*** ./util/segmentation/fillShape.js ***!
|
|
2331
|
+
\****************************************/
|
|
2332
|
+
|
|
2333
|
+
/*! exports provided: fillInsideShape, fillOutsideShape */
|
|
2334
|
+
|
|
2335
|
+
/*! ./fillOutsideBoundingBox */
|
|
2336
|
+
|
|
2337
|
+
/*!****************************************!*\
|
|
2338
|
+
!*** ./util/segmentation/floodFill.js ***!
|
|
2339
|
+
\****************************************/
|
|
2340
|
+
|
|
2341
|
+
/*!*********************************************************!*\
|
|
2342
|
+
!*** ./util/segmentation/getBoundingBoxAroundCircle.js ***!
|
|
2343
|
+
\*********************************************************/
|
|
2344
|
+
|
|
2345
|
+
/*! ../getCircleCoords */
|
|
2346
|
+
|
|
2347
|
+
/*!**********************************************************!*\
|
|
2348
|
+
!*** ./util/segmentation/getBoundingBoxAroundPolygon.js ***!
|
|
2349
|
+
\**********************************************************/
|
|
2350
|
+
|
|
2351
|
+
/*!****************************************!*\
|
|
2352
|
+
!*** ./util/segmentation/getCircle.js ***!
|
|
2353
|
+
\****************************************/
|
|
2354
|
+
|
|
2355
|
+
/*!******************************************************!*\
|
|
2356
|
+
!*** ./util/segmentation/getDiffBetweenPixelData.js ***!
|
|
2357
|
+
\******************************************************/
|
|
2358
|
+
|
|
2359
|
+
/*!********************************************************!*\
|
|
2360
|
+
!*** ./util/segmentation/getPixelPathBetweenPixels.js ***!
|
|
2361
|
+
\********************************************************/
|
|
2362
|
+
|
|
2363
|
+
/*!************************************!*\
|
|
2364
|
+
!*** ./util/segmentation/index.js ***!
|
|
2365
|
+
\************************************/
|
|
2366
|
+
|
|
2367
|
+
/*! exports provided: drawBrushPixels, eraseIfSegmentIndex, eraseOutsideBoundingBox, eraseInsideShape, eraseOutsideShape, fillOutsideBoundingBox, fillInsideShape, fillOutsideShape, floodFill, getBoundingBoxAroundCircle, getBoundingBoxAroundPolygon, getCircle, getPixelPathBetweenPixels, isSameSegment, triggerLabelmapModifiedEvent, getDiffBetweenPixelData */
|
|
2368
|
+
|
|
2369
|
+
/*! ./drawBrush */
|
|
2370
|
+
|
|
2371
|
+
/*! ./eraseShape */
|
|
2372
|
+
|
|
2373
|
+
/*! ./fillShape */
|
|
2374
|
+
|
|
2375
|
+
/*! ./floodFill */
|
|
2376
|
+
|
|
2377
|
+
/*! ./getBoundingBoxAroundCircle */
|
|
2378
|
+
|
|
2379
|
+
/*! ./getBoundingBoxAroundPolygon */
|
|
2380
|
+
|
|
2381
|
+
/*! ./getCircle */
|
|
2382
|
+
|
|
2383
|
+
/*! ./getPixelPathBetweenPixels */
|
|
2384
|
+
|
|
2385
|
+
/*! ./isSameSegment */
|
|
2386
|
+
|
|
2387
|
+
/*! ./triggerLabelmapModifiedEvent */
|
|
2388
|
+
|
|
2389
|
+
/*! ./getDiffBetweenPixelData */
|
|
2390
|
+
|
|
2391
|
+
/*!********************************************!*\
|
|
2392
|
+
!*** ./util/segmentation/isSameSegment.js ***!
|
|
2393
|
+
\********************************************/
|
|
2394
|
+
|
|
2395
|
+
/*!***********************************************************!*\
|
|
2396
|
+
!*** ./util/segmentation/triggerLabelmapModifiedEvent.js ***!
|
|
2397
|
+
\***********************************************************/
|
|
2398
|
+
|
|
2399
|
+
/*!*********************************************!*\
|
|
2400
|
+
!*** ./util/setContextToDisplayFontSize.js ***!
|
|
2401
|
+
\*********************************************/
|
|
2402
|
+
|
|
2403
|
+
/*!**************************!*\
|
|
2404
|
+
!*** ./util/throttle.js ***!
|
|
2405
|
+
\**************************/
|
|
2406
|
+
|
|
2407
|
+
/*! ./debounce.js */
|
|
2408
|
+
|
|
2409
|
+
/*!******************************!*\
|
|
2410
|
+
!*** ./util/triggerEvent.js ***!
|
|
2411
|
+
\******************************/
|
|
2412
|
+
|
|
2413
|
+
/*!************************!*\
|
|
2414
|
+
!*** ./util/uuidv4.js ***!
|
|
2415
|
+
\************************/
|
|
2416
|
+
|
|
2417
|
+
/*!**********************!*\
|
|
2418
|
+
!*** ./util/wait.js ***!
|
|
2419
|
+
\**********************/
|
|
2420
|
+
|
|
2421
|
+
/*! exports provided: wait, waitForEnabledElementImageToLoad, default */
|
|
2422
|
+
|
|
2423
|
+
/*!******************************************!*\
|
|
2424
|
+
!*** ./util/zoom/changeViewportScale.js ***!
|
|
2425
|
+
\******************************************/
|
|
2426
|
+
|
|
2427
|
+
/*!***********************************!*\
|
|
2428
|
+
!*** ./util/zoom/correctShift.js ***!
|
|
2429
|
+
\***********************************/
|
|
2430
|
+
|
|
2431
|
+
/*!****************************!*\
|
|
2432
|
+
!*** ./util/zoom/index.js ***!
|
|
2433
|
+
\****************************/
|
|
2434
|
+
|
|
2435
|
+
/*! exports provided: changeViewportScale, correctShift, default */
|
|
2436
|
+
|
|
2437
|
+
/*! ./changeViewportScale.js */
|
|
2438
|
+
|
|
2439
|
+
/*! ./correctShift.js */
|
|
2440
|
+
|
|
2441
|
+
/*!********************!*\
|
|
2442
|
+
!*** ./version.js ***!
|
|
2443
|
+
\********************/
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* @licstart The following is the entire license notice for the
|
|
2447
|
+
* Javascript code in this page
|
|
2448
|
+
*
|
|
2449
|
+
* Copyright 2019 Mozilla Foundation
|
|
2450
|
+
*
|
|
2451
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2452
|
+
* you may not use this file except in compliance with the License.
|
|
2453
|
+
* You may obtain a copy of the License at
|
|
2454
|
+
*
|
|
2455
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2456
|
+
*
|
|
2457
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2458
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2459
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2460
|
+
* See the License for the specific language governing permissions and
|
|
2461
|
+
* limitations under the License.
|
|
2462
|
+
*
|
|
2463
|
+
* @licend The above is the entire license notice for the
|
|
2464
|
+
* Javascript code in this page
|
|
2465
|
+
*/
|
|
2466
|
+
|
|
2467
|
+
/*!
|
|
2468
|
+
* validate.js 0.12.0
|
|
2469
|
+
*
|
|
2470
|
+
* (c) 2013-2017 Nicklas Ansman, 2013 Wrapp
|
|
2471
|
+
* Validate.js may be freely distributed under the MIT license.
|
|
2472
|
+
* For all details and documentation:
|
|
2473
|
+
* http://validatejs.org/
|
|
2474
|
+
*/
|
|
2475
|
+
|
|
2476
|
+
/** @license React v16.11.0
|
|
2477
|
+
* react-is.production.min.js
|
|
2478
|
+
*
|
|
2479
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2480
|
+
*
|
|
2481
|
+
* This source code is licensed under the MIT license found in the
|
|
2482
|
+
* LICENSE file in the root directory of this source tree.
|
|
2483
|
+
*/
|
|
2484
|
+
|
|
2485
|
+
/** @license React v16.11.0
|
|
2486
|
+
* react-dom.production.min.js
|
|
2487
|
+
*
|
|
2488
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2489
|
+
*
|
|
2490
|
+
* This source code is licensed under the MIT license found in the
|
|
2491
|
+
* LICENSE file in the root directory of this source tree.
|
|
2492
|
+
*/
|
|
2493
|
+
|
|
2494
|
+
/** @license React v0.17.0
|
|
2495
|
+
* scheduler.production.min.js
|
|
2496
|
+
*
|
|
2497
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2498
|
+
*
|
|
2499
|
+
* This source code is licensed under the MIT license found in the
|
|
2500
|
+
* LICENSE file in the root directory of this source tree.
|
|
2501
|
+
*/
|
|
2502
|
+
|
|
2503
|
+
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
2504
|
+
|
|
2505
|
+
/*! cornerstone-math - 0.1.9 - 2020-10-01 | (c) 2017 Chris Hafey | https://github.com/cornerstonejs/cornerstoneMath */
|
|
2506
|
+
|
|
2507
|
+
/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|