@ohif/app 3.14.0-beta.106 → 3.14.0-beta.107
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/{8923.bundle.8b682e96.js → 1183.bundle.bb27988c.js} +36 -329
- package/dist/{1645.bundle.1a466b16.js → 1645.bundle.ca31eb2f.js} +350 -41
- package/dist/{8729.bundle.e17fe9b2.js → 1654.bundle.d6a57234.js} +277 -15
- package/dist/{204.bundle.bc44c201.js → 204.bundle.9bb87642.js} +1 -1
- package/dist/{641.bundle.8e45751e.js → 2492.bundle.29d1731e.js} +336 -2
- package/dist/{3366.bundle.d9e78e25.js → 3366.bundle.54300d70.js} +3 -3
- package/dist/{4487.bundle.fa0375a4.js → 4487.bundle.d04fb8a6.js} +11 -16
- package/dist/{4606.bundle.6c297e2a.js → 4606.bundle.6191768a.js} +2 -2
- package/dist/{8312.bundle.d67b6f4e.js → 4718.bundle.e4f1e836.js} +83 -30
- package/dist/{4998.bundle.25b8cbfe.js → 4998.bundle.93ec76dd.js} +2 -2
- package/dist/{5143.bundle.53156bb0.js → 5143.bundle.cb1a942d.js} +32 -15
- package/dist/{5154.bundle.ccd02dd7.js → 5154.bundle.7806c0de.js} +2 -2
- package/dist/{5320.bundle.c17eb4a7.js → 5320.bundle.5686617c.js} +53 -342
- package/dist/{287.bundle.ee60c370.js → 5636.bundle.d736d89a.js} +92 -50
- package/dist/{6253.bundle.a1726f1f.js → 6253.bundle.da4ecc40.js} +676 -9
- package/dist/{6314.bundle.5aadfe48.js → 6314.bundle.907b94ea.js} +132 -50
- package/dist/{6507.bundle.bbcdd01e.js → 6507.bundle.1f9bcad5.js} +2 -2
- package/dist/{6956.bundle.dc0e8660.js → 6956.bundle.3e1bfe44.js} +188 -102
- package/dist/{7526.bundle.3460c3ca.js → 7526.bundle.22fdc0bb.js} +2 -2
- package/dist/{8868.bundle.8f3653b3.js → 8868.bundle.b2dc2ccb.js} +4 -4
- package/dist/{5076.bundle.2a14756f.js → 915.bundle.48917224.js} +1 -22
- package/dist/{9187.bundle.407afa07.js → 9187.bundle.bd5c0f55.js} +2 -2
- package/dist/{9481.bundle.d045ae3a.js → 9481.bundle.df453a4a.js} +2 -2
- package/dist/{9620.bundle.b4cc392c.js → 9620.bundle.a7dbe946.js} +4 -4
- package/dist/{9889.bundle.bf312047.js → 9889.bundle.6dee52c5.js} +138 -61
- package/dist/{app.bundle.5d7c3f70.js → app.bundle.9f4c5572.js} +48 -44
- package/dist/app.bundle.css +21 -9
- package/dist/{compute.bundle.9267d449.js → compute.bundle.34155635.js} +10 -10
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.ee9998a4.js → interpolation.bundle.244cf3e9.js} +6 -6
- package/dist/{polySeg.bundle.a55f8eee.js → polySeg.bundle.58b3a681.js} +10 -10
- package/dist/sw.js +1 -1
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis["rspackChunk_ohif_app"] ||= []).push([[
|
|
1
|
+
(globalThis["rspackChunk_ohif_app"] ||= []).push([[4718], {
|
|
2
2
|
80874(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
3
3
|
"use strict";
|
|
4
4
|
/**
|
|
@@ -42289,7 +42289,7 @@ class StackViewport extends Viewport/* ["default"] */.A {
|
|
|
42289
42289
|
if (this.useCPURendering) {
|
|
42290
42290
|
throw new Error('VOI LUT function is not supported in CPU rendering');
|
|
42291
42291
|
}
|
|
42292
|
-
const newVOILUTFunction =
|
|
42292
|
+
const newVOILUTFunction = (0,buildMetadata/* .getValidVOILUTFunction */.yg)(voiLUTFunction);
|
|
42293
42293
|
let forceRecreateLUTFunction = false;
|
|
42294
42294
|
if (this.VOILUTFunction !== newVOILUTFunction) {
|
|
42295
42295
|
forceRecreateLUTFunction = true;
|
|
@@ -42501,7 +42501,7 @@ class StackViewport extends Viewport/* ["default"] */.A {
|
|
|
42501
42501
|
this._addScalingToViewport(scalingFactor);
|
|
42502
42502
|
}
|
|
42503
42503
|
this.modality = modality;
|
|
42504
|
-
const voiLUTFunctionEnum =
|
|
42504
|
+
const voiLUTFunctionEnum = (0,buildMetadata/* .getValidVOILUTFunction */.yg)(voiLUTFunction);
|
|
42505
42505
|
this.VOILUTFunction = voiLUTFunctionEnum;
|
|
42506
42506
|
this.calibration = calibration;
|
|
42507
42507
|
let imagePlaneModule = this._getImagePlaneModule(imageId);
|
|
@@ -43202,12 +43202,6 @@ class StackViewport extends Viewport/* ["default"] */.A {
|
|
|
43202
43202
|
const { windowCenter, windowWidth, voiLUTFunction } = this.csImage;
|
|
43203
43203
|
return (0,getVOIRangeFromWindowLevel/* ["default"] */.A)(windowWidth, windowCenter, voiLUTFunction);
|
|
43204
43204
|
}
|
|
43205
|
-
_getValidVOILUTFunction(voiLUTFunction) {
|
|
43206
|
-
if (!Object.values(enums.VOILUTFunctionType).includes(voiLUTFunction)) {
|
|
43207
|
-
return enums.VOILUTFunctionType.LINEAR;
|
|
43208
|
-
}
|
|
43209
|
-
return voiLUTFunction;
|
|
43210
|
-
}
|
|
43211
43205
|
getSliceInfo() {
|
|
43212
43206
|
const sliceIndex = this.getSliceIndex();
|
|
43213
43207
|
const { dimensions } = this.getImageData();
|
|
@@ -44168,7 +44162,10 @@ class WebGLContextPool {
|
|
|
44168
44162
|
this.contextMaxSizes = new Map();
|
|
44169
44163
|
for (let i = 0; i < count; i++) {
|
|
44170
44164
|
const offscreenMultiRenderWindow = _vtkClasses_index_js__rspack_import_0/* .vtkOffscreenMultiRenderWindow.newInstance */.Ig.newInstance();
|
|
44171
|
-
const container = document.createElement('div')
|
|
44165
|
+
const container = Object.assign(document.createElement('div'), {
|
|
44166
|
+
width: 0,
|
|
44167
|
+
height: 0,
|
|
44168
|
+
});
|
|
44172
44169
|
offscreenMultiRenderWindow.setContainer(container);
|
|
44173
44170
|
(0,_helpers_attachWebGLContextEvents_js__rspack_import_1/* .attachWebGLContextEvents */.V)(offscreenMultiRenderWindow, renderingEngineId, i);
|
|
44174
44171
|
this.contexts.push(offscreenMultiRenderWindow);
|
|
@@ -46342,12 +46339,14 @@ function buildViewportFidelityState(lines, displaySpacing) {
|
|
|
46342
46339
|
loading,
|
|
46343
46340
|
lod,
|
|
46344
46341
|
missingFrames: !line.qualityPending && record?.missing > 0,
|
|
46342
|
+
displayIssue: !!line.issues?.length,
|
|
46345
46343
|
})
|
|
46346
46344
|
: undefined,
|
|
46347
46345
|
transient: lossy ? loading || lod : undefined,
|
|
46348
46346
|
progressive: progressiveOf(line),
|
|
46349
46347
|
shownState,
|
|
46350
46348
|
lossy,
|
|
46349
|
+
issues: issuesOf(lines),
|
|
46351
46350
|
};
|
|
46352
46351
|
return state;
|
|
46353
46352
|
}
|
|
@@ -46365,6 +46364,7 @@ function emptyState(displaySpacing) {
|
|
|
46365
46364
|
progressive: undefined,
|
|
46366
46365
|
shownState: 'hidden',
|
|
46367
46366
|
lossy: false,
|
|
46367
|
+
issues: undefined,
|
|
46368
46368
|
};
|
|
46369
46369
|
}
|
|
46370
46370
|
function worstLineOf(lines) {
|
|
@@ -46383,6 +46383,15 @@ function worstLineOf(lines) {
|
|
|
46383
46383
|
}
|
|
46384
46384
|
return worst;
|
|
46385
46385
|
}
|
|
46386
|
+
function issuesOf(lines) {
|
|
46387
|
+
const issues = new Map();
|
|
46388
|
+
for (const line of lines) {
|
|
46389
|
+
if ((0,_fidelityIndicatorState_js__rspack_import_2/* .lineHasData */.lM)(line)) {
|
|
46390
|
+
line.issues?.forEach((issue) => issues.set(issue.message, issue));
|
|
46391
|
+
}
|
|
46392
|
+
}
|
|
46393
|
+
return issues.size ? [...issues.values()] : undefined;
|
|
46394
|
+
}
|
|
46386
46395
|
function progressiveOf(line) {
|
|
46387
46396
|
const { record, imageQualityStatus } = line;
|
|
46388
46397
|
if (record) {
|
|
@@ -46405,7 +46414,7 @@ function progressiveOf(line) {
|
|
|
46405
46414
|
return undefined;
|
|
46406
46415
|
}
|
|
46407
46416
|
function causeOf(args) {
|
|
46408
|
-
const { record, imageQualityStatus, reductionCause, spatiallyReduced, standingSample, loading, lod, missingFrames, } = args;
|
|
46417
|
+
const { record, imageQualityStatus, reductionCause, spatiallyReduced, standingSample, loading, lod, missingFrames, displayIssue, } = args;
|
|
46409
46418
|
if (loading) {
|
|
46410
46419
|
return 'incompleteLoad';
|
|
46411
46420
|
}
|
|
@@ -46425,7 +46434,10 @@ function causeOf(args) {
|
|
|
46425
46434
|
delivered >= _enums_ImageQualityStatus_js__rspack_import_0/* ["default"].SUBRESOLUTION */.A.SUBRESOLUTION) {
|
|
46426
46435
|
return 'lossyDecode';
|
|
46427
46436
|
}
|
|
46428
|
-
|
|
46437
|
+
if (standingSample && !spatial) {
|
|
46438
|
+
return 'performanceTarget';
|
|
46439
|
+
}
|
|
46440
|
+
return displayIssue ? 'displayIssue' : undefined;
|
|
46429
46441
|
}
|
|
46430
46442
|
function viewportFidelityStateKey(state) {
|
|
46431
46443
|
return JSON.stringify({
|
|
@@ -46438,6 +46450,7 @@ function viewportFidelityStateKey(state) {
|
|
|
46438
46450
|
cause: state.cause,
|
|
46439
46451
|
transient: state.transient,
|
|
46440
46452
|
progressive: state.lossy ? state.progressive : undefined,
|
|
46453
|
+
issues: state.issues,
|
|
46441
46454
|
});
|
|
46442
46455
|
}
|
|
46443
46456
|
|
|
@@ -46460,7 +46473,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
46460
46473
|
/* import */ var _utilities_gpuSettingsPresets_js__rspack_import_7 = __webpack_require__(701);
|
|
46461
46474
|
/* import */ var _displaySpacingOfViewport_js__rspack_import_8 = __webpack_require__(42704);
|
|
46462
46475
|
/* import */ var _isLabelmapActorEntry_js__rspack_import_9 = __webpack_require__(12915);
|
|
46463
|
-
/* import */ var
|
|
46476
|
+
/* import */ var _fidelityIssues_js__rspack_import_10 = __webpack_require__(68718);
|
|
46477
|
+
/* import */ var _fidelityIndicatorState_js__rspack_import_11 = __webpack_require__(56196);
|
|
46478
|
+
|
|
46464
46479
|
|
|
46465
46480
|
|
|
46466
46481
|
|
|
@@ -46484,14 +46499,15 @@ function fidelityLinesFromBindings(display, sources) {
|
|
|
46484
46499
|
...fidelityLineFromImageQuality(source.imageQualityStatus, source.qualityPending),
|
|
46485
46500
|
label: source.label ?? 'Image',
|
|
46486
46501
|
interactiveReduction: source.interactiveReduction,
|
|
46502
|
+
issues: source.issues,
|
|
46487
46503
|
});
|
|
46488
46504
|
}
|
|
46489
46505
|
continue;
|
|
46490
46506
|
}
|
|
46491
46507
|
const { record } = source;
|
|
46492
46508
|
const fullGrid = source.fullGrid ?? record.grid;
|
|
46493
|
-
const reductionFactors = (0,
|
|
46494
|
-
const fullResolution = !(0,
|
|
46509
|
+
const reductionFactors = (0,_fidelityIndicatorState_js__rspack_import_11/* .reductionFactorsOf */.JH)(record.grid, fullGrid);
|
|
46510
|
+
const fullResolution = !(0,_fidelityIndicatorState_js__rspack_import_11/* .isReduced */.H3)(reductionFactors);
|
|
46495
46511
|
const displaySpacing = display
|
|
46496
46512
|
? (0,_displaySpacingOfViewport_js__rspack_import_8/* .displaySpacingForGrid */.lC)(display, record.grid, fullGrid)
|
|
46497
46513
|
: undefined;
|
|
@@ -46510,6 +46526,7 @@ function fidelityLinesFromBindings(display, sources) {
|
|
|
46510
46526
|
interactiveReduction: source.interactiveReduction,
|
|
46511
46527
|
qualityPending: source.qualityPending,
|
|
46512
46528
|
reductionCause: source.reductionCause,
|
|
46529
|
+
issues: source.issues,
|
|
46513
46530
|
});
|
|
46514
46531
|
}
|
|
46515
46532
|
return lines;
|
|
@@ -46543,8 +46560,8 @@ function fidelityLinesFromVolumeActors(viewport, records = new Map()) {
|
|
|
46543
46560
|
};
|
|
46544
46561
|
records.set(id, cached);
|
|
46545
46562
|
}
|
|
46546
|
-
const reductionFactors = (0,
|
|
46547
|
-
const fullResolution = !(0,
|
|
46563
|
+
const reductionFactors = (0,_fidelityIndicatorState_js__rspack_import_11/* .reductionFactorsOf */.JH)(grid, fullGrid);
|
|
46564
|
+
const fullResolution = !(0,_fidelityIndicatorState_js__rspack_import_11/* .isReduced */.H3)(reductionFactors);
|
|
46548
46565
|
const record = cached.record;
|
|
46549
46566
|
const sampleDistance = volume3D
|
|
46550
46567
|
? (0,_createVolumeMapper_js__rspack_import_4/* .sampleDistanceRatiosOf */.nr)(mapper)
|
|
@@ -46568,6 +46585,7 @@ function fidelityLinesFromVolumeActors(viewport, records = new Map()) {
|
|
|
46568
46585
|
reductionCause: fullResolution
|
|
46569
46586
|
? undefined
|
|
46570
46587
|
: (0,_volumeRenderStrategy_js__rspack_import_5/* .reductionCauseOf */.wH)(volume, (0,_utilities_gpuSettingsPresets_js__rspack_import_7/* .gpuSettingsForRender */.je)()),
|
|
46588
|
+
issues: (0,_fidelityIssues_js__rspack_import_10/* .fidelityIssuesOfVolume */.MZ)(volume),
|
|
46571
46589
|
});
|
|
46572
46590
|
}
|
|
46573
46591
|
return lines;
|
|
@@ -46591,7 +46609,10 @@ function fidelityLineFromStackImage(image) {
|
|
|
46591
46609
|
return [];
|
|
46592
46610
|
}
|
|
46593
46611
|
return [
|
|
46594
|
-
|
|
46612
|
+
{
|
|
46613
|
+
...fidelityLineFromImageQuality(imageQualityStatusOf(image), image.imageQualityPending),
|
|
46614
|
+
issues: (0,_fidelityIssues_js__rspack_import_10/* .fidelityIssuesOfImage */.nM)(image),
|
|
46615
|
+
},
|
|
46595
46616
|
];
|
|
46596
46617
|
}
|
|
46597
46618
|
function imageQualityStatusOf(image) {
|
|
@@ -46713,6 +46734,7 @@ function fidelityDetailsTextOf(state, lines) {
|
|
|
46713
46734
|
if (multi.length > 1) {
|
|
46714
46735
|
parts.push(multi.join(', '));
|
|
46715
46736
|
}
|
|
46737
|
+
parts.push(...(state.issues ?? []).map((issue) => issue.message));
|
|
46716
46738
|
switch (state.cause) {
|
|
46717
46739
|
case 'incompleteLoad':
|
|
46718
46740
|
parts.push('Image is still loading.');
|
|
@@ -46745,6 +46767,9 @@ function fidelityDetailsTextOf(state, lines) {
|
|
|
46745
46767
|
parts.push(...magnitudeLines(state.magnitude));
|
|
46746
46768
|
parts.push('Waiting will not improve the image.');
|
|
46747
46769
|
break;
|
|
46770
|
+
case 'displayIssue':
|
|
46771
|
+
parts.push('Waiting will not improve the image.');
|
|
46772
|
+
break;
|
|
46748
46773
|
case 'memoryBudget':
|
|
46749
46774
|
parts.push('Image detail is reduced to fit the available memory.');
|
|
46750
46775
|
parts.push(...magnitudeLines(state.magnitude));
|
|
@@ -46849,6 +46874,9 @@ function shownStateOf(lines) {
|
|
|
46849
46874
|
}
|
|
46850
46875
|
function dataKindOf(line) {
|
|
46851
46876
|
const { record, imageQualityStatus, qualityPending } = line;
|
|
46877
|
+
if (line.issues?.length) {
|
|
46878
|
+
return 'reduced';
|
|
46879
|
+
}
|
|
46852
46880
|
if (!record) {
|
|
46853
46881
|
return imageQualityStatus !== undefined
|
|
46854
46882
|
? dataKindOfImageQuality(imageQualityStatus, qualityPending)
|
|
@@ -54820,6 +54848,9 @@ class Cache {
|
|
|
54820
54848
|
};
|
|
54821
54849
|
this.isCacheable = (byteLength) => {
|
|
54822
54850
|
const bytesAvailable = this.getBytesAvailable();
|
|
54851
|
+
if (bytesAvailable >= byteLength) {
|
|
54852
|
+
return true;
|
|
54853
|
+
}
|
|
54823
54854
|
const purgableImageBytes = Array.from(this._imageCache.values()).reduce((total, image) => {
|
|
54824
54855
|
if (!image.sharedCacheKey) {
|
|
54825
54856
|
return total + image.sizeInBytes;
|
|
@@ -55169,6 +55200,11 @@ class Cache {
|
|
|
55169
55200
|
throw new Error('_putImageCommon: image.sizeInBytes is not a number');
|
|
55170
55201
|
}
|
|
55171
55202
|
if (!this.isCacheable(image.sizeInBytes)) {
|
|
55203
|
+
const eventDetails = {
|
|
55204
|
+
imageId,
|
|
55205
|
+
sizeInBytes: image.sizeInBytes,
|
|
55206
|
+
};
|
|
55207
|
+
(0,_utilities_triggerEvent_js__rspack_import_0/* ["default"] */.A)(_eventTarget_js__rspack_import_2/* ["default"] */.A, _enums_Events_js__rspack_import_3/* ["default"].CACHE_SIZE_EXCEEDED */.A.CACHE_SIZE_EXCEEDED, eventDetails);
|
|
55172
55208
|
throw new Error(_enums_Events_js__rspack_import_3/* ["default"].CACHE_SIZE_EXCEEDED */.A.CACHE_SIZE_EXCEEDED);
|
|
55173
55209
|
}
|
|
55174
55210
|
this.decacheIfNecessaryUntilBytesAvailable(image.sizeInBytes);
|
|
@@ -55221,16 +55257,20 @@ class Cache {
|
|
|
55221
55257
|
this._putImageCommon(imageId, image, cachedImage);
|
|
55222
55258
|
}
|
|
55223
55259
|
catch (error) {
|
|
55224
|
-
log.
|
|
55225
|
-
|
|
55260
|
+
log.warn(`Error in _putImageCommon for image ${imageId}:`, error);
|
|
55261
|
+
this._removeImageEntryIfCurrent(imageId, cachedImage);
|
|
55226
55262
|
}
|
|
55227
55263
|
})
|
|
55228
55264
|
.catch((error) => {
|
|
55229
55265
|
log.debug(`Error caching image ${imageId}:`, error);
|
|
55230
|
-
this.
|
|
55231
|
-
throw error;
|
|
55266
|
+
this._removeImageEntryIfCurrent(imageId, cachedImage);
|
|
55232
55267
|
});
|
|
55233
55268
|
}
|
|
55269
|
+
_removeImageEntryIfCurrent(imageId, cachedImage) {
|
|
55270
|
+
if (this._imageCache.get(imageId) === cachedImage) {
|
|
55271
|
+
this._imageCache.delete(imageId);
|
|
55272
|
+
}
|
|
55273
|
+
}
|
|
55234
55274
|
putImageSync(imageId, image) {
|
|
55235
55275
|
if (imageId === undefined) {
|
|
55236
55276
|
throw new Error('putImageSync: imageId must not be undefined');
|
|
@@ -55253,7 +55293,7 @@ class Cache {
|
|
|
55253
55293
|
this._putImageCommon(imageId, image, cachedImage);
|
|
55254
55294
|
}
|
|
55255
55295
|
catch (error) {
|
|
55256
|
-
this.
|
|
55296
|
+
this._removeImageEntryIfCurrent(imageId, cachedImage);
|
|
55257
55297
|
throw error;
|
|
55258
55298
|
}
|
|
55259
55299
|
}
|
|
@@ -55380,12 +55420,10 @@ class Cache {
|
|
|
55380
55420
|
catch (error) {
|
|
55381
55421
|
log.error(`Error in _putVolumeCommon for volume ${volumeId}:`, error);
|
|
55382
55422
|
this._volumeCache.delete(volumeId);
|
|
55383
|
-
throw error;
|
|
55384
55423
|
}
|
|
55385
55424
|
})
|
|
55386
|
-
.catch((
|
|
55425
|
+
.catch(() => {
|
|
55387
55426
|
this._volumeCache.delete(volumeId);
|
|
55388
|
-
throw error;
|
|
55389
55427
|
});
|
|
55390
55428
|
}
|
|
55391
55429
|
_putGeometryCommon(geometryId, geometry, cachedGeometry) {
|
|
@@ -60740,6 +60778,18 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
60740
60778
|
});
|
|
60741
60779
|
|
|
60742
60780
|
|
|
60781
|
+
},
|
|
60782
|
+
22779(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
60783
|
+
"use strict";
|
|
60784
|
+
/* import */ var _cornerstonejs_utils__rspack_import_0 = __webpack_require__(20325);
|
|
60785
|
+
|
|
60786
|
+
|
|
60787
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
60788
|
+
_: () => (/* reexport safe */ _cornerstonejs_utils__rspack_import_0._j),
|
|
60789
|
+
m: () => (/* reexport safe */ _cornerstonejs_utils__rspack_import_0.mm)
|
|
60790
|
+
});
|
|
60791
|
+
|
|
60792
|
+
|
|
60743
60793
|
},
|
|
60744
60794
|
38795(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
60745
60795
|
"use strict";
|
|
@@ -60865,7 +60915,8 @@ function buildMetadata(image) {
|
|
|
60865
60915
|
|
|
60866
60916
|
__webpack_require__.d(__webpack_exports__, {
|
|
60867
60917
|
KP: () => (buildMetadata),
|
|
60868
|
-
SJ: () => (getImagePlaneModule)
|
|
60918
|
+
SJ: () => (getImagePlaneModule),
|
|
60919
|
+
yg: () => (getValidVOILUTFunction)
|
|
60869
60920
|
});
|
|
60870
60921
|
|
|
60871
60922
|
|
|
@@ -61924,6 +61975,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61924
61975
|
"use strict";
|
|
61925
61976
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
61926
61977
|
/* import */ var _windowLevel_js__rspack_import_1 = __webpack_require__(30344);
|
|
61978
|
+
/* import */ var _buildMetadata_js__rspack_import_2 = __webpack_require__(15499);
|
|
61979
|
+
|
|
61927
61980
|
|
|
61928
61981
|
|
|
61929
61982
|
function getVOIRangeFromWindowLevel(windowWidth, windowCenter, voiLUTFunction = _enums_index_js__rspack_import_0.VOILUTFunctionType.LINEAR) {
|
|
@@ -61940,7 +61993,7 @@ function getVOIRangeFromWindowLevel(windowWidth, windowCenter, voiLUTFunction =
|
|
|
61940
61993
|
if (center === undefined || width === undefined) {
|
|
61941
61994
|
return;
|
|
61942
61995
|
}
|
|
61943
|
-
return (0,_windowLevel_js__rspack_import_1.toLowHighRange)(width, center, voiLUTFunction);
|
|
61996
|
+
return (0,_windowLevel_js__rspack_import_1.toLowHighRange)(width, center, (0,_buildMetadata_js__rspack_import_2/* .getValidVOILUTFunction */.yg)(voiLUTFunction));
|
|
61944
61997
|
}
|
|
61945
61998
|
|
|
61946
61999
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -66278,7 +66331,7 @@ const moduleDefinitions = [
|
|
|
66278
66331
|
},
|
|
66279
66332
|
24671() {
|
|
66280
66333
|
"use strict";
|
|
66281
|
-
const version = '5.
|
|
66334
|
+
const version = '5.19.7';
|
|
66282
66335
|
|
|
66283
66336
|
|
|
66284
66337
|
},
|
|
@@ -66381,7 +66434,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
66381
66434
|
},
|
|
66382
66435
|
88253() {
|
|
66383
66436
|
"use strict";
|
|
66384
|
-
const version = '5.
|
|
66437
|
+
const version = '5.19.7';
|
|
66385
66438
|
|
|
66386
66439
|
|
|
66387
66440
|
},
|
|
@@ -25,8 +25,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-pdf`;
|
|
|
25
25
|
|
|
26
26
|
// EXTERNAL MODULE: ../core/src/index.ts + 76 modules
|
|
27
27
|
var src = __webpack_require__(34142);
|
|
28
|
-
// EXTERNAL MODULE: ../i18n/src/index.js +
|
|
29
|
-
var i18n_src = __webpack_require__(
|
|
28
|
+
// EXTERNAL MODULE: ../i18n/src/index.js + 288 modules
|
|
29
|
+
var i18n_src = __webpack_require__(54887);
|
|
30
30
|
;// CONCATENATED MODULE: ../../extensions/dicom-pdf/src/utils/displayableDocumentTypes.ts
|
|
31
31
|
/**
|
|
32
32
|
* The set of encapsulated-document MIME types this extension is willing to put
|
|
@@ -2454,7 +2454,7 @@ class TiledRenderingEngine extends _BaseRenderingEngine_js__rspack_import_0/* ["
|
|
|
2454
2454
|
if (!this.offscreenMultiRenderWindow) {
|
|
2455
2455
|
this.offscreenMultiRenderWindow =
|
|
2456
2456
|
_vtkClasses_index_js__rspack_import_7/* .vtkOffscreenMultiRenderWindow.newInstance */.Ig.newInstance();
|
|
2457
|
-
this.offScreenCanvasContainer = document.createElement('div');
|
|
2457
|
+
this.offScreenCanvasContainer = Object.assign(document.createElement('div'), { width: 0, height: 0 });
|
|
2458
2458
|
this.offscreenMultiRenderWindow.setContainer(this.offScreenCanvasContainer);
|
|
2459
2459
|
(0,_helpers_attachWebGLContextEvents_js__rspack_import_8/* .attachWebGLContextEvents */.V)(this.offscreenMultiRenderWindow, this.id);
|
|
2460
2460
|
}
|
|
@@ -3205,6 +3205,27 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3205
3205
|
});
|
|
3206
3206
|
|
|
3207
3207
|
|
|
3208
|
+
},
|
|
3209
|
+
61048(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
3210
|
+
/* import */ var _cache_js__rspack_import_0 = __webpack_require__(73998);
|
|
3211
|
+
/* import */ var _classes_ImageVolume_js__rspack_import_1 = __webpack_require__(19564);
|
|
3212
|
+
/* import */ var _classes_Surface_js__rspack_import_2 = __webpack_require__(34136);
|
|
3213
|
+
/* import */ var _classes_Mesh_js__rspack_import_3 = __webpack_require__(99931);
|
|
3214
|
+
/* import */ var _classes_StreamingImageVolume_js__rspack_import_4 = __webpack_require__(40676);
|
|
3215
|
+
/* import */ var _classes_StreamingDynamicImageVolume_js__rspack_import_5 = __webpack_require__(32855);
|
|
3216
|
+
/* import */ var _volumeTextureStore_js__rspack_import_6 = __webpack_require__(82340);
|
|
3217
|
+
/* import */ var _classes_VolumeTextureSet_js__rspack_import_7 = __webpack_require__(97896);
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
|
|
3208
3229
|
},
|
|
3209
3230
|
85387(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
3210
3231
|
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(16080);
|
|
@@ -5828,6 +5849,12 @@ class VoxelManager {
|
|
|
5828
5849
|
voxelManager.getCompleteScalarDataArray = () => {
|
|
5829
5850
|
return voxelGroups[activeDimensionGroup].getCompleteScalarDataArray();
|
|
5830
5851
|
};
|
|
5852
|
+
voxelManager.setCompleteScalarDataArray = (scalarData) => {
|
|
5853
|
+
voxelGroups[activeDimensionGroup].setCompleteScalarDataArray(scalarData);
|
|
5854
|
+
};
|
|
5855
|
+
voxelManager.invalidateCache = () => {
|
|
5856
|
+
voxelGroups[activeDimensionGroup].invalidateCache?.();
|
|
5857
|
+
};
|
|
5831
5858
|
voxelManager.getCurrentTimePoint = () => {
|
|
5832
5859
|
log.warn('Warning: getCurrentTimePoint is deprecated. Please use getCurrentDimensionGroupNumber instead. Note that timePoint is zero-based while dimensionGroupNumber starts at 1.');
|
|
5833
5860
|
return activeDimensionGroup;
|
|
@@ -6160,16 +6187,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6160
6187
|
});
|
|
6161
6188
|
|
|
6162
6189
|
|
|
6163
|
-
},
|
|
6164
|
-
22779(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6165
|
-
/* import */ var _cornerstonejs_utils__rspack_import_0 = __webpack_require__(20325);
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
6169
|
-
_: () => (/* reexport safe */ _cornerstonejs_utils__rspack_import_0._j)
|
|
6170
|
-
});
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
6190
|
},
|
|
6174
6191
|
69123() {
|
|
6175
6192
|
function calculateNeighborhoodStats(scalarData, dimensions, centerIjk, radius) {
|
|
@@ -6229,10 +6246,10 @@ function calculateNeighborhoodStats(scalarData, dimensions, centerIjk, radius) {
|
|
|
6229
6246
|
const log = _logger_js__rspack_import_3.coreLog.getLogger('utilities', 'calculateViewportsSpatialRegistration');
|
|
6230
6247
|
const ALLOWED_DELTA = 0.05;
|
|
6231
6248
|
function calculateViewportsSpatialRegistration(viewport1, viewport2) {
|
|
6232
|
-
const imageId1 = viewport1.
|
|
6233
|
-
const imageId2 = viewport2.
|
|
6234
|
-
const imagePlaneModule1 = get('imagePlaneModule', imageId1
|
|
6235
|
-
const imagePlaneModule2 = get('imagePlaneModule', imageId2
|
|
6249
|
+
const imageId1 = viewport1.getCurrentImageId();
|
|
6250
|
+
const imageId2 = viewport2.getCurrentImageId();
|
|
6251
|
+
const imagePlaneModule1 = get('imagePlaneModule', imageId1);
|
|
6252
|
+
const imagePlaneModule2 = get('imagePlaneModule', imageId2);
|
|
6236
6253
|
if (!imagePlaneModule1 || !imagePlaneModule2) {
|
|
6237
6254
|
log.info('Viewport spatial registration requires image plane module');
|
|
6238
6255
|
return;
|
|
@@ -19,8 +19,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-video`;
|
|
|
19
19
|
|
|
20
20
|
// EXTERNAL MODULE: ../core/src/index.ts + 76 modules
|
|
21
21
|
var src = __webpack_require__(34142);
|
|
22
|
-
// EXTERNAL MODULE: ../i18n/src/index.js +
|
|
23
|
-
var i18n_src = __webpack_require__(
|
|
22
|
+
// EXTERNAL MODULE: ../i18n/src/index.js + 288 modules
|
|
23
|
+
var i18n_src = __webpack_require__(54887);
|
|
24
24
|
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/index.js
|
|
25
25
|
var esm = __webpack_require__(62721);
|
|
26
26
|
;// CONCATENATED MODULE: ../../extensions/dicom-video/src/getSopClassHandlerModule.js
|