@ohif/app 3.14.0-beta.98 → 3.14.0-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{1645.bundle.a98b9ca6.js → 1645.bundle.1a466b16.js} +600 -600
- package/dist/{1788.bundle.3f1349d2.js → 1788.bundle.962951f9.js} +26 -26
- package/dist/{1793.bundle.27458a55.js → 1793.bundle.30f89e46.js} +5 -3
- package/dist/{1862.bundle.79bfe469.js → 1862.bundle.3ae388c3.js} +2 -2
- package/dist/204.bundle.bc44c201.js +101 -0
- package/dist/204.bundle.css +52 -0
- package/dist/{2748.bundle.eaa94e2e.js → 2103.bundle.1cf348e8.js} +1 -1771
- package/dist/{2478.bundle.fc6ab30b.js → 2478.bundle.68ff1b2d.js} +2 -2
- package/dist/{2717.bundle.d5f58443.js → 2717.bundle.4318f1ee.js} +45 -43
- package/dist/{5989.bundle.f484884a.js → 287.bundle.ee60c370.js} +4570 -832
- package/dist/{2894.bundle.d612efb2.js → 2894.bundle.30c0af5b.js} +20 -14
- package/dist/{2991.bundle.f94892fb.js → 2991.bundle.77642eee.js} +101 -97
- package/dist/{3004.bundle.51919fdc.js → 3004.bundle.5568149a.js} +39 -38
- package/dist/{3255.bundle.13e205ac.js → 3255.bundle.3272671f.js} +29 -27
- package/dist/{3366.bundle.62baeeec.js → 3366.bundle.d9e78e25.js} +57 -53
- package/dist/{3468.bundle.f5dc5e44.js → 3468.bundle.666f2441.js} +37 -27
- package/dist/{347.bundle.397bb252.js → 347.bundle.1323658e.js} +44 -44
- package/dist/{3622.bundle.f4cf2d16.js → 3622.bundle.edb42b96.js} +56 -54
- package/dist/{3723.bundle.eab70100.js → 3723.bundle.43ff1971.js} +1 -1
- package/dist/{3771.bundle.aba09bd7.js → 3771.bundle.a5754f97.js} +8 -8
- package/dist/{4449.bundle.aaa4ab92.js → 4487.bundle.fa0375a4.js} +853 -95
- package/dist/{4606.bundle.a3485206.js → 4606.bundle.6c297e2a.js} +9 -7
- package/dist/{4998.bundle.3aedb48d.js → 4998.bundle.25b8cbfe.js} +5 -3
- package/dist/{5076.bundle.95c07142.js → 5076.bundle.2a14756f.js} +66 -66
- package/dist/{5143.bundle.04f54c00.js → 5143.bundle.53156bb0.js} +358 -226
- package/dist/{5154.bundle.2f460017.js → 5154.bundle.ccd02dd7.js} +5 -3
- package/dist/{5320.bundle.9b05cebb.js → 5320.bundle.c17eb4a7.js} +678 -546
- package/dist/{6212.bundle.e505e123.js → 6212.bundle.c4856be7.js} +48 -46
- package/dist/{6253.bundle.f74ac5c2.js → 6253.bundle.596ce463.js} +1225 -1145
- package/dist/{1153.bundle.51d39e80.js → 6314.bundle.5aadfe48.js} +199 -420
- package/dist/{641.bundle.4627a8e1.js → 641.bundle.8e45751e.js} +89 -89
- package/dist/{6481.bundle.d2fca485.js → 6481.bundle.85093e70.js} +29 -23
- package/dist/{6507.bundle.d52f5e81.js → 6507.bundle.bbcdd01e.js} +76 -76
- package/dist/{6722.bundle.d09a8aad.js → 6722.bundle.3e9a4ef6.js} +4 -4
- package/dist/{6956.bundle.c82fd790.js → 6956.bundle.dc0e8660.js} +33 -33
- package/dist/{7526.bundle.0685dfeb.js → 7526.bundle.3460c3ca.js} +55 -53
- package/dist/{7604.bundle.9eb317c8.js → 7604.bundle.f1eeded4.js} +2 -2
- package/dist/{8312.bundle.2cb75b58.js → 8312.bundle.d67b6f4e.js} +652 -687
- package/dist/{6847.bundle.b2adb444.js → 8729.bundle.e17fe9b2.js} +87 -845
- package/dist/{8788.bundle.4bb4c65b.js → 8788.bundle.83ddf642.js} +21 -20
- package/dist/{8868.bundle.4c357767.js → 8868.bundle.8f3653b3.js} +31 -31
- package/dist/{8923.bundle.9aca06c4.js → 8923.bundle.8b682e96.js} +148 -148
- package/dist/{899.bundle.9a033d16.js → 899.bundle.4e1aee7f.js} +73 -203
- package/dist/{9187.bundle.8f72b4fe.js → 9187.bundle.407afa07.js} +112 -110
- package/dist/9385.bundle.fb0bbf4a.js +1888 -0
- package/dist/{9481.bundle.ccb81f53.js → 9481.bundle.d045ae3a.js} +8 -6
- package/dist/{9517.bundle.1ae74db3.js → 9517.bundle.3e2896ef.js} +31 -17
- package/dist/{9620.bundle.d1dc0be1.js → 9620.bundle.b4cc392c.js} +63 -61
- package/dist/{9841.bundle.0f40f02b.js → 9841.bundle.4f2c401a.js} +93 -91
- package/dist/{9886.bundle.cabb4a24.js → 9886.bundle.b00d5d78.js} +4 -4
- package/dist/{8037.bundle.30a187f7.js → 9889.bundle.bf312047.js} +7743 -1098
- package/dist/{9948.bundle.1172ebca.js → 9948.bundle.fecf81f8.js} +5 -5
- package/dist/{app.bundle.51f0a437.js → app.bundle.bb359653.js} +1926 -1223
- package/dist/{compute.bundle.0ed1fe87.js → compute.bundle.9267d449.js} +13 -12
- package/dist/{histogram-worker.bundle.58e60d7c.js → histogram-worker.bundle.29bcdbf6.js} +6 -5
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.5a53d112.js → interpolation.bundle.ee9998a4.js} +8 -7
- package/dist/{lib-router.bundle.a5ac870a.js → lib-router.bundle.2a887bc7.js} +334 -201
- package/dist/{polySeg.bundle.b4089601.js → polySeg.bundle.a55f8eee.js} +12 -12
- package/dist/sw.js +11 -1
- package/package.json +14 -19
- package/dist/1566.bundle.d58db206.js +0 -3610
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
function create() {
|
|
18
|
-
var out = new _common_js__rspack_import_0
|
|
18
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(2);
|
|
19
19
|
|
|
20
|
-
if (_common_js__rspack_import_0
|
|
20
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
21
21
|
out[0] = 0;
|
|
22
22
|
out[1] = 0;
|
|
23
23
|
}
|
|
@@ -32,7 +32,7 @@ function create() {
|
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
34
|
function clone(a) {
|
|
35
|
-
var out = new _common_js__rspack_import_0
|
|
35
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(2);
|
|
36
36
|
out[0] = a[0];
|
|
37
37
|
out[1] = a[1];
|
|
38
38
|
return out;
|
|
@@ -46,7 +46,7 @@ function clone(a) {
|
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
48
|
function fromValues(x, y) {
|
|
49
|
-
var out = new _common_js__rspack_import_0
|
|
49
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(2);
|
|
50
50
|
out[0] = x;
|
|
51
51
|
out[1] = y;
|
|
52
52
|
return out;
|
|
@@ -627,19 +627,19 @@ var forEach = function () {
|
|
|
627
627
|
};
|
|
628
628
|
}();
|
|
629
629
|
__webpack_require__.d(__webpack_exports__, {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
630
|
+
add: () => (add),
|
|
631
|
+
clone: () => (clone),
|
|
632
|
+
create: () => (create),
|
|
633
|
+
dist: () => (dist),
|
|
634
|
+
distance: () => (distance),
|
|
635
|
+
dot: () => (dot),
|
|
636
|
+
fromValues: () => (fromValues),
|
|
637
|
+
length: () => (length),
|
|
638
|
+
normalize: () => (normalize),
|
|
639
|
+
scaleAndAdd: () => (scaleAndAdd),
|
|
640
|
+
set: () => (set),
|
|
641
|
+
sub: () => (sub),
|
|
642
|
+
subtract: () => (subtract)
|
|
643
643
|
});
|
|
644
644
|
|
|
645
645
|
|
|
@@ -659,9 +659,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
659
659
|
*/
|
|
660
660
|
|
|
661
661
|
function create() {
|
|
662
|
-
var out = new _common_js__rspack_import_0
|
|
662
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(3);
|
|
663
663
|
|
|
664
|
-
if (_common_js__rspack_import_0
|
|
664
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
665
665
|
out[0] = 0;
|
|
666
666
|
out[1] = 0;
|
|
667
667
|
out[2] = 0;
|
|
@@ -677,7 +677,7 @@ function create() {
|
|
|
677
677
|
*/
|
|
678
678
|
|
|
679
679
|
function clone(a) {
|
|
680
|
-
var out = new _common_js__rspack_import_0
|
|
680
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(3);
|
|
681
681
|
out[0] = a[0];
|
|
682
682
|
out[1] = a[1];
|
|
683
683
|
out[2] = a[2];
|
|
@@ -706,7 +706,7 @@ function length(a) {
|
|
|
706
706
|
*/
|
|
707
707
|
|
|
708
708
|
function fromValues(x, y, z) {
|
|
709
|
-
var out = new _common_js__rspack_import_0
|
|
709
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(3);
|
|
710
710
|
out[0] = x;
|
|
711
711
|
out[1] = y;
|
|
712
712
|
out[2] = z;
|
|
@@ -1344,7 +1344,7 @@ function equals(a, b) {
|
|
|
1344
1344
|
var b0 = b[0],
|
|
1345
1345
|
b1 = b[1],
|
|
1346
1346
|
b2 = b[2];
|
|
1347
|
-
return Math.abs(a0 - b0) <= _common_js__rspack_import_0
|
|
1347
|
+
return Math.abs(a0 - b0) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2));
|
|
1348
1348
|
}
|
|
1349
1349
|
/**
|
|
1350
1350
|
* Alias for {@link vec3.subtract}
|
|
@@ -1434,35 +1434,35 @@ var forEach = function () {
|
|
|
1434
1434
|
};
|
|
1435
1435
|
}();
|
|
1436
1436
|
__webpack_require__.d(__webpack_exports__, {
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1437
|
+
add: () => (add),
|
|
1438
|
+
angle: () => (angle),
|
|
1439
|
+
clone: () => (clone),
|
|
1440
|
+
copy: () => (copy),
|
|
1441
|
+
create: () => (create),
|
|
1442
|
+
cross: () => (cross),
|
|
1443
|
+
dist: () => (dist),
|
|
1444
|
+
distance: () => (distance),
|
|
1445
|
+
dot: () => (dot),
|
|
1446
|
+
equals: () => (equals),
|
|
1447
|
+
exactEquals: () => (exactEquals),
|
|
1448
|
+
fromValues: () => (fromValues),
|
|
1449
|
+
inverse: () => (inverse),
|
|
1450
|
+
len: () => (len),
|
|
1451
|
+
length: () => (length),
|
|
1452
|
+
lerp: () => (lerp),
|
|
1453
|
+
multiply: () => (multiply),
|
|
1454
|
+
negate: () => (negate),
|
|
1455
|
+
normalize: () => (normalize),
|
|
1456
|
+
scale: () => (scale),
|
|
1457
|
+
scaleAndAdd: () => (scaleAndAdd),
|
|
1458
|
+
set: () => (set),
|
|
1459
|
+
sqrDist: () => (sqrDist),
|
|
1460
|
+
squaredLength: () => (squaredLength),
|
|
1461
|
+
sub: () => (sub),
|
|
1462
|
+
subtract: () => (subtract),
|
|
1463
|
+
transformMat3: () => (transformMat3),
|
|
1464
|
+
transformMat4: () => (transformMat4),
|
|
1465
|
+
zero: () => (zero)
|
|
1466
1466
|
});
|
|
1467
1467
|
|
|
1468
1468
|
|
|
@@ -1641,7 +1641,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1641
1641
|
/* import */ var _loaders_ProgressiveRetrieveImages_js__rspack_import_38 = __webpack_require__(82655);
|
|
1642
1642
|
/* import */ var _loaders_decimatedVolumeLoader_js__rspack_import_39 = __webpack_require__(26531);
|
|
1643
1643
|
/* import */ var _types_index_js__rspack_import_40 = __webpack_require__(18471);
|
|
1644
|
-
/* import */ var _utilities_index_js__rspack_import_41 = __webpack_require__(
|
|
1644
|
+
/* import */ var _utilities_index_js__rspack_import_41 = __webpack_require__(58164);
|
|
1645
1645
|
/* import */ var _utilities_triggerEvent_js__rspack_import_42 = __webpack_require__(84444);
|
|
1646
1646
|
/* import */ var _utilities_convertColorArrayToRgbString_js__rspack_import_43 = __webpack_require__(83860);
|
|
1647
1647
|
/* import */ var _loaders_cornerstoneStreamingImageVolumeLoader_js__rspack_import_44 = __webpack_require__(45516);
|
|
@@ -2484,154 +2484,495 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2484
2484
|
|
|
2485
2485
|
|
|
2486
2486
|
},
|
|
2487
|
-
|
|
2487
|
+
58164(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2488
|
+
// ESM COMPAT FLAG
|
|
2488
2489
|
__webpack_require__.r(__webpack_exports__);
|
|
2489
|
-
/* import */ var _TargetEventListeners_js__rspack_import_0 = __webpack_require__(23953);
|
|
2490
|
-
/* import */ var _MultiTargetEventListenerManager_js__rspack_import_1 = __webpack_require__(51706);
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
2490
|
|
|
2491
|
+
// EXPORTS
|
|
2494
2492
|
__webpack_require__.d(__webpack_exports__, {
|
|
2495
|
-
|
|
2496
|
-
|
|
2493
|
+
CompositeVoxelManager: () => (/* reexport */ CompositeVoxelManager/* ["default"] */.Ay),
|
|
2494
|
+
ECGUtilities: () => (/* binding */ utilities_ECGUtilities),
|
|
2495
|
+
FrameRange: () => (/* reexport */ FrameRange/* ["default"] */.A),
|
|
2496
|
+
HistoryMemo: () => (/* reexport */ historyMemo),
|
|
2497
|
+
PointsManager: () => (/* reexport */ PointsManager/* ["default"] */.A),
|
|
2498
|
+
ProgressiveIterator: () => (/* reexport */ ProgressiveIterator/* ["default"] */.A),
|
|
2499
|
+
RLEVoxelMap: () => (/* reexport */ RLEVoxelMap/* ["default"] */.A),
|
|
2500
|
+
VideoUtilities: () => (/* reexport */ VideoUtilities),
|
|
2501
|
+
VoxelManager: () => (/* reexport */ VoxelManager/* ["default"] */.A),
|
|
2502
|
+
WSIUtilities: () => (/* reexport */ WSIUtilities),
|
|
2503
|
+
actorIsA: () => (/* reexport */ actorCheck/* .actorIsA */.N),
|
|
2504
|
+
applyPreset: () => (/* reexport */ applyPreset/* ["default"] */.A),
|
|
2505
|
+
asArray: () => (/* reexport */ asArray/* .asArray */._),
|
|
2506
|
+
asArrayFirst: () => (/* reexport */ asArray/* .asArrayFirst */.m),
|
|
2507
|
+
autoLoad: () => (/* reexport */ autoLoad/* ["default"] */.A),
|
|
2508
|
+
buildMetadata: () => (/* reexport */ buildMetadata/* .buildMetadata */.KP),
|
|
2509
|
+
calculateNeighborhoodStats: () => (/* reexport */ calculateNeighborhoodStats/* .calculateNeighborhoodStats */.c),
|
|
2510
|
+
calculateRadiographicPixelSpacing: () => (/* reexport */ getPixelSpacingInformation/* .calculateRadiographicPixelSpacing */.VD),
|
|
2511
|
+
calculateSpacingBetweenImageIds: () => (/* reexport */ calculateSpacingBetweenImageIds/* ["default"] */.A),
|
|
2512
|
+
calculateViewportsSpatialRegistration: () => (/* reexport */ calculateViewportsSpatialRegistration/* ["default"] */.A),
|
|
2513
|
+
calibratedPixelSpacingMetadataProvider: () => (/* reexport */ calibratedPixelSpacingMetadataProvider/* ["default"] */.A),
|
|
2514
|
+
clamp: () => (/* reexport */ clamp/* ["default"] */.A),
|
|
2515
|
+
clip: () => (/* reexport */ clip/* ["default"] */.Ay),
|
|
2516
|
+
clonePoint3: () => (/* reexport */ clonePoint3/* ["default"] */.A),
|
|
2517
|
+
color: () => (/* reexport */ color),
|
|
2518
|
+
colormap: () => (/* reexport */ colormap),
|
|
2519
|
+
convertColorArrayToRgbString: () => (/* reexport */ convertColorArrayToRgbString/* .convertColorArrayToRgbString */.J),
|
|
2520
|
+
convertStackToVolumeViewport: () => (/* reexport */ convertStackToVolumeViewport/* .convertStackToVolumeViewport */.h),
|
|
2521
|
+
convertToGrayscale: () => (/* reexport */ convertToGrayscale/* ["default"] */.A),
|
|
2522
|
+
convertVolumeToStackViewport: () => (/* reexport */ convertVolumeToStackViewport/* .convertVolumeToStackViewport */.n),
|
|
2523
|
+
createLinearRGBTransferFunction: () => (/* reexport */ createLinearRGBTransferFunction/* ["default"] */.A),
|
|
2524
|
+
createSigmoidRGBTransferFunction: () => (/* reexport */ createSigmoidRGBTransferFunction/* ["default"] */.A),
|
|
2525
|
+
createSubVolume: () => (/* reexport */ createSubVolume/* ["default"] */.A),
|
|
2526
|
+
decimate: () => (/* reexport */ decimate/* ["default"] */.A),
|
|
2527
|
+
deepClone: () => (/* reexport */ deepClone/* .deepClone */.G),
|
|
2528
|
+
deepEqual: () => (/* reexport */ deepEqual/* .deepEqual */.b),
|
|
2529
|
+
deepMerge: () => (/* reexport */ deepMerge/* ["default"] */.A),
|
|
2530
|
+
eventListener: () => (/* reexport */ eventListener_namespaceObject),
|
|
2531
|
+
fnv1aHash: () => (/* reexport */ fnv1aHash/* ["default"] */.A),
|
|
2532
|
+
generateFrameImageId: () => (/* reexport */ splitImageIdsBy4DTags/* .generateFrameImageId */.Hf),
|
|
2533
|
+
generateVolumePropsFromImageIds: () => (/* reexport */ generateVolumePropsFromImageIds/* .generateVolumePropsFromImageIds */.D),
|
|
2534
|
+
genericMetadataProvider: () => (/* reexport */ genericMetadataProvider/* ["default"] */.A),
|
|
2535
|
+
genericViewportDisplaySetMetadataProvider: () => (/* reexport */ genericViewportDisplaySetMetadataProvider/* ["default"] */.A),
|
|
2536
|
+
getAcquisitionPlaneOrientation: () => (/* reexport */ getAcquisitionPlaneOrientation/* ["default"] */.A),
|
|
2537
|
+
getBufferConfiguration: () => (/* reexport */ getBufferConfiguration/* .getBufferConfiguration */.hI),
|
|
2538
|
+
getClosestImageId: () => (/* reexport */ getClosestImageId/* ["default"] */.A),
|
|
2539
|
+
getClosestStackImageIndexForPoint: () => (/* reexport */ getClosestStackImageIndexForPoint/* ["default"] */.A),
|
|
2540
|
+
getCubeSizeInView: () => (/* reexport */ getPlaneCubeIntersectionDimensions/* .getCubeSizeInView */.H),
|
|
2541
|
+
getCurrentVolumeViewportSlice: () => (/* reexport */ getCurrentVolumeViewportSlice/* ["default"] */.A),
|
|
2542
|
+
getDynamicVolumeInfo: () => (/* reexport */ getDynamicVolumeInfo/* ["default"] */.A),
|
|
2543
|
+
getERMF: () => (/* reexport */ getPixelSpacingInformation/* .getERMF */.lJ),
|
|
2544
|
+
getEffectiveSpacingAlongDirection: () => (/* reexport */ getEffectiveSpacingAlongDirection/* ["default"] */.A),
|
|
2545
|
+
getImageDataMetadata: () => (/* reexport */ getImageDataMetadata/* .getImageDataMetadata */.T),
|
|
2546
|
+
getImageLegacy: () => (/* reexport */ getImageLegacy/* ["default"] */.A),
|
|
2547
|
+
getImageSliceDataForVolumeViewport: () => (/* reexport */ getImageSliceDataForVolumeViewport/* ["default"] */.A),
|
|
2548
|
+
getMinMax: () => (/* reexport */ getMinMax/* ["default"] */.A),
|
|
2549
|
+
getNormalizedAspectRatio: () => (/* reexport */ getNormalizedAspectRatio/* .getNormalizedAspectRatio */.x),
|
|
2550
|
+
getPixelSpacingInformation: () => (/* reexport */ getPixelSpacingInformation/* .getPixelSpacingInformation */.Cc),
|
|
2551
|
+
getPublicUrl: () => (/* reexport */ resolveApplicationUrl/* .getPublicUrl */.b4),
|
|
2552
|
+
getRandomSampleFromArray: () => (/* reexport */ getRandomSampleFromArray/* .getRandomSampleFromArray */.p),
|
|
2553
|
+
getRuntimeId: () => (/* reexport */ getRuntimeId/* ["default"] */.A),
|
|
2554
|
+
getScalingDescriptor: () => (/* binding */ utilities_getScalingDescriptor),
|
|
2555
|
+
getScalingParameters: () => (/* reexport */ getScalingParameters/* ["default"] */.A),
|
|
2556
|
+
getSliceRange: () => (/* reexport */ getSliceRange/* ["default"] */.A),
|
|
2557
|
+
getSpacingInNormalDirection: () => (/* reexport */ getSpacingInNormalDirection/* ["default"] */.A),
|
|
2558
|
+
getTargetVolumeAndSpacingInNormalDir: () => (/* reexport */ getTargetVolumeAndSpacingInNormalDir/* ["default"] */.A),
|
|
2559
|
+
getVOIRangeFromWindowLevel: () => (/* reexport */ getVOIRangeFromWindowLevel/* ["default"] */.A),
|
|
2560
|
+
getViewSlabDepth: () => (/* reexport */ getViewSlabDepth/* ["default"] */.A),
|
|
2561
|
+
getViewportContentMode: () => (/* reexport */ viewportCapabilities/* .getViewportContentMode */.nH),
|
|
2562
|
+
getViewportImageCornersInWorld: () => (/* reexport */ getViewportImageCornersInWorld/* ["default"] */.A),
|
|
2563
|
+
getViewportImageIds: () => (/* reexport */ getViewportImageIds/* ["default"] */.A),
|
|
2564
|
+
getViewportModality: () => (/* binding */ utilities_getViewportModality),
|
|
2565
|
+
getViewportsWithImageURI: () => (/* reexport */ getViewportsWithImageURI/* ["default"] */.A),
|
|
2566
|
+
getViewportsWithVolumeId: () => (/* reexport */ getViewportsWithVolumeId/* ["default"] */.A),
|
|
2567
|
+
getVoiFromSigmoidRGBTransferFunction: () => (/* reexport */ getVoiFromSigmoidRGBTransferFunction/* ["default"] */.A),
|
|
2568
|
+
getVolumeActorCorners: () => (/* reexport */ getVolumeActorCorners/* ["default"] */.A),
|
|
2569
|
+
getVolumeDirectionVectors: () => (/* reexport */ getVolumeDirectionVectors/* ["default"] */.A),
|
|
2570
|
+
getVolumeId: () => (/* reexport */ getVolumeId/* .getVolumeId */.A),
|
|
2571
|
+
getVolumeSliceRangeInfo: () => (/* reexport */ getVolumeSliceRangeInfo/* ["default"] */.A),
|
|
2572
|
+
getVolumeViewReferenceId: () => (/* reexport */ getVolumeViewReferenceId/* ["default"] */.A),
|
|
2573
|
+
getVolumeViewportScrollInfo: () => (/* reexport */ getVolumeViewportScrollInfo/* ["default"] */.A),
|
|
2574
|
+
getVolumeViewportsContainingSameVolumes: () => (/* reexport */ getVolumeViewportsContainingSameVolumes/* ["default"] */.A),
|
|
2575
|
+
getWasmBasePath: () => (/* reexport */ wasmBasePath/* .getWasmBasePath */.ZC),
|
|
2576
|
+
handleMultiframe4D: () => (/* reexport */ splitImageIdsBy4DTags/* .handleMultiframe4D */.FM),
|
|
2577
|
+
hasFloatScalingParameters: () => (/* reexport */ hasFloatScalingParameters/* .hasFloatScalingParameters */.a),
|
|
2578
|
+
hasNaNValues: () => (/* reexport */ hasNaNValues/* ["default"] */.A),
|
|
2579
|
+
hasOwn: () => (/* reexport */ hasOwn/* ["default"] */.A),
|
|
2580
|
+
imageIdToURI: () => (/* reexport */ imageIdToURI/* ["default"] */.A),
|
|
2581
|
+
imageRetrieveMetadataProvider: () => (/* reexport */ imageRetrieveMetadataProvider/* ["default"] */.A),
|
|
2582
|
+
imageToWorldCoords: () => (/* reexport */ imageToWorldCoords/* ["default"] */.A),
|
|
2583
|
+
indexAlmostWithinDimensions: () => (/* reexport */ indexAlmostWithinDimensions/* ["default"] */.A),
|
|
2584
|
+
indexWithinDimensions: () => (/* reexport */ indexWithinDimensions/* ["default"] */.A),
|
|
2585
|
+
invertRgbTransferFunction: () => (/* reexport */ invertRgbTransferFunction/* ["default"] */.A),
|
|
2586
|
+
isAcquisitionPlaneNormal: () => (/* reexport */ isAcquisitionPlaneNormal/* .isAcquisitionPlaneNormal */.z),
|
|
2587
|
+
isEqual: () => (/* reexport */ isEqual/* .isEqual */.n4),
|
|
2588
|
+
isEqualAbs: () => (/* reexport */ isEqual/* .isEqualAbs */.Ph),
|
|
2589
|
+
isEqualNegative: () => (/* reexport */ isEqual/* .isEqualNegative */.WC),
|
|
2590
|
+
isGenericViewport: () => (/* reexport */ viewportCapabilities/* .isGenericViewport */.oX),
|
|
2591
|
+
isImageActor: () => (/* reexport */ actorCheck/* .isImageActor */.e),
|
|
2592
|
+
isNumber: () => (/* reexport */ isEqual/* .isNumber */.Et),
|
|
2593
|
+
isOpposite: () => (/* reexport */ isOpposite/* ["default"] */.A),
|
|
2594
|
+
isPTPrescaledWithSUV: () => (/* reexport */ isPTPrescaledWithSUV/* ["default"] */.A),
|
|
2595
|
+
isValidVolume: () => (/* reexport */ isValidVolume/* .isValidVolume */.p),
|
|
2596
|
+
isVideoTransferSyntax: () => (/* reexport */ isVideoTransferSyntax/* ["default"] */.A),
|
|
2597
|
+
jumpToSlice: () => (/* reexport */ jumpToSlice/* .jumpToSlice */.e),
|
|
2598
|
+
loadImageToCanvas: () => (/* reexport */ loadImageToCanvas/* ["default"] */.A),
|
|
2599
|
+
logger: () => (/* reexport */ logger),
|
|
2600
|
+
makeVolumeMetadata: () => (/* reexport */ makeVolumeMetadata/* ["default"] */.A),
|
|
2601
|
+
mapMappedBandToRawRange: () => (/* reexport */ viewportVoiIntensityMapping/* .mapMappedBandToRawRange */.j_),
|
|
2602
|
+
mapScalarToViewportVoiIntensity: () => (/* reexport */ viewportVoiIntensityMapping/* .mapScalarToViewportVoiIntensity */.fT),
|
|
2603
|
+
mapViewportVoiIntensityToScalar: () => (/* reexport */ viewportVoiIntensityMapping/* .mapViewportVoiIntensityToScalar */.l2),
|
|
2604
|
+
planar: () => (/* reexport */ planar),
|
|
2605
|
+
pointInShapeCallback: () => (/* reexport */ pointInShapeCallback/* .pointInShapeCallback */.ii),
|
|
2606
|
+
renderToCanvasCPU: () => (/* reexport */ renderToCanvasCPU/* ["default"] */.A),
|
|
2607
|
+
renderToCanvasGPU: () => (/* reexport */ renderToCanvasGPU/* ["default"] */.A),
|
|
2608
|
+
resolveApplicationUrl: () => (/* reexport */ resolveApplicationUrl/* ["default"] */.Ay),
|
|
2609
|
+
resolveGenericViewportVolumeId: () => (/* reexport */ resolveGenericViewportVolumeId/* .resolveGenericViewportVolumeId */.d),
|
|
2610
|
+
resolveWasmBasePath: () => (/* reexport */ wasmBasePath/* .resolveWasmBasePath */.Hv),
|
|
2611
|
+
rotateToViewCoordinates: () => (/* reexport */ rotateToViewCoordinates/* .rotateToViewCoordinates */.P),
|
|
2612
|
+
roundNumber: () => (/* reexport */ roundNumber/* ["default"] */.A),
|
|
2613
|
+
roundToPrecision: () => (/* reexport */ roundNumber/* .roundToPrecision */.C),
|
|
2614
|
+
sampleVolumeGrid: () => (/* reexport */ sampleVolumeGrid/* ["default"] */.A),
|
|
2615
|
+
scaleArray: () => (/* reexport */ scaleArray/* ["default"] */.A),
|
|
2616
|
+
scaleRgbTransferFunction: () => (/* reexport */ scaleRgbTransferFunction/* ["default"] */.A),
|
|
2617
|
+
scroll: () => (/* reexport */ utilities_scroll/* ["default"] */.A),
|
|
2618
|
+
setWasmBasePath: () => (/* reexport */ wasmBasePath/* .setWasmBasePath */.Js),
|
|
2619
|
+
snapFocalPointToSlice: () => (/* reexport */ snapFocalPointToSlice/* ["default"] */.A),
|
|
2620
|
+
sortImageIdsAndGetSpacing: () => (/* reexport */ sortImageIdsAndGetSpacing/* ["default"] */.A),
|
|
2621
|
+
spatialRegistrationMetadataProvider: () => (/* reexport */ spatialRegistrationMetadataProvider/* ["default"] */.A),
|
|
2622
|
+
splitImageIdsBy4DTags: () => (/* reexport */ splitImageIdsBy4DTags/* ["default"] */.Ay),
|
|
2623
|
+
transferFunctionUtils: () => (/* reexport */ transferFunctionUtils),
|
|
2624
|
+
transformIndexToWorld: () => (/* reexport */ transformIndexToWorld/* ["default"] */.A),
|
|
2625
|
+
transformWorldToIndex: () => (/* reexport */ transformWorldToIndex/* ["default"] */.A),
|
|
2626
|
+
transformWorldToIndexContinuous: () => (/* reexport */ transformWorldToIndex/* .transformWorldToIndexContinuous */.p),
|
|
2627
|
+
triggerEvent: () => (/* reexport */ triggerEvent/* ["default"] */.A),
|
|
2628
|
+
updatePlaneRestriction: () => (/* reexport */ updatePlaneRestriction/* .updatePlaneRestriction */.O),
|
|
2629
|
+
updateVTKImageDataWithCornerstoneImage: () => (/* reexport */ updateVTKImageDataWithCornerstoneImage/* .updateVTKImageDataWithCornerstoneImage */.J),
|
|
2630
|
+
uuidv4: () => (/* reexport */ uuidv4/* ["default"] */.A),
|
|
2631
|
+
viewportIsInStackMode: () => (/* reexport */ viewportCapabilities/* .viewportIsInStackMode */.NL),
|
|
2632
|
+
viewportIsInVolumeMode: () => (/* reexport */ viewportCapabilities/* .viewportIsInVolumeMode */.zb),
|
|
2633
|
+
viewportSupportsDisplaySetPresentation: () => (/* reexport */ viewportCapabilities/* .viewportSupportsDisplaySetPresentation */.Tf),
|
|
2634
|
+
viewportSupportsImageSlices: () => (/* reexport */ viewportCapabilities/* .viewportSupportsImageSlices */.hz),
|
|
2635
|
+
viewportSupportsStackCalibration: () => (/* reexport */ viewportCapabilities/* .viewportSupportsStackCalibration */.Xu),
|
|
2636
|
+
viewportSupportsStackCompatibility: () => (/* reexport */ viewportCapabilities/* .viewportSupportsStackCompatibility */.T),
|
|
2637
|
+
viewportSupportsVolumeActors: () => (/* reexport */ viewportCapabilities/* .viewportSupportsVolumeActors */.$O),
|
|
2638
|
+
viewportSupportsVolumeCompatibility: () => (/* reexport */ viewportCapabilities/* .viewportSupportsVolumeCompatibility */.rw),
|
|
2639
|
+
viewportSupportsVolumeId: () => (/* reexport */ viewportCapabilities/* .viewportSupportsVolumeId */.Uv),
|
|
2640
|
+
viewportSupportsVolumeURI: () => (/* reexport */ viewportCapabilities/* .viewportSupportsVolumeURI */.vP),
|
|
2641
|
+
voxelGrid: () => (/* reexport */ voxelGrid),
|
|
2642
|
+
voxelSlab: () => (/* reexport */ voxelSlab_namespaceObject),
|
|
2643
|
+
windowLevel: () => (/* reexport */ windowLevel),
|
|
2644
|
+
worldToImageCoords: () => (/* reexport */ worldToImageCoords/* ["default"] */.A)
|
|
2497
2645
|
});
|
|
2646
|
+
// NAMESPACE OBJECT: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/eventListener/index.js
|
|
2647
|
+
var eventListener_namespaceObject = {};
|
|
2648
|
+
__webpack_require__.r(eventListener_namespaceObject);
|
|
2649
|
+
__webpack_require__.d(eventListener_namespaceObject, {
|
|
2650
|
+
MultiTargetEventListenerManager: () => (MultiTargetEventListenerManager/* .MultiTargetEventListenerManager */.I),
|
|
2651
|
+
TargetEventListeners: () => (TargetEventListeners/* .TargetEventListeners */.f) });
|
|
2652
|
+
|
|
2653
|
+
// NAMESPACE OBJECT: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/index.js
|
|
2654
|
+
var voxelSlab_namespaceObject = {};
|
|
2655
|
+
__webpack_require__.r(voxelSlab_namespaceObject);
|
|
2656
|
+
__webpack_require__.d(voxelSlab_namespaceObject, {
|
|
2657
|
+
SLAB_RELATIVE_EPSILON: () => (slabMembership/* .SLAB_RELATIVE_EPSILON */.ni),
|
|
2658
|
+
UNBOUNDED: () => (shapes/* .UNBOUNDED */.fk),
|
|
2659
|
+
asUnitNormal: () => (slabMembership/* .asUnitNormal */.Ko),
|
|
2660
|
+
buildIndexSpaceSlab: () => (indexSpaceSlab/* .buildIndexSpaceSlab */.r9),
|
|
2661
|
+
collectVoxelsInShape: () => (iterateVoxelsInShape/* .collectVoxelsInShape */.i),
|
|
2662
|
+
createCircleShape: () => (shapes/* .createCircleShape */.Q6),
|
|
2663
|
+
createColumnLineResolver: () => (shapes/* .createColumnLineResolver */.nw),
|
|
2664
|
+
createEllipseShape: () => (shapes/* .createEllipseShape */.CZ),
|
|
2665
|
+
createPlaneBasis: () => (shapes/* .createPlaneBasis */.NC),
|
|
2666
|
+
createPolylineShape: () => (shapes/* .createPolylineShape */.oY),
|
|
2667
|
+
createRectangleShape: () => (shapes/* .createRectangleShape */.Tc),
|
|
2668
|
+
createUnionShape: () => (shapes/* .createUnionShape */.ZG),
|
|
2669
|
+
depthAtIndex: () => (indexSpaceSlab/* .depthAtIndex */.xe),
|
|
2670
|
+
getAxisSteps: () => (shapes/* .getAxisSteps */.NU),
|
|
2671
|
+
getDepthRun: () => (indexSpaceSlab/* .getDepthRun */.XT),
|
|
2672
|
+
getDisplayHalfWidth: () => (slabMembership/* .getDisplayHalfWidth */.k),
|
|
2673
|
+
getFillHalfWidth: () => (slabMembership/* .getFillHalfWidth */.xG),
|
|
2674
|
+
getIndexSpaceNormal: () => (indexSpaceSlab/* .getIndexSpaceNormal */.M0),
|
|
2675
|
+
getMembershipHalfWidth: () => (slabMembership/* .getMembershipHalfWidth */.q$),
|
|
2676
|
+
getSlabAxisBound: () => (indexSpaceSlab/* .getSlabAxisBound */.i3),
|
|
2677
|
+
getSlabEpsilon: () => (slabMembership/* .getSlabEpsilon */.Xm),
|
|
2678
|
+
getSlabHalfWidth: () => (slabMembership/* .getSlabHalfWidth */.ks),
|
|
2679
|
+
getVoxelThicknessAlongNormal: () => (getVoxelThicknessAlongNormal/* ["default"] */.A),
|
|
2680
|
+
intersectRanges: () => (shapes/* .intersectRanges */.im),
|
|
2681
|
+
isPlaneDepthViewable: () => (isPlaneDepthViewable/* .isPlaneDepthViewable */.L),
|
|
2682
|
+
isSlabDepthLowInclusive: () => (slabMembership/* .isSlabDepthLowInclusive */.K5),
|
|
2683
|
+
isVoxelCenterInSlab: () => (slabMembership/* .isVoxelCenterInSlab */.$X),
|
|
2684
|
+
isWithinSlab: () => (slabMembership/* .isWithinSlab */.OP),
|
|
2685
|
+
iterateVoxelsInShape: () => (iterateVoxelsInShape/* .iterateVoxelsInShape */.m),
|
|
2686
|
+
pickOuterAxis: () => (indexSpaceSlab/* .pickOuterAxis */.o2),
|
|
2687
|
+
projectPointOntoPlane: () => (slabMembership/* .projectPointOntoPlane */.G9),
|
|
2688
|
+
resolveReferencePlaneThickness: () => (slabMembership/* .resolveReferencePlaneThickness */.gr),
|
|
2689
|
+
sampleVoxelsInShape: () => (sampleVoxelsInShape/* .sampleVoxelsInShape */._),
|
|
2690
|
+
signedDistanceToPlane: () => (slabMembership/* .signedDistanceToPlane */.ny),
|
|
2691
|
+
solveAbsLinearLeq: () => (shapes/* .solveAbsLinearLeq */.n3),
|
|
2692
|
+
solveQuadraticLeqZero: () => (shapes/* .solveQuadraticLeqZero */.mB),
|
|
2693
|
+
toIntegerRun: () => (shapes/* .toIntegerRun */.nS) });
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/eventListener/TargetEventListeners.js
|
|
2697
|
+
var TargetEventListeners = __webpack_require__(23953);
|
|
2698
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/eventListener/MultiTargetEventListenerManager.js
|
|
2699
|
+
var MultiTargetEventListenerManager = __webpack_require__(51706);
|
|
2700
|
+
;// CONCATENATED MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/eventListener/index.js
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/invertRgbTransferFunction.js
|
|
2705
|
+
var invertRgbTransferFunction = __webpack_require__(42998);
|
|
2706
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/createSigmoidRGBTransferFunction.js
|
|
2707
|
+
var createSigmoidRGBTransferFunction = __webpack_require__(49664);
|
|
2708
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVoiFromSigmoidRGBTransferFunction.js
|
|
2709
|
+
var getVoiFromSigmoidRGBTransferFunction = __webpack_require__(19394);
|
|
2710
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/createLinearRGBTransferFunction.js
|
|
2711
|
+
var createLinearRGBTransferFunction = __webpack_require__(28385);
|
|
2712
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/scaleRgbTransferFunction.js
|
|
2713
|
+
var scaleRgbTransferFunction = __webpack_require__(50150);
|
|
2714
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/triggerEvent.js
|
|
2715
|
+
var triggerEvent = __webpack_require__(84444);
|
|
2716
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/uuidv4.js
|
|
2717
|
+
var uuidv4 = __webpack_require__(92157);
|
|
2718
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getMinMax.js
|
|
2719
|
+
var getMinMax = __webpack_require__(54428);
|
|
2720
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/clonePoint3.js
|
|
2721
|
+
var clonePoint3 = __webpack_require__(31092);
|
|
2722
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/hasOwn.js
|
|
2723
|
+
var hasOwn = __webpack_require__(41488);
|
|
2724
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getRuntimeId.js
|
|
2725
|
+
var getRuntimeId = __webpack_require__(55489);
|
|
2726
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVOIRangeFromWindowLevel.js
|
|
2727
|
+
var getVOIRangeFromWindowLevel = __webpack_require__(68459);
|
|
2728
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/imageIdToURI.js
|
|
2729
|
+
var imageIdToURI = __webpack_require__(60465);
|
|
2730
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/calibratedPixelSpacingMetadataProvider.js
|
|
2731
|
+
var calibratedPixelSpacingMetadataProvider = __webpack_require__(14974);
|
|
2732
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/clamp.js
|
|
2733
|
+
var clamp = __webpack_require__(20637);
|
|
2734
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/isOpposite.js
|
|
2735
|
+
var isOpposite = __webpack_require__(14137);
|
|
2736
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getClosestImageId.js
|
|
2737
|
+
var getClosestImageId = __webpack_require__(27307);
|
|
2738
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getSpacingInNormalDirection.js
|
|
2739
|
+
var getSpacingInNormalDirection = __webpack_require__(1680);
|
|
2740
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getEffectiveSpacingAlongDirection.js
|
|
2741
|
+
var getEffectiveSpacingAlongDirection = __webpack_require__(27790);
|
|
2742
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/sampleVolumeGrid.js
|
|
2743
|
+
var sampleVolumeGrid = __webpack_require__(82188);
|
|
2744
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getViewSlabDepth.js
|
|
2745
|
+
var getViewSlabDepth = __webpack_require__(13054);
|
|
2746
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getTargetVolumeAndSpacingInNormalDir.js
|
|
2747
|
+
var getTargetVolumeAndSpacingInNormalDir = __webpack_require__(32556);
|
|
2748
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeActorCorners.js
|
|
2749
|
+
var getVolumeActorCorners = __webpack_require__(35905);
|
|
2750
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/indexWithinDimensions.js
|
|
2751
|
+
var indexWithinDimensions = __webpack_require__(1348);
|
|
2752
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/indexAlmostWithinDimensions.js
|
|
2753
|
+
var indexAlmostWithinDimensions = __webpack_require__(62382);
|
|
2754
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeViewportsContainingSameVolumes.js
|
|
2755
|
+
var getVolumeViewportsContainingSameVolumes = __webpack_require__(92188);
|
|
2756
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getViewportsWithVolumeId.js
|
|
2757
|
+
var getViewportsWithVolumeId = __webpack_require__(78580);
|
|
2758
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/transformWorldToIndex.js
|
|
2759
|
+
var transformWorldToIndex = __webpack_require__(13837);
|
|
2760
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/transformIndexToWorld.js
|
|
2761
|
+
var transformIndexToWorld = __webpack_require__(51189);
|
|
2762
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/loadImageToCanvas.js
|
|
2763
|
+
var loadImageToCanvas = __webpack_require__(79190);
|
|
2764
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/historyMemo/index.js
|
|
2765
|
+
var historyMemo = __webpack_require__(69583);
|
|
2766
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/renderToCanvasCPU.js
|
|
2767
|
+
var renderToCanvasCPU = __webpack_require__(60023);
|
|
2768
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/renderToCanvasGPU.js
|
|
2769
|
+
var renderToCanvasGPU = __webpack_require__(84755);
|
|
2770
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/worldToImageCoords.js
|
|
2771
|
+
var worldToImageCoords = __webpack_require__(86036);
|
|
2772
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/imageToWorldCoords.js
|
|
2773
|
+
var imageToWorldCoords = __webpack_require__(35518);
|
|
2774
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeSliceRangeInfo.js
|
|
2775
|
+
var getVolumeSliceRangeInfo = __webpack_require__(18655);
|
|
2776
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeViewportScrollInfo.js
|
|
2777
|
+
var getVolumeViewportScrollInfo = __webpack_require__(33439);
|
|
2778
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getSliceRange.js
|
|
2779
|
+
var getSliceRange = __webpack_require__(53817);
|
|
2780
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/snapFocalPointToSlice.js
|
|
2781
|
+
var snapFocalPointToSlice = __webpack_require__(69780);
|
|
2782
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getImageSliceDataForVolumeViewport.js
|
|
2783
|
+
var getImageSliceDataForVolumeViewport = __webpack_require__(21684);
|
|
2784
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/actorCheck.js
|
|
2785
|
+
var actorCheck = __webpack_require__(34455);
|
|
2786
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getViewportsWithImageURI.js
|
|
2787
|
+
var getViewportsWithImageURI = __webpack_require__(76742);
|
|
2788
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getClosestStackImageIndexForPoint.js
|
|
2789
|
+
var getClosestStackImageIndexForPoint = __webpack_require__(10259);
|
|
2790
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getCurrentVolumeViewportSlice.js
|
|
2791
|
+
var getCurrentVolumeViewportSlice = __webpack_require__(67419);
|
|
2792
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/calculateViewportsSpatialRegistration.js
|
|
2793
|
+
var calculateViewportsSpatialRegistration = __webpack_require__(14598);
|
|
2794
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/spatialRegistrationMetadataProvider.js
|
|
2795
|
+
var spatialRegistrationMetadataProvider = __webpack_require__(40367);
|
|
2796
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getViewportImageCornersInWorld.js
|
|
2797
|
+
var getViewportImageCornersInWorld = __webpack_require__(32640);
|
|
2798
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/hasNaNValues.js
|
|
2799
|
+
var hasNaNValues = __webpack_require__(1411);
|
|
2800
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/applyPreset.js
|
|
2801
|
+
var applyPreset = __webpack_require__(34049);
|
|
2802
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/PointsManager.js
|
|
2803
|
+
var PointsManager = __webpack_require__(79252);
|
|
2804
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/deepMerge.js
|
|
2805
|
+
var deepMerge = __webpack_require__(23964);
|
|
2806
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getScalingParameters.js
|
|
2807
|
+
var getScalingParameters = __webpack_require__(2541);
|
|
2808
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/isPTPrescaledWithSUV.js
|
|
2809
|
+
var isPTPrescaledWithSUV = __webpack_require__(41227);
|
|
2810
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getImageLegacy.js
|
|
2811
|
+
var getImageLegacy = __webpack_require__(73290);
|
|
2812
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/sortImageIdsAndGetSpacing.js
|
|
2813
|
+
var sortImageIdsAndGetSpacing = __webpack_require__(7913);
|
|
2814
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/makeVolumeMetadata.js
|
|
2815
|
+
var makeVolumeMetadata = __webpack_require__(10985);
|
|
2816
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/genericMetadataProvider.js
|
|
2817
|
+
var genericMetadataProvider = __webpack_require__(73615);
|
|
2818
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/isValidVolume.js
|
|
2819
|
+
var isValidVolume = __webpack_require__(22750);
|
|
2820
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/updateVTKImageDataWithCornerstoneImage.js
|
|
2821
|
+
var updateVTKImageDataWithCornerstoneImage = __webpack_require__(95390);
|
|
2822
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/ProgressiveIterator.js
|
|
2823
|
+
var ProgressiveIterator = __webpack_require__(56783);
|
|
2824
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/decimate.js
|
|
2825
|
+
var decimate = __webpack_require__(49230);
|
|
2826
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/imageRetrieveMetadataProvider.js
|
|
2827
|
+
var imageRetrieveMetadataProvider = __webpack_require__(95071);
|
|
2828
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/genericViewportDisplaySetMetadataProvider.js
|
|
2829
|
+
var genericViewportDisplaySetMetadataProvider = __webpack_require__(51127);
|
|
2830
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/isVideoTransferSyntax.js
|
|
2831
|
+
var isVideoTransferSyntax = __webpack_require__(15793);
|
|
2832
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getBufferConfiguration.js
|
|
2833
|
+
var getBufferConfiguration = __webpack_require__(25752);
|
|
2834
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/generateVolumePropsFromImageIds.js
|
|
2835
|
+
var generateVolumePropsFromImageIds = __webpack_require__(53286);
|
|
2836
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/convertStackToVolumeViewport.js
|
|
2837
|
+
var convertStackToVolumeViewport = __webpack_require__(94152);
|
|
2838
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/convertVolumeToStackViewport.js
|
|
2839
|
+
var convertVolumeToStackViewport = __webpack_require__(66802);
|
|
2840
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/VoxelManager.js
|
|
2841
|
+
var VoxelManager = __webpack_require__(60719);
|
|
2842
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/CompositeVoxelManager.js
|
|
2843
|
+
var CompositeVoxelManager = __webpack_require__(86998);
|
|
2844
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/RLEVoxelMap.js
|
|
2845
|
+
var RLEVoxelMap = __webpack_require__(71325);
|
|
2846
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/roundNumber.js
|
|
2847
|
+
var roundNumber = __webpack_require__(18355);
|
|
2848
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/convertToGrayscale.js
|
|
2849
|
+
var convertToGrayscale = __webpack_require__(53373);
|
|
2850
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/convertColorArrayToRgbString.js
|
|
2851
|
+
var convertColorArrayToRgbString = __webpack_require__(83860);
|
|
2852
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getViewportImageIds.js
|
|
2853
|
+
var getViewportImageIds = __webpack_require__(41109);
|
|
2854
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getRandomSampleFromArray.js
|
|
2855
|
+
var getRandomSampleFromArray = __webpack_require__(62742);
|
|
2856
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeId.js
|
|
2857
|
+
var getVolumeId = __webpack_require__(65237);
|
|
2858
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/hasFloatScalingParameters.js
|
|
2859
|
+
var hasFloatScalingParameters = __webpack_require__(8985);
|
|
2860
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/pointInShapeCallback.js
|
|
2861
|
+
var pointInShapeCallback = __webpack_require__(87169);
|
|
2862
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/ECGUtilities.js
|
|
2863
|
+
var ECGUtilities = __webpack_require__(24511);
|
|
2864
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/VideoUtilities.js
|
|
2865
|
+
var VideoUtilities = __webpack_require__(18421);
|
|
2866
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/WSIUtilities.js
|
|
2867
|
+
var WSIUtilities = __webpack_require__(15975);
|
|
2868
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelGrid/index.js + 5 modules
|
|
2869
|
+
var voxelGrid = __webpack_require__(49617);
|
|
2870
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/planar.js
|
|
2871
|
+
var planar = __webpack_require__(30828);
|
|
2872
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/windowLevel.js
|
|
2873
|
+
var windowLevel = __webpack_require__(30344);
|
|
2874
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/colormap.js
|
|
2875
|
+
var colormap = __webpack_require__(21155);
|
|
2876
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/transferFunctionUtils.js
|
|
2877
|
+
var transferFunctionUtils = __webpack_require__(48030);
|
|
2878
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/color.js
|
|
2879
|
+
var color = __webpack_require__(71813);
|
|
2880
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/deepEqual.js
|
|
2881
|
+
var deepEqual = __webpack_require__(46492);
|
|
2882
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/FrameRange.js
|
|
2883
|
+
var FrameRange = __webpack_require__(90446);
|
|
2884
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/fnv1aHash.js
|
|
2885
|
+
var fnv1aHash = __webpack_require__(29758);
|
|
2886
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getImageDataMetadata.js
|
|
2887
|
+
var getImageDataMetadata = __webpack_require__(57804);
|
|
2888
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/buildMetadata.js
|
|
2889
|
+
var buildMetadata = __webpack_require__(15499);
|
|
2890
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getViewportModality.js
|
|
2891
|
+
var getViewportModality = __webpack_require__(37191);
|
|
2892
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getScalingDescriptor.js
|
|
2893
|
+
var getScalingDescriptor = __webpack_require__(67372);
|
|
2894
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/resolveGenericViewportVolumeId.js
|
|
2895
|
+
var resolveGenericViewportVolumeId = __webpack_require__(25464);
|
|
2896
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/cache/cache.js
|
|
2897
|
+
var cache = __webpack_require__(73998);
|
|
2898
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getDynamicVolumeInfo.js
|
|
2899
|
+
var getDynamicVolumeInfo = __webpack_require__(97587);
|
|
2900
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/autoLoad.js
|
|
2901
|
+
var autoLoad = __webpack_require__(38795);
|
|
2902
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/scaleArray.js
|
|
2903
|
+
var scaleArray = __webpack_require__(57039);
|
|
2904
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/splitImageIdsBy4DTags.js
|
|
2905
|
+
var splitImageIdsBy4DTags = __webpack_require__(50863);
|
|
2906
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/deepClone.js
|
|
2907
|
+
var deepClone = __webpack_require__(46765);
|
|
2908
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/jumpToSlice.js
|
|
2909
|
+
var jumpToSlice = __webpack_require__(31223);
|
|
2910
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/scroll.js
|
|
2911
|
+
var utilities_scroll = __webpack_require__(29877);
|
|
2912
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/clip.js
|
|
2913
|
+
var clip = __webpack_require__(22462);
|
|
2914
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/createSubVolume.js
|
|
2915
|
+
var createSubVolume = __webpack_require__(63554);
|
|
2916
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getAcquisitionPlaneOrientation.js
|
|
2917
|
+
var getAcquisitionPlaneOrientation = __webpack_require__(98567);
|
|
2918
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeDirectionVectors.js
|
|
2919
|
+
var getVolumeDirectionVectors = __webpack_require__(72707);
|
|
2920
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getVolumeViewReferenceId.js
|
|
2921
|
+
var getVolumeViewReferenceId = __webpack_require__(95045);
|
|
2922
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/calculateSpacingBetweenImageIds.js
|
|
2923
|
+
var calculateSpacingBetweenImageIds = __webpack_require__(78480);
|
|
2924
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/logger.js
|
|
2925
|
+
var logger = __webpack_require__(34040);
|
|
2926
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/calculateNeighborhoodStats.js
|
|
2927
|
+
var calculateNeighborhoodStats = __webpack_require__(69123);
|
|
2928
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/viewportVoiIntensityMapping.js
|
|
2929
|
+
var viewportVoiIntensityMapping = __webpack_require__(31459);
|
|
2930
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getPixelSpacingInformation.js
|
|
2931
|
+
var getPixelSpacingInformation = __webpack_require__(61293);
|
|
2932
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getPlaneCubeIntersectionDimensions.js
|
|
2933
|
+
var getPlaneCubeIntersectionDimensions = __webpack_require__(32367);
|
|
2934
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/rotateToViewCoordinates.js
|
|
2935
|
+
var rotateToViewCoordinates = __webpack_require__(4272);
|
|
2936
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/getVoxelThicknessAlongNormal.js
|
|
2937
|
+
var getVoxelThicknessAlongNormal = __webpack_require__(61761);
|
|
2938
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/slabMembership.js
|
|
2939
|
+
var slabMembership = __webpack_require__(83965);
|
|
2940
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/indexSpaceSlab.js
|
|
2941
|
+
var indexSpaceSlab = __webpack_require__(67251);
|
|
2942
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/isPlaneDepthViewable.js
|
|
2943
|
+
var isPlaneDepthViewable = __webpack_require__(45827);
|
|
2944
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/iterateVoxelsInShape.js
|
|
2945
|
+
var iterateVoxelsInShape = __webpack_require__(72960);
|
|
2946
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/sampleVoxelsInShape.js
|
|
2947
|
+
var sampleVoxelsInShape = __webpack_require__(98412);
|
|
2948
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/shapes/index.js + 5 modules
|
|
2949
|
+
var shapes = __webpack_require__(24779);
|
|
2950
|
+
;// CONCATENATED MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/voxelSlab/index.js
|
|
2498
2951
|
|
|
2499
2952
|
|
|
2500
|
-
},
|
|
2501
|
-
7314(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2502
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2503
|
-
/* import */ var _eventListener_index_js__rspack_import_0 = __webpack_require__(4621);
|
|
2504
|
-
/* import */ var _invertRgbTransferFunction_js__rspack_import_1 = __webpack_require__(42998);
|
|
2505
|
-
/* import */ var _createSigmoidRGBTransferFunction_js__rspack_import_2 = __webpack_require__(49664);
|
|
2506
|
-
/* import */ var _getVoiFromSigmoidRGBTransferFunction_js__rspack_import_3 = __webpack_require__(19394);
|
|
2507
|
-
/* import */ var _createLinearRGBTransferFunction_js__rspack_import_4 = __webpack_require__(28385);
|
|
2508
|
-
/* import */ var _scaleRgbTransferFunction_js__rspack_import_5 = __webpack_require__(50150);
|
|
2509
|
-
/* import */ var _triggerEvent_js__rspack_import_6 = __webpack_require__(84444);
|
|
2510
|
-
/* import */ var _uuidv4_js__rspack_import_7 = __webpack_require__(92157);
|
|
2511
|
-
/* import */ var _getMinMax_js__rspack_import_8 = __webpack_require__(54428);
|
|
2512
|
-
/* import */ var _clonePoint3_js__rspack_import_9 = __webpack_require__(31092);
|
|
2513
|
-
/* import */ var _hasOwn_js__rspack_import_10 = __webpack_require__(41488);
|
|
2514
|
-
/* import */ var _getRuntimeId_js__rspack_import_11 = __webpack_require__(55489);
|
|
2515
|
-
/* import */ var _getVOIRangeFromWindowLevel_js__rspack_import_12 = __webpack_require__(68459);
|
|
2516
|
-
/* import */ var _imageIdToURI_js__rspack_import_13 = __webpack_require__(60465);
|
|
2517
|
-
/* import */ var _calibratedPixelSpacingMetadataProvider_js__rspack_import_14 = __webpack_require__(14974);
|
|
2518
|
-
/* import */ var _clamp_js__rspack_import_15 = __webpack_require__(20637);
|
|
2519
|
-
/* import */ var _isOpposite_js__rspack_import_16 = __webpack_require__(14137);
|
|
2520
|
-
/* import */ var _getClosestImageId_js__rspack_import_17 = __webpack_require__(27307);
|
|
2521
|
-
/* import */ var _getSpacingInNormalDirection_js__rspack_import_18 = __webpack_require__(1680);
|
|
2522
|
-
/* import */ var _getEffectiveSpacingAlongDirection_js__rspack_import_19 = __webpack_require__(27790);
|
|
2523
|
-
/* import */ var _sampleVolumeGrid_js__rspack_import_20 = __webpack_require__(82188);
|
|
2524
|
-
/* import */ var _getViewSlabDepth_js__rspack_import_21 = __webpack_require__(13054);
|
|
2525
|
-
/* import */ var _getTargetVolumeAndSpacingInNormalDir_js__rspack_import_22 = __webpack_require__(32556);
|
|
2526
|
-
/* import */ var _getVolumeActorCorners_js__rspack_import_23 = __webpack_require__(35905);
|
|
2527
|
-
/* import */ var _indexWithinDimensions_js__rspack_import_24 = __webpack_require__(1348);
|
|
2528
|
-
/* import */ var _indexAlmostWithinDimensions_js__rspack_import_25 = __webpack_require__(62382);
|
|
2529
|
-
/* import */ var _getVolumeViewportsContainingSameVolumes_js__rspack_import_26 = __webpack_require__(92188);
|
|
2530
|
-
/* import */ var _getViewportsWithVolumeId_js__rspack_import_27 = __webpack_require__(78580);
|
|
2531
|
-
/* import */ var _transformWorldToIndex_js__rspack_import_28 = __webpack_require__(13837);
|
|
2532
|
-
/* import */ var _transformIndexToWorld_js__rspack_import_29 = __webpack_require__(51189);
|
|
2533
|
-
/* import */ var _loadImageToCanvas_js__rspack_import_30 = __webpack_require__(79190);
|
|
2534
|
-
/* import */ var _historyMemo_index_js__rspack_import_31 = __webpack_require__(69583);
|
|
2535
|
-
/* import */ var _renderToCanvasCPU_js__rspack_import_32 = __webpack_require__(60023);
|
|
2536
|
-
/* import */ var _renderToCanvasGPU_js__rspack_import_33 = __webpack_require__(84755);
|
|
2537
|
-
/* import */ var _worldToImageCoords_js__rspack_import_34 = __webpack_require__(86036);
|
|
2538
|
-
/* import */ var _imageToWorldCoords_js__rspack_import_35 = __webpack_require__(35518);
|
|
2539
|
-
/* import */ var _getVolumeSliceRangeInfo_js__rspack_import_36 = __webpack_require__(18655);
|
|
2540
|
-
/* import */ var _getVolumeViewportScrollInfo_js__rspack_import_37 = __webpack_require__(33439);
|
|
2541
|
-
/* import */ var _getSliceRange_js__rspack_import_38 = __webpack_require__(53817);
|
|
2542
|
-
/* import */ var _snapFocalPointToSlice_js__rspack_import_39 = __webpack_require__(69780);
|
|
2543
|
-
/* import */ var _getImageSliceDataForVolumeViewport_js__rspack_import_40 = __webpack_require__(21684);
|
|
2544
|
-
/* import */ var _actorCheck_js__rspack_import_41 = __webpack_require__(34455);
|
|
2545
|
-
/* import */ var _getViewportsWithImageURI_js__rspack_import_42 = __webpack_require__(76742);
|
|
2546
|
-
/* import */ var _getClosestStackImageIndexForPoint_js__rspack_import_43 = __webpack_require__(10259);
|
|
2547
|
-
/* import */ var _getCurrentVolumeViewportSlice_js__rspack_import_44 = __webpack_require__(67419);
|
|
2548
|
-
/* import */ var _calculateViewportsSpatialRegistration_js__rspack_import_45 = __webpack_require__(14598);
|
|
2549
|
-
/* import */ var _spatialRegistrationMetadataProvider_js__rspack_import_46 = __webpack_require__(40367);
|
|
2550
|
-
/* import */ var _getViewportImageCornersInWorld_js__rspack_import_47 = __webpack_require__(32640);
|
|
2551
|
-
/* import */ var _hasNaNValues_js__rspack_import_48 = __webpack_require__(1411);
|
|
2552
|
-
/* import */ var _applyPreset_js__rspack_import_49 = __webpack_require__(34049);
|
|
2553
|
-
/* import */ var _PointsManager_js__rspack_import_50 = __webpack_require__(79252);
|
|
2554
|
-
/* import */ var _deepMerge_js__rspack_import_51 = __webpack_require__(23964);
|
|
2555
|
-
/* import */ var _getScalingParameters_js__rspack_import_52 = __webpack_require__(2541);
|
|
2556
|
-
/* import */ var _isPTPrescaledWithSUV_js__rspack_import_53 = __webpack_require__(41227);
|
|
2557
|
-
/* import */ var _getImageLegacy_js__rspack_import_54 = __webpack_require__(73290);
|
|
2558
|
-
/* import */ var _sortImageIdsAndGetSpacing_js__rspack_import_55 = __webpack_require__(7913);
|
|
2559
|
-
/* import */ var _makeVolumeMetadata_js__rspack_import_56 = __webpack_require__(10985);
|
|
2560
|
-
/* import */ var _genericMetadataProvider_js__rspack_import_57 = __webpack_require__(73615);
|
|
2561
|
-
/* import */ var _isValidVolume_js__rspack_import_58 = __webpack_require__(22750);
|
|
2562
|
-
/* import */ var _updateVTKImageDataWithCornerstoneImage_js__rspack_import_59 = __webpack_require__(95390);
|
|
2563
|
-
/* import */ var _ProgressiveIterator_js__rspack_import_60 = __webpack_require__(56783);
|
|
2564
|
-
/* import */ var _decimate_js__rspack_import_61 = __webpack_require__(49230);
|
|
2565
|
-
/* import */ var _imageRetrieveMetadataProvider_js__rspack_import_62 = __webpack_require__(95071);
|
|
2566
|
-
/* import */ var _genericViewportDisplaySetMetadataProvider_js__rspack_import_63 = __webpack_require__(51127);
|
|
2567
|
-
/* import */ var _isVideoTransferSyntax_js__rspack_import_64 = __webpack_require__(15793);
|
|
2568
|
-
/* import */ var _getBufferConfiguration_js__rspack_import_65 = __webpack_require__(25752);
|
|
2569
|
-
/* import */ var _generateVolumePropsFromImageIds_js__rspack_import_66 = __webpack_require__(53286);
|
|
2570
|
-
/* import */ var _convertStackToVolumeViewport_js__rspack_import_67 = __webpack_require__(94152);
|
|
2571
|
-
/* import */ var _convertVolumeToStackViewport_js__rspack_import_68 = __webpack_require__(66802);
|
|
2572
|
-
/* import */ var _VoxelManager_js__rspack_import_69 = __webpack_require__(60719);
|
|
2573
|
-
/* import */ var _CompositeVoxelManager_js__rspack_import_70 = __webpack_require__(86998);
|
|
2574
|
-
/* import */ var _RLEVoxelMap_js__rspack_import_71 = __webpack_require__(71325);
|
|
2575
|
-
/* import */ var _roundNumber_js__rspack_import_72 = __webpack_require__(18355);
|
|
2576
|
-
/* import */ var _convertToGrayscale_js__rspack_import_73 = __webpack_require__(53373);
|
|
2577
|
-
/* import */ var _convertColorArrayToRgbString_js__rspack_import_74 = __webpack_require__(83860);
|
|
2578
|
-
/* import */ var _getViewportImageIds_js__rspack_import_75 = __webpack_require__(41109);
|
|
2579
|
-
/* import */ var _getRandomSampleFromArray_js__rspack_import_76 = __webpack_require__(62742);
|
|
2580
|
-
/* import */ var _getVolumeId_js__rspack_import_77 = __webpack_require__(65237);
|
|
2581
|
-
/* import */ var _hasFloatScalingParameters_js__rspack_import_78 = __webpack_require__(8985);
|
|
2582
|
-
/* import */ var _pointInShapeCallback_js__rspack_import_79 = __webpack_require__(87169);
|
|
2583
|
-
/* import */ var _ECGUtilities_js__rspack_import_80 = __webpack_require__(24511);
|
|
2584
|
-
/* import */ var _VideoUtilities_js__rspack_import_81 = __webpack_require__(18421);
|
|
2585
|
-
/* import */ var _WSIUtilities_js__rspack_import_82 = __webpack_require__(15975);
|
|
2586
|
-
/* import */ var _voxelGrid_index_js__rspack_import_83 = __webpack_require__(49617);
|
|
2587
|
-
/* import */ var _planar_js__rspack_import_84 = __webpack_require__(30828);
|
|
2588
|
-
/* import */ var _windowLevel_js__rspack_import_85 = __webpack_require__(30344);
|
|
2589
|
-
/* import */ var _colormap_js__rspack_import_86 = __webpack_require__(21155);
|
|
2590
|
-
/* import */ var _transferFunctionUtils_js__rspack_import_87 = __webpack_require__(48030);
|
|
2591
|
-
/* import */ var _color_js__rspack_import_88 = __webpack_require__(71813);
|
|
2592
|
-
/* import */ var _deepEqual_js__rspack_import_89 = __webpack_require__(46492);
|
|
2593
|
-
/* import */ var _FrameRange_js__rspack_import_90 = __webpack_require__(90446);
|
|
2594
|
-
/* import */ var _fnv1aHash_js__rspack_import_91 = __webpack_require__(29758);
|
|
2595
|
-
/* import */ var _getImageDataMetadata_js__rspack_import_92 = __webpack_require__(57804);
|
|
2596
|
-
/* import */ var _buildMetadata_js__rspack_import_93 = __webpack_require__(15499);
|
|
2597
|
-
/* import */ var _getViewportModality_js__rspack_import_94 = __webpack_require__(37191);
|
|
2598
|
-
/* import */ var _getScalingDescriptor_js__rspack_import_95 = __webpack_require__(67372);
|
|
2599
|
-
/* import */ var _resolveGenericViewportVolumeId_js__rspack_import_96 = __webpack_require__(25464);
|
|
2600
|
-
/* import */ var _cache_cache_js__rspack_import_97 = __webpack_require__(73998);
|
|
2601
|
-
/* import */ var _getDynamicVolumeInfo_js__rspack_import_98 = __webpack_require__(97587);
|
|
2602
|
-
/* import */ var _autoLoad_js__rspack_import_99 = __webpack_require__(38795);
|
|
2603
|
-
/* import */ var _scaleArray_js__rspack_import_100 = __webpack_require__(57039);
|
|
2604
|
-
/* import */ var _splitImageIdsBy4DTags_js__rspack_import_101 = __webpack_require__(50863);
|
|
2605
|
-
/* import */ var _deepClone_js__rspack_import_102 = __webpack_require__(46765);
|
|
2606
|
-
/* import */ var _jumpToSlice_js__rspack_import_103 = __webpack_require__(31223);
|
|
2607
|
-
/* import */ var _scroll_js__rspack_import_104 = __webpack_require__(29877);
|
|
2608
|
-
/* import */ var _clip_js__rspack_import_105 = __webpack_require__(22462);
|
|
2609
|
-
/* import */ var _createSubVolume_js__rspack_import_106 = __webpack_require__(63554);
|
|
2610
|
-
/* import */ var _getAcquisitionPlaneOrientation_js__rspack_import_107 = __webpack_require__(98567);
|
|
2611
|
-
/* import */ var _getVolumeDirectionVectors_js__rspack_import_108 = __webpack_require__(72707);
|
|
2612
|
-
/* import */ var _getVolumeViewReferenceId_js__rspack_import_109 = __webpack_require__(95045);
|
|
2613
|
-
/* import */ var _calculateSpacingBetweenImageIds_js__rspack_import_110 = __webpack_require__(78480);
|
|
2614
|
-
/* import */ var _logger_js__rspack_import_111 = __webpack_require__(34040);
|
|
2615
|
-
/* import */ var _calculateNeighborhoodStats_js__rspack_import_112 = __webpack_require__(69123);
|
|
2616
|
-
/* import */ var _viewportVoiIntensityMapping_js__rspack_import_113 = __webpack_require__(31459);
|
|
2617
|
-
/* import */ var _getPixelSpacingInformation_js__rspack_import_114 = __webpack_require__(61293);
|
|
2618
|
-
/* import */ var _getPlaneCubeIntersectionDimensions_js__rspack_import_115 = __webpack_require__(32367);
|
|
2619
|
-
/* import */ var _rotateToViewCoordinates_js__rspack_import_116 = __webpack_require__(4272);
|
|
2620
|
-
/* import */ var _voxelSlab_index_js__rspack_import_117 = __webpack_require__(46989);
|
|
2621
|
-
/* import */ var _asArray_js__rspack_import_118 = __webpack_require__(22779);
|
|
2622
|
-
/* import */ var _viewportCapabilities_js__rspack_import_119 = __webpack_require__(73224);
|
|
2623
|
-
/* import */ var _getNormalizedAspectRatio_js__rspack_import_120 = __webpack_require__(47232);
|
|
2624
|
-
/* import */ var _wasmBasePath_js__rspack_import_121 = __webpack_require__(59318);
|
|
2625
|
-
/* import */ var _resolveApplicationUrl_js__rspack_import_122 = __webpack_require__(49825);
|
|
2626
|
-
/* import */ var _updatePlaneRestriction_js__rspack_import_123 = __webpack_require__(49429);
|
|
2627
|
-
/* import */ var _isAcquisitionPlaneNormal_js__rspack_import_124 = __webpack_require__(72372);
|
|
2628
|
-
/* import */ var _isEqual_js__rspack_import_125 = __webpack_require__(3886);
|
|
2629
2953
|
|
|
2630
2954
|
|
|
2631
2955
|
|
|
2632
2956
|
|
|
2633
2957
|
|
|
2634
2958
|
|
|
2959
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/asArray.js
|
|
2960
|
+
var asArray = __webpack_require__(22779);
|
|
2961
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/viewportCapabilities.js
|
|
2962
|
+
var viewportCapabilities = __webpack_require__(73224);
|
|
2963
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/getNormalizedAspectRatio.js
|
|
2964
|
+
var getNormalizedAspectRatio = __webpack_require__(47232);
|
|
2965
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/wasmBasePath.js
|
|
2966
|
+
var wasmBasePath = __webpack_require__(59318);
|
|
2967
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/resolveApplicationUrl.js
|
|
2968
|
+
var resolveApplicationUrl = __webpack_require__(49825);
|
|
2969
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/updatePlaneRestriction.js
|
|
2970
|
+
var updatePlaneRestriction = __webpack_require__(49429);
|
|
2971
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/isAcquisitionPlaneNormal.js
|
|
2972
|
+
var isAcquisitionPlaneNormal = __webpack_require__(72372);
|
|
2973
|
+
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/isEqual.js
|
|
2974
|
+
var isEqual = __webpack_require__(3886);
|
|
2975
|
+
;// CONCATENATED MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/utilities/index.js
|
|
2635
2976
|
|
|
2636
2977
|
|
|
2637
2978
|
|
|
@@ -2710,13 +3051,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2710
3051
|
|
|
2711
3052
|
|
|
2712
3053
|
|
|
2713
|
-
const ECGUtilities = _ECGUtilities_js__rspack_import_80;
|
|
2714
3054
|
|
|
2715
3055
|
|
|
2716
3056
|
|
|
2717
3057
|
|
|
2718
3058
|
|
|
2719
3059
|
|
|
3060
|
+
const utilities_ECGUtilities = ECGUtilities;
|
|
2720
3061
|
|
|
2721
3062
|
|
|
2722
3063
|
|
|
@@ -2752,166 +3093,16 @@ const ECGUtilities = _ECGUtilities_js__rspack_import_80;
|
|
|
2752
3093
|
|
|
2753
3094
|
|
|
2754
3095
|
|
|
2755
|
-
const getViewportModality = (viewport, volumeId) => (0,_getViewportModality_js__rspack_import_94/* ._getViewportModality */.p)(viewport, volumeId, _cache_cache_js__rspack_import_97/* ["default"].getVolume */.Ay.getVolume);
|
|
2756
|
-
const getScalingDescriptor = (viewport, targetId) => (0,_getScalingDescriptor_js__rspack_import_95/* ._getScalingDescriptor */.c)(viewport, targetId, _cache_cache_js__rspack_import_97/* ["default"].getVolume */.Ay.getVolume);
|
|
2757
3096
|
|
|
2758
3097
|
|
|
2759
3098
|
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
VideoUtilities: () => (/* reexport module object */ _VideoUtilities_js__rspack_import_81),
|
|
2768
|
-
VoxelManager: () => (/* reexport safe */ _VoxelManager_js__rspack_import_69.A),
|
|
2769
|
-
WSIUtilities: () => (/* reexport module object */ _WSIUtilities_js__rspack_import_82),
|
|
2770
|
-
actorIsA: () => (/* reexport safe */ _actorCheck_js__rspack_import_41.N),
|
|
2771
|
-
applyPreset: () => (/* reexport safe */ _applyPreset_js__rspack_import_49.A),
|
|
2772
|
-
asArray: () => (/* reexport safe */ _asArray_js__rspack_import_118._),
|
|
2773
|
-
asArrayFirst: () => (/* reexport safe */ _asArray_js__rspack_import_118.m),
|
|
2774
|
-
autoLoad: () => (/* reexport safe */ _autoLoad_js__rspack_import_99.A),
|
|
2775
|
-
buildMetadata: () => (/* reexport safe */ _buildMetadata_js__rspack_import_93.KP),
|
|
2776
|
-
calculateNeighborhoodStats: () => (/* reexport safe */ _calculateNeighborhoodStats_js__rspack_import_112.c),
|
|
2777
|
-
calculateRadiographicPixelSpacing: () => (/* reexport safe */ _getPixelSpacingInformation_js__rspack_import_114.VD),
|
|
2778
|
-
calculateSpacingBetweenImageIds: () => (/* reexport safe */ _calculateSpacingBetweenImageIds_js__rspack_import_110.A),
|
|
2779
|
-
calculateViewportsSpatialRegistration: () => (/* reexport safe */ _calculateViewportsSpatialRegistration_js__rspack_import_45.A),
|
|
2780
|
-
calibratedPixelSpacingMetadataProvider: () => (/* reexport safe */ _calibratedPixelSpacingMetadataProvider_js__rspack_import_14.A),
|
|
2781
|
-
clamp: () => (/* reexport safe */ _clamp_js__rspack_import_15.A),
|
|
2782
|
-
clip: () => (/* reexport safe */ _clip_js__rspack_import_105.Ay),
|
|
2783
|
-
clonePoint3: () => (/* reexport safe */ _clonePoint3_js__rspack_import_9.A),
|
|
2784
|
-
color: () => (/* reexport module object */ _color_js__rspack_import_88),
|
|
2785
|
-
colormap: () => (/* reexport module object */ _colormap_js__rspack_import_86),
|
|
2786
|
-
convertColorArrayToRgbString: () => (/* reexport safe */ _convertColorArrayToRgbString_js__rspack_import_74.J),
|
|
2787
|
-
convertStackToVolumeViewport: () => (/* reexport safe */ _convertStackToVolumeViewport_js__rspack_import_67.h),
|
|
2788
|
-
convertToGrayscale: () => (/* reexport safe */ _convertToGrayscale_js__rspack_import_73.A),
|
|
2789
|
-
convertVolumeToStackViewport: () => (/* reexport safe */ _convertVolumeToStackViewport_js__rspack_import_68.n),
|
|
2790
|
-
createLinearRGBTransferFunction: () => (/* reexport safe */ _createLinearRGBTransferFunction_js__rspack_import_4.A),
|
|
2791
|
-
createSigmoidRGBTransferFunction: () => (/* reexport safe */ _createSigmoidRGBTransferFunction_js__rspack_import_2.A),
|
|
2792
|
-
createSubVolume: () => (/* reexport safe */ _createSubVolume_js__rspack_import_106.A),
|
|
2793
|
-
decimate: () => (/* reexport safe */ _decimate_js__rspack_import_61.A),
|
|
2794
|
-
deepClone: () => (/* reexport safe */ _deepClone_js__rspack_import_102.G),
|
|
2795
|
-
deepEqual: () => (/* reexport safe */ _deepEqual_js__rspack_import_89.b),
|
|
2796
|
-
deepMerge: () => (/* reexport safe */ _deepMerge_js__rspack_import_51.A),
|
|
2797
|
-
eventListener: () => (/* reexport module object */ _eventListener_index_js__rspack_import_0),
|
|
2798
|
-
fnv1aHash: () => (/* reexport safe */ _fnv1aHash_js__rspack_import_91.A),
|
|
2799
|
-
generateFrameImageId: () => (/* reexport safe */ _splitImageIdsBy4DTags_js__rspack_import_101.Hf),
|
|
2800
|
-
generateVolumePropsFromImageIds: () => (/* reexport safe */ _generateVolumePropsFromImageIds_js__rspack_import_66.D),
|
|
2801
|
-
genericMetadataProvider: () => (/* reexport safe */ _genericMetadataProvider_js__rspack_import_57.A),
|
|
2802
|
-
genericViewportDisplaySetMetadataProvider: () => (/* reexport safe */ _genericViewportDisplaySetMetadataProvider_js__rspack_import_63.A),
|
|
2803
|
-
getAcquisitionPlaneOrientation: () => (/* reexport safe */ _getAcquisitionPlaneOrientation_js__rspack_import_107.A),
|
|
2804
|
-
getBufferConfiguration: () => (/* reexport safe */ _getBufferConfiguration_js__rspack_import_65.hI),
|
|
2805
|
-
getClosestImageId: () => (/* reexport safe */ _getClosestImageId_js__rspack_import_17.A),
|
|
2806
|
-
getClosestStackImageIndexForPoint: () => (/* reexport safe */ _getClosestStackImageIndexForPoint_js__rspack_import_43.A),
|
|
2807
|
-
getCubeSizeInView: () => (/* reexport safe */ _getPlaneCubeIntersectionDimensions_js__rspack_import_115.H),
|
|
2808
|
-
getCurrentVolumeViewportSlice: () => (/* reexport safe */ _getCurrentVolumeViewportSlice_js__rspack_import_44.A),
|
|
2809
|
-
getDynamicVolumeInfo: () => (/* reexport safe */ _getDynamicVolumeInfo_js__rspack_import_98.A),
|
|
2810
|
-
getERMF: () => (/* reexport safe */ _getPixelSpacingInformation_js__rspack_import_114.lJ),
|
|
2811
|
-
getEffectiveSpacingAlongDirection: () => (/* reexport safe */ _getEffectiveSpacingAlongDirection_js__rspack_import_19.A),
|
|
2812
|
-
getImageDataMetadata: () => (/* reexport safe */ _getImageDataMetadata_js__rspack_import_92.T),
|
|
2813
|
-
getImageLegacy: () => (/* reexport safe */ _getImageLegacy_js__rspack_import_54.A),
|
|
2814
|
-
getImageSliceDataForVolumeViewport: () => (/* reexport safe */ _getImageSliceDataForVolumeViewport_js__rspack_import_40.A),
|
|
2815
|
-
getMinMax: () => (/* reexport safe */ _getMinMax_js__rspack_import_8.A),
|
|
2816
|
-
getNormalizedAspectRatio: () => (/* reexport safe */ _getNormalizedAspectRatio_js__rspack_import_120.x),
|
|
2817
|
-
getPixelSpacingInformation: () => (/* reexport safe */ _getPixelSpacingInformation_js__rspack_import_114.Cc),
|
|
2818
|
-
getPublicUrl: () => (/* reexport safe */ _resolveApplicationUrl_js__rspack_import_122.b4),
|
|
2819
|
-
getRandomSampleFromArray: () => (/* reexport safe */ _getRandomSampleFromArray_js__rspack_import_76.p),
|
|
2820
|
-
getRuntimeId: () => (/* reexport safe */ _getRuntimeId_js__rspack_import_11.A),
|
|
2821
|
-
getScalingParameters: () => (/* reexport safe */ _getScalingParameters_js__rspack_import_52.A),
|
|
2822
|
-
getSliceRange: () => (/* reexport safe */ _getSliceRange_js__rspack_import_38.A),
|
|
2823
|
-
getSpacingInNormalDirection: () => (/* reexport safe */ _getSpacingInNormalDirection_js__rspack_import_18.A),
|
|
2824
|
-
getTargetVolumeAndSpacingInNormalDir: () => (/* reexport safe */ _getTargetVolumeAndSpacingInNormalDir_js__rspack_import_22.A),
|
|
2825
|
-
getVOIRangeFromWindowLevel: () => (/* reexport safe */ _getVOIRangeFromWindowLevel_js__rspack_import_12.A),
|
|
2826
|
-
getViewSlabDepth: () => (/* reexport safe */ _getViewSlabDepth_js__rspack_import_21.A),
|
|
2827
|
-
getViewportContentMode: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.nH),
|
|
2828
|
-
getViewportImageCornersInWorld: () => (/* reexport safe */ _getViewportImageCornersInWorld_js__rspack_import_47.A),
|
|
2829
|
-
getViewportImageIds: () => (/* reexport safe */ _getViewportImageIds_js__rspack_import_75.A),
|
|
2830
|
-
getViewportsWithImageURI: () => (/* reexport safe */ _getViewportsWithImageURI_js__rspack_import_42.A),
|
|
2831
|
-
getViewportsWithVolumeId: () => (/* reexport safe */ _getViewportsWithVolumeId_js__rspack_import_27.A),
|
|
2832
|
-
getVoiFromSigmoidRGBTransferFunction: () => (/* reexport safe */ _getVoiFromSigmoidRGBTransferFunction_js__rspack_import_3.A),
|
|
2833
|
-
getVolumeActorCorners: () => (/* reexport safe */ _getVolumeActorCorners_js__rspack_import_23.A),
|
|
2834
|
-
getVolumeDirectionVectors: () => (/* reexport safe */ _getVolumeDirectionVectors_js__rspack_import_108.A),
|
|
2835
|
-
getVolumeId: () => (/* reexport safe */ _getVolumeId_js__rspack_import_77.A),
|
|
2836
|
-
getVolumeSliceRangeInfo: () => (/* reexport safe */ _getVolumeSliceRangeInfo_js__rspack_import_36.A),
|
|
2837
|
-
getVolumeViewReferenceId: () => (/* reexport safe */ _getVolumeViewReferenceId_js__rspack_import_109.A),
|
|
2838
|
-
getVolumeViewportScrollInfo: () => (/* reexport safe */ _getVolumeViewportScrollInfo_js__rspack_import_37.A),
|
|
2839
|
-
getVolumeViewportsContainingSameVolumes: () => (/* reexport safe */ _getVolumeViewportsContainingSameVolumes_js__rspack_import_26.A),
|
|
2840
|
-
getWasmBasePath: () => (/* reexport safe */ _wasmBasePath_js__rspack_import_121.ZC),
|
|
2841
|
-
handleMultiframe4D: () => (/* reexport safe */ _splitImageIdsBy4DTags_js__rspack_import_101.FM),
|
|
2842
|
-
hasFloatScalingParameters: () => (/* reexport safe */ _hasFloatScalingParameters_js__rspack_import_78.a),
|
|
2843
|
-
hasNaNValues: () => (/* reexport safe */ _hasNaNValues_js__rspack_import_48.A),
|
|
2844
|
-
hasOwn: () => (/* reexport safe */ _hasOwn_js__rspack_import_10.A),
|
|
2845
|
-
imageIdToURI: () => (/* reexport safe */ _imageIdToURI_js__rspack_import_13.A),
|
|
2846
|
-
imageRetrieveMetadataProvider: () => (/* reexport safe */ _imageRetrieveMetadataProvider_js__rspack_import_62.A),
|
|
2847
|
-
imageToWorldCoords: () => (/* reexport safe */ _imageToWorldCoords_js__rspack_import_35.A),
|
|
2848
|
-
indexAlmostWithinDimensions: () => (/* reexport safe */ _indexAlmostWithinDimensions_js__rspack_import_25.A),
|
|
2849
|
-
indexWithinDimensions: () => (/* reexport safe */ _indexWithinDimensions_js__rspack_import_24.A),
|
|
2850
|
-
invertRgbTransferFunction: () => (/* reexport safe */ _invertRgbTransferFunction_js__rspack_import_1.A),
|
|
2851
|
-
isAcquisitionPlaneNormal: () => (/* reexport safe */ _isAcquisitionPlaneNormal_js__rspack_import_124.z),
|
|
2852
|
-
isEqual: () => (/* reexport safe */ _isEqual_js__rspack_import_125.n4),
|
|
2853
|
-
isEqualAbs: () => (/* reexport safe */ _isEqual_js__rspack_import_125.Ph),
|
|
2854
|
-
isEqualNegative: () => (/* reexport safe */ _isEqual_js__rspack_import_125.WC),
|
|
2855
|
-
isGenericViewport: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.oX),
|
|
2856
|
-
isImageActor: () => (/* reexport safe */ _actorCheck_js__rspack_import_41.e),
|
|
2857
|
-
isNumber: () => (/* reexport safe */ _isEqual_js__rspack_import_125.Et),
|
|
2858
|
-
isOpposite: () => (/* reexport safe */ _isOpposite_js__rspack_import_16.A),
|
|
2859
|
-
isPTPrescaledWithSUV: () => (/* reexport safe */ _isPTPrescaledWithSUV_js__rspack_import_53.A),
|
|
2860
|
-
isValidVolume: () => (/* reexport safe */ _isValidVolume_js__rspack_import_58.p),
|
|
2861
|
-
isVideoTransferSyntax: () => (/* reexport safe */ _isVideoTransferSyntax_js__rspack_import_64.A),
|
|
2862
|
-
jumpToSlice: () => (/* reexport safe */ _jumpToSlice_js__rspack_import_103.e),
|
|
2863
|
-
loadImageToCanvas: () => (/* reexport safe */ _loadImageToCanvas_js__rspack_import_30.A),
|
|
2864
|
-
logger: () => (/* reexport module object */ _logger_js__rspack_import_111),
|
|
2865
|
-
makeVolumeMetadata: () => (/* reexport safe */ _makeVolumeMetadata_js__rspack_import_56.A),
|
|
2866
|
-
mapMappedBandToRawRange: () => (/* reexport safe */ _viewportVoiIntensityMapping_js__rspack_import_113.j_),
|
|
2867
|
-
mapScalarToViewportVoiIntensity: () => (/* reexport safe */ _viewportVoiIntensityMapping_js__rspack_import_113.fT),
|
|
2868
|
-
mapViewportVoiIntensityToScalar: () => (/* reexport safe */ _viewportVoiIntensityMapping_js__rspack_import_113.l2),
|
|
2869
|
-
planar: () => (/* reexport module object */ _planar_js__rspack_import_84),
|
|
2870
|
-
pointInShapeCallback: () => (/* reexport safe */ _pointInShapeCallback_js__rspack_import_79.ii),
|
|
2871
|
-
renderToCanvasCPU: () => (/* reexport safe */ _renderToCanvasCPU_js__rspack_import_32.A),
|
|
2872
|
-
renderToCanvasGPU: () => (/* reexport safe */ _renderToCanvasGPU_js__rspack_import_33.A),
|
|
2873
|
-
resolveApplicationUrl: () => (/* reexport safe */ _resolveApplicationUrl_js__rspack_import_122.Ay),
|
|
2874
|
-
resolveGenericViewportVolumeId: () => (/* reexport safe */ _resolveGenericViewportVolumeId_js__rspack_import_96.d),
|
|
2875
|
-
resolveWasmBasePath: () => (/* reexport safe */ _wasmBasePath_js__rspack_import_121.Hv),
|
|
2876
|
-
rotateToViewCoordinates: () => (/* reexport safe */ _rotateToViewCoordinates_js__rspack_import_116.P),
|
|
2877
|
-
roundNumber: () => (/* reexport safe */ _roundNumber_js__rspack_import_72.A),
|
|
2878
|
-
roundToPrecision: () => (/* reexport safe */ _roundNumber_js__rspack_import_72.C),
|
|
2879
|
-
sampleVolumeGrid: () => (/* reexport safe */ _sampleVolumeGrid_js__rspack_import_20.A),
|
|
2880
|
-
scaleArray: () => (/* reexport safe */ _scaleArray_js__rspack_import_100.A),
|
|
2881
|
-
scaleRgbTransferFunction: () => (/* reexport safe */ _scaleRgbTransferFunction_js__rspack_import_5.A),
|
|
2882
|
-
scroll: () => (/* reexport safe */ _scroll_js__rspack_import_104.A),
|
|
2883
|
-
setWasmBasePath: () => (/* reexport safe */ _wasmBasePath_js__rspack_import_121.Js),
|
|
2884
|
-
snapFocalPointToSlice: () => (/* reexport safe */ _snapFocalPointToSlice_js__rspack_import_39.A),
|
|
2885
|
-
sortImageIdsAndGetSpacing: () => (/* reexport safe */ _sortImageIdsAndGetSpacing_js__rspack_import_55.A),
|
|
2886
|
-
spatialRegistrationMetadataProvider: () => (/* reexport safe */ _spatialRegistrationMetadataProvider_js__rspack_import_46.A),
|
|
2887
|
-
splitImageIdsBy4DTags: () => (/* reexport safe */ _splitImageIdsBy4DTags_js__rspack_import_101.Ay),
|
|
2888
|
-
transferFunctionUtils: () => (/* reexport module object */ _transferFunctionUtils_js__rspack_import_87),
|
|
2889
|
-
transformIndexToWorld: () => (/* reexport safe */ _transformIndexToWorld_js__rspack_import_29.A),
|
|
2890
|
-
transformWorldToIndex: () => (/* reexport safe */ _transformWorldToIndex_js__rspack_import_28.A),
|
|
2891
|
-
transformWorldToIndexContinuous: () => (/* reexport safe */ _transformWorldToIndex_js__rspack_import_28.p),
|
|
2892
|
-
triggerEvent: () => (/* reexport safe */ _triggerEvent_js__rspack_import_6.A),
|
|
2893
|
-
updatePlaneRestriction: () => (/* reexport safe */ _updatePlaneRestriction_js__rspack_import_123.O),
|
|
2894
|
-
updateVTKImageDataWithCornerstoneImage: () => (/* reexport safe */ _updateVTKImageDataWithCornerstoneImage_js__rspack_import_59.J),
|
|
2895
|
-
uuidv4: () => (/* reexport safe */ _uuidv4_js__rspack_import_7.A),
|
|
2896
|
-
viewportIsInStackMode: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.NL),
|
|
2897
|
-
viewportIsInVolumeMode: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.zb),
|
|
2898
|
-
viewportSupportsDisplaySetPresentation: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.Tf),
|
|
2899
|
-
viewportSupportsImageSlices: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.hz),
|
|
2900
|
-
viewportSupportsStackCalibration: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.Xu),
|
|
2901
|
-
viewportSupportsStackCompatibility: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.T),
|
|
2902
|
-
viewportSupportsVolumeActors: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.$O),
|
|
2903
|
-
viewportSupportsVolumeCompatibility: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.rw),
|
|
2904
|
-
viewportSupportsVolumeId: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.Uv),
|
|
2905
|
-
viewportSupportsVolumeURI: () => (/* reexport safe */ _viewportCapabilities_js__rspack_import_119.vP),
|
|
2906
|
-
voxelGrid: () => (/* reexport module object */ _voxelGrid_index_js__rspack_import_83),
|
|
2907
|
-
voxelSlab: () => (/* reexport module object */ _voxelSlab_index_js__rspack_import_117),
|
|
2908
|
-
windowLevel: () => (/* reexport module object */ _windowLevel_js__rspack_import_85),
|
|
2909
|
-
worldToImageCoords: () => (/* reexport safe */ _worldToImageCoords_js__rspack_import_34.A)
|
|
2910
|
-
}, {
|
|
2911
|
-
ECGUtilities: ECGUtilities,
|
|
2912
|
-
getScalingDescriptor: getScalingDescriptor,
|
|
2913
|
-
getViewportModality: getViewportModality
|
|
2914
|
-
});
|
|
3099
|
+
|
|
3100
|
+
|
|
3101
|
+
|
|
3102
|
+
const utilities_getViewportModality = (viewport, volumeId) => (0,getViewportModality/* ._getViewportModality */.p)(viewport, volumeId, cache/* ["default"].getVolume */.Ay.getVolume);
|
|
3103
|
+
const utilities_getScalingDescriptor = (viewport, targetId) => (0,getScalingDescriptor/* ._getScalingDescriptor */.c)(viewport, targetId, cache/* ["default"].getVolume */.Ay.getVolume);
|
|
3104
|
+
|
|
3105
|
+
|
|
2915
3106
|
|
|
2916
3107
|
|
|
2917
3108
|
},
|
|
@@ -2978,13 +3169,13 @@ function threePlaneIntersection(firstPlane, secondPlane, thirdPlane) {
|
|
|
2978
3169
|
const [A1, B1, C1, D1] = firstPlane;
|
|
2979
3170
|
const [A2, B2, C2, D2] = secondPlane;
|
|
2980
3171
|
const [A3, B3, C3, D3] = thirdPlane;
|
|
2981
|
-
const m0 = gl_matrix__rspack_import_0
|
|
2982
|
-
const m1 = gl_matrix__rspack_import_0
|
|
2983
|
-
const m2 = gl_matrix__rspack_import_0
|
|
2984
|
-
const m3 = gl_matrix__rspack_import_0
|
|
2985
|
-
const x = gl_matrix__rspack_import_0
|
|
2986
|
-
const y = gl_matrix__rspack_import_0
|
|
2987
|
-
const z = gl_matrix__rspack_import_0
|
|
3172
|
+
const m0 = gl_matrix__rspack_import_0.mat3.fromValues(A1, A2, A3, B1, B2, B3, C1, C2, C3);
|
|
3173
|
+
const m1 = gl_matrix__rspack_import_0.mat3.fromValues(D1, D2, D3, B1, B2, B3, C1, C2, C3);
|
|
3174
|
+
const m2 = gl_matrix__rspack_import_0.mat3.fromValues(A1, A2, A3, D1, D2, D3, C1, C2, C3);
|
|
3175
|
+
const m3 = gl_matrix__rspack_import_0.mat3.fromValues(A1, A2, A3, B1, B2, B3, D1, D2, D3);
|
|
3176
|
+
const x = gl_matrix__rspack_import_0.mat3.determinant(m1) / gl_matrix__rspack_import_0.mat3.determinant(m0);
|
|
3177
|
+
const y = gl_matrix__rspack_import_0.mat3.determinant(m2) / gl_matrix__rspack_import_0.mat3.determinant(m0);
|
|
3178
|
+
const z = gl_matrix__rspack_import_0.mat3.determinant(m3) / gl_matrix__rspack_import_0.mat3.determinant(m0);
|
|
2988
3179
|
return [x, y, z];
|
|
2989
3180
|
}
|
|
2990
3181
|
function planeDistanceToPoint(plane, point, signed = false) {
|
|
@@ -3009,65 +3200,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3009
3200
|
});
|
|
3010
3201
|
|
|
3011
3202
|
|
|
3012
|
-
},
|
|
3013
|
-
46989(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3014
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3015
|
-
/* import */ var _getVoxelThicknessAlongNormal_js__rspack_import_0 = __webpack_require__(61761);
|
|
3016
|
-
/* import */ var _slabMembership_js__rspack_import_1 = __webpack_require__(83965);
|
|
3017
|
-
/* import */ var _indexSpaceSlab_js__rspack_import_2 = __webpack_require__(67251);
|
|
3018
|
-
/* import */ var _isPlaneDepthViewable_js__rspack_import_3 = __webpack_require__(45827);
|
|
3019
|
-
/* import */ var _iterateVoxelsInShape_js__rspack_import_4 = __webpack_require__(72960);
|
|
3020
|
-
/* import */ var _sampleVoxelsInShape_js__rspack_import_5 = __webpack_require__(98412);
|
|
3021
|
-
/* import */ var _shapes_index_js__rspack_import_6 = __webpack_require__(24779);
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
3031
|
-
SLAB_RELATIVE_EPSILON: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.ni),
|
|
3032
|
-
UNBOUNDED: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.fk),
|
|
3033
|
-
asUnitNormal: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.Ko),
|
|
3034
|
-
buildIndexSpaceSlab: () => (/* reexport safe */ _indexSpaceSlab_js__rspack_import_2.r9),
|
|
3035
|
-
collectVoxelsInShape: () => (/* reexport safe */ _iterateVoxelsInShape_js__rspack_import_4.i),
|
|
3036
|
-
createCircleShape: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.Q6),
|
|
3037
|
-
createColumnLineResolver: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.nw),
|
|
3038
|
-
createEllipseShape: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.CZ),
|
|
3039
|
-
createPlaneBasis: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.NC),
|
|
3040
|
-
createPolylineShape: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.oY),
|
|
3041
|
-
createRectangleShape: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.Tc),
|
|
3042
|
-
createUnionShape: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.ZG),
|
|
3043
|
-
depthAtIndex: () => (/* reexport safe */ _indexSpaceSlab_js__rspack_import_2.xe),
|
|
3044
|
-
getAxisSteps: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.NU),
|
|
3045
|
-
getDepthRun: () => (/* reexport safe */ _indexSpaceSlab_js__rspack_import_2.XT),
|
|
3046
|
-
getDisplayHalfWidth: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.k),
|
|
3047
|
-
getFillHalfWidth: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.xG),
|
|
3048
|
-
getIndexSpaceNormal: () => (/* reexport safe */ _indexSpaceSlab_js__rspack_import_2.M0),
|
|
3049
|
-
getMembershipHalfWidth: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.q$),
|
|
3050
|
-
getSlabAxisBound: () => (/* reexport safe */ _indexSpaceSlab_js__rspack_import_2.i3),
|
|
3051
|
-
getSlabEpsilon: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.Xm),
|
|
3052
|
-
getSlabHalfWidth: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.ks),
|
|
3053
|
-
getVoxelThicknessAlongNormal: () => (/* reexport safe */ _getVoxelThicknessAlongNormal_js__rspack_import_0.A),
|
|
3054
|
-
intersectRanges: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.im),
|
|
3055
|
-
isPlaneDepthViewable: () => (/* reexport safe */ _isPlaneDepthViewable_js__rspack_import_3.L),
|
|
3056
|
-
isSlabDepthLowInclusive: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.K5),
|
|
3057
|
-
isVoxelCenterInSlab: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.$X),
|
|
3058
|
-
isWithinSlab: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.OP),
|
|
3059
|
-
iterateVoxelsInShape: () => (/* reexport safe */ _iterateVoxelsInShape_js__rspack_import_4.m),
|
|
3060
|
-
pickOuterAxis: () => (/* reexport safe */ _indexSpaceSlab_js__rspack_import_2.o2),
|
|
3061
|
-
projectPointOntoPlane: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.G9),
|
|
3062
|
-
resolveReferencePlaneThickness: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.gr),
|
|
3063
|
-
sampleVoxelsInShape: () => (/* reexport safe */ _sampleVoxelsInShape_js__rspack_import_5._),
|
|
3064
|
-
signedDistanceToPlane: () => (/* reexport safe */ _slabMembership_js__rspack_import_1.ny),
|
|
3065
|
-
solveAbsLinearLeq: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.n3),
|
|
3066
|
-
solveQuadraticLeqZero: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.mB),
|
|
3067
|
-
toIntegerRun: () => (/* reexport safe */ _shapes_index_js__rspack_import_6.nS)
|
|
3068
|
-
});
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
3203
|
},
|
|
3072
3204
|
4017(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3073
3205
|
/* import */ var _cornerstonejs_core__rspack_import_0 = __webpack_require__(62721);
|
|
@@ -5893,20 +6025,20 @@ class BidirectionalTool extends _base_index_js__rspack_import_3/* .AnnotationToo
|
|
|
5893
6025
|
const { renderingEngine } = (0,_cornerstonejs_core__rspack_import_1.getEnabledElement)(element);
|
|
5894
6026
|
if (this.editData.handleIndex !== undefined) {
|
|
5895
6027
|
const { points } = data.handles;
|
|
5896
|
-
const firstLineSegmentLength = gl_matrix__rspack_import_0
|
|
5897
|
-
const secondLineSegmentLength = gl_matrix__rspack_import_0
|
|
6028
|
+
const firstLineSegmentLength = gl_matrix__rspack_import_0.vec3.distance(points[0], points[1]);
|
|
6029
|
+
const secondLineSegmentLength = gl_matrix__rspack_import_0.vec3.distance(points[2], points[3]);
|
|
5898
6030
|
if (secondLineSegmentLength > firstLineSegmentLength) {
|
|
5899
6031
|
const longAxis = [[...points[2]], [...points[3]]];
|
|
5900
6032
|
const shortAxisPoint0 = [...points[0]];
|
|
5901
6033
|
const shortAxisPoint1 = [...points[1]];
|
|
5902
|
-
const longAxisVector = gl_matrix__rspack_import_0
|
|
5903
|
-
gl_matrix__rspack_import_0
|
|
5904
|
-
const counterClockWisePerpendicularToLongAxis = gl_matrix__rspack_import_0
|
|
5905
|
-
gl_matrix__rspack_import_0
|
|
5906
|
-
const currentShortAxisVector = gl_matrix__rspack_import_0
|
|
5907
|
-
gl_matrix__rspack_import_0
|
|
6034
|
+
const longAxisVector = gl_matrix__rspack_import_0.vec2.create();
|
|
6035
|
+
gl_matrix__rspack_import_0.vec2.set(longAxisVector, longAxis[1][0] - longAxis[0][0], longAxis[1][1] - longAxis[1][0]);
|
|
6036
|
+
const counterClockWisePerpendicularToLongAxis = gl_matrix__rspack_import_0.vec2.create();
|
|
6037
|
+
gl_matrix__rspack_import_0.vec2.set(counterClockWisePerpendicularToLongAxis, -longAxisVector[1], longAxisVector[0]);
|
|
6038
|
+
const currentShortAxisVector = gl_matrix__rspack_import_0.vec2.create();
|
|
6039
|
+
gl_matrix__rspack_import_0.vec2.set(currentShortAxisVector, shortAxisPoint1[0] - shortAxisPoint0[0], shortAxisPoint1[1] - shortAxisPoint0[0]);
|
|
5908
6040
|
let shortAxis;
|
|
5909
|
-
if (gl_matrix__rspack_import_0
|
|
6041
|
+
if (gl_matrix__rspack_import_0.vec2.dot(currentShortAxisVector, counterClockWisePerpendicularToLongAxis) > 0) {
|
|
5910
6042
|
shortAxis = [shortAxisPoint0, shortAxisPoint1];
|
|
5911
6043
|
}
|
|
5912
6044
|
else {
|
|
@@ -5966,7 +6098,7 @@ class BidirectionalTool extends _base_index_js__rspack_import_3/* .AnnotationToo
|
|
|
5966
6098
|
},
|
|
5967
6099
|
},
|
|
5968
6100
|
};
|
|
5969
|
-
const dist = gl_matrix__rspack_import_0
|
|
6101
|
+
const dist = gl_matrix__rspack_import_0.vec2.distance(canvasCoordPoints[0], canvasCoordPoints[1]);
|
|
5970
6102
|
const shortAxisDistFromCenter = dist / 3;
|
|
5971
6103
|
const dx = canvasCoords.longLineSegment.start.x - canvasCoords.longLineSegment.end.x;
|
|
5972
6104
|
const dy = canvasCoords.longLineSegment.start.y - canvasCoords.longLineSegment.end.y;
|
|
@@ -6066,12 +6198,12 @@ class BidirectionalTool extends _base_index_js__rspack_import_3/* .AnnotationToo
|
|
|
6066
6198
|
if (movingHandleIndex === 0 || movingHandleIndex === 1) {
|
|
6067
6199
|
const fixedHandleIndex = movingHandleIndex === 0 ? 1 : 0;
|
|
6068
6200
|
const fixedHandleCanvasCoord = canvasCoordHandlesCurrent[fixedHandleIndex];
|
|
6069
|
-
const fixedHandleToProposedCoordVec = gl_matrix__rspack_import_0
|
|
6070
|
-
const fixedHandleToOldCoordVec = gl_matrix__rspack_import_0
|
|
6201
|
+
const fixedHandleToProposedCoordVec = gl_matrix__rspack_import_0.vec2.set(gl_matrix__rspack_import_0.vec2.create(), proposedCanvasCoord[0] - fixedHandleCanvasCoord[0], proposedCanvasCoord[1] - fixedHandleCanvasCoord[1]);
|
|
6202
|
+
const fixedHandleToOldCoordVec = gl_matrix__rspack_import_0.vec2.set(gl_matrix__rspack_import_0.vec2.create(), canvasCoordHandlesCurrent[movingHandleIndex][0] -
|
|
6071
6203
|
fixedHandleCanvasCoord[0], canvasCoordHandlesCurrent[movingHandleIndex][1] -
|
|
6072
6204
|
fixedHandleCanvasCoord[1]);
|
|
6073
|
-
gl_matrix__rspack_import_0
|
|
6074
|
-
gl_matrix__rspack_import_0
|
|
6205
|
+
gl_matrix__rspack_import_0.vec2.normalize(fixedHandleToProposedCoordVec, fixedHandleToProposedCoordVec);
|
|
6206
|
+
gl_matrix__rspack_import_0.vec2.normalize(fixedHandleToOldCoordVec, fixedHandleToOldCoordVec);
|
|
6075
6207
|
const proposedFirstLineSegment = {
|
|
6076
6208
|
start: {
|
|
6077
6209
|
x: fixedHandleCanvasCoord[0],
|
|
@@ -6124,22 +6256,22 @@ class BidirectionalTool extends _base_index_js__rspack_import_3/* .AnnotationToo
|
|
|
6124
6256
|
end: secondLineSegment.end,
|
|
6125
6257
|
},
|
|
6126
6258
|
};
|
|
6127
|
-
const longLineSegmentVec = gl_matrix__rspack_import_0
|
|
6259
|
+
const longLineSegmentVec = gl_matrix__rspack_import_0.vec2.subtract(gl_matrix__rspack_import_0.vec2.create(), [
|
|
6128
6260
|
canvasCoordsCurrent.longLineSegment.end.x,
|
|
6129
6261
|
canvasCoordsCurrent.longLineSegment.end.y,
|
|
6130
6262
|
], [
|
|
6131
6263
|
canvasCoordsCurrent.longLineSegment.start.x,
|
|
6132
6264
|
canvasCoordsCurrent.longLineSegment.start.y,
|
|
6133
6265
|
]);
|
|
6134
|
-
const longLineSegmentVecNormalized = gl_matrix__rspack_import_0
|
|
6135
|
-
const proposedToCurrentVec = gl_matrix__rspack_import_0
|
|
6266
|
+
const longLineSegmentVecNormalized = gl_matrix__rspack_import_0.vec2.normalize(gl_matrix__rspack_import_0.vec2.create(), longLineSegmentVec);
|
|
6267
|
+
const proposedToCurrentVec = gl_matrix__rspack_import_0.vec2.subtract(gl_matrix__rspack_import_0.vec2.create(), [proposedCanvasCoord[0], proposedCanvasCoord[1]], [
|
|
6136
6268
|
canvasCoordHandlesCurrent[movingHandleIndex][0],
|
|
6137
6269
|
canvasCoordHandlesCurrent[movingHandleIndex][1],
|
|
6138
6270
|
]);
|
|
6139
|
-
const movementLength = gl_matrix__rspack_import_0
|
|
6271
|
+
const movementLength = gl_matrix__rspack_import_0.vec2.length(proposedToCurrentVec);
|
|
6140
6272
|
const angle = this._getSignedAngle(longLineSegmentVecNormalized, proposedToCurrentVec);
|
|
6141
6273
|
const movementAlongLineSegmentLength = Math.cos(angle) * movementLength;
|
|
6142
|
-
const newTranslatedPoint = gl_matrix__rspack_import_0
|
|
6274
|
+
const newTranslatedPoint = gl_matrix__rspack_import_0.vec2.scaleAndAdd(gl_matrix__rspack_import_0.vec2.create(), [
|
|
6143
6275
|
canvasCoordHandlesCurrent[translateHandleIndex][0],
|
|
6144
6276
|
canvasCoordHandlesCurrent[translateHandleIndex][1],
|
|
6145
6277
|
], longLineSegmentVecNormalized, movementAlongLineSegmentLength);
|
|
@@ -6324,9 +6456,9 @@ class BidirectionalTool extends _base_index_js__rspack_import_3/* .AnnotationToo
|
|
|
6324
6456
|
return renderStatus;
|
|
6325
6457
|
};
|
|
6326
6458
|
this._movingLongAxisWouldPutItThroughShortAxis = (firstLineSegment, secondLineSegment) => {
|
|
6327
|
-
const vectorInSecondLineDirection = gl_matrix__rspack_import_0
|
|
6328
|
-
gl_matrix__rspack_import_0
|
|
6329
|
-
gl_matrix__rspack_import_0
|
|
6459
|
+
const vectorInSecondLineDirection = gl_matrix__rspack_import_0.vec2.create();
|
|
6460
|
+
gl_matrix__rspack_import_0.vec2.set(vectorInSecondLineDirection, secondLineSegment.end.x - secondLineSegment.start.x, secondLineSegment.end.y - secondLineSegment.start.y);
|
|
6461
|
+
gl_matrix__rspack_import_0.vec2.normalize(vectorInSecondLineDirection, vectorInSecondLineDirection);
|
|
6330
6462
|
const extendedSecondLineSegment = {
|
|
6331
6463
|
start: {
|
|
6332
6464
|
x: secondLineSegment.start.x - vectorInSecondLineDirection[0] * 10,
|
|
@@ -6647,14 +6779,14 @@ class BrushTool extends _LabelmapBaseTool_js__rspack_import_9/* ["default"] */.A
|
|
|
6647
6779
|
this._previewData.isDrag = false;
|
|
6648
6780
|
this._previewData.timerStart = Date.now();
|
|
6649
6781
|
this._drawStartTimeStamp = eventData.event?.timeStamp ?? 0;
|
|
6650
|
-
const canvasPoint = gl_matrix__rspack_import_1
|
|
6782
|
+
const canvasPoint = gl_matrix__rspack_import_1.vec2.clone(currentPoints.canvas);
|
|
6651
6783
|
const worldPoint = viewport.canvasToWorld([
|
|
6652
6784
|
canvasPoint[0],
|
|
6653
6785
|
canvasPoint[1],
|
|
6654
6786
|
]);
|
|
6655
6787
|
this._lastDragInfo = {
|
|
6656
6788
|
canvas: canvasPoint,
|
|
6657
|
-
world: gl_matrix__rspack_import_1
|
|
6789
|
+
world: gl_matrix__rspack_import_1.vec3.clone(worldPoint),
|
|
6658
6790
|
};
|
|
6659
6791
|
this._hoverData = this.createHoverData(element, canvasPoint);
|
|
6660
6792
|
if (!this._hoverData) {
|
|
@@ -6695,7 +6827,7 @@ class BrushTool extends _LabelmapBaseTool_js__rspack_import_9/* ["default"] */.A
|
|
|
6695
6827
|
if (isDrag) {
|
|
6696
6828
|
return;
|
|
6697
6829
|
}
|
|
6698
|
-
const delta = gl_matrix__rspack_import_1
|
|
6830
|
+
const delta = gl_matrix__rspack_import_1.vec2.distance(canvas, startPoint);
|
|
6699
6831
|
const time = Date.now() - timerStart;
|
|
6700
6832
|
if (delta > previewMoveDistance ||
|
|
6701
6833
|
(time > previewTimeMs && delta > dragMoveDistance)) {
|
|
@@ -6765,7 +6897,7 @@ class BrushTool extends _LabelmapBaseTool_js__rspack_import_9/* ["default"] */.A
|
|
|
6765
6897
|
}
|
|
6766
6898
|
const { viewportIdsToRender } = this._hoverData;
|
|
6767
6899
|
(0,_utilities_triggerAnnotationRenderForViewportIds_js__rspack_import_8/* ["default"] */.A)(viewportIdsToRender);
|
|
6768
|
-
const delta = gl_matrix__rspack_import_1
|
|
6900
|
+
const delta = gl_matrix__rspack_import_1.vec2.distance(currentPoints.canvas, this._previewData.startPoint);
|
|
6769
6901
|
const { dragTimeMs, dragMoveDistance } = this.configuration.preview;
|
|
6770
6902
|
if (!this._previewData.isDrag &&
|
|
6771
6903
|
Date.now() - this._previewData.timerStart < dragTimeMs &&
|
|
@@ -6783,8 +6915,8 @@ class BrushTool extends _LabelmapBaseTool_js__rspack_import_9/* ["default"] */.A
|
|
|
6783
6915
|
startCanvas[1],
|
|
6784
6916
|
]);
|
|
6785
6917
|
this._lastDragInfo = {
|
|
6786
|
-
canvas: gl_matrix__rspack_import_1
|
|
6787
|
-
world: gl_matrix__rspack_import_1
|
|
6918
|
+
canvas: gl_matrix__rspack_import_1.vec2.clone(startCanvas),
|
|
6919
|
+
world: gl_matrix__rspack_import_1.vec3.clone(startWorld),
|
|
6788
6920
|
};
|
|
6789
6921
|
}
|
|
6790
6922
|
const currentCanvas = currentPoints.canvas;
|
|
@@ -6808,15 +6940,15 @@ class BrushTool extends _LabelmapBaseTool_js__rspack_import_9/* ["default"] */.A
|
|
|
6808
6940
|
return;
|
|
6809
6941
|
}
|
|
6810
6942
|
operationData.strokePointsWorld = [
|
|
6811
|
-
gl_matrix__rspack_import_1
|
|
6812
|
-
gl_matrix__rspack_import_1
|
|
6943
|
+
gl_matrix__rspack_import_1.vec3.clone(this._lastDragInfo.world),
|
|
6944
|
+
gl_matrix__rspack_import_1.vec3.clone(currentWorld),
|
|
6813
6945
|
];
|
|
6814
6946
|
this._setPreview(this.applyActiveStrategy(enabledElement, operationData));
|
|
6815
6947
|
}
|
|
6816
|
-
const currentCanvasClone = gl_matrix__rspack_import_1
|
|
6948
|
+
const currentCanvasClone = gl_matrix__rspack_import_1.vec2.clone(currentCanvas);
|
|
6817
6949
|
this._lastDragInfo = {
|
|
6818
6950
|
canvas: currentCanvasClone,
|
|
6819
|
-
world: gl_matrix__rspack_import_1
|
|
6951
|
+
world: gl_matrix__rspack_import_1.vec3.clone(currentWorld),
|
|
6820
6952
|
};
|
|
6821
6953
|
this._previewData.element = element;
|
|
6822
6954
|
this._previewData.timerStart = Date.now() + dragTimeMs;
|
|
@@ -6841,7 +6973,7 @@ class BrushTool extends _LabelmapBaseTool_js__rspack_import_9/* ["default"] */.A
|
|
|
6841
6973
|
if (isLazyLabelmapEditing && this._previewData.isDrag) {
|
|
6842
6974
|
operationData.strokePointsWorld = this._lazyEdit
|
|
6843
6975
|
.getStrokePointsWorld()
|
|
6844
|
-
.map((point) => gl_matrix__rspack_import_1
|
|
6976
|
+
.map((point) => gl_matrix__rspack_import_1.vec3.clone(point));
|
|
6845
6977
|
this._setPreview(this.applyActiveStrategy(enabledElement, operationData));
|
|
6846
6978
|
}
|
|
6847
6979
|
else if (!this._previewData.preview && !this._previewData.isDrag) {
|
|
@@ -7085,19 +7217,19 @@ function getEllipseCornersFromCanvasCoordinates(canvasCoordinates) {
|
|
|
7085
7217
|
return [topLeft, bottomRight, bottomLeft, topRight];
|
|
7086
7218
|
}
|
|
7087
7219
|
function createCircleCornersForCenter(center, viewUp, viewRight, yRadius, xRadius) {
|
|
7088
|
-
const centerVec = gl_matrix__rspack_import_0
|
|
7089
|
-
const topRight = gl_matrix__rspack_import_0
|
|
7090
|
-
gl_matrix__rspack_import_0
|
|
7091
|
-
gl_matrix__rspack_import_0
|
|
7092
|
-
const topLeft = gl_matrix__rspack_import_0
|
|
7093
|
-
gl_matrix__rspack_import_0
|
|
7094
|
-
gl_matrix__rspack_import_0
|
|
7095
|
-
const bottomRight = gl_matrix__rspack_import_0
|
|
7096
|
-
gl_matrix__rspack_import_0
|
|
7097
|
-
gl_matrix__rspack_import_0
|
|
7098
|
-
const bottomLeft = gl_matrix__rspack_import_0
|
|
7099
|
-
gl_matrix__rspack_import_0
|
|
7100
|
-
gl_matrix__rspack_import_0
|
|
7220
|
+
const centerVec = gl_matrix__rspack_import_0.vec3.fromValues(center[0], center[1], center[2]);
|
|
7221
|
+
const topRight = gl_matrix__rspack_import_0.vec3.create();
|
|
7222
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(topRight, centerVec, viewUp, yRadius);
|
|
7223
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(topRight, topRight, viewRight, xRadius);
|
|
7224
|
+
const topLeft = gl_matrix__rspack_import_0.vec3.create();
|
|
7225
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(topLeft, centerVec, viewUp, yRadius);
|
|
7226
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(topLeft, topLeft, viewRight, -xRadius);
|
|
7227
|
+
const bottomRight = gl_matrix__rspack_import_0.vec3.create();
|
|
7228
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(bottomRight, centerVec, viewUp, -yRadius);
|
|
7229
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(bottomRight, bottomRight, viewRight, xRadius);
|
|
7230
|
+
const bottomLeft = gl_matrix__rspack_import_0.vec3.create();
|
|
7231
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(bottomLeft, centerVec, viewUp, -yRadius);
|
|
7232
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(bottomLeft, bottomLeft, viewRight, -xRadius);
|
|
7101
7233
|
return [
|
|
7102
7234
|
topRight,
|
|
7103
7235
|
topLeft,
|
|
@@ -7173,38 +7305,38 @@ const initializeCircle = {
|
|
|
7173
7305
|
if (!points) {
|
|
7174
7306
|
return;
|
|
7175
7307
|
}
|
|
7176
|
-
const center = gl_matrix__rspack_import_0
|
|
7308
|
+
const center = gl_matrix__rspack_import_0.vec3.create();
|
|
7177
7309
|
if (points.length >= 2) {
|
|
7178
|
-
gl_matrix__rspack_import_0
|
|
7179
|
-
gl_matrix__rspack_import_0
|
|
7310
|
+
gl_matrix__rspack_import_0.vec3.add(center, points[0], points[1]);
|
|
7311
|
+
gl_matrix__rspack_import_0.vec3.scale(center, center, 0.5);
|
|
7180
7312
|
}
|
|
7181
7313
|
else {
|
|
7182
|
-
gl_matrix__rspack_import_0
|
|
7314
|
+
gl_matrix__rspack_import_0.vec3.copy(center, points[0]);
|
|
7183
7315
|
}
|
|
7184
7316
|
operationData.centerWorld = center;
|
|
7185
7317
|
operationData.centerIJK = transformWorldToIndex(segmentationImageData, center);
|
|
7186
7318
|
const aspectRatio = getNormalizedAspectRatio(viewport.getAspectRatio());
|
|
7187
7319
|
const yRadius = points.length >= 2
|
|
7188
|
-
? gl_matrix__rspack_import_0
|
|
7320
|
+
? gl_matrix__rspack_import_0.vec3.distance(points[0], points[1]) / 2 / aspectRatio[1]
|
|
7189
7321
|
: 0;
|
|
7190
7322
|
const xRadius = points.length >= 2
|
|
7191
|
-
? gl_matrix__rspack_import_0
|
|
7323
|
+
? gl_matrix__rspack_import_0.vec3.distance(points[2], points[3]) / 2 / aspectRatio[0]
|
|
7192
7324
|
: 0;
|
|
7193
7325
|
const canvasCoordinates = points.map((p) => viewport.worldToCanvas(p));
|
|
7194
7326
|
const corners = getEllipseCornersFromCanvasCoordinates(canvasCoordinates);
|
|
7195
7327
|
const cornersInWorld = corners.map((corner) => viewport.canvasToWorld(corner));
|
|
7196
|
-
const normalizedViewUp = gl_matrix__rspack_import_0
|
|
7197
|
-
gl_matrix__rspack_import_0
|
|
7198
|
-
const normalizedPlaneNormal = gl_matrix__rspack_import_0
|
|
7199
|
-
gl_matrix__rspack_import_0
|
|
7200
|
-
const viewRight = gl_matrix__rspack_import_0
|
|
7201
|
-
gl_matrix__rspack_import_0
|
|
7202
|
-
gl_matrix__rspack_import_0
|
|
7328
|
+
const normalizedViewUp = gl_matrix__rspack_import_0.vec3.fromValues(viewUp[0], viewUp[1], viewUp[2]);
|
|
7329
|
+
gl_matrix__rspack_import_0.vec3.normalize(normalizedViewUp, normalizedViewUp);
|
|
7330
|
+
const normalizedPlaneNormal = gl_matrix__rspack_import_0.vec3.fromValues(viewPlaneNormal[0], viewPlaneNormal[1], viewPlaneNormal[2]);
|
|
7331
|
+
gl_matrix__rspack_import_0.vec3.normalize(normalizedPlaneNormal, normalizedPlaneNormal);
|
|
7332
|
+
const viewRight = gl_matrix__rspack_import_0.vec3.create();
|
|
7333
|
+
gl_matrix__rspack_import_0.vec3.cross(viewRight, normalizedViewUp, normalizedPlaneNormal);
|
|
7334
|
+
gl_matrix__rspack_import_0.vec3.normalize(viewRight, viewRight);
|
|
7203
7335
|
const strokeCentersSource = operationData.strokePointsWorld &&
|
|
7204
7336
|
operationData.strokePointsWorld.length > 0
|
|
7205
7337
|
? operationData.strokePointsWorld
|
|
7206
7338
|
: [operationData.centerWorld];
|
|
7207
|
-
const strokeCenters = strokeCentersSource.map((point) => gl_matrix__rspack_import_0
|
|
7339
|
+
const strokeCenters = strokeCentersSource.map((point) => gl_matrix__rspack_import_0.vec3.clone(point));
|
|
7208
7340
|
const strokeCornersWorld = strokeCenters.flatMap((centerPoint) => createCircleCornersForCenter(centerPoint, normalizedViewUp, viewRight, yRadius, xRadius));
|
|
7209
7341
|
const circleCornersIJK = strokeCornersWorld.map((world) => transformWorldToIndex(segmentationImageData, world));
|
|
7210
7342
|
const boundsIJK = (0,_utilities_boundingBox_index_js__rspack_import_2.getBoundingBoxAroundShapeIJK)(circleCornersIJK, segmentationImageData.getDimensions());
|
|
@@ -7249,12 +7381,12 @@ function createPointInEllipse(cornersInWorld = [], options = {}) {
|
|
|
7249
7381
|
? Math.max(...spacing, Number.EPSILON)
|
|
7250
7382
|
: 1;
|
|
7251
7383
|
const planeTolerance = Math.max(spacingInNormal / 2, Number.EPSILON);
|
|
7252
|
-
const center = gl_matrix__rspack_import_0
|
|
7253
|
-
gl_matrix__rspack_import_0
|
|
7254
|
-
gl_matrix__rspack_import_0
|
|
7255
|
-
const majorAxisVec = gl_matrix__rspack_import_0
|
|
7256
|
-
gl_matrix__rspack_import_0
|
|
7257
|
-
const originalRadius = gl_matrix__rspack_import_0
|
|
7384
|
+
const center = gl_matrix__rspack_import_0.vec3.create();
|
|
7385
|
+
gl_matrix__rspack_import_0.vec3.add(center, topLeft, bottomRight);
|
|
7386
|
+
gl_matrix__rspack_import_0.vec3.scale(center, center, 0.5);
|
|
7387
|
+
const majorAxisVec = gl_matrix__rspack_import_0.vec3.create();
|
|
7388
|
+
gl_matrix__rspack_import_0.vec3.subtract(majorAxisVec, topRight, topLeft);
|
|
7389
|
+
const originalRadius = gl_matrix__rspack_import_0.vec3.length(majorAxisVec) / 2;
|
|
7258
7390
|
const xRadius = originalRadius / aspectRatio[0];
|
|
7259
7391
|
const yRadius = originalRadius / aspectRatio[1];
|
|
7260
7392
|
const invXRadiusSquared = 1 / (xRadius * xRadius);
|
|
@@ -7299,13 +7431,13 @@ function createPointInEllipse(cornersInWorld = [], options = {}) {
|
|
|
7299
7431
|
if (strokePredicate?.(worldPoint)) {
|
|
7300
7432
|
return true;
|
|
7301
7433
|
}
|
|
7302
|
-
const pointVec = gl_matrix__rspack_import_0
|
|
7303
|
-
gl_matrix__rspack_import_0
|
|
7304
|
-
const xDist = gl_matrix__rspack_import_0
|
|
7305
|
-
const yDist = gl_matrix__rspack_import_0
|
|
7434
|
+
const pointVec = gl_matrix__rspack_import_0.vec3.create();
|
|
7435
|
+
gl_matrix__rspack_import_0.vec3.subtract(pointVec, worldPoint, center);
|
|
7436
|
+
const xDist = gl_matrix__rspack_import_0.vec3.dot(pointVec, viewRight);
|
|
7437
|
+
const yDist = gl_matrix__rspack_import_0.vec3.dot(pointVec, viewUp);
|
|
7306
7438
|
const xTerm = xDist * xDist * invXRadiusSquared;
|
|
7307
7439
|
const yTerm = yDist * yDist * invYRadiusSquared;
|
|
7308
|
-
const zDist = gl_matrix__rspack_import_0
|
|
7440
|
+
const zDist = gl_matrix__rspack_import_0.vec3.dot(pointVec, viewNormal);
|
|
7309
7441
|
if (invZRadiusSquared !== null) {
|
|
7310
7442
|
return xTerm + yTerm + zDist * zDist * invZRadiusSquared <= 1;
|
|
7311
7443
|
}
|
|
@@ -7353,35 +7485,35 @@ function orderRectangleCorners(pts) {
|
|
|
7353
7485
|
if (pts.length < 3) {
|
|
7354
7486
|
return [...pts];
|
|
7355
7487
|
}
|
|
7356
|
-
const center = gl_matrix__rspack_import_0
|
|
7357
|
-
pts.forEach((p) => gl_matrix__rspack_import_0
|
|
7358
|
-
gl_matrix__rspack_import_0
|
|
7359
|
-
const radials = pts.map((p) => gl_matrix__rspack_import_0
|
|
7488
|
+
const center = gl_matrix__rspack_import_0.vec3.create();
|
|
7489
|
+
pts.forEach((p) => gl_matrix__rspack_import_0.vec3.add(center, center, p));
|
|
7490
|
+
gl_matrix__rspack_import_0.vec3.scale(center, center, 1 / pts.length);
|
|
7491
|
+
const radials = pts.map((p) => gl_matrix__rspack_import_0.vec3.subtract(gl_matrix__rspack_import_0.vec3.create(), p, center));
|
|
7360
7492
|
let axisInPlane = radials[0];
|
|
7361
|
-
let maxLenSq = gl_matrix__rspack_import_0
|
|
7493
|
+
let maxLenSq = gl_matrix__rspack_import_0.vec3.squaredLength(axisInPlane);
|
|
7362
7494
|
for (const radial of radials) {
|
|
7363
|
-
const lenSq = gl_matrix__rspack_import_0
|
|
7495
|
+
const lenSq = gl_matrix__rspack_import_0.vec3.squaredLength(radial);
|
|
7364
7496
|
if (lenSq > maxLenSq) {
|
|
7365
7497
|
maxLenSq = lenSq;
|
|
7366
7498
|
axisInPlane = radial;
|
|
7367
7499
|
}
|
|
7368
7500
|
}
|
|
7369
|
-
const e1 = gl_matrix__rspack_import_0
|
|
7370
|
-
const normal = gl_matrix__rspack_import_0
|
|
7371
|
-
const candidate = gl_matrix__rspack_import_0
|
|
7501
|
+
const e1 = gl_matrix__rspack_import_0.vec3.normalize(gl_matrix__rspack_import_0.vec3.create(), axisInPlane);
|
|
7502
|
+
const normal = gl_matrix__rspack_import_0.vec3.create();
|
|
7503
|
+
const candidate = gl_matrix__rspack_import_0.vec3.create();
|
|
7372
7504
|
for (const radial of radials) {
|
|
7373
|
-
gl_matrix__rspack_import_0
|
|
7374
|
-
if (gl_matrix__rspack_import_0
|
|
7375
|
-
gl_matrix__rspack_import_0
|
|
7505
|
+
gl_matrix__rspack_import_0.vec3.cross(candidate, e1, radial);
|
|
7506
|
+
if (gl_matrix__rspack_import_0.vec3.squaredLength(candidate) > gl_matrix__rspack_import_0.vec3.squaredLength(normal)) {
|
|
7507
|
+
gl_matrix__rspack_import_0.vec3.copy(normal, candidate);
|
|
7376
7508
|
}
|
|
7377
7509
|
}
|
|
7378
|
-
gl_matrix__rspack_import_0
|
|
7379
|
-
const e2 = gl_matrix__rspack_import_0
|
|
7510
|
+
gl_matrix__rspack_import_0.vec3.normalize(normal, normal);
|
|
7511
|
+
const e2 = gl_matrix__rspack_import_0.vec3.normalize(gl_matrix__rspack_import_0.vec3.create(), gl_matrix__rspack_import_0.vec3.cross(gl_matrix__rspack_import_0.vec3.create(), normal, e1));
|
|
7380
7512
|
return [...pts].sort((a, b) => {
|
|
7381
|
-
const ra = gl_matrix__rspack_import_0
|
|
7382
|
-
const rb = gl_matrix__rspack_import_0
|
|
7383
|
-
const angleA = Math.atan2(gl_matrix__rspack_import_0
|
|
7384
|
-
const angleB = Math.atan2(gl_matrix__rspack_import_0
|
|
7513
|
+
const ra = gl_matrix__rspack_import_0.vec3.subtract(gl_matrix__rspack_import_0.vec3.create(), a, center);
|
|
7514
|
+
const rb = gl_matrix__rspack_import_0.vec3.subtract(gl_matrix__rspack_import_0.vec3.create(), b, center);
|
|
7515
|
+
const angleA = Math.atan2(gl_matrix__rspack_import_0.vec3.dot(ra, e2), gl_matrix__rspack_import_0.vec3.dot(ra, e1));
|
|
7516
|
+
const angleB = Math.atan2(gl_matrix__rspack_import_0.vec3.dot(rb, e2), gl_matrix__rspack_import_0.vec3.dot(rb, e1));
|
|
7385
7517
|
return angleA - angleB;
|
|
7386
7518
|
});
|
|
7387
7519
|
}
|
|
@@ -7391,11 +7523,11 @@ const initializeRectangle = {
|
|
|
7391
7523
|
if (!points) {
|
|
7392
7524
|
return;
|
|
7393
7525
|
}
|
|
7394
|
-
const center = gl_matrix__rspack_import_0
|
|
7526
|
+
const center = gl_matrix__rspack_import_0.vec3.fromValues(0, 0, 0);
|
|
7395
7527
|
points.forEach((point) => {
|
|
7396
|
-
gl_matrix__rspack_import_0
|
|
7528
|
+
gl_matrix__rspack_import_0.vec3.add(center, center, point);
|
|
7397
7529
|
});
|
|
7398
|
-
gl_matrix__rspack_import_0
|
|
7530
|
+
gl_matrix__rspack_import_0.vec3.scale(center, center, 1 / points.length);
|
|
7399
7531
|
operationData.centerWorld = center;
|
|
7400
7532
|
operationData.centerIJK = transformWorldToIndex(segmentationImageData, center);
|
|
7401
7533
|
const orderedPoints = orderRectangleCorners(points);
|
|
@@ -7430,17 +7562,17 @@ function createPointInRectangle(orderedPoints, segmentationImageData) {
|
|
|
7430
7562
|
Math.min(dims[2] - 1, Math.ceil(Math.max(...cornerKValues))),
|
|
7431
7563
|
],
|
|
7432
7564
|
];
|
|
7433
|
-
const axisU = gl_matrix__rspack_import_0
|
|
7434
|
-
const axisV = gl_matrix__rspack_import_0
|
|
7435
|
-
gl_matrix__rspack_import_0
|
|
7436
|
-
gl_matrix__rspack_import_0
|
|
7437
|
-
const uLen = gl_matrix__rspack_import_0
|
|
7438
|
-
const vLen = gl_matrix__rspack_import_0
|
|
7439
|
-
gl_matrix__rspack_import_0
|
|
7440
|
-
gl_matrix__rspack_import_0
|
|
7441
|
-
const normal = gl_matrix__rspack_import_0
|
|
7442
|
-
gl_matrix__rspack_import_0
|
|
7443
|
-
gl_matrix__rspack_import_0
|
|
7565
|
+
const axisU = gl_matrix__rspack_import_0.vec3.create();
|
|
7566
|
+
const axisV = gl_matrix__rspack_import_0.vec3.create();
|
|
7567
|
+
gl_matrix__rspack_import_0.vec3.subtract(axisU, p1, p0);
|
|
7568
|
+
gl_matrix__rspack_import_0.vec3.subtract(axisV, p3, p0);
|
|
7569
|
+
const uLen = gl_matrix__rspack_import_0.vec3.length(axisU);
|
|
7570
|
+
const vLen = gl_matrix__rspack_import_0.vec3.length(axisV);
|
|
7571
|
+
gl_matrix__rspack_import_0.vec3.normalize(axisU, axisU);
|
|
7572
|
+
gl_matrix__rspack_import_0.vec3.normalize(axisV, axisV);
|
|
7573
|
+
const normal = gl_matrix__rspack_import_0.vec3.create();
|
|
7574
|
+
gl_matrix__rspack_import_0.vec3.cross(normal, axisU, axisV);
|
|
7575
|
+
gl_matrix__rspack_import_0.vec3.normalize(normal, normal);
|
|
7444
7576
|
const spacing = segmentationImageData.getSpacing();
|
|
7445
7577
|
const direction = segmentationImageData.getDirection();
|
|
7446
7578
|
const projectedSpacing = _cornerstonejs_core__rspack_import_1.utilities.getSpacingInNormalDirection({
|
|
@@ -7451,11 +7583,11 @@ function createPointInRectangle(orderedPoints, segmentationImageData) {
|
|
|
7451
7583
|
const inPlaneSpacing = Math.min(spacing[0], spacing[1]);
|
|
7452
7584
|
const inPlaneTolerance = inPlaneSpacing / 2;
|
|
7453
7585
|
const pointInShapeFn = (pointLPS) => {
|
|
7454
|
-
const v = gl_matrix__rspack_import_0
|
|
7455
|
-
gl_matrix__rspack_import_0
|
|
7456
|
-
const u = gl_matrix__rspack_import_0
|
|
7457
|
-
const vproj = gl_matrix__rspack_import_0
|
|
7458
|
-
const distanceToPlane = Math.abs(gl_matrix__rspack_import_0
|
|
7586
|
+
const v = gl_matrix__rspack_import_0.vec3.create();
|
|
7587
|
+
gl_matrix__rspack_import_0.vec3.subtract(v, pointLPS, p0);
|
|
7588
|
+
const u = gl_matrix__rspack_import_0.vec3.dot(v, axisU);
|
|
7589
|
+
const vproj = gl_matrix__rspack_import_0.vec3.dot(v, axisV);
|
|
7590
|
+
const distanceToPlane = Math.abs(gl_matrix__rspack_import_0.vec3.dot(v, normal));
|
|
7459
7591
|
return (u >= -inPlaneTolerance &&
|
|
7460
7592
|
u <= uLen + inPlaneTolerance &&
|
|
7461
7593
|
vproj >= -inPlaneTolerance &&
|
|
@@ -8235,8 +8367,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8235
8367
|
const { transformWorldToIndex } = _cornerstonejs_core__rspack_import_0.utilities;
|
|
8236
8368
|
function _getSphereBoundsInfo(circlePoints, imageData, directionVectors) {
|
|
8237
8369
|
const [bottom, top] = circlePoints;
|
|
8238
|
-
const centerWorld = gl_matrix__rspack_import_1
|
|
8239
|
-
const radiusWorld = gl_matrix__rspack_import_1
|
|
8370
|
+
const centerWorld = gl_matrix__rspack_import_1.vec3.fromValues((bottom[0] + top[0]) / 2, (bottom[1] + top[1]) / 2, (bottom[2] + top[2]) / 2);
|
|
8371
|
+
const radiusWorld = gl_matrix__rspack_import_1.vec3.distance(bottom, top) / 2;
|
|
8240
8372
|
const { boundsIJK, topLeftWorld, bottomRightWorld } = _computeBoundsIJK(imageData, directionVectors, circlePoints, centerWorld, radiusWorld);
|
|
8241
8373
|
return {
|
|
8242
8374
|
boundsIJK,
|
|
@@ -8267,28 +8399,28 @@ function getSphereBoundsInfoFromViewport(circlePoints, imageData, viewport) {
|
|
|
8267
8399
|
if (!camera.viewUp || !camera.viewPlaneNormal) {
|
|
8268
8400
|
throw new Error('viewport view plane is required in order to calculate the sphere bounds');
|
|
8269
8401
|
}
|
|
8270
|
-
const viewUp = gl_matrix__rspack_import_1
|
|
8271
|
-
const viewPlaneNormal = gl_matrix__rspack_import_1
|
|
8272
|
-
const viewRight = gl_matrix__rspack_import_1
|
|
8273
|
-
gl_matrix__rspack_import_1
|
|
8402
|
+
const viewUp = gl_matrix__rspack_import_1.vec3.fromValues(camera.viewUp[0], camera.viewUp[1], camera.viewUp[2]);
|
|
8403
|
+
const viewPlaneNormal = gl_matrix__rspack_import_1.vec3.fromValues(camera.viewPlaneNormal[0], camera.viewPlaneNormal[1], camera.viewPlaneNormal[2]);
|
|
8404
|
+
const viewRight = gl_matrix__rspack_import_1.vec3.create();
|
|
8405
|
+
gl_matrix__rspack_import_1.vec3.cross(viewRight, viewUp, viewPlaneNormal);
|
|
8274
8406
|
const directionVectors = {
|
|
8275
8407
|
row: viewRight,
|
|
8276
8408
|
normal: viewPlaneNormal,
|
|
8277
|
-
column: gl_matrix__rspack_import_1
|
|
8409
|
+
column: gl_matrix__rspack_import_1.vec3.negate(gl_matrix__rspack_import_1.vec3.create(), viewUp),
|
|
8278
8410
|
};
|
|
8279
8411
|
return _getSphereBoundsInfo(circlePoints, imageData, directionVectors);
|
|
8280
8412
|
}
|
|
8281
8413
|
function _computeBoundsIJK(imageData, directionVectors, circlePoints, centerWorld, radiusWorld) {
|
|
8282
8414
|
const dimensions = imageData.getDimensions();
|
|
8283
8415
|
const { row: rowCosine, column: columnCosine, normal: vecNormal, } = directionVectors;
|
|
8284
|
-
const topLeftWorld = gl_matrix__rspack_import_1
|
|
8285
|
-
const bottomRightWorld = gl_matrix__rspack_import_1
|
|
8286
|
-
gl_matrix__rspack_import_1
|
|
8287
|
-
gl_matrix__rspack_import_1
|
|
8288
|
-
gl_matrix__rspack_import_1
|
|
8289
|
-
gl_matrix__rspack_import_1
|
|
8290
|
-
gl_matrix__rspack_import_1
|
|
8291
|
-
gl_matrix__rspack_import_1
|
|
8416
|
+
const topLeftWorld = gl_matrix__rspack_import_1.vec3.create();
|
|
8417
|
+
const bottomRightWorld = gl_matrix__rspack_import_1.vec3.create();
|
|
8418
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(topLeftWorld, centerWorld, vecNormal, radiusWorld);
|
|
8419
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(bottomRightWorld, centerWorld, vecNormal, -radiusWorld);
|
|
8420
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(topLeftWorld, topLeftWorld, columnCosine, -radiusWorld);
|
|
8421
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(bottomRightWorld, bottomRightWorld, columnCosine, radiusWorld);
|
|
8422
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(topLeftWorld, topLeftWorld, rowCosine, -radiusWorld);
|
|
8423
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(bottomRightWorld, bottomRightWorld, rowCosine, radiusWorld);
|
|
8292
8424
|
const topLeftIJK = transformWorldToIndex(imageData, topLeftWorld);
|
|
8293
8425
|
const bottomRightIJK = transformWorldToIndex(imageData, bottomRightWorld);
|
|
8294
8426
|
const pointsIJK = circlePoints.map((p) => transformWorldToIndex(imageData, p));
|
|
@@ -9139,7 +9271,7 @@ function createBidirectionalForSlice(sliceContour, isInSegment, currentMax = { m
|
|
|
9139
9271
|
for (let index2 = index1 + 1; index2 < points.length; index2++) {
|
|
9140
9272
|
const point1 = points[index1];
|
|
9141
9273
|
const point2 = points[index2];
|
|
9142
|
-
const distance2 = gl_matrix__rspack_import_0
|
|
9274
|
+
const distance2 = gl_matrix__rspack_import_0.vec3.sqrDist(point1, point2);
|
|
9143
9275
|
if (distance2 < maxMajor) {
|
|
9144
9276
|
continue;
|
|
9145
9277
|
}
|
|
@@ -9163,19 +9295,19 @@ function createBidirectionalForSlice(sliceContour, isInSegment, currentMax = { m
|
|
|
9163
9295
|
maxMajor = Math.sqrt(maxMajor + EPSILON);
|
|
9164
9296
|
const handle0 = points[maxMajorPoints[0]];
|
|
9165
9297
|
const handle1 = points[maxMajorPoints[1]];
|
|
9166
|
-
const unitMajor = gl_matrix__rspack_import_0
|
|
9167
|
-
gl_matrix__rspack_import_0
|
|
9298
|
+
const unitMajor = gl_matrix__rspack_import_0.vec3.sub(gl_matrix__rspack_import_0.vec3.create(), handle0, handle1);
|
|
9299
|
+
gl_matrix__rspack_import_0.vec3.scale(unitMajor, unitMajor, 1 / maxMajor);
|
|
9168
9300
|
let maxMinorPoints;
|
|
9169
9301
|
for (let index1 = 0; index1 < points.length; index1++) {
|
|
9170
9302
|
for (let index2 = index1 + 1; index2 < points.length; index2++) {
|
|
9171
9303
|
const point1 = points[index1];
|
|
9172
9304
|
const point2 = points[index2];
|
|
9173
|
-
const distance2 = gl_matrix__rspack_import_0
|
|
9305
|
+
const distance2 = gl_matrix__rspack_import_0.vec3.sqrDist(point1, point2);
|
|
9174
9306
|
if (distance2 <= maxMinor) {
|
|
9175
9307
|
continue;
|
|
9176
9308
|
}
|
|
9177
|
-
const delta = gl_matrix__rspack_import_0
|
|
9178
|
-
const dot = Math.abs(gl_matrix__rspack_import_0
|
|
9309
|
+
const delta = gl_matrix__rspack_import_0.vec3.sub(gl_matrix__rspack_import_0.vec3.create(), point1, point2);
|
|
9310
|
+
const dot = Math.abs(gl_matrix__rspack_import_0.vec3.dot(delta, unitMajor)) / Math.sqrt(distance2);
|
|
9179
9311
|
if (dot > EPSILON) {
|
|
9180
9312
|
continue;
|
|
9181
9313
|
}
|
|
@@ -9271,16 +9403,16 @@ const cs3dLogger = _cornerstonejs_core__rspack_import_0.utilities.logger.toolsLo
|
|
|
9271
9403
|
function isLineInSegment(point1, point2, isInSegment) {
|
|
9272
9404
|
const ijk1 = isInSegment.toIJK(point1);
|
|
9273
9405
|
const ijk2 = isInSegment.toIJK(point2);
|
|
9274
|
-
const testPoint = gl_matrix__rspack_import_1
|
|
9406
|
+
const testPoint = gl_matrix__rspack_import_1.vec3.create();
|
|
9275
9407
|
const { testIJK } = isInSegment;
|
|
9276
|
-
const delta = gl_matrix__rspack_import_1
|
|
9408
|
+
const delta = gl_matrix__rspack_import_1.vec3.sub(gl_matrix__rspack_import_1.vec3.create(), ijk1, ijk2);
|
|
9277
9409
|
const testSize = Math.round(Math.max(...delta.map(Math.abs)));
|
|
9278
9410
|
if (testSize < 2) {
|
|
9279
9411
|
return true;
|
|
9280
9412
|
}
|
|
9281
|
-
const unitDelta = gl_matrix__rspack_import_1
|
|
9413
|
+
const unitDelta = gl_matrix__rspack_import_1.vec3.scale(gl_matrix__rspack_import_1.vec3.create(), delta, 1 / testSize);
|
|
9282
9414
|
for (let i = 1; i < testSize; i++) {
|
|
9283
|
-
gl_matrix__rspack_import_1
|
|
9415
|
+
gl_matrix__rspack_import_1.vec3.scaleAndAdd(testPoint, ijk2, unitDelta, i);
|
|
9284
9416
|
if (!testIJK(testPoint)) {
|
|
9285
9417
|
return false;
|
|
9286
9418
|
}
|
|
@@ -9292,7 +9424,7 @@ function createIsInSegmentMetadata({ dimensions, imageData, voxelManager, segmen
|
|
|
9292
9424
|
const pixelsPerSlice = width * dimensions[1];
|
|
9293
9425
|
return {
|
|
9294
9426
|
testCenter: (point1, point2) => {
|
|
9295
|
-
const point = gl_matrix__rspack_import_1
|
|
9427
|
+
const point = gl_matrix__rspack_import_1.vec3.add(gl_matrix__rspack_import_1.vec3.create(), point1, point2).map((it) => it / 2);
|
|
9296
9428
|
const ijk = imageData.worldToIndex(point).map(Math.round);
|
|
9297
9429
|
const [i, j, k] = ijk;
|
|
9298
9430
|
const index = i + j * width + k * pixelsPerSlice;
|