@ohif/app 3.12.0-beta.67 → 3.12.0-beta.68
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/{1447.bundle.40045129a43f8dd9c901.js → 1447.bundle.42a201eb7cfb535dbb27.js} +2 -2
- package/dist/{2518.bundle.57c229a14e22d23db384.js → 2518.bundle.80f6f53d5a171288d177.js} +6 -1
- package/dist/{319.bundle.fc959064ddf2f6978b54.js → 319.bundle.cd9383a345b9da2ba840.js} +1 -1
- package/dist/{3409.bundle.ded798747ea65b47c72c.js → 3409.bundle.fc5d04563e48e2d9509c.js} +14 -1
- package/dist/{9819.bundle.29fb49e6d25cf486a204.js → 3613.bundle.f54ec42efcfa4f83656c.js} +486 -14
- package/dist/{4019.bundle.13e7f662a9e489b74a27.js → 4019.bundle.2f21e5bc490fc3b743a8.js} +6 -0
- package/dist/{2345.bundle.c17b90bde0073fd7dbb6.js → 5400.bundle.c287bffc0f21bc857c12.js} +1 -53
- package/dist/{7412.bundle.9ff692981e3c3af1dfaf.js → 7412.bundle.930910a9ad29b9d44d34.js} +619 -412
- package/dist/{8558.bundle.81679f1abf949872a8d7.js → 8558.bundle.465dd596983d518dc10c.js} +1 -1
- package/dist/{9856.bundle.4d469a7b62ac0c005da2.js → 9856.bundle.31827ec7e09a8978744c.js} +77 -10
- package/dist/{9892.bundle.34f911ad728a17a0ad60.js → 9892.bundle.36238ff727cb3bba26e4.js} +114 -447
- package/dist/{app.bundle.5e500cc3ae1ec8449424.js → app.bundle.0d5d24cd2914cba3684d.js} +20 -26
- package/dist/{compute.bundle.bf2d925bfc81c7f05c06.js → compute.bundle.a63e807a357d03539511.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.1d99496fc36c90c48d48.js → polySeg.bundle.75dd3439f4989f634f98.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +21 -21
- /package/dist/{1459.bundle.a3c4154b8f8a929875f6.js → 1459.bundle.95bf19211e4a0cc6eb85.js} +0 -0
- /package/dist/{147.bundle.5081555db809adebded5.js → 147.bundle.23cc8fbbd94c0b65d337.js} +0 -0
- /package/dist/{1604.bundle.54c4d82c28d03adab00b.js → 1604.bundle.d8d092c4b7f0752f1795.js} +0 -0
- /package/dist/{1807.bundle.92de522ae4def176aff6.js → 1807.bundle.4b36d85142830705cc73.js} +0 -0
- /package/dist/{1919.bundle.b709d24082a089fb96f9.js → 1919.bundle.58198149cd016af5c240.js} +0 -0
- /package/dist/{213.bundle.06da551965e6495eaf22.js → 213.bundle.ed0a3b64ad066e7fe2aa.js} +0 -0
- /package/dist/{2243.bundle.49e31757e1b67c1631af.js → 2243.bundle.1b13d9c823fa58c47dd2.js} +0 -0
- /package/dist/{2424.bundle.b84347c7c65b70298931.js → 2424.bundle.7a57d8210c8644e83d61.js} +0 -0
- /package/dist/{4113.bundle.d57b077bf8b22a2fffe6.js → 4113.bundle.4a27d08881e8e8726cdc.js} +0 -0
- /package/dist/{414.bundle.62d7f459bd4c3888de2a.js → 414.bundle.647df2f6e756c8adf1bc.js} +0 -0
- /package/dist/{5457.bundle.74835d952cd31adf54df.js → 5457.bundle.650c3a9b81d8d3fafaee.js} +0 -0
- /package/dist/{5485.bundle.7b59b0105c66003eb8c5.js → 5485.bundle.dff6dd53d1d533b0d00f.js} +0 -0
- /package/dist/{6027.bundle.39d04080242ce96ac848.js → 6027.bundle.9ba3ec82debbfbd24227.js} +0 -0
- /package/dist/{6201.bundle.568aac152c31949d09a4.js → 6201.bundle.1268f4b25e533d6e5752.js} +0 -0
- /package/dist/{6991.bundle.a0f689bfa5ad3f3ee4a8.js → 6991.bundle.fa5072b6f1712784344f.js} +0 -0
- /package/dist/{7197.bundle.c0d2f4d7071f1d49223f.js → 7197.bundle.d3f79fce26514955231c.js} +0 -0
- /package/dist/{7431.bundle.859d7586ac7a86c27fb8.js → 7431.bundle.6dee1ec831da974a7433.js} +0 -0
- /package/dist/{7639.bundle.3bae54d7c31bb87eb68e.js → 7639.bundle.47232f936255859feba8.js} +0 -0
- /package/dist/{810.bundle.536730c2c4702996ce35.js → 810.bundle.41459c511a763f328524.js} +0 -0
- /package/dist/{85.bundle.1848a6604cfd55f08b91.js → 85.bundle.284a0d47f14a7969112c.js} +0 -0
- /package/dist/{8815.bundle.c6b394394ee3e5dda949.js → 8815.bundle.eb855e3a55f5bcd0ede4.js} +0 -0
- /package/dist/{934.bundle.3cbbd88355500a623dcb.js → 934.bundle.90f33b73332a588bafa8.js} +0 -0
- /package/dist/{9862.bundle.30916d7d975475c609a1.js → 9862.bundle.dc627e5f01fc4698a00f.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[5400],{
|
|
3
3
|
|
|
4
4
|
/***/ 18262:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
@@ -2502,58 +2502,6 @@ function pointInSphere(sphere, pointLPS) {
|
|
|
2502
2502
|
|
|
2503
2503
|
|
|
2504
2504
|
|
|
2505
|
-
/***/ }),
|
|
2506
|
-
|
|
2507
|
-
/***/ 61768:
|
|
2508
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2509
|
-
|
|
2510
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2511
|
-
/* harmony export */ A: () => (/* binding */ interpolateSegmentPoints)
|
|
2512
|
-
/* harmony export */ });
|
|
2513
|
-
/* harmony import */ var _algorithms_bspline__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30269);
|
|
2514
|
-
|
|
2515
|
-
function getContinuousUniformDistributionValues(minDistributionDistance, closedInterval) {
|
|
2516
|
-
const result = [];
|
|
2517
|
-
const [intervalIni, intervalEnd] = closedInterval;
|
|
2518
|
-
const intervalSize = intervalEnd - intervalIni + 1;
|
|
2519
|
-
const intensity = Math.floor(intervalSize / minDistributionDistance);
|
|
2520
|
-
let x = 0;
|
|
2521
|
-
let continuosDistributionValue = Math.round(((intervalSize - 1) / (intensity - 1)) * x) + intervalIni;
|
|
2522
|
-
while (continuosDistributionValue <= intervalEnd) {
|
|
2523
|
-
result.push(continuosDistributionValue);
|
|
2524
|
-
x++;
|
|
2525
|
-
continuosDistributionValue =
|
|
2526
|
-
Math.round(((intervalSize - 1) / (intensity - 1)) * x) + intervalIni;
|
|
2527
|
-
}
|
|
2528
|
-
return result;
|
|
2529
|
-
}
|
|
2530
|
-
function interpolateSegmentPoints(points, iniIndex, endIndex, knotsRatioPercentage) {
|
|
2531
|
-
const segmentSize = endIndex - iniIndex + 1;
|
|
2532
|
-
const amountOfKnots = Math.floor((knotsRatioPercentage / 100) * segmentSize) ?? 1;
|
|
2533
|
-
const minKnotDistance = Math.floor(segmentSize / amountOfKnots) ?? 1;
|
|
2534
|
-
if (isNaN(segmentSize) || !segmentSize || !minKnotDistance) {
|
|
2535
|
-
return points;
|
|
2536
|
-
}
|
|
2537
|
-
if (segmentSize / minKnotDistance < 2) {
|
|
2538
|
-
return points;
|
|
2539
|
-
}
|
|
2540
|
-
const interpolationIniIndex = Math.max(0, iniIndex);
|
|
2541
|
-
const interpolationEndIndex = Math.min(points.length - 1, endIndex);
|
|
2542
|
-
const segmentPointsUnchangedBeg = points.slice(0, interpolationIniIndex);
|
|
2543
|
-
const segmentPointsUnchangedEnd = points.slice(interpolationEndIndex + 1, points.length);
|
|
2544
|
-
const knotsIndexes = getContinuousUniformDistributionValues(minKnotDistance, [
|
|
2545
|
-
interpolationIniIndex,
|
|
2546
|
-
interpolationEndIndex,
|
|
2547
|
-
]);
|
|
2548
|
-
const interpolatedPoints = (0,_algorithms_bspline__WEBPACK_IMPORTED_MODULE_0__/* .interpolatePoints */ .H)(points, knotsIndexes);
|
|
2549
|
-
return [
|
|
2550
|
-
...segmentPointsUnchangedBeg,
|
|
2551
|
-
...interpolatedPoints,
|
|
2552
|
-
...segmentPointsUnchangedEnd,
|
|
2553
|
-
];
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
2505
|
/***/ }),
|
|
2558
2506
|
|
|
2559
2507
|
/***/ 27730:
|