@ohif/app 3.13.0-beta.73 → 3.13.0-beta.75
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/{2075.bundle.23265b8e7597c398db4f.js → 2075.bundle.ba9ac60662f1fa739378.js} +10 -5
- package/dist/{2851.bundle.ee2f7849e0e3abe6b18b.js → 2851.bundle.e3b829ca4c54f03f1108.js} +2 -2
- package/dist/{4287.bundle.b7840e7b94cbbc102236.js → 4287.bundle.4f28e48c1e39a46dfc87.js} +4 -1
- package/dist/{4579.bundle.0a6b2f49a7e136a79e37.js → 4579.bundle.1c315389368cc476aed3.js} +910 -1262
- package/dist/{6386.bundle.5d82d1f41d1c37a0358d.js → 6386.bundle.dc7e3b159d6b4733647f.js} +21 -4
- package/dist/{7537.bundle.889ba5f2707418c6fd88.js → 7537.bundle.88314e5a6269f96a0bae.js} +11 -13
- package/dist/{9039.bundle.f72736f47fedeff521e2.js → 9039.bundle.f5db80328c99cd11293b.js} +38 -24
- package/dist/{9205.bundle.ed7bce8436a7a431955e.js → 9205.bundle.f2121894550d46d17398.js} +29 -20
- package/dist/{app.bundle.c14d174da16fb4a07aba.js → app.bundle.b5d3bfc6bf7b26dd9c8f.js} +27 -23
- package/dist/{compute.bundle.b7c2ea55f1a69f4a736b.js → compute.bundle.5e9691bc58308d865058.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.e1f6f05d81ea1352bef3.js → polySeg.bundle.c394421c24d8c27d54ca.js} +1 -1
- package/dist/sw.js +1 -1
- package/package.json +21 -21
- /package/dist/{1459.bundle.28cd3b55972b11303420.js → 1459.bundle.307b1d992b10a412ccaf.js} +0 -0
- /package/dist/{1933.bundle.3f98e19edf06b69d3687.js → 1933.bundle.7958eca620bd3092d3b6.js} +0 -0
- /package/dist/{2018.bundle.c3b46f56c341fe37fded.js → 2018.bundle.ab1933fd53b1e7b6dfcd.js} +0 -0
- /package/dist/{213.bundle.90dcfa54d01e28892f6c.js → 213.bundle.2b6cefeb87db0378706e.js} +0 -0
- /package/dist/{2424.bundle.f90f2b2792c1255e0f6c.js → 2424.bundle.458254eefb5424770857.js} +0 -0
- /package/dist/{3138.bundle.c0dd0298684b226053da.js → 3138.bundle.34c26967c4194ff641b7.js} +0 -0
- /package/dist/{3461.bundle.983ca96ba97f3ece12f2.js → 3461.bundle.73daa7b70ec099846302.js} +0 -0
- /package/dist/{3754.bundle.fd4b67c2a29c4bc4a840.js → 3754.bundle.d2435bb372912595708c.js} +0 -0
- /package/dist/{4507.bundle.76e52982f55510249c71.js → 4507.bundle.26958dc36e5d19f54908.js} +0 -0
- /package/dist/{4819.bundle.e36f68bdee62cc1a26ae.js → 4819.bundle.46c39f9d976924f808b4.js} +0 -0
- /package/dist/{5015.bundle.bd6087878b03f26aaef9.js → 5015.bundle.ff4f5033218290f06c83.js} +0 -0
- /package/dist/{5028.bundle.a6995c6c20a10093c900.js → 5028.bundle.614a39b9b5b6fda9809f.js} +0 -0
- /package/dist/{5457.bundle.46be634f610e7bebd7b2.js → 5457.bundle.33a9a2ccbc4cf8b52fdb.js} +0 -0
- /package/dist/{5485.bundle.628cd9ccb8375d9789a1.js → 5485.bundle.c8add9363816b19b569b.js} +0 -0
- /package/dist/{5802.bundle.26f84db0ff8851532c36.js → 5802.bundle.cd36386cbe1613913ed4.js} +0 -0
- /package/dist/{6027.bundle.6eb104c7fdfdb5bcbb82.js → 6027.bundle.5a63cda4a330534b47e7.js} +0 -0
- /package/dist/{7166.bundle.710ba651cb1f3506fe3a.js → 7166.bundle.769f582d28bc0ded97c0.js} +0 -0
- /package/dist/{7431.bundle.5e14641f2c71e852abe7.js → 7431.bundle.a9b4dbf97a8c196efe51.js} +0 -0
- /package/dist/{7639.bundle.a5547b93d4cfc476ae8c.js → 7639.bundle.0661f010d95ecc5754a9.js} +0 -0
- /package/dist/{8305.bundle.90eb611faadcf01e0fba.js → 8305.bundle.5f9d97c20ec058506cd4.js} +0 -0
- /package/dist/{8499.bundle.2ef2aaa2c7e8bec90fb4.js → 8499.bundle.766e8a98ec82e06e83bf.js} +0 -0
- /package/dist/{85.bundle.cb21cc4ac372f3ccdee2.js → 85.bundle.ca66aa5f6357064e3a2c.js} +0 -0
- /package/dist/{8558.bundle.9ba5d407c3193c64a137.js → 8558.bundle.fa25b02ff0d177dced95.js} +0 -0
- /package/dist/{8583.bundle.7d2b3de0d80727f7069c.js → 8583.bundle.dc2a92d16cca059212f6.js} +0 -0
- /package/dist/{9862.bundle.a5f7925840868fa4ecdb.js → 9862.bundle.6d793a997f85d73002e9.js} +0 -0
- /package/dist/{9927.bundle.9a6bd446032e9fbe5aa4.js → 9927.bundle.152d699dc13ef046f16c.js} +0 -0
|
@@ -1045,7 +1045,7 @@ class PlanarFreehandROITool extends _base_ContourSegmentationBaseTool__WEBPACK_I
|
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
updateClosedCachedStats({ viewport, points, imageData, metadata, cachedStats, targetId, modalityUnit, canvasCoordinates, calibratedScale, deltaInX, deltaInY, }) {
|
|
1048
|
-
const {
|
|
1048
|
+
const { areaUnit, unit } = calibratedScale;
|
|
1049
1049
|
const { voxelManager } = viewport.getImageData();
|
|
1050
1050
|
const indexPoints = points.map((point) => imageData.worldToIndex(point));
|
|
1051
1051
|
let iMin = Number.MAX_SAFE_INTEGER;
|
|
@@ -1063,8 +1063,7 @@ class PlanarFreehandROITool extends _base_ContourSegmentationBaseTool__WEBPACK_I
|
|
|
1063
1063
|
kMin = Math.min(kMin, worldPosIndex[2]);
|
|
1064
1064
|
kMax = Math.max(kMax, worldPosIndex[2]);
|
|
1065
1065
|
}
|
|
1066
|
-
|
|
1067
|
-
area *= deltaInX * deltaInY;
|
|
1066
|
+
const area = _utilities_math__WEBPACK_IMPORTED_MODULE_3__.polyline.getArea(canvasCoordinates) * deltaInX * deltaInY;
|
|
1068
1067
|
const perimeter = PlanarFreehandROITool.calculateLengthInIndex(calibratedScale, indexPoints, closed);
|
|
1069
1068
|
const iDelta = 0.01 * (iMax - iMin);
|
|
1070
1069
|
const jDelta = 0.01 * (jMax - jMin);
|
|
@@ -1685,8 +1684,14 @@ class RectangleROITool extends _base__WEBPACK_IMPORTED_MODULE_0__/* .AnnotationT
|
|
|
1685
1684
|
];
|
|
1686
1685
|
const handles = [pos1Index, pos2Index];
|
|
1687
1686
|
const calibrate = (0,_utilities_getCalibratedUnits__WEBPACK_IMPORTED_MODULE_3__/* .getCalibratedLengthUnitsAndScale */ .Op)(image, handles);
|
|
1688
|
-
const width = RectangleROITool.calculateLengthInIndex(calibrate,
|
|
1689
|
-
|
|
1687
|
+
const width = RectangleROITool.calculateLengthInIndex(calibrate, [
|
|
1688
|
+
indexHandles[0],
|
|
1689
|
+
indexHandles[1],
|
|
1690
|
+
]);
|
|
1691
|
+
const height = RectangleROITool.calculateLengthInIndex(calibrate, [
|
|
1692
|
+
indexHandles[0],
|
|
1693
|
+
indexHandles[2],
|
|
1694
|
+
]);
|
|
1690
1695
|
const area = Math.abs(width * height);
|
|
1691
1696
|
const { areaUnit } = calibrate;
|
|
1692
1697
|
const pixelUnitsOptions = {
|
|
@@ -10614,8 +10614,8 @@ function AboutModalDefault() {
|
|
|
10614
10614
|
name
|
|
10615
10615
|
} = (0,browser_detect_es5/* default */.A)();
|
|
10616
10616
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
10617
|
-
const versionNumber = "3.13.0-beta.
|
|
10618
|
-
const commitHash = "
|
|
10617
|
+
const versionNumber = "3.13.0-beta.75";
|
|
10618
|
+
const commitHash = "fe16e80cf3cd90d082729227af6edc0eedd66501";
|
|
10619
10619
|
const [main, beta] = versionNumber.split('-');
|
|
10620
10620
|
return /*#__PURE__*/react.createElement(ui_next_src/* AboutModal */.VTU, {
|
|
10621
10621
|
className: "w-[400px]"
|
|
@@ -2754,7 +2754,10 @@ function getDefaultLabelmapStyle() {
|
|
|
2754
2754
|
function removeLabelmapFromElement(element, segmentationId) {
|
|
2755
2755
|
const enabledElement = (0,_cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__.getEnabledElement)(element);
|
|
2756
2756
|
const { viewport } = enabledElement;
|
|
2757
|
-
|
|
2757
|
+
const actorEntries = (0,_stateManagement_segmentation_helpers_getSegmentationActor__WEBPACK_IMPORTED_MODULE_1__/* .getLabelmapActorEntries */ .ED)(viewport.id, segmentationId);
|
|
2758
|
+
if (actorEntries?.length) {
|
|
2759
|
+
viewport.removeActors(actorEntries.map((entry) => entry.uid));
|
|
2760
|
+
}
|
|
2758
2761
|
}
|
|
2759
2762
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (removeLabelmapFromElement);
|
|
2760
2763
|
|