@ohif/app 3.14.0-beta.97 → 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.9b473339.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.12bfd0b7.js → app.bundle.bb359653.js} +1953 -1245
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(globalThis["rspackChunk_ohif_app"] ||= []).push([[1153], {
|
|
2
|
-
85631(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
3
1
|
"use strict";
|
|
2
|
+
(globalThis["rspackChunk_ohif_app"] ||= []).push([[6314], {
|
|
3
|
+
85631(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
4
|
/* provided dependency */ var Buffer = __webpack_require__(1048).hp;
|
|
5
5
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof self !== 'undefined' ? self : {};
|
|
6
6
|
|
|
@@ -28125,130 +28125,48 @@ Tag.setDicomMessageClass(DicomMessage);
|
|
|
28125
28125
|
//# sourceMappingURL=dcmjs.es.js.map
|
|
28126
28126
|
|
|
28127
28127
|
__webpack_require__.d(__webpack_exports__, {
|
|
28128
|
-
|
|
28129
|
-
|
|
28130
|
-
|
|
28128
|
+
constants: () => (constants),
|
|
28129
|
+
"default": () => (dcmjs),
|
|
28130
|
+
log: () => (log)
|
|
28131
28131
|
});
|
|
28132
28132
|
|
|
28133
28133
|
|
|
28134
28134
|
},
|
|
28135
|
-
|
|
28136
|
-
|
|
28135
|
+
50341(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
28136
|
+
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
28137
|
+
/* import */ var _mat2_js__rspack_import_1 = __webpack_require__(21589);
|
|
28138
|
+
/* import */ var _mat2d_js__rspack_import_2 = __webpack_require__(46245);
|
|
28139
|
+
/* import */ var _mat3_js__rspack_import_3 = __webpack_require__(45878);
|
|
28140
|
+
/* import */ var _mat4_js__rspack_import_4 = __webpack_require__(39095);
|
|
28141
|
+
/* import */ var _quat_js__rspack_import_5 = __webpack_require__(6462);
|
|
28142
|
+
/* import */ var _quat2_js__rspack_import_6 = __webpack_require__(8470);
|
|
28143
|
+
/* import */ var _vec2_js__rspack_import_7 = __webpack_require__(90333);
|
|
28144
|
+
/* import */ var _vec3_js__rspack_import_8 = __webpack_require__(64062);
|
|
28145
|
+
/* import */ var _vec4_js__rspack_import_9 = __webpack_require__(70911);
|
|
28137
28146
|
|
|
28138
28147
|
|
|
28139
|
-
// do not edit .js files directly - edit src/index.jst
|
|
28140
28148
|
|
|
28141
28149
|
|
|
28142
28150
|
|
|
28143
|
-
module.exports = function equal(a, b) {
|
|
28144
|
-
if (a === b) return true;
|
|
28145
28151
|
|
|
28146
|
-
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
28147
|
-
if (a.constructor !== b.constructor) return false;
|
|
28148
|
-
|
|
28149
|
-
var length, i, keys;
|
|
28150
|
-
if (Array.isArray(a)) {
|
|
28151
|
-
length = a.length;
|
|
28152
|
-
if (length != b.length) return false;
|
|
28153
|
-
for (i = length; i-- !== 0;)
|
|
28154
|
-
if (!equal(a[i], b[i])) return false;
|
|
28155
|
-
return true;
|
|
28156
|
-
}
|
|
28157
28152
|
|
|
28158
28153
|
|
|
28159
28154
|
|
|
28160
|
-
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
28161
|
-
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
28162
|
-
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
28163
28155
|
|
|
28164
|
-
keys = Object.keys(a);
|
|
28165
|
-
length = keys.length;
|
|
28166
|
-
if (length !== Object.keys(b).length) return false;
|
|
28167
28156
|
|
|
28168
|
-
|
|
28169
|
-
|
|
28170
|
-
|
|
28171
|
-
|
|
28172
|
-
|
|
28173
|
-
|
|
28174
|
-
|
|
28175
|
-
|
|
28176
|
-
|
|
28177
|
-
return true;
|
|
28178
|
-
}
|
|
28179
|
-
|
|
28180
|
-
// true if both NaN, false otherwise
|
|
28181
|
-
return a!==a && b!==b;
|
|
28182
|
-
};
|
|
28183
|
-
|
|
28184
|
-
|
|
28185
|
-
},
|
|
28186
|
-
92464(module, __unused_rspack_exports, __webpack_require__) {
|
|
28187
|
-
// A library of seedable RNGs implemented in Javascript.
|
|
28188
|
-
//
|
|
28189
|
-
// Usage:
|
|
28190
|
-
//
|
|
28191
|
-
// var seedrandom = require('seedrandom');
|
|
28192
|
-
// var random = seedrandom(1); // or any seed.
|
|
28193
|
-
// var x = random(); // 0 <= x < 1. Every bit is random.
|
|
28194
|
-
// var x = random.quick(); // 0 <= x < 1. 32 bits of randomness.
|
|
28195
|
-
|
|
28196
|
-
// alea, a 53-bit multiply-with-carry generator by Johannes Baagøe.
|
|
28197
|
-
// Period: ~2^116
|
|
28198
|
-
// Reported to pass all BigCrush tests.
|
|
28199
|
-
var alea = __webpack_require__(9241);
|
|
28200
|
-
|
|
28201
|
-
// xor128, a pure xor-shift generator by George Marsaglia.
|
|
28202
|
-
// Period: 2^128-1.
|
|
28203
|
-
// Reported to fail: MatrixRank and LinearComp.
|
|
28204
|
-
var xor128 = __webpack_require__(87480);
|
|
28205
|
-
|
|
28206
|
-
// xorwow, George Marsaglia's 160-bit xor-shift combined plus weyl.
|
|
28207
|
-
// Period: 2^192-2^32
|
|
28208
|
-
// Reported to fail: CollisionOver, SimpPoker, and LinearComp.
|
|
28209
|
-
var xorwow = __webpack_require__(88150);
|
|
28210
|
-
|
|
28211
|
-
// xorshift7, by François Panneton and Pierre L'ecuyer, takes
|
|
28212
|
-
// a different approach: it adds robustness by allowing more shifts
|
|
28213
|
-
// than Marsaglia's original three. It is a 7-shift generator
|
|
28214
|
-
// with 256 bits, that passes BigCrush with no systmatic failures.
|
|
28215
|
-
// Period 2^256-1.
|
|
28216
|
-
// No systematic BigCrush failures reported.
|
|
28217
|
-
var xorshift7 = __webpack_require__(43420);
|
|
28218
|
-
|
|
28219
|
-
// xor4096, by Richard Brent, is a 4096-bit xor-shift with a
|
|
28220
|
-
// very long period that also adds a Weyl generator. It also passes
|
|
28221
|
-
// BigCrush with no systematic failures. Its long period may
|
|
28222
|
-
// be useful if you have many generators and need to avoid
|
|
28223
|
-
// collisions.
|
|
28224
|
-
// Period: 2^4128-2^32.
|
|
28225
|
-
// No systematic BigCrush failures reported.
|
|
28226
|
-
var xor4096 = __webpack_require__(42346);
|
|
28227
|
-
|
|
28228
|
-
// Tyche-i, by Samuel Neves and Filipe Araujo, is a bit-shifting random
|
|
28229
|
-
// number generator derived from ChaCha, a modern stream cipher.
|
|
28230
|
-
// https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
|
|
28231
|
-
// Period: ~2^127
|
|
28232
|
-
// No systematic BigCrush failures reported.
|
|
28233
|
-
var tychei = __webpack_require__(98868);
|
|
28234
|
-
|
|
28235
|
-
// The original ARC4-based prng included in this library.
|
|
28236
|
-
// Period: ~2^1600
|
|
28237
|
-
var sr = __webpack_require__(3808);
|
|
28238
|
-
|
|
28239
|
-
sr.alea = alea;
|
|
28240
|
-
sr.xor128 = xor128;
|
|
28241
|
-
sr.xorwow = xorwow;
|
|
28242
|
-
sr.xorshift7 = xorshift7;
|
|
28243
|
-
sr.xor4096 = xor4096;
|
|
28244
|
-
sr.tychei = tychei;
|
|
28245
|
-
|
|
28246
|
-
module.exports = sr;
|
|
28157
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
28158
|
+
glMatrix: () => (/* reexport module object */ _common_js__rspack_import_0),
|
|
28159
|
+
mat3: () => (/* reexport module object */ _mat3_js__rspack_import_3),
|
|
28160
|
+
mat4: () => (/* reexport module object */ _mat4_js__rspack_import_4),
|
|
28161
|
+
quat: () => (/* reexport module object */ _quat_js__rspack_import_5),
|
|
28162
|
+
vec2: () => (/* reexport module object */ _vec2_js__rspack_import_7),
|
|
28163
|
+
vec3: () => (/* reexport module object */ _vec3_js__rspack_import_8),
|
|
28164
|
+
vec4: () => (/* reexport module object */ _vec4_js__rspack_import_9)
|
|
28165
|
+
});
|
|
28247
28166
|
|
|
28248
28167
|
|
|
28249
28168
|
},
|
|
28250
28169
|
65477(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
28251
|
-
"use strict";
|
|
28252
28170
|
/* import */ var _enums_Events_js__rspack_import_0 = __webpack_require__(33635);
|
|
28253
28171
|
/* import */ var _renderingEngineCache_js__rspack_import_1 = __webpack_require__(91878);
|
|
28254
28172
|
/* import */ var _eventTarget_js__rspack_import_2 = __webpack_require__(45340);
|
|
@@ -28644,7 +28562,6 @@ BaseRenderingEngine.NEXT_TYPE_REMAP = {
|
|
|
28644
28562
|
|
|
28645
28563
|
},
|
|
28646
28564
|
35915(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
28647
|
-
"use strict";
|
|
28648
28565
|
/* import */ var _kitware_vtk_js_Rendering_Core_ColorTransferFunction_js__rspack_import_0 = __webpack_require__(1282);
|
|
28649
28566
|
/* import */ var gl_matrix__rspack_import_1 = __webpack_require__(50341);
|
|
28650
28567
|
/* import */ var _cache_cache_js__rspack_import_2 = __webpack_require__(73998);
|
|
@@ -28797,11 +28714,11 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
28797
28714
|
const panFit = this.getPan(this.fitToCanvasCamera);
|
|
28798
28715
|
const pan = this.getPan();
|
|
28799
28716
|
const previousCamera = this.getCamera();
|
|
28800
|
-
const panSub = gl_matrix__rspack_import_1
|
|
28717
|
+
const panSub = gl_matrix__rspack_import_1.vec2.sub([0, 0], panFit, pan);
|
|
28801
28718
|
this.setPan(panSub, false);
|
|
28802
28719
|
const { flipVertical } = this.getCamera();
|
|
28803
28720
|
const initialViewUp = flipVertical
|
|
28804
|
-
? gl_matrix__rspack_import_1
|
|
28721
|
+
? gl_matrix__rspack_import_1.vec3.negate([0, 0, 0], this.initialViewUp)
|
|
28805
28722
|
: this.initialViewUp;
|
|
28806
28723
|
this.setCameraNoEvent({
|
|
28807
28724
|
viewUp: initialViewUp,
|
|
@@ -28809,8 +28726,8 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
28809
28726
|
this.rotateCamera(rotation);
|
|
28810
28727
|
const afterPan = this.getPan();
|
|
28811
28728
|
const afterPanFit = this.getPan(this.fitToCanvasCamera);
|
|
28812
|
-
const newCenter = gl_matrix__rspack_import_1
|
|
28813
|
-
const newOffset = gl_matrix__rspack_import_1
|
|
28729
|
+
const newCenter = gl_matrix__rspack_import_1.vec2.sub([0, 0], afterPan, afterPanFit);
|
|
28730
|
+
const newOffset = gl_matrix__rspack_import_1.vec2.add([0, 0], panFit, newCenter);
|
|
28814
28731
|
this.setPan(newOffset, false);
|
|
28815
28732
|
if (this._suppressCameraModifiedEvents) {
|
|
28816
28733
|
return;
|
|
@@ -28923,14 +28840,14 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
28923
28840
|
this.getRotation = () => {
|
|
28924
28841
|
const { viewUp: currentViewUp, viewPlaneNormal, flipVertical, } = this.getCameraNoRotation();
|
|
28925
28842
|
const initialViewUp = flipVertical
|
|
28926
|
-
? gl_matrix__rspack_import_1
|
|
28843
|
+
? gl_matrix__rspack_import_1.vec3.negate([0, 0, 0], this.initialViewUp)
|
|
28927
28844
|
: this.initialViewUp;
|
|
28928
28845
|
if (!initialViewUp) {
|
|
28929
28846
|
return 0;
|
|
28930
28847
|
}
|
|
28931
|
-
const initialToCurrentViewUpAngle = (gl_matrix__rspack_import_1
|
|
28932
|
-
const initialToCurrentViewUpCross = gl_matrix__rspack_import_1
|
|
28933
|
-
const normalDot = gl_matrix__rspack_import_1
|
|
28848
|
+
const initialToCurrentViewUpAngle = (gl_matrix__rspack_import_1.vec3.angle(initialViewUp, currentViewUp) * 180) / Math.PI;
|
|
28849
|
+
const initialToCurrentViewUpCross = gl_matrix__rspack_import_1.vec3.cross([0, 0, 0], initialViewUp, currentViewUp);
|
|
28850
|
+
const normalDot = gl_matrix__rspack_import_1.vec3.dot(initialToCurrentViewUpCross, viewPlaneNormal);
|
|
28934
28851
|
const value = normalDot >= 0
|
|
28935
28852
|
? initialToCurrentViewUpAngle
|
|
28936
28853
|
: (360 - initialToCurrentViewUpAngle) % 360;
|
|
@@ -29481,17 +29398,17 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
29481
29398
|
return;
|
|
29482
29399
|
}
|
|
29483
29400
|
}
|
|
29484
|
-
const planeNormal = (gl_matrix__rspack_import_1
|
|
29485
|
-
gl_matrix__rspack_import_1
|
|
29401
|
+
const planeNormal = (gl_matrix__rspack_import_1.vec3.cross(gl_matrix__rspack_import_1.vec3.create(), inPlaneVector2 || acquisition.viewPlaneNormal, inPlaneVector1));
|
|
29402
|
+
gl_matrix__rspack_import_1.vec3.normalize(planeNormal, planeNormal);
|
|
29486
29403
|
this.setOrientation({ viewPlaneNormal: planeNormal });
|
|
29487
29404
|
}
|
|
29488
29405
|
setViewPlane(planeRestriction) {
|
|
29489
29406
|
const { point, inPlaneVector1, inPlaneVector2, FrameOfReferenceUID } = planeRestriction;
|
|
29490
29407
|
this.setBestOrentation(inPlaneVector1, inPlaneVector2);
|
|
29491
29408
|
const { focalPoint, viewPlaneNormal } = this.getCamera();
|
|
29492
|
-
const deltaFocal = gl_matrix__rspack_import_1
|
|
29493
|
-
const alongNormal = gl_matrix__rspack_import_1
|
|
29494
|
-
const deltaNormal = gl_matrix__rspack_import_1
|
|
29409
|
+
const deltaFocal = gl_matrix__rspack_import_1.vec3.subtract(gl_matrix__rspack_import_1.vec3.create(), point, focalPoint);
|
|
29410
|
+
const alongNormal = gl_matrix__rspack_import_1.vec3.dot(deltaFocal, viewPlaneNormal);
|
|
29411
|
+
const deltaNormal = gl_matrix__rspack_import_1.vec3.scaleAndAdd(gl_matrix__rspack_import_1.vec3.create(), focalPoint, viewPlaneNormal, alongNormal);
|
|
29495
29412
|
this.setViewReference({
|
|
29496
29413
|
FrameOfReferenceUID,
|
|
29497
29414
|
cameraFocalPoint: deltaNormal,
|
|
@@ -29534,11 +29451,11 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
29534
29451
|
const imagePlaneModule = _metaData_js__rspack_import_31.get(_enums_index_js__rspack_import_5.MetadataModules.IMAGE_PLANE, referencedImageId);
|
|
29535
29452
|
const { imagePositionPatient } = imagePlaneModule;
|
|
29536
29453
|
const { focalPoint } = this.getCamera();
|
|
29537
|
-
const diffVector = gl_matrix__rspack_import_1
|
|
29538
|
-
const projectedDistance = gl_matrix__rspack_import_1
|
|
29539
|
-
const newImagePositionPatient = gl_matrix__rspack_import_1
|
|
29540
|
-
const focalShift = gl_matrix__rspack_import_1
|
|
29541
|
-
const newPosition = gl_matrix__rspack_import_1
|
|
29454
|
+
const diffVector = gl_matrix__rspack_import_1.vec3.subtract(gl_matrix__rspack_import_1.vec3.create(), focalPoint, imagePositionPatient);
|
|
29455
|
+
const projectedDistance = gl_matrix__rspack_import_1.vec3.dot(diffVector, viewPlaneNormal);
|
|
29456
|
+
const newImagePositionPatient = gl_matrix__rspack_import_1.vec3.scaleAndAdd(gl_matrix__rspack_import_1.vec3.create(), focalPoint, [-viewPlaneNormal[0], -viewPlaneNormal[1], -viewPlaneNormal[2]], projectedDistance);
|
|
29457
|
+
const focalShift = gl_matrix__rspack_import_1.vec3.subtract(gl_matrix__rspack_import_1.vec3.create(), newImagePositionPatient, focalPoint);
|
|
29458
|
+
const newPosition = gl_matrix__rspack_import_1.vec3.add(gl_matrix__rspack_import_1.vec3.create(), position, focalShift);
|
|
29542
29459
|
this.setCamera({
|
|
29543
29460
|
focalPoint: newImagePositionPatient,
|
|
29544
29461
|
position: newPosition,
|
|
@@ -29547,14 +29464,14 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
29547
29464
|
return;
|
|
29548
29465
|
}
|
|
29549
29466
|
if (cameraFocalPoint) {
|
|
29550
|
-
const focalDelta = gl_matrix__rspack_import_1
|
|
29467
|
+
const focalDelta = gl_matrix__rspack_import_1.vec3.subtract([0, 0, 0], cameraFocalPoint, focalPoint);
|
|
29551
29468
|
const useNormal = refViewPlaneNormal ?? viewPlaneNormal;
|
|
29552
|
-
const normalDot = gl_matrix__rspack_import_1
|
|
29469
|
+
const normalDot = gl_matrix__rspack_import_1.vec3.dot(focalDelta, useNormal);
|
|
29553
29470
|
if (!(0,_utilities_isEqual_js__rspack_import_28/* ["default"] */.Ay)(normalDot, 0)) {
|
|
29554
|
-
gl_matrix__rspack_import_1
|
|
29471
|
+
gl_matrix__rspack_import_1.vec3.scale(focalDelta, useNormal, normalDot);
|
|
29555
29472
|
}
|
|
29556
|
-
const newFocal = gl_matrix__rspack_import_1
|
|
29557
|
-
const newPosition = gl_matrix__rspack_import_1
|
|
29473
|
+
const newFocal = gl_matrix__rspack_import_1.vec3.add([0, 0, 0], focalPoint, focalDelta);
|
|
29474
|
+
const newPosition = gl_matrix__rspack_import_1.vec3.add([0, 0, 0], position, focalDelta);
|
|
29558
29475
|
this.setCamera({ focalPoint: newFocal, position: newPosition });
|
|
29559
29476
|
}
|
|
29560
29477
|
}
|
|
@@ -29918,7 +29835,7 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
29918
29835
|
}
|
|
29919
29836
|
_getViewUp(viewPlaneNormal) {
|
|
29920
29837
|
const { viewUp } = this.getCamera();
|
|
29921
|
-
const dot = gl_matrix__rspack_import_1
|
|
29838
|
+
const dot = gl_matrix__rspack_import_1.vec3.dot(viewUp, viewPlaneNormal);
|
|
29922
29839
|
if ((0,_utilities_isEqual_js__rspack_import_28/* ["default"] */.Ay)(dot, 0)) {
|
|
29923
29840
|
return viewUp;
|
|
29924
29841
|
}
|
|
@@ -29931,8 +29848,8 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
29931
29848
|
if ((0,_utilities_isEqual_js__rspack_import_28/* .isEqualAbs */.Ph)(viewPlaneNormal[2], 1)) {
|
|
29932
29849
|
return [0, -1, 0];
|
|
29933
29850
|
}
|
|
29934
|
-
const vupOrthogonal = (gl_matrix__rspack_import_1
|
|
29935
|
-
gl_matrix__rspack_import_1
|
|
29851
|
+
const vupOrthogonal = (gl_matrix__rspack_import_1.vec3.scaleAndAdd(gl_matrix__rspack_import_1.vec3.create(), viewUp, viewPlaneNormal, -dot));
|
|
29852
|
+
gl_matrix__rspack_import_1.vec3.normalize(vupOrthogonal, vupOrthogonal);
|
|
29936
29853
|
return vupOrthogonal;
|
|
29937
29854
|
}
|
|
29938
29855
|
_getOrientationVectors(orientation) {
|
|
@@ -30068,14 +29985,13 @@ class BaseVolumeViewport extends _Viewport_js__rspack_import_21/* ["default"] */
|
|
|
30068
29985
|
}
|
|
30069
29986
|
}
|
|
30070
29987
|
function isCompatible(viewPlaneNormal, vector) {
|
|
30071
|
-
return !vector || (0,_utilities_isEqual_js__rspack_import_28/* ["default"] */.Ay)(gl_matrix__rspack_import_1
|
|
29988
|
+
return !vector || (0,_utilities_isEqual_js__rspack_import_28/* ["default"] */.Ay)(gl_matrix__rspack_import_1.vec3.dot(viewPlaneNormal, vector), 0);
|
|
30072
29989
|
}
|
|
30073
29990
|
/* export default */ __webpack_exports__.A = (BaseVolumeViewport);
|
|
30074
29991
|
|
|
30075
29992
|
|
|
30076
29993
|
},
|
|
30077
29994
|
40962(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30078
|
-
"use strict";
|
|
30079
29995
|
/* import */ var _CanvasProperties_js__rspack_import_0 = __webpack_require__(49025);
|
|
30080
29996
|
/* import */ var _CanvasMapper_js__rspack_import_1 = __webpack_require__(3657);
|
|
30081
29997
|
|
|
@@ -30257,7 +30173,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30257
30173
|
|
|
30258
30174
|
},
|
|
30259
30175
|
89803(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30260
|
-
"use strict";
|
|
30261
30176
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
30262
30177
|
/* import */ var _helpers_cpuFallback_rendering_transform_js__rspack_import_1 = __webpack_require__(34826);
|
|
30263
30178
|
/* import */ var _utilities_triggerEvent_js__rspack_import_2 = __webpack_require__(84444);
|
|
@@ -30708,7 +30623,6 @@ class ECGViewport extends _Viewport_js__rspack_import_3/* ["default"] */.A {
|
|
|
30708
30623
|
|
|
30709
30624
|
},
|
|
30710
30625
|
65336(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30711
|
-
"use strict";
|
|
30712
30626
|
/* import */ var _utilities_logger_js__rspack_import_0 = __webpack_require__(34040);
|
|
30713
30627
|
|
|
30714
30628
|
const log = _utilities_logger_js__rspack_import_0.coreLog.getLogger('RenderingEngine', 'DefaultRenderPathResolver');
|
|
@@ -30745,7 +30659,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30745
30659
|
|
|
30746
30660
|
},
|
|
30747
30661
|
25499(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30748
|
-
"use strict";
|
|
30749
30662
|
/* import */ var _ecgWaveform_js__rspack_import_0 = __webpack_require__(59076);
|
|
30750
30663
|
/* import */ var _genericViewportDisplaySetAccess_js__rspack_import_1 = __webpack_require__(95023);
|
|
30751
30664
|
|
|
@@ -30771,7 +30684,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30771
30684
|
|
|
30772
30685
|
},
|
|
30773
30686
|
92925(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30774
|
-
"use strict";
|
|
30775
30687
|
|
|
30776
30688
|
// EXPORTS
|
|
30777
30689
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -30890,7 +30802,6 @@ function createECGRenderPathResolver(paths = createDefaultECGRenderPaths()) {
|
|
|
30890
30802
|
|
|
30891
30803
|
},
|
|
30892
30804
|
80153(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30893
|
-
"use strict";
|
|
30894
30805
|
/* import */ var _helpers_getOrCreateCanvas_js__rspack_import_0 = __webpack_require__(567);
|
|
30895
30806
|
/* import */ var _GenericViewport_js__rspack_import_1 = __webpack_require__(13991);
|
|
30896
30807
|
/* import */ var _enums_index_js__rspack_import_2 = __webpack_require__(71088);
|
|
@@ -31288,7 +31199,6 @@ function warnIfAmplitudeScaleIgnored(viewState) {
|
|
|
31288
31199
|
|
|
31289
31200
|
},
|
|
31290
31201
|
8413(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
31291
|
-
"use strict";
|
|
31292
31202
|
/* import */ var _ecgWaveform_js__rspack_import_0 = __webpack_require__(59076);
|
|
31293
31203
|
|
|
31294
31204
|
function drawECGGrid(ctx, metrics, options, layouts) {
|
|
@@ -31469,7 +31379,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31469
31379
|
|
|
31470
31380
|
},
|
|
31471
31381
|
45687(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
31472
|
-
"use strict";
|
|
31473
31382
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
31474
31383
|
/* import */ var _ecgProjectionPresentation_js__rspack_import_1 = __webpack_require__(61934);
|
|
31475
31384
|
/* import */ var _ecgProjectionSnapshot_js__rspack_import_2 = __webpack_require__(97738);
|
|
@@ -31495,7 +31404,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31495
31404
|
|
|
31496
31405
|
},
|
|
31497
31406
|
1571(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
31498
|
-
"use strict";
|
|
31499
31407
|
/* import */ var _utilities_clamp_js__rspack_import_0 = __webpack_require__(20637);
|
|
31500
31408
|
|
|
31501
31409
|
const LEAD_II_CODES = new Set(['5.6.3-9-2', '2:2']);
|
|
@@ -31685,7 +31593,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31685
31593
|
|
|
31686
31594
|
},
|
|
31687
31595
|
59076(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
31688
|
-
"use strict";
|
|
31689
31596
|
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(16080);
|
|
31690
31597
|
/* import */ var _enums_index_js__rspack_import_1 = __webpack_require__(71088);
|
|
31691
31598
|
/* import */ var _metaData_js__rspack_import_2 = __webpack_require__(52284);
|
|
@@ -31798,7 +31705,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31798
31705
|
|
|
31799
31706
|
},
|
|
31800
31707
|
95914(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
31801
|
-
"use strict";
|
|
31802
31708
|
/* import */ var _ecgProjectionAdapter_js__rspack_import_0 = __webpack_require__(45687);
|
|
31803
31709
|
/* import */ var _ECGRenderPathResolver_js__rspack_import_1 = __webpack_require__(92925);
|
|
31804
31710
|
/* import */ var _DefaultECGDataProvider_js__rspack_import_2 = __webpack_require__(25499);
|
|
@@ -31819,7 +31725,6 @@ const ecgProjection = (/* unused pure expression or super */ null && ({
|
|
|
31819
31725
|
|
|
31820
31726
|
},
|
|
31821
31727
|
13991(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
31822
|
-
"use strict";
|
|
31823
31728
|
/* import */ var _enums_Events_js__rspack_import_0 = __webpack_require__(33635);
|
|
31824
31729
|
/* import */ var _enums_ViewportStatus_js__rspack_import_1 = __webpack_require__(12182);
|
|
31825
31730
|
/* import */ var _utilities_triggerEvent_js__rspack_import_2 = __webpack_require__(84444);
|
|
@@ -32291,7 +32196,6 @@ class GenericViewport {
|
|
|
32291
32196
|
|
|
32292
32197
|
},
|
|
32293
32198
|
24449(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
32294
|
-
"use strict";
|
|
32295
32199
|
/* import */ var _loaders_imageLoader_js__rspack_import_0 = __webpack_require__(65092);
|
|
32296
32200
|
/* import */ var _loaders_volumeLoader_js__rspack_import_1 = __webpack_require__(66441);
|
|
32297
32201
|
/* import */ var _types_index_js__rspack_import_2 = __webpack_require__(18471);
|
|
@@ -32404,7 +32308,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
32404
32308
|
|
|
32405
32309
|
},
|
|
32406
32310
|
96829(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
32407
|
-
"use strict";
|
|
32408
32311
|
|
|
32409
32312
|
// EXPORTS
|
|
32410
32313
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -32979,10 +32882,10 @@ function worldToCPUImageDrawPoint(enabledElement, worldPos) {
|
|
|
32979
32882
|
const displayedArea = viewport.displayedArea;
|
|
32980
32883
|
const sourceX = (displayedArea?.tlhc.x ?? 1) - 1;
|
|
32981
32884
|
const sourceY = (displayedArea?.tlhc.y ?? 1) - 1;
|
|
32982
|
-
const diff = esm
|
|
32885
|
+
const diff = esm.vec3.subtract(esm.vec3.create(), worldPos, origin);
|
|
32983
32886
|
return [
|
|
32984
|
-
esm
|
|
32985
|
-
esm
|
|
32887
|
+
esm.vec3.dot(diff, rowVector) / spacing[0] + 0.5 - sourceX,
|
|
32888
|
+
esm.vec3.dot(diff, columnVector) / spacing[1] +
|
|
32986
32889
|
0.5 -
|
|
32987
32890
|
sourceY,
|
|
32988
32891
|
];
|
|
@@ -33019,17 +32922,17 @@ function buildPlanarImageData(image, frameOfReferenceUID) {
|
|
|
33019
32922
|
getScalarData: () => scalarData,
|
|
33020
32923
|
getSpacing: () => spacing,
|
|
33021
32924
|
worldToIndex: (point) => {
|
|
33022
|
-
const diff = esm
|
|
32925
|
+
const diff = esm.vec3.subtract(esm.vec3.create(), point, origin);
|
|
33023
32926
|
return [
|
|
33024
|
-
esm
|
|
33025
|
-
esm
|
|
32927
|
+
esm.vec3.dot(diff, rowVector) / spacing[0],
|
|
32928
|
+
esm.vec3.dot(diff, columnVector) / spacing[1],
|
|
33026
32929
|
0,
|
|
33027
32930
|
];
|
|
33028
32931
|
},
|
|
33029
32932
|
indexToWorld: (point) => {
|
|
33030
32933
|
const worldPoint = [...origin];
|
|
33031
|
-
esm
|
|
33032
|
-
esm
|
|
32934
|
+
esm.vec3.scaleAndAdd(worldPoint, worldPoint, rowVector, point[0] * spacing[0]);
|
|
32935
|
+
esm.vec3.scaleAndAdd(worldPoint, worldPoint, columnVector, point[1] * spacing[1]);
|
|
33033
32936
|
return worldPoint;
|
|
33034
32937
|
},
|
|
33035
32938
|
},
|
|
@@ -33573,7 +33476,7 @@ class PlanarCPUScalarViewportSampler {
|
|
|
33573
33476
|
|
|
33574
33477
|
const MAX_POOLED_SLICE_ARRAYS_PER_SHAPE = 1;
|
|
33575
33478
|
function dot(a, b) {
|
|
33576
|
-
return esm
|
|
33479
|
+
return esm.vec3.dot(a, b);
|
|
33577
33480
|
}
|
|
33578
33481
|
function clampFiniteSample(value, fallbackMin, fallbackMax, round) {
|
|
33579
33482
|
if (!Number.isFinite(value)) {
|
|
@@ -33597,10 +33500,10 @@ function expandSampleValueRange(sampleRange, value) {
|
|
|
33597
33500
|
}
|
|
33598
33501
|
}
|
|
33599
33502
|
function subtractPoints(a, b) {
|
|
33600
|
-
return esm
|
|
33503
|
+
return esm.vec3.subtract([0, 0, 0], a, b);
|
|
33601
33504
|
}
|
|
33602
33505
|
function arePointsClose(a, b, tolerance = 1e-4) {
|
|
33603
|
-
return esm
|
|
33506
|
+
return esm.vec3.distance(a, b) <= tolerance;
|
|
33604
33507
|
}
|
|
33605
33508
|
function indexToWorld(volume, ijk) {
|
|
33606
33509
|
const [i, j, k] = ijk;
|
|
@@ -33608,10 +33511,10 @@ function indexToWorld(volume, ijk) {
|
|
|
33608
33511
|
const row = volume.direction.slice(0, 3);
|
|
33609
33512
|
const col = volume.direction.slice(3, 6);
|
|
33610
33513
|
const scan = volume.direction.slice(6, 9);
|
|
33611
|
-
const world = esm
|
|
33612
|
-
esm
|
|
33613
|
-
esm
|
|
33614
|
-
esm
|
|
33514
|
+
const world = esm.vec3.copy([0, 0, 0], volume.origin);
|
|
33515
|
+
esm.vec3.scaleAndAdd(world, world, row, sx * i);
|
|
33516
|
+
esm.vec3.scaleAndAdd(world, world, col, sy * j);
|
|
33517
|
+
esm.vec3.scaleAndAdd(world, world, scan, sz * k);
|
|
33615
33518
|
return world;
|
|
33616
33519
|
}
|
|
33617
33520
|
function worldVectorToContinuousIndexDelta(volume, worldVector) {
|
|
@@ -33669,14 +33572,14 @@ class PlanarCPUVolumeSampler {
|
|
|
33669
33572
|
return { min, max };
|
|
33670
33573
|
}
|
|
33671
33574
|
getCameraBasis(camera) {
|
|
33672
|
-
const normal = esm
|
|
33673
|
-
const rawUp = esm
|
|
33674
|
-
let right = esm
|
|
33675
|
-
if (esm
|
|
33676
|
-
right = esm
|
|
33677
|
-
}
|
|
33678
|
-
right = esm
|
|
33679
|
-
const up = esm
|
|
33575
|
+
const normal = esm.vec3.normalize(esm.vec3.create(), camera.viewPlaneNormal);
|
|
33576
|
+
const rawUp = esm.vec3.normalize(esm.vec3.create(), camera.viewUp);
|
|
33577
|
+
let right = esm.vec3.cross(esm.vec3.create(), rawUp, normal);
|
|
33578
|
+
if (esm.vec3.length(right) < constants.EPSILON) {
|
|
33579
|
+
right = esm.vec3.cross(esm.vec3.create(), [0, 1, 0], normal);
|
|
33580
|
+
}
|
|
33581
|
+
right = esm.vec3.normalize(esm.vec3.create(), right);
|
|
33582
|
+
const up = esm.vec3.normalize(esm.vec3.create(), esm.vec3.cross(esm.vec3.create(), normal, right));
|
|
33680
33583
|
return { right, up, normal };
|
|
33681
33584
|
}
|
|
33682
33585
|
getResolvedVOIRange(voiRange, fallbackLower, fallbackUpper) {
|
|
@@ -33830,11 +33733,11 @@ class PlanarCPUVolumeSampler {
|
|
|
33830
33733
|
return {
|
|
33831
33734
|
image: this.createSliceImage(volume, orthogonalSlice.scalarData, orthogonalSlice.width, orthogonalSlice.height, orthogonalSlice.columnPixelSpacing, orthogonalSlice.rowPixelSpacing, orthogonalSlice.minPixelValue, orthogonalSlice.maxPixelValue, orthogonalSlice.numberOfComponents, voiRange),
|
|
33832
33735
|
samplingMode: 'source-slice',
|
|
33833
|
-
focalPoint: esm
|
|
33834
|
-
translationReferenceFocalPoint: esm
|
|
33835
|
-
right: esm
|
|
33836
|
-
up: esm
|
|
33837
|
-
normal: esm
|
|
33736
|
+
focalPoint: esm.vec3.clone(camera.focalPoint),
|
|
33737
|
+
translationReferenceFocalPoint: esm.vec3.clone(orthogonalSlice.translationReferenceFocalPoint),
|
|
33738
|
+
right: esm.vec3.clone(right),
|
|
33739
|
+
up: esm.vec3.clone(up),
|
|
33740
|
+
normal: esm.vec3.clone(normal),
|
|
33838
33741
|
spacingInNormalDirection: Math.max((0,getSpacingInNormalDirection/* ["default"] */.A)(volume, normal), constants.EPSILON),
|
|
33839
33742
|
canvasWidth: width,
|
|
33840
33743
|
canvasHeight: height,
|
|
@@ -33953,11 +33856,11 @@ class PlanarCPUVolumeSampler {
|
|
|
33953
33856
|
return {
|
|
33954
33857
|
image: this.createSliceImage(volume, sliceScalarData, width, height, worldWidth / Math.max(width, 1), worldHeight / Math.max(height, 1), minPixelValue, maxPixelValue, numberOfComponents, voiRange),
|
|
33955
33858
|
samplingMode: 'viewport',
|
|
33956
|
-
focalPoint: esm
|
|
33957
|
-
translationReferenceFocalPoint: esm
|
|
33958
|
-
right: esm
|
|
33959
|
-
up: esm
|
|
33960
|
-
normal: esm
|
|
33859
|
+
focalPoint: esm.vec3.clone(camera.focalPoint),
|
|
33860
|
+
translationReferenceFocalPoint: esm.vec3.clone(camera.focalPoint),
|
|
33861
|
+
right: esm.vec3.clone(right),
|
|
33862
|
+
up: esm.vec3.clone(up),
|
|
33863
|
+
normal: esm.vec3.clone(normal),
|
|
33961
33864
|
spacingInNormalDirection: Math.max((0,getSpacingInNormalDirection/* ["default"] */.A)(volume, normal), constants.EPSILON),
|
|
33962
33865
|
canvasWidth: width,
|
|
33963
33866
|
canvasHeight: height,
|
|
@@ -36014,7 +35917,6 @@ function createPlanarRenderPathResolver(paths = createDefaultPlanarRenderPaths()
|
|
|
36014
35917
|
|
|
36015
35918
|
},
|
|
36016
35919
|
56003(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
36017
|
-
"use strict";
|
|
36018
35920
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
36019
35921
|
/* import */ var _types_index_js__rspack_import_1 = __webpack_require__(18471);
|
|
36020
35922
|
/* import */ var _utilities_logger_js__rspack_import_2 = __webpack_require__(34040);
|
|
@@ -37562,7 +37464,6 @@ function isPlanarRegisteredDataSet(value) {
|
|
|
37562
37464
|
|
|
37563
37465
|
},
|
|
37564
37466
|
56301(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
37565
|
-
"use strict";
|
|
37566
37467
|
/* import */ var _planarRenderCamera_js__rspack_import_0 = __webpack_require__(83798);
|
|
37567
37468
|
/* import */ var _planarProjectionAdapter_js__rspack_import_1 = __webpack_require__(59377);
|
|
37568
37469
|
/* import */ var _planarSliceBasis_js__rspack_import_2 = __webpack_require__(51684);
|
|
@@ -37595,7 +37496,6 @@ const planarProjection = (/* unused pure expression or super */ null && ({
|
|
|
37595
37496
|
|
|
37596
37497
|
},
|
|
37597
37498
|
98942(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37598
|
-
"use strict";
|
|
37599
37499
|
const MIN_PLANAR_SCALE = 0.001;
|
|
37600
37500
|
const PLANAR_SCALE_MODES = new Set([
|
|
37601
37501
|
'fit',
|
|
@@ -37643,7 +37543,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37643
37543
|
|
|
37644
37544
|
},
|
|
37645
37545
|
14852(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37646
|
-
"use strict";
|
|
37647
37546
|
const ORIENTATION_VECTOR_EPSILON = 1e-6;
|
|
37648
37547
|
const ORIENTATION_DOT_EPSILON = 1e-3;
|
|
37649
37548
|
function cloneVOIRange(voiRange) {
|
|
@@ -37792,20 +37691,19 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37792
37691
|
|
|
37793
37692
|
},
|
|
37794
37693
|
81943(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37795
|
-
"use strict";
|
|
37796
37694
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
37797
37695
|
|
|
37798
37696
|
function getSafeCanvasDimension(value) {
|
|
37799
37697
|
return Math.max(value || 0, 1);
|
|
37800
37698
|
}
|
|
37801
37699
|
function normalizePoint3(point, fallback) {
|
|
37802
|
-
const normalized = gl_matrix__rspack_import_0
|
|
37700
|
+
const normalized = gl_matrix__rspack_import_0.vec3.normalize(gl_matrix__rspack_import_0.vec3.create(), point);
|
|
37803
37701
|
if (fallback &&
|
|
37804
37702
|
(!Number.isFinite(normalized[0]) ||
|
|
37805
37703
|
!Number.isFinite(normalized[1]) ||
|
|
37806
37704
|
!Number.isFinite(normalized[2]) ||
|
|
37807
|
-
gl_matrix__rspack_import_0
|
|
37808
|
-
return gl_matrix__rspack_import_0
|
|
37705
|
+
gl_matrix__rspack_import_0.vec3.length(normalized) === 0)) {
|
|
37706
|
+
return gl_matrix__rspack_import_0.vec3.clone(fallback);
|
|
37809
37707
|
}
|
|
37810
37708
|
return normalized;
|
|
37811
37709
|
}
|
|
@@ -37818,7 +37716,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37818
37716
|
|
|
37819
37717
|
},
|
|
37820
37718
|
59377(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37821
|
-
"use strict";
|
|
37822
37719
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
37823
37720
|
/* import */ var _planarRenderCamera_js__rspack_import_1 = __webpack_require__(83798);
|
|
37824
37721
|
/* import */ var _planarProjectionPresentation_js__rspack_import_2 = __webpack_require__(74220);
|
|
@@ -37865,7 +37762,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37865
37762
|
|
|
37866
37763
|
},
|
|
37867
37764
|
83798(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37868
|
-
"use strict";
|
|
37869
37765
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
37870
37766
|
/* import */ var _kitware_vtk_js_Common_DataModel_Plane_js__rspack_import_1 = __webpack_require__(98281);
|
|
37871
37767
|
/* import */ var _constants_index_js__rspack_import_2 = __webpack_require__(62851);
|
|
@@ -37956,15 +37852,15 @@ function deriveDisplayAreaPresentation(args) {
|
|
|
37956
37852
|
}
|
|
37957
37853
|
function projectAnchorWorldToCurrentPlane(anchorWorld, planePoint, planeNormal) {
|
|
37958
37854
|
const normalizedPlaneNormal = (0,_planarMath_js__rspack_import_4/* .normalizePoint3 */.v)(planeNormal, [0, 0, 1]);
|
|
37959
|
-
const delta = gl_matrix__rspack_import_0
|
|
37960
|
-
const distance = gl_matrix__rspack_import_0
|
|
37961
|
-
return gl_matrix__rspack_import_0
|
|
37855
|
+
const delta = gl_matrix__rspack_import_0.vec3.subtract(gl_matrix__rspack_import_0.vec3.create(), anchorWorld, planePoint);
|
|
37856
|
+
const distance = gl_matrix__rspack_import_0.vec3.dot(delta, normalizedPlaneNormal);
|
|
37857
|
+
return gl_matrix__rspack_import_0.vec3.scaleAndAdd(gl_matrix__rspack_import_0.vec3.create(), anchorWorld, normalizedPlaneNormal, -distance);
|
|
37962
37858
|
}
|
|
37963
37859
|
function derivePlanarPresentation(args) {
|
|
37964
37860
|
const { sliceBasis, camera, canvasHeight, canvasWidth } = args;
|
|
37965
37861
|
const scale = (0,_planarCameraScale_js__rspack_import_6/* .normalizePlanarScale */.aD)(camera?.scale);
|
|
37966
37862
|
const rotation = (0,_planarViewPresentation_js__rspack_import_3/* .normalizePlanarRotation */.iJ)(camera?.rotation ?? 0);
|
|
37967
|
-
const anchorCanvas = gl_matrix__rspack_import_0
|
|
37863
|
+
const anchorCanvas = gl_matrix__rspack_import_0.vec2.clone((camera?.anchorCanvas ?? [0.5, 0.5]));
|
|
37968
37864
|
const safeCanvasWidth = (0,_planarMath_js__rspack_import_4/* .getSafeCanvasDimension */.g)(canvasWidth);
|
|
37969
37865
|
const safeCanvasHeight = (0,_planarMath_js__rspack_import_4/* .getSafeCanvasDimension */.g)(canvasHeight);
|
|
37970
37866
|
const viewPlaneNormal = (0,_planarMath_js__rspack_import_4/* .normalizePoint3 */.v)(sliceBasis.viewPlaneNormal, [0, 0, 1]);
|
|
@@ -37979,12 +37875,12 @@ function derivePlanarPresentation(args) {
|
|
|
37979
37875
|
viewPlaneNormal,
|
|
37980
37876
|
viewUp: rotatedViewUp,
|
|
37981
37877
|
});
|
|
37982
|
-
let right = gl_matrix__rspack_import_0
|
|
37983
|
-
if (!gl_matrix__rspack_import_0
|
|
37878
|
+
let right = gl_matrix__rspack_import_0.vec3.cross(gl_matrix__rspack_import_0.vec3.create(), flippedViewUp, flippedViewPlaneNormal);
|
|
37879
|
+
if (!gl_matrix__rspack_import_0.vec3.length(right)) {
|
|
37984
37880
|
right = [1, 0, 0];
|
|
37985
37881
|
}
|
|
37986
37882
|
else {
|
|
37987
|
-
right = gl_matrix__rspack_import_0
|
|
37883
|
+
right = gl_matrix__rspack_import_0.vec3.normalize(gl_matrix__rspack_import_0.vec3.create(), right);
|
|
37988
37884
|
}
|
|
37989
37885
|
const effectiveAnchorWorld = camera?.anchorWorld
|
|
37990
37886
|
? projectAnchorWorldToCurrentPlane(camera.anchorWorld, sliceBasis.sliceCenterWorld, viewPlaneNormal)
|
|
@@ -38001,11 +37897,11 @@ function derivePlanarPresentation(args) {
|
|
|
38001
37897
|
canvasHeight,
|
|
38002
37898
|
scale,
|
|
38003
37899
|
});
|
|
38004
|
-
const deltaWorld = gl_matrix__rspack_import_0
|
|
37900
|
+
const deltaWorld = gl_matrix__rspack_import_0.vec3.subtract(gl_matrix__rspack_import_0.vec3.create(), sliceBasis.sliceCenterWorld, effectiveAnchorWorld);
|
|
38005
37901
|
const panFromAnchorWorld = [
|
|
38006
|
-
(gl_matrix__rspack_import_0
|
|
37902
|
+
(gl_matrix__rspack_import_0.vec3.dot(deltaWorld, right) * safeCanvasWidth) /
|
|
38007
37903
|
effectiveWorldWidth,
|
|
38008
|
-
(-gl_matrix__rspack_import_0
|
|
37904
|
+
(-gl_matrix__rspack_import_0.vec3.dot(deltaWorld, flippedViewUp) *
|
|
38009
37905
|
safeCanvasHeight) /
|
|
38010
37906
|
worldHeight,
|
|
38011
37907
|
];
|
|
@@ -38040,11 +37936,11 @@ function getResolvedPanOffset(args) {
|
|
|
38040
37936
|
viewPlaneNormal,
|
|
38041
37937
|
viewUp: rotatedViewUp,
|
|
38042
37938
|
});
|
|
38043
|
-
let right = gl_matrix__rspack_import_0
|
|
38044
|
-
if (gl_matrix__rspack_import_0
|
|
38045
|
-
right = gl_matrix__rspack_import_0
|
|
37939
|
+
let right = gl_matrix__rspack_import_0.vec3.cross(gl_matrix__rspack_import_0.vec3.create(), flippedViewUp, flippedViewPlaneNormal);
|
|
37940
|
+
if (gl_matrix__rspack_import_0.vec3.length(right) === 0) {
|
|
37941
|
+
right = gl_matrix__rspack_import_0.vec3.fromValues(1, 0, 0);
|
|
38046
37942
|
}
|
|
38047
|
-
right = gl_matrix__rspack_import_0
|
|
37943
|
+
right = gl_matrix__rspack_import_0.vec3.normalize(gl_matrix__rspack_import_0.vec3.create(), right);
|
|
38048
37944
|
const [scaleX, scaleY] = (0,_planarCameraScale_js__rspack_import_6/* .normalizePlanarScale */.aD)(scale);
|
|
38049
37945
|
const [panX, panY] = pan;
|
|
38050
37946
|
const parallelScale = sliceBasis.fitParallelScale / scaleY;
|
|
@@ -38053,9 +37949,9 @@ function getResolvedPanOffset(args) {
|
|
|
38053
37949
|
const worldHeight = parallelScale * 2;
|
|
38054
37950
|
const worldWidth = worldHeight * (safeCanvasWidth / safeCanvasHeight);
|
|
38055
37951
|
const effectiveWorldWidth = worldWidth * (scaleY / scaleX);
|
|
38056
|
-
const deltaWorld = gl_matrix__rspack_import_0
|
|
38057
|
-
gl_matrix__rspack_import_0
|
|
38058
|
-
gl_matrix__rspack_import_0
|
|
37952
|
+
const deltaWorld = gl_matrix__rspack_import_0.vec3.create();
|
|
37953
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(deltaWorld, deltaWorld, right, (panX * effectiveWorldWidth) / safeCanvasWidth);
|
|
37954
|
+
gl_matrix__rspack_import_0.vec3.scaleAndAdd(deltaWorld, deltaWorld, flippedViewUp, (-panY * worldHeight) / safeCanvasHeight);
|
|
38059
37955
|
return {
|
|
38060
37956
|
deltaWorld: deltaWorld,
|
|
38061
37957
|
parallelScale,
|
|
@@ -38082,7 +37978,7 @@ function resolvePlanarICamera(args) {
|
|
|
38082
37978
|
rotation: presentation.rotation,
|
|
38083
37979
|
scale: presentation.scale,
|
|
38084
37980
|
});
|
|
38085
|
-
const focalPoint = gl_matrix__rspack_import_0
|
|
37981
|
+
const focalPoint = gl_matrix__rspack_import_0.vec3.subtract(gl_matrix__rspack_import_0.vec3.create(), sliceBasis.sliceCenterWorld, deltaWorld);
|
|
38086
37982
|
return {
|
|
38087
37983
|
focalPoint,
|
|
38088
37984
|
parallelProjection: true,
|
|
@@ -38090,7 +37986,7 @@ function resolvePlanarICamera(args) {
|
|
|
38090
37986
|
presentationScale,
|
|
38091
37987
|
scale: presentation.scale,
|
|
38092
37988
|
scaleMode: (0,_planarCameraScale_js__rspack_import_6/* .normalizePlanarScaleMode */.dq)(camera?.scaleMode),
|
|
38093
|
-
position: gl_matrix__rspack_import_0
|
|
37989
|
+
position: gl_matrix__rspack_import_0.vec3.scaleAndAdd(gl_matrix__rspack_import_0.vec3.create(), focalPoint, viewPlaneNormal, sliceBasis.cameraDistance),
|
|
38094
37990
|
flipHorizontal: presentation.flipHorizontal,
|
|
38095
37991
|
flipVertical: presentation.flipVertical,
|
|
38096
37992
|
viewPlaneNormal,
|
|
@@ -38118,14 +38014,14 @@ function applyPlanarICameraToRenderer(args) {
|
|
|
38118
38014
|
function getPlanarICameraRight(activeSourceICamera) {
|
|
38119
38015
|
const viewUp = (0,_planarMath_js__rspack_import_4/* .normalizePoint3 */.v)(activeSourceICamera.viewUp, [0, -1, 0]);
|
|
38120
38016
|
const viewPlaneNormal = (0,_planarMath_js__rspack_import_4/* .normalizePoint3 */.v)(activeSourceICamera.viewPlaneNormal, [0, 0, 1]);
|
|
38121
|
-
const right = gl_matrix__rspack_import_0
|
|
38122
|
-
if (gl_matrix__rspack_import_0
|
|
38017
|
+
const right = gl_matrix__rspack_import_0.vec3.cross(gl_matrix__rspack_import_0.vec3.create(), viewUp, viewPlaneNormal);
|
|
38018
|
+
if (gl_matrix__rspack_import_0.vec3.length(right) < MIN_SCALE_RATIO) {
|
|
38123
38019
|
return [1, 0, 0];
|
|
38124
38020
|
}
|
|
38125
|
-
return gl_matrix__rspack_import_0
|
|
38021
|
+
return gl_matrix__rspack_import_0.vec3.normalize(gl_matrix__rspack_import_0.vec3.create(), right);
|
|
38126
38022
|
}
|
|
38127
38023
|
function createPlanarPresentationScaleMatrix(activeSourceICamera) {
|
|
38128
|
-
const matrix = gl_matrix__rspack_import_0
|
|
38024
|
+
const matrix = gl_matrix__rspack_import_0.mat4.create();
|
|
38129
38025
|
if (!activeSourceICamera?.focalPoint ||
|
|
38130
38026
|
!activeSourceICamera.viewPlaneNormal ||
|
|
38131
38027
|
!activeSourceICamera.viewUp) {
|
|
@@ -38216,7 +38112,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38216
38112
|
|
|
38217
38113
|
},
|
|
38218
38114
|
51684(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
38219
|
-
"use strict";
|
|
38220
38115
|
|
|
38221
38116
|
// EXPORTS
|
|
38222
38117
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -38354,11 +38249,11 @@ function buildPlanarImageSliceBasis(args) {
|
|
|
38354
38249
|
const sliceCenterWorld = [...origin];
|
|
38355
38250
|
const sliceWidthWorld = Math.max(columnsForFit, 1) * (image.columnPixelSpacing || 1);
|
|
38356
38251
|
const sliceHeightWorld = Math.max(rowsForFit, 1) * (image.rowPixelSpacing || 1);
|
|
38357
|
-
esm
|
|
38358
|
-
esm
|
|
38252
|
+
esm.vec3.scaleAndAdd(sliceCenterWorld, sliceCenterWorld, rowVector, rowOffset);
|
|
38253
|
+
esm.vec3.scaleAndAdd(sliceCenterWorld, sliceCenterWorld, columnVector, columnOffset);
|
|
38359
38254
|
return {
|
|
38360
38255
|
sliceCenterWorld,
|
|
38361
|
-
viewPlaneNormal: esm
|
|
38256
|
+
viewPlaneNormal: esm.vec3.clone(viewPlaneNormal),
|
|
38362
38257
|
viewUp,
|
|
38363
38258
|
fitParallelScale: (0,planarAdapterCoordinateTransforms/* .getCpuEquivalentParallelScale */.I8)({
|
|
38364
38259
|
canvasHeight,
|
|
@@ -38432,11 +38327,11 @@ function getGeometricImageVolumeCenter(imageVolume, viewPlaneNormal) {
|
|
|
38432
38327
|
if (!corners.length) {
|
|
38433
38328
|
return [0, 0, 0];
|
|
38434
38329
|
}
|
|
38435
|
-
const center = esm
|
|
38330
|
+
const center = esm.vec3.create();
|
|
38436
38331
|
for (const corner of corners) {
|
|
38437
|
-
esm
|
|
38332
|
+
esm.vec3.add(center, center, corner);
|
|
38438
38333
|
}
|
|
38439
|
-
return esm
|
|
38334
|
+
return esm.vec3.scale(center, center, 1 / corners.length);
|
|
38440
38335
|
}
|
|
38441
38336
|
function getVolumeImageIdIndexWorldPoint(imageVolume, imageIdIndex) {
|
|
38442
38337
|
const imageData = imageVolume?.imageData;
|
|
@@ -38470,7 +38365,7 @@ function getSliceMetrics(args) {
|
|
|
38470
38365
|
maxImageIdIndex: 0,
|
|
38471
38366
|
};
|
|
38472
38367
|
}
|
|
38473
|
-
const projectedValues = corners.map((corner) => esm
|
|
38368
|
+
const projectedValues = corners.map((corner) => esm.vec3.dot(corner, viewPlaneNormal));
|
|
38474
38369
|
const min = Math.min(...projectedValues);
|
|
38475
38370
|
const max = Math.max(...projectedValues);
|
|
38476
38371
|
const maxImageIdIndex = Math.max(0, Math.round((max - min) / spacingInNormalDirection));
|
|
@@ -38588,12 +38483,12 @@ function buildPlanarVolumeSliceBasis(args) {
|
|
|
38588
38483
|
imageVolume,
|
|
38589
38484
|
viewPlaneNormal,
|
|
38590
38485
|
});
|
|
38591
|
-
const centerProjection = esm
|
|
38486
|
+
const centerProjection = esm.vec3.dot(center, viewPlaneNormal);
|
|
38592
38487
|
const volumePoint = viewState?.slice?.kind === 'volumePoint'
|
|
38593
38488
|
? viewState.slice.sliceWorldPoint
|
|
38594
38489
|
: undefined;
|
|
38595
38490
|
const requestedSliceProjection = Math.min(max, Math.max(min, volumePoint
|
|
38596
|
-
? esm
|
|
38491
|
+
? esm.vec3.dot(volumePoint, viewPlaneNormal)
|
|
38597
38492
|
: centerProjection));
|
|
38598
38493
|
const currentImageIdIndex = clampImageIdIndex({
|
|
38599
38494
|
imageIdIndex,
|
|
@@ -38606,7 +38501,7 @@ function buildPlanarVolumeSliceBasis(args) {
|
|
|
38606
38501
|
? Math.min(max, min + currentImageIdIndex * spacingInNormalDirection)
|
|
38607
38502
|
: requestedSliceProjection;
|
|
38608
38503
|
const scalarOffset = targetProjection - centerProjection;
|
|
38609
|
-
const sliceCenterWorld = esm
|
|
38504
|
+
const sliceCenterWorld = esm.vec3.scaleAndAdd(esm.vec3.create(), center, viewPlaneNormal, scalarOffset);
|
|
38610
38505
|
const cameraDistance = Math.max(max - min, spacingInNormalDirection, 1);
|
|
38611
38506
|
return {
|
|
38612
38507
|
sliceBasis: {
|
|
@@ -38651,7 +38546,6 @@ function shouldUsePlanarCpuVolumeSliceBasis(interpolationType = enums.Interpolat
|
|
|
38651
38546
|
|
|
38652
38547
|
},
|
|
38653
38548
|
93456(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
38654
|
-
"use strict";
|
|
38655
38549
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
38656
38550
|
|
|
38657
38551
|
function normalizePlanarRotation(rotation = 0) {
|
|
@@ -38663,18 +38557,18 @@ function rotatePlanarViewUp(args) {
|
|
|
38663
38557
|
if (normalizedRotation === 0) {
|
|
38664
38558
|
return [...viewUp];
|
|
38665
38559
|
}
|
|
38666
|
-
const rotationMatrix = gl_matrix__rspack_import_0
|
|
38667
|
-
return gl_matrix__rspack_import_0
|
|
38560
|
+
const rotationMatrix = gl_matrix__rspack_import_0.mat4.fromRotation(gl_matrix__rspack_import_0.mat4.create(), (normalizedRotation * Math.PI) / 180, viewPlaneNormal);
|
|
38561
|
+
return gl_matrix__rspack_import_0.vec3.transformMat4(gl_matrix__rspack_import_0.vec3.create(), viewUp, rotationMatrix);
|
|
38668
38562
|
}
|
|
38669
38563
|
function applyPlanarViewFlip(args) {
|
|
38670
38564
|
const { flipHorizontal, flipVertical, viewPlaneNormal, viewUp } = args;
|
|
38671
38565
|
const shouldFlipNormal = Boolean(flipHorizontal) !== Boolean(flipVertical);
|
|
38672
38566
|
return {
|
|
38673
38567
|
viewPlaneNormal: shouldFlipNormal
|
|
38674
|
-
? gl_matrix__rspack_import_0
|
|
38568
|
+
? gl_matrix__rspack_import_0.vec3.negate(gl_matrix__rspack_import_0.vec3.create(), viewPlaneNormal)
|
|
38675
38569
|
: [...viewPlaneNormal],
|
|
38676
38570
|
viewUp: flipVertical
|
|
38677
|
-
? gl_matrix__rspack_import_0
|
|
38571
|
+
? gl_matrix__rspack_import_0.vec3.negate(gl_matrix__rspack_import_0.vec3.create(), viewUp)
|
|
38678
38572
|
: [...viewUp],
|
|
38679
38573
|
};
|
|
38680
38574
|
}
|
|
@@ -38688,7 +38582,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38688
38582
|
|
|
38689
38583
|
},
|
|
38690
38584
|
72813(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
38691
|
-
"use strict";
|
|
38692
38585
|
/* import */ var _kitware_vtk_js_Rendering_Core_ImageResliceMapper_Constants_js__rspack_import_0 = __webpack_require__(28209);
|
|
38693
38586
|
/* import */ var _constants_index_js__rspack_import_1 = __webpack_require__(62851);
|
|
38694
38587
|
/* import */ var _enums_BlendModes_js__rspack_import_2 = __webpack_require__(21319);
|
|
@@ -38738,7 +38631,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38738
38631
|
|
|
38739
38632
|
},
|
|
38740
38633
|
75595(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
38741
|
-
"use strict";
|
|
38742
38634
|
/* import */ var _utilities_VideoUtilities_js__rspack_import_0 = __webpack_require__(18421);
|
|
38743
38635
|
/* import */ var _genericViewportDisplaySetAccess_js__rspack_import_1 = __webpack_require__(95023);
|
|
38744
38636
|
|
|
@@ -38767,7 +38659,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38767
38659
|
|
|
38768
38660
|
},
|
|
38769
38661
|
16191(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
38770
|
-
"use strict";
|
|
38771
38662
|
|
|
38772
38663
|
// EXPORTS
|
|
38773
38664
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -38940,7 +38831,6 @@ function createVideoRenderPathResolver(paths = createDefaultVideoRenderPaths())
|
|
|
38940
38831
|
|
|
38941
38832
|
},
|
|
38942
38833
|
76545(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
38943
|
-
"use strict";
|
|
38944
38834
|
/* import */ var _GenericViewport_js__rspack_import_0 = __webpack_require__(13991);
|
|
38945
38835
|
/* import */ var _enums_index_js__rspack_import_1 = __webpack_require__(71088);
|
|
38946
38836
|
/* import */ var _utilities_VideoUtilities_js__rspack_import_2 = __webpack_require__(18421);
|
|
@@ -39415,7 +39305,6 @@ function isVideoElementRendering(rendering) {
|
|
|
39415
39305
|
|
|
39416
39306
|
},
|
|
39417
39307
|
16192(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
39418
|
-
"use strict";
|
|
39419
39308
|
/* import */ var _videoProjectionAdapter_js__rspack_import_0 = __webpack_require__(63103);
|
|
39420
39309
|
/* import */ var _DefaultVideoDataProvider_js__rspack_import_1 = __webpack_require__(75595);
|
|
39421
39310
|
/* import */ var _VideoRenderPathResolver_js__rspack_import_2 = __webpack_require__(16191);
|
|
@@ -39432,7 +39321,6 @@ const videoProjection = (/* unused pure expression or super */ null && ({
|
|
|
39432
39321
|
|
|
39433
39322
|
},
|
|
39434
39323
|
63103(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
39435
|
-
"use strict";
|
|
39436
39324
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
39437
39325
|
/* import */ var _videoProjectionPresentation_js__rspack_import_1 = __webpack_require__(98662);
|
|
39438
39326
|
/* import */ var _videoProjectionSnapshot_js__rspack_import_2 = __webpack_require__(40914);
|
|
@@ -39458,7 +39346,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39458
39346
|
|
|
39459
39347
|
},
|
|
39460
39348
|
278(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
39461
|
-
"use strict";
|
|
39462
39349
|
function createDefaultVideoViewState() {
|
|
39463
39350
|
return {
|
|
39464
39351
|
currentTimeSeconds: 0,
|
|
@@ -39576,7 +39463,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39576
39463
|
|
|
39577
39464
|
},
|
|
39578
39465
|
24181(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
39579
|
-
"use strict";
|
|
39580
39466
|
/* import */ var _cache_cache_js__rspack_import_0 = __webpack_require__(73998);
|
|
39581
39467
|
/* import */ var _loaders_geometryLoader_js__rspack_import_1 = __webpack_require__(62367);
|
|
39582
39468
|
/* import */ var _loaders_volumeLoader_js__rspack_import_2 = __webpack_require__(66441);
|
|
@@ -39648,7 +39534,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39648
39534
|
|
|
39649
39535
|
},
|
|
39650
39536
|
4696(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
39651
|
-
"use strict";
|
|
39652
39537
|
|
|
39653
39538
|
// EXPORTS
|
|
39654
39539
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -40213,7 +40098,6 @@ function createVolume3DRenderPathResolver(paths = createDefaultVolume3DRenderPat
|
|
|
40213
40098
|
|
|
40214
40099
|
},
|
|
40215
40100
|
79398(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
40216
|
-
"use strict";
|
|
40217
40101
|
function applyVolume3DCamera(ctx, camera, options = {}) {
|
|
40218
40102
|
if (!camera) {
|
|
40219
40103
|
return;
|
|
@@ -40255,7 +40139,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40255
40139
|
|
|
40256
40140
|
},
|
|
40257
40141
|
72092(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
40258
|
-
"use strict";
|
|
40259
40142
|
/* import */ var _volume3DProjectionAdapter_js__rspack_import_0 = __webpack_require__(55871);
|
|
40260
40143
|
/* import */ var _DefaultVolume3DDataProvider_js__rspack_import_1 = __webpack_require__(24181);
|
|
40261
40144
|
/* import */ var _Volume3DRenderPathResolver_js__rspack_import_2 = __webpack_require__(4696);
|
|
@@ -40272,7 +40155,6 @@ const volume3DProjection = (/* unused pure expression or super */ null && ({
|
|
|
40272
40155
|
|
|
40273
40156
|
},
|
|
40274
40157
|
735(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
40275
|
-
"use strict";
|
|
40276
40158
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
40277
40159
|
/* import */ var _enums_index_js__rspack_import_1 = __webpack_require__(71088);
|
|
40278
40160
|
/* import */ var _renderingEngineCache_js__rspack_import_2 = __webpack_require__(91878);
|
|
@@ -40482,7 +40364,7 @@ class VolumeViewport3D extends _GenericViewport_js__rspack_import_3/* ["default"
|
|
|
40482
40364
|
FrameOfReferenceUID,
|
|
40483
40365
|
point: cameraFocalPoint,
|
|
40484
40366
|
inPlaneVector1: viewUp,
|
|
40485
|
-
inPlaneVector2: gl_matrix__rspack_import_0
|
|
40367
|
+
inPlaneVector2: gl_matrix__rspack_import_0.vec3.cross(gl_matrix__rspack_import_0.vec3.create(), viewUp, viewPlaneNormal),
|
|
40486
40368
|
};
|
|
40487
40369
|
}
|
|
40488
40370
|
return viewReference;
|
|
@@ -40716,7 +40598,6 @@ function isVolume3DRegisteredDataSet(value) {
|
|
|
40716
40598
|
|
|
40717
40599
|
},
|
|
40718
40600
|
55871(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
40719
|
-
"use strict";
|
|
40720
40601
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
40721
40602
|
/* import */ var _applyVolume3DCamera_js__rspack_import_1 = __webpack_require__(79398);
|
|
40722
40603
|
/* import */ var _volume3DProjectionPresentation_js__rspack_import_2 = __webpack_require__(32454);
|
|
@@ -40759,7 +40640,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40759
40640
|
|
|
40760
40641
|
},
|
|
40761
40642
|
22539(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
40762
|
-
"use strict";
|
|
40763
40643
|
/* import */ var _utilities_WSIUtilities_js__rspack_import_0 = __webpack_require__(15975);
|
|
40764
40644
|
/* import */ var _genericViewportDisplaySetAccess_js__rspack_import_1 = __webpack_require__(95023);
|
|
40765
40645
|
|
|
@@ -40805,7 +40685,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40805
40685
|
|
|
40806
40686
|
},
|
|
40807
40687
|
14335(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
40808
|
-
"use strict";
|
|
40809
40688
|
|
|
40810
40689
|
// EXPORTS
|
|
40811
40690
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -40962,7 +40841,6 @@ function createWSIRenderPathResolver(paths = createDefaultWSIRenderPaths()) {
|
|
|
40962
40841
|
|
|
40963
40842
|
},
|
|
40964
40843
|
16313(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
40965
|
-
"use strict";
|
|
40966
40844
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
40967
40845
|
/* import */ var _GenericViewport_js__rspack_import_1 = __webpack_require__(13991);
|
|
40968
40846
|
/* import */ var _DefaultWSIDataProvider_js__rspack_import_2 = __webpack_require__(22539);
|
|
@@ -41369,7 +41247,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
41369
41247
|
|
|
41370
41248
|
},
|
|
41371
41249
|
44450(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
41372
|
-
"use strict";
|
|
41373
41250
|
/* import */ var _wsiProjectionAdapter_js__rspack_import_0 = __webpack_require__(68068);
|
|
41374
41251
|
/* import */ var _DefaultWSIDataProvider_js__rspack_import_1 = __webpack_require__(22539);
|
|
41375
41252
|
/* import */ var _WSIRenderPathResolver_js__rspack_import_2 = __webpack_require__(14335);
|
|
@@ -41386,7 +41263,6 @@ const wsiProjection = (/* unused pure expression or super */ null && ({
|
|
|
41386
41263
|
|
|
41387
41264
|
},
|
|
41388
41265
|
68068(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
41389
|
-
"use strict";
|
|
41390
41266
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
41391
41267
|
/* import */ var _wsiProjectionPresentation_js__rspack_import_1 = __webpack_require__(75310);
|
|
41392
41268
|
/* import */ var _wsiProjectionSnapshot_js__rspack_import_2 = __webpack_require__(55370);
|
|
@@ -41412,7 +41288,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
41412
41288
|
|
|
41413
41289
|
},
|
|
41414
41290
|
1478(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
41415
|
-
"use strict";
|
|
41416
41291
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
41417
41292
|
/* import */ var _helpers_cpuFallback_rendering_transform_js__rspack_import_1 = __webpack_require__(34826);
|
|
41418
41293
|
|
|
@@ -41421,9 +41296,9 @@ function computeWSITransforms(metadata) {
|
|
|
41421
41296
|
if (!metadata) {
|
|
41422
41297
|
return;
|
|
41423
41298
|
}
|
|
41424
|
-
const indexToWorld = gl_matrix__rspack_import_0
|
|
41425
|
-
const worldToIndexMatrix = gl_matrix__rspack_import_0
|
|
41426
|
-
gl_matrix__rspack_import_0
|
|
41299
|
+
const indexToWorld = gl_matrix__rspack_import_0.mat4.create();
|
|
41300
|
+
const worldToIndexMatrix = gl_matrix__rspack_import_0.mat4.create();
|
|
41301
|
+
gl_matrix__rspack_import_0.mat4.fromTranslation(indexToWorld, metadata.origin);
|
|
41427
41302
|
indexToWorld[0] = metadata.direction[0];
|
|
41428
41303
|
indexToWorld[1] = metadata.direction[1];
|
|
41429
41304
|
indexToWorld[2] = metadata.direction[2];
|
|
@@ -41433,8 +41308,8 @@ function computeWSITransforms(metadata) {
|
|
|
41433
41308
|
indexToWorld[8] = metadata.direction[6];
|
|
41434
41309
|
indexToWorld[9] = metadata.direction[7];
|
|
41435
41310
|
indexToWorld[10] = metadata.direction[8];
|
|
41436
|
-
gl_matrix__rspack_import_0
|
|
41437
|
-
gl_matrix__rspack_import_0
|
|
41311
|
+
gl_matrix__rspack_import_0.mat4.scale(indexToWorld, indexToWorld, metadata.spacing);
|
|
41312
|
+
gl_matrix__rspack_import_0.mat4.invert(worldToIndexMatrix, indexToWorld);
|
|
41438
41313
|
return {
|
|
41439
41314
|
indexToWorld,
|
|
41440
41315
|
worldToIndexMatrix,
|
|
@@ -41445,8 +41320,8 @@ function worldToIndexWSIMetadata(metadata, point) {
|
|
|
41445
41320
|
if (!transforms) {
|
|
41446
41321
|
return [0, 0, 0];
|
|
41447
41322
|
}
|
|
41448
|
-
const imageCoord = gl_matrix__rspack_import_0
|
|
41449
|
-
gl_matrix__rspack_import_0
|
|
41323
|
+
const imageCoord = gl_matrix__rspack_import_0.vec3.create();
|
|
41324
|
+
gl_matrix__rspack_import_0.vec3.transformMat4(imageCoord, point, transforms.worldToIndexMatrix);
|
|
41450
41325
|
return [imageCoord[0], imageCoord[1], imageCoord[2]];
|
|
41451
41326
|
}
|
|
41452
41327
|
function indexToWorldWSIMetadata(metadata, point) {
|
|
@@ -41454,8 +41329,8 @@ function indexToWorldWSIMetadata(metadata, point) {
|
|
|
41454
41329
|
if (!transforms) {
|
|
41455
41330
|
return [0, 0, 0];
|
|
41456
41331
|
}
|
|
41457
|
-
const worldPos = gl_matrix__rspack_import_0
|
|
41458
|
-
gl_matrix__rspack_import_0
|
|
41332
|
+
const worldPos = gl_matrix__rspack_import_0.vec3.create();
|
|
41333
|
+
gl_matrix__rspack_import_0.vec3.transformMat4(worldPos, point, transforms.indexToWorld);
|
|
41459
41334
|
return [worldPos[0], worldPos[1], worldPos[2]];
|
|
41460
41335
|
}
|
|
41461
41336
|
function buildWSIImageData(args) {
|
|
@@ -41557,7 +41432,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
41557
41432
|
|
|
41558
41433
|
},
|
|
41559
41434
|
95023(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
41560
|
-
"use strict";
|
|
41561
41435
|
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(16080);
|
|
41562
41436
|
/* import */ var _utilities_genericViewportDisplaySetMetadataProvider_js__rspack_import_1 = __webpack_require__(51127);
|
|
41563
41437
|
|
|
@@ -41698,7 +41572,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
41698
41572
|
|
|
41699
41573
|
},
|
|
41700
41574
|
16488(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
41701
|
-
"use strict";
|
|
41702
41575
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
41703
41576
|
/* import */ var _utilities_imageIdToURI_js__rspack_import_1 = __webpack_require__(60465);
|
|
41704
41577
|
/* import */ var _utilities_isEqual_js__rspack_import_2 = __webpack_require__(3886);
|
|
@@ -41770,7 +41643,7 @@ function isPlaneCompatible(viewRef, context, options) {
|
|
|
41770
41643
|
return false;
|
|
41771
41644
|
}
|
|
41772
41645
|
return ((0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(viewRef.viewPlaneNormal, viewPlaneNormal) ||
|
|
41773
|
-
(0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(gl_matrix__rspack_import_0
|
|
41646
|
+
(0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(gl_matrix__rspack_import_0.vec3.negate(gl_matrix__rspack_import_0.vec3.create(), viewPlaneNormal), viewRef.viewPlaneNormal) ||
|
|
41774
41647
|
Boolean(options.withOrientation));
|
|
41775
41648
|
}
|
|
41776
41649
|
function isPlaneRestrictionViewable(planeRestriction, context, options) {
|
|
@@ -41785,18 +41658,18 @@ function isPlaneRestrictionViewable(planeRestriction, context, options) {
|
|
|
41785
41658
|
return false;
|
|
41786
41659
|
}
|
|
41787
41660
|
if (planeRestriction.inPlaneVector1 &&
|
|
41788
|
-
!(0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(0, gl_matrix__rspack_import_0
|
|
41661
|
+
!(0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(0, gl_matrix__rspack_import_0.vec3.dot(viewPlaneNormal, planeRestriction.inPlaneVector1))) {
|
|
41789
41662
|
return false;
|
|
41790
41663
|
}
|
|
41791
41664
|
if (planeRestriction.inPlaneVector2 &&
|
|
41792
|
-
!(0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(0, gl_matrix__rspack_import_0
|
|
41665
|
+
!(0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(0, gl_matrix__rspack_import_0.vec3.dot(viewPlaneNormal, planeRestriction.inPlaneVector2))) {
|
|
41793
41666
|
return false;
|
|
41794
41667
|
}
|
|
41795
41668
|
if (options.withNavigation) {
|
|
41796
41669
|
return true;
|
|
41797
41670
|
}
|
|
41798
|
-
const pointVector = gl_matrix__rspack_import_0
|
|
41799
|
-
return (0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(0, gl_matrix__rspack_import_0
|
|
41671
|
+
const pointVector = gl_matrix__rspack_import_0.vec3.sub(gl_matrix__rspack_import_0.vec3.create(), planeRestriction.point, cameraFocalPoint);
|
|
41672
|
+
return (0,_utilities_isEqual_js__rspack_import_2/* ["default"] */.Ay)(0, gl_matrix__rspack_import_0.vec3.dot(pointVector, viewPlaneNormal));
|
|
41800
41673
|
}
|
|
41801
41674
|
function isReferencedImageCompatible(viewRef, context, options) {
|
|
41802
41675
|
if (viewRef.planeRestriction &&
|
|
@@ -41972,7 +41845,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
41972
41845
|
|
|
41973
41846
|
},
|
|
41974
41847
|
67746(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
41975
|
-
"use strict";
|
|
41976
41848
|
function isVolumeLoading(imageVolume) {
|
|
41977
41849
|
return (imageVolume?.loadStatus
|
|
41978
41850
|
?.loading === true);
|
|
@@ -41999,7 +41871,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
41999
41871
|
|
|
42000
41872
|
},
|
|
42001
41873
|
74565(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
42002
|
-
"use strict";
|
|
42003
41874
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
42004
41875
|
/* import */ var _Planar_planarProjectionAdapter_js__rspack_import_1 = __webpack_require__(59377);
|
|
42005
41876
|
/* import */ var _Volume3D_volume3DProjectionAdapter_js__rspack_import_2 = __webpack_require__(55871);
|
|
@@ -42096,7 +41967,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
42096
41967
|
|
|
42097
41968
|
},
|
|
42098
41969
|
60313(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
42099
|
-
"use strict";
|
|
42100
41970
|
/* import */ var _utilities_logger_js__rspack_import_0 = __webpack_require__(34040);
|
|
42101
41971
|
/* import */ var _enums_index_js__rspack_import_1 = __webpack_require__(71088);
|
|
42102
41972
|
/* import */ var _GenericViewport_genericViewportDisplaySetAccess_js__rspack_import_2 = __webpack_require__(95023);
|
|
@@ -42849,7 +42719,6 @@ VideoViewport.frameRangeExtractor = /(\/frames\/|[&?]frameNumber=)([^/&?]*)/i;
|
|
|
42849
42719
|
|
|
42850
42720
|
},
|
|
42851
42721
|
68840(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
42852
|
-
"use strict";
|
|
42853
42722
|
/* import */ var _kitware_vtk_js_Common_Core_MatrixBuilder_js__rspack_import_0 = __webpack_require__(45841);
|
|
42854
42723
|
/* import */ var _kitware_vtk_js_Common_Core_Math_js__rspack_import_1 = __webpack_require__(90655);
|
|
42855
42724
|
/* import */ var _kitware_vtk_js_Common_DataModel_Plane_js__rspack_import_2 = __webpack_require__(98281);
|
|
@@ -43088,27 +42957,27 @@ class Viewport {
|
|
|
43088
42957
|
}
|
|
43089
42958
|
const camera = this.getCamera();
|
|
43090
42959
|
const { viewPlaneNormal, viewUp, focalPoint, position } = camera;
|
|
43091
|
-
const viewRight = gl_matrix__rspack_import_3
|
|
43092
|
-
let viewUpToSet = gl_matrix__rspack_import_3
|
|
43093
|
-
const viewPlaneNormalToSet = gl_matrix__rspack_import_3
|
|
43094
|
-
const distance = gl_matrix__rspack_import_3
|
|
42960
|
+
const viewRight = gl_matrix__rspack_import_3.vec3.cross(gl_matrix__rspack_import_3.vec3.create(), viewPlaneNormal, viewUp);
|
|
42961
|
+
let viewUpToSet = gl_matrix__rspack_import_3.vec3.copy(gl_matrix__rspack_import_3.vec3.create(), viewUp);
|
|
42962
|
+
const viewPlaneNormalToSet = gl_matrix__rspack_import_3.vec3.negate(gl_matrix__rspack_import_3.vec3.create(), viewPlaneNormal);
|
|
42963
|
+
const distance = gl_matrix__rspack_import_3.vec3.distance(position, focalPoint);
|
|
43095
42964
|
const dimensions = imageData.getDimensions();
|
|
43096
42965
|
const middleIJK = getVolumeCenterIJK(dimensions, imageData.getDirection(), viewPlaneNormal);
|
|
43097
42966
|
const idx = [middleIJK[0], middleIJK[1], middleIJK[2]];
|
|
43098
|
-
const centeredFocalPoint = imageData.indexToWorld(idx, gl_matrix__rspack_import_3
|
|
42967
|
+
const centeredFocalPoint = imageData.indexToWorld(idx, gl_matrix__rspack_import_3.vec3.create());
|
|
43099
42968
|
const resetFocalPoint = this._getFocalPointForResetCamera(centeredFocalPoint, camera, { resetPan: true, resetToCenter: false });
|
|
43100
|
-
const panDir = gl_matrix__rspack_import_3
|
|
43101
|
-
const panValue = gl_matrix__rspack_import_3
|
|
42969
|
+
const panDir = gl_matrix__rspack_import_3.vec3.subtract(gl_matrix__rspack_import_3.vec3.create(), focalPoint, resetFocalPoint);
|
|
42970
|
+
const panValue = gl_matrix__rspack_import_3.vec3.length(panDir);
|
|
43102
42971
|
const getPanDir = (mirrorVec) => {
|
|
43103
|
-
const panDirMirror = gl_matrix__rspack_import_3
|
|
43104
|
-
gl_matrix__rspack_import_3
|
|
43105
|
-
gl_matrix__rspack_import_3
|
|
42972
|
+
const panDirMirror = gl_matrix__rspack_import_3.vec3.scale(gl_matrix__rspack_import_3.vec3.create(), mirrorVec, 2 * gl_matrix__rspack_import_3.vec3.dot(panDir, mirrorVec));
|
|
42973
|
+
gl_matrix__rspack_import_3.vec3.subtract(panDirMirror, panDirMirror, panDir);
|
|
42974
|
+
gl_matrix__rspack_import_3.vec3.normalize(panDirMirror, panDirMirror);
|
|
43106
42975
|
return panDirMirror;
|
|
43107
42976
|
};
|
|
43108
42977
|
if (flipHorizontal) {
|
|
43109
42978
|
const panDirMirror = getPanDir(viewUpToSet);
|
|
43110
|
-
const newFocalPoint = gl_matrix__rspack_import_3
|
|
43111
|
-
const newPosition = gl_matrix__rspack_import_3
|
|
42979
|
+
const newFocalPoint = gl_matrix__rspack_import_3.vec3.scaleAndAdd(gl_matrix__rspack_import_3.vec3.create(), resetFocalPoint, panDirMirror, panValue);
|
|
42980
|
+
const newPosition = gl_matrix__rspack_import_3.vec3.scaleAndAdd(gl_matrix__rspack_import_3.vec3.create(), newFocalPoint, viewPlaneNormalToSet, distance);
|
|
43112
42981
|
this.setCamera({
|
|
43113
42982
|
viewPlaneNormal: viewPlaneNormalToSet,
|
|
43114
42983
|
position: newPosition,
|
|
@@ -43117,10 +42986,10 @@ class Viewport {
|
|
|
43117
42986
|
this.flipHorizontal = !this.flipHorizontal;
|
|
43118
42987
|
}
|
|
43119
42988
|
if (flipVertical) {
|
|
43120
|
-
viewUpToSet = gl_matrix__rspack_import_3
|
|
42989
|
+
viewUpToSet = gl_matrix__rspack_import_3.vec3.negate(viewUpToSet, viewUp);
|
|
43121
42990
|
const panDirMirror = getPanDir(viewRight);
|
|
43122
|
-
const newFocalPoint = gl_matrix__rspack_import_3
|
|
43123
|
-
const newPosition = gl_matrix__rspack_import_3
|
|
42991
|
+
const newFocalPoint = gl_matrix__rspack_import_3.vec3.scaleAndAdd(gl_matrix__rspack_import_3.vec3.create(), resetFocalPoint, panDirMirror, panValue);
|
|
42992
|
+
const newPosition = gl_matrix__rspack_import_3.vec3.scaleAndAdd(gl_matrix__rspack_import_3.vec3.create(), newFocalPoint, viewPlaneNormalToSet, distance);
|
|
43124
42993
|
this.setCamera({
|
|
43125
42994
|
focalPoint: newFocalPoint,
|
|
43126
42995
|
viewPlaneNormal: viewPlaneNormalToSet,
|
|
@@ -43355,20 +43224,20 @@ class Viewport {
|
|
|
43355
43224
|
delete displayArea.imageArea;
|
|
43356
43225
|
this.setDisplayAreaFit(displayArea);
|
|
43357
43226
|
const { focalPoint, position, viewUp, viewPlaneNormal } = this.getCamera();
|
|
43358
|
-
const focalChange = gl_matrix__rspack_import_3
|
|
43227
|
+
const focalChange = gl_matrix__rspack_import_3.vec3.create();
|
|
43359
43228
|
if (height % 2) {
|
|
43360
|
-
gl_matrix__rspack_import_3
|
|
43229
|
+
gl_matrix__rspack_import_3.vec3.scaleAndAdd(focalChange, focalChange, viewUp, scale * 0.5 * spacing);
|
|
43361
43230
|
}
|
|
43362
43231
|
if (width % 2) {
|
|
43363
|
-
const viewRight = gl_matrix__rspack_import_3
|
|
43364
|
-
gl_matrix__rspack_import_3
|
|
43232
|
+
const viewRight = gl_matrix__rspack_import_3.vec3.cross(gl_matrix__rspack_import_3.vec3.create(), viewUp, viewPlaneNormal);
|
|
43233
|
+
gl_matrix__rspack_import_3.vec3.scaleAndAdd(focalChange, focalChange, viewRight, scale * 0.5 * spacing);
|
|
43365
43234
|
}
|
|
43366
43235
|
if (!focalChange[0] && !focalChange[1] && !focalChange[2]) {
|
|
43367
43236
|
return;
|
|
43368
43237
|
}
|
|
43369
43238
|
this.setCamera({
|
|
43370
|
-
focalPoint: gl_matrix__rspack_import_3
|
|
43371
|
-
position: gl_matrix__rspack_import_3
|
|
43239
|
+
focalPoint: gl_matrix__rspack_import_3.vec3.add(gl_matrix__rspack_import_3.vec3.create(), focalPoint, focalChange),
|
|
43240
|
+
position: gl_matrix__rspack_import_3.vec3.add(gl_matrix__rspack_import_3.vec3.create(), position, focalChange),
|
|
43372
43241
|
});
|
|
43373
43242
|
}
|
|
43374
43243
|
setDisplayAreaFit(displayArea, baseCamera = this.fitToCanvasCamera) {
|
|
@@ -43418,7 +43287,7 @@ class Viewport {
|
|
|
43418
43287
|
const newPositionX = imagePanX + canvasPanX;
|
|
43419
43288
|
const newPositionY = imagePanY + canvasPanY;
|
|
43420
43289
|
const deltaPoint2 = [newPositionX, newPositionY];
|
|
43421
|
-
gl_matrix__rspack_import_3
|
|
43290
|
+
gl_matrix__rspack_import_3.vec2.add(deltaPoint2, deltaPoint2, this.getPan());
|
|
43422
43291
|
this.setPan(deltaPoint2, false);
|
|
43423
43292
|
}
|
|
43424
43293
|
}
|
|
@@ -43564,9 +43433,9 @@ class Viewport {
|
|
|
43564
43433
|
const activeCamera = this.getVtkActiveCamera();
|
|
43565
43434
|
const focalPoint = activeCamera.getFocalPoint();
|
|
43566
43435
|
const zero3 = this.canvasToWorld([0, 0]);
|
|
43567
|
-
const initialCanvasFocal = this.worldToCanvas(gl_matrix__rspack_import_3
|
|
43568
|
-
const currentCanvasFocal = this.worldToCanvas(gl_matrix__rspack_import_3
|
|
43569
|
-
const result = gl_matrix__rspack_import_3
|
|
43436
|
+
const initialCanvasFocal = this.worldToCanvas(gl_matrix__rspack_import_3.vec3.subtract([0, 0, 0], initialCamera.focalPoint, zero3));
|
|
43437
|
+
const currentCanvasFocal = this.worldToCanvas(gl_matrix__rspack_import_3.vec3.subtract([0, 0, 0], focalPoint, zero3));
|
|
43438
|
+
const result = gl_matrix__rspack_import_3.vec2.subtract([0, 0], initialCanvasFocal, currentCanvasFocal);
|
|
43570
43439
|
return result;
|
|
43571
43440
|
}
|
|
43572
43441
|
getCurrentImageIdIndex() {
|
|
@@ -43585,15 +43454,15 @@ class Viewport {
|
|
|
43585
43454
|
const previousCamera = this.getCamera();
|
|
43586
43455
|
const { focalPoint, position } = previousCamera;
|
|
43587
43456
|
const zero3 = this.canvasToWorld([0, 0]);
|
|
43588
|
-
const delta2 = gl_matrix__rspack_import_3
|
|
43457
|
+
const delta2 = gl_matrix__rspack_import_3.vec2.subtract([0, 0], pan, this.getPan());
|
|
43589
43458
|
if (Math.abs(delta2[0]) < 1 &&
|
|
43590
43459
|
Math.abs(delta2[1]) < 1 &&
|
|
43591
43460
|
!storeAsInitialCamera) {
|
|
43592
43461
|
return;
|
|
43593
43462
|
}
|
|
43594
|
-
const delta = gl_matrix__rspack_import_3
|
|
43595
|
-
const newFocal = gl_matrix__rspack_import_3
|
|
43596
|
-
const newPosition = gl_matrix__rspack_import_3
|
|
43463
|
+
const delta = gl_matrix__rspack_import_3.vec3.subtract(gl_matrix__rspack_import_3.vec3.create(), this.canvasToWorld(delta2), zero3);
|
|
43464
|
+
const newFocal = gl_matrix__rspack_import_3.vec3.subtract(gl_matrix__rspack_import_3.vec3.create(), focalPoint, delta);
|
|
43465
|
+
const newPosition = gl_matrix__rspack_import_3.vec3.subtract(gl_matrix__rspack_import_3.vec3.create(), position, delta);
|
|
43597
43466
|
this.setCamera({
|
|
43598
43467
|
...previousCamera,
|
|
43599
43468
|
focalPoint: newFocal,
|
|
@@ -43891,7 +43760,7 @@ class Viewport {
|
|
|
43891
43760
|
_getWorldDistanceViewUpAndViewRight(bounds, viewUp, viewPlaneNormal) {
|
|
43892
43761
|
const viewUpCorners = this._getCorners(bounds);
|
|
43893
43762
|
const viewRightCorners = this._getCorners(bounds);
|
|
43894
|
-
const viewRight = gl_matrix__rspack_import_3
|
|
43763
|
+
const viewRight = gl_matrix__rspack_import_3.vec3.cross(gl_matrix__rspack_import_3.vec3.create(), viewUp, viewPlaneNormal);
|
|
43895
43764
|
let transform = _kitware_vtk_js_Common_Core_MatrixBuilder_js__rspack_import_0/* ["default"].buildFromDegree */.A.buildFromDegree()
|
|
43896
43765
|
.identity()
|
|
43897
43766
|
.rotateFromDirections(viewUp, [1, 0, 0]);
|
|
@@ -43937,7 +43806,7 @@ class Viewport {
|
|
|
43937
43806
|
FrameOfReferenceUID,
|
|
43938
43807
|
point: viewRefSpecifier?.points?.[0] || cameraFocalPoint,
|
|
43939
43808
|
inPlaneVector1: viewUp,
|
|
43940
|
-
inPlaneVector2: (gl_matrix__rspack_import_3
|
|
43809
|
+
inPlaneVector2: (gl_matrix__rspack_import_3.vec3.cross(gl_matrix__rspack_import_3.vec3.create(), viewUp, viewPlaneNormal)),
|
|
43941
43810
|
referencePlaneThickness: this.getReferencePlaneThickness(),
|
|
43942
43811
|
},
|
|
43943
43812
|
};
|
|
@@ -43959,11 +43828,11 @@ class Viewport {
|
|
|
43959
43828
|
return true;
|
|
43960
43829
|
}
|
|
43961
43830
|
if (inPlaneVector1 &&
|
|
43962
|
-
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(0, gl_matrix__rspack_import_3
|
|
43831
|
+
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(0, gl_matrix__rspack_import_3.vec3.dot(viewPlaneNormal, inPlaneVector1))) {
|
|
43963
43832
|
return false;
|
|
43964
43833
|
}
|
|
43965
43834
|
if (inPlaneVector2 &&
|
|
43966
|
-
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(0, gl_matrix__rspack_import_3
|
|
43835
|
+
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(0, gl_matrix__rspack_import_3.vec3.dot(viewPlaneNormal, inPlaneVector2))) {
|
|
43967
43836
|
return false;
|
|
43968
43837
|
}
|
|
43969
43838
|
if (options?.withNavigation) {
|
|
@@ -43984,7 +43853,7 @@ class Viewport {
|
|
|
43984
43853
|
const camera = this.getCamera();
|
|
43985
43854
|
if (viewPlaneNormal &&
|
|
43986
43855
|
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(viewPlaneNormal, camera.viewPlaneNormal) &&
|
|
43987
|
-
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(gl_matrix__rspack_import_3
|
|
43856
|
+
!(0,_utilities_isEqual_js__rspack_import_12/* ["default"] */.Ay)(gl_matrix__rspack_import_3.vec3.negate(camera.viewPlaneNormal, camera.viewPlaneNormal), viewPlaneNormal)) {
|
|
43988
43857
|
return options?.withOrientation;
|
|
43989
43858
|
}
|
|
43990
43859
|
return true;
|
|
@@ -44079,9 +43948,9 @@ class Viewport {
|
|
|
44079
43948
|
const oldCamera = previousCamera;
|
|
44080
43949
|
const oldFocalPoint = oldCamera.focalPoint;
|
|
44081
43950
|
const oldViewPlaneNormal = oldCamera.viewPlaneNormal;
|
|
44082
|
-
const vectorFromOldFocalPointToCenteredFocalPoint = gl_matrix__rspack_import_3
|
|
44083
|
-
const distanceFromOldFocalPointToCenteredFocalPoint = gl_matrix__rspack_import_3
|
|
44084
|
-
const newFocalPoint = gl_matrix__rspack_import_3
|
|
43951
|
+
const vectorFromOldFocalPointToCenteredFocalPoint = gl_matrix__rspack_import_3.vec3.subtract(gl_matrix__rspack_import_3.vec3.create(), centeredFocalPoint, oldFocalPoint);
|
|
43952
|
+
const distanceFromOldFocalPointToCenteredFocalPoint = gl_matrix__rspack_import_3.vec3.dot(vectorFromOldFocalPointToCenteredFocalPoint, oldViewPlaneNormal);
|
|
43953
|
+
const newFocalPoint = gl_matrix__rspack_import_3.vec3.scaleAndAdd(gl_matrix__rspack_import_3.vec3.create(), centeredFocalPoint, oldViewPlaneNormal, -1 * distanceFromOldFocalPointToCenteredFocalPoint);
|
|
44085
43954
|
return [newFocalPoint[0], newFocalPoint[1], newFocalPoint[2]];
|
|
44086
43955
|
}
|
|
44087
43956
|
if (!resetPan && !resetToCenter) {
|
|
@@ -44168,7 +44037,7 @@ function getVolumeCenterIJK(dimensions, direction, viewPlaneNormal) {
|
|
|
44168
44037
|
let sliceAxis = 0;
|
|
44169
44038
|
let maxDot = -1;
|
|
44170
44039
|
for (let i = 0; i < 3; i++) {
|
|
44171
|
-
const dot = Math.abs(gl_matrix__rspack_import_3
|
|
44040
|
+
const dot = Math.abs(gl_matrix__rspack_import_3.vec3.dot(ijkAxes[i], normal));
|
|
44172
44041
|
if (dot > maxDot) {
|
|
44173
44042
|
maxDot = dot;
|
|
44174
44043
|
sliceAxis = i;
|
|
@@ -44186,7 +44055,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44186
44055
|
|
|
44187
44056
|
},
|
|
44188
44057
|
24747(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44189
|
-
"use strict";
|
|
44190
44058
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
44191
44059
|
/* import */ var _enums_index_js__rspack_import_1 = __webpack_require__(71088);
|
|
44192
44060
|
/* import */ var _utilities_uuidv4_js__rspack_import_2 = __webpack_require__(92157);
|
|
@@ -44398,9 +44266,9 @@ class WSIViewport extends _Viewport_js__rspack_import_5/* ["default"] */.A {
|
|
|
44398
44266
|
return null;
|
|
44399
44267
|
}
|
|
44400
44268
|
computeTransforms() {
|
|
44401
|
-
const indexToWorld = gl_matrix__rspack_import_0
|
|
44402
|
-
const worldToIndex = gl_matrix__rspack_import_0
|
|
44403
|
-
gl_matrix__rspack_import_0
|
|
44269
|
+
const indexToWorld = gl_matrix__rspack_import_0.mat4.create();
|
|
44270
|
+
const worldToIndex = gl_matrix__rspack_import_0.mat4.create();
|
|
44271
|
+
gl_matrix__rspack_import_0.mat4.fromTranslation(indexToWorld, this.metadata.origin);
|
|
44404
44272
|
indexToWorld[0] = this.metadata.direction[0];
|
|
44405
44273
|
indexToWorld[1] = this.metadata.direction[1];
|
|
44406
44274
|
indexToWorld[2] = this.metadata.direction[2];
|
|
@@ -44410,8 +44278,8 @@ class WSIViewport extends _Viewport_js__rspack_import_5/* ["default"] */.A {
|
|
|
44410
44278
|
indexToWorld[8] = this.metadata.direction[6];
|
|
44411
44279
|
indexToWorld[9] = this.metadata.direction[7];
|
|
44412
44280
|
indexToWorld[10] = this.metadata.direction[8];
|
|
44413
|
-
gl_matrix__rspack_import_0
|
|
44414
|
-
gl_matrix__rspack_import_0
|
|
44281
|
+
gl_matrix__rspack_import_0.mat4.scale(indexToWorld, indexToWorld, this.metadata.spacing);
|
|
44282
|
+
gl_matrix__rspack_import_0.mat4.invert(worldToIndex, indexToWorld);
|
|
44415
44283
|
return { indexToWorld, worldToIndex };
|
|
44416
44284
|
}
|
|
44417
44285
|
getImageData() {
|
|
@@ -44525,15 +44393,15 @@ class WSIViewport extends _Viewport_js__rspack_import_5/* ["default"] */.A {
|
|
|
44525
44393
|
}
|
|
44526
44394
|
worldToIndex(point) {
|
|
44527
44395
|
const { worldToIndex: worldToIndexMatrix } = this.computeTransforms();
|
|
44528
|
-
const imageCoord = gl_matrix__rspack_import_0
|
|
44529
|
-
gl_matrix__rspack_import_0
|
|
44396
|
+
const imageCoord = gl_matrix__rspack_import_0.vec3.create();
|
|
44397
|
+
gl_matrix__rspack_import_0.vec3.transformMat4(imageCoord, point, worldToIndexMatrix);
|
|
44530
44398
|
return imageCoord;
|
|
44531
44399
|
}
|
|
44532
44400
|
indexToWorld(point) {
|
|
44533
44401
|
const { indexToWorld: indexToWorldMatrix } = this.computeTransforms();
|
|
44534
|
-
const worldPos = gl_matrix__rspack_import_0
|
|
44535
|
-
const point3D = gl_matrix__rspack_import_0
|
|
44536
|
-
gl_matrix__rspack_import_0
|
|
44402
|
+
const worldPos = gl_matrix__rspack_import_0.vec3.create();
|
|
44403
|
+
const point3D = gl_matrix__rspack_import_0.vec3.fromValues(...point);
|
|
44404
|
+
gl_matrix__rspack_import_0.vec3.transformMat4(worldPos, point3D, indexToWorldMatrix);
|
|
44537
44405
|
return [worldPos[0], worldPos[1], worldPos[2]];
|
|
44538
44406
|
}
|
|
44539
44407
|
setDataList(entries) {
|
|
@@ -44686,7 +44554,6 @@ class WSIViewport extends _Viewport_js__rspack_import_5/* ["default"] */.A {
|
|
|
44686
44554
|
|
|
44687
44555
|
},
|
|
44688
44556
|
22919(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
44689
|
-
"use strict";
|
|
44690
44557
|
/* import */ var _utilities_logger_js__rspack_import_0 = __webpack_require__(34040);
|
|
44691
44558
|
|
|
44692
44559
|
const log = _utilities_logger_js__rspack_import_0.coreLog.getLogger('RenderingEngine', 'addImageSlicesToViewports');
|
|
@@ -44711,7 +44578,6 @@ function addImageSlicesToViewports(renderingEngine, stackInputs, viewportIds) {
|
|
|
44711
44578
|
|
|
44712
44579
|
},
|
|
44713
44580
|
11678(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44714
|
-
"use strict";
|
|
44715
44581
|
/* import */ var _colormap_js__rspack_import_0 = __webpack_require__(70527);
|
|
44716
44582
|
/* import */ var _lookupTable_js__rspack_import_1 = __webpack_require__(33344);
|
|
44717
44583
|
|
|
@@ -44725,7 +44591,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44725
44591
|
|
|
44726
44592
|
},
|
|
44727
44593
|
66234(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44728
|
-
"use strict";
|
|
44729
44594
|
/* export default */ function __rspack_default_export(shift, viewportOrientation) {
|
|
44730
44595
|
const { hflip, vflip, rotation } = viewportOrientation;
|
|
44731
44596
|
shift.x *= hflip ? -1 : 1;
|
|
@@ -44749,7 +44614,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44749
44614
|
|
|
44750
44615
|
},
|
|
44751
44616
|
50136(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44752
|
-
"use strict";
|
|
44753
44617
|
/* import */ var _getImageFitScale_js__rspack_import_0 = __webpack_require__(47082);
|
|
44754
44618
|
|
|
44755
44619
|
/* export default */ function __rspack_default_export(enabledElement) {
|
|
@@ -44766,7 +44630,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44766
44630
|
|
|
44767
44631
|
},
|
|
44768
44632
|
70608(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44769
|
-
"use strict";
|
|
44770
44633
|
/* import */ var _calculateTransform_js__rspack_import_0 = __webpack_require__(3008);
|
|
44771
44634
|
|
|
44772
44635
|
/* export default */ function __rspack_default_export(enabledElement, context, scale) {
|
|
@@ -44788,7 +44651,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44788
44651
|
|
|
44789
44652
|
},
|
|
44790
44653
|
34826(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44791
|
-
"use strict";
|
|
44792
44654
|
class Transform {
|
|
44793
44655
|
constructor() {
|
|
44794
44656
|
this.reset();
|
|
@@ -44877,7 +44739,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44877
44739
|
|
|
44878
44740
|
},
|
|
44879
44741
|
93348(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
44880
|
-
"use strict";
|
|
44881
44742
|
|
|
44882
44743
|
// EXPORTS
|
|
44883
44744
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -45323,12 +45184,11 @@ var notifyFidelityStateChanged = __webpack_require__(3508);
|
|
|
45323
45184
|
|
|
45324
45185
|
},
|
|
45325
45186
|
81184(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45326
|
-
"use strict";
|
|
45327
45187
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
45328
45188
|
|
|
45329
45189
|
function getProjectionScaleMatrix(aspectRatio) {
|
|
45330
45190
|
const [scaleX, scaleY] = aspectRatio;
|
|
45331
|
-
const projectionScaleMatrix = gl_matrix__rspack_import_0
|
|
45191
|
+
const projectionScaleMatrix = gl_matrix__rspack_import_0.mat4.fromScaling(gl_matrix__rspack_import_0.mat4.create(), [
|
|
45332
45192
|
scaleX,
|
|
45333
45193
|
scaleY,
|
|
45334
45194
|
1.0,
|
|
@@ -45343,7 +45203,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45343
45203
|
|
|
45344
45204
|
},
|
|
45345
45205
|
61719(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45346
|
-
"use strict";
|
|
45347
45206
|
/* import */ var _enums_Events_js__rspack_import_0 = __webpack_require__(33635);
|
|
45348
45207
|
/* import */ var _eventTarget_js__rspack_import_1 = __webpack_require__(45340);
|
|
45349
45208
|
/* import */ var _resolveVolumeTexture_js__rspack_import_2 = __webpack_require__(17565);
|
|
@@ -45411,7 +45270,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45411
45270
|
|
|
45412
45271
|
},
|
|
45413
45272
|
44215(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45414
|
-
"use strict";
|
|
45415
45273
|
/* import */ var _kitware_vtk_js_Common_Core_DataArray_js__rspack_import_0 = __webpack_require__(84472);
|
|
45416
45274
|
/* import */ var _kitware_vtk_js_Common_DataModel_ImageData_js__rspack_import_1 = __webpack_require__(41698);
|
|
45417
45275
|
/* import */ var _kitware_vtk_js_Rendering_Core_ColorTransferFunction_js__rspack_import_2 = __webpack_require__(1282);
|
|
@@ -45567,7 +45425,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45567
45425
|
|
|
45568
45426
|
},
|
|
45569
45427
|
92117(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45570
|
-
"use strict";
|
|
45571
45428
|
/* import */ var _enums_RenderBackends_js__rspack_import_0 = __webpack_require__(52587);
|
|
45572
45429
|
/* import */ var _types_IActor_js__rspack_import_1 = __webpack_require__(72883);
|
|
45573
45430
|
|
|
@@ -45717,7 +45574,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45717
45574
|
|
|
45718
45575
|
},
|
|
45719
45576
|
41067(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45720
|
-
"use strict";
|
|
45721
45577
|
/* import */ var _cache_cache_js__rspack_import_0 = __webpack_require__(73998);
|
|
45722
45578
|
|
|
45723
45579
|
const STREAMING_VOLUME_LOADER_SCHEME = 'cornerstoneStreamingImageVolume';
|
|
@@ -45746,7 +45602,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45746
45602
|
|
|
45747
45603
|
},
|
|
45748
45604
|
17565(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45749
|
-
"use strict";
|
|
45750
45605
|
/* import */ var _volumeRenderStrategy_js__rspack_import_0 = __webpack_require__(53703);
|
|
45751
45606
|
/* import */ var _utilities_gpuSettingsPresets_js__rspack_import_1 = __webpack_require__(701);
|
|
45752
45607
|
|
|
@@ -45779,7 +45634,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45779
45634
|
|
|
45780
45635
|
},
|
|
45781
45636
|
26365(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45782
|
-
"use strict";
|
|
45783
45637
|
/* import */ var _kitware_vtk_js_Rendering_Core_ColorTransferFunction_js__rspack_import_0 = __webpack_require__(1282);
|
|
45784
45638
|
/* import */ var _loaders_imageLoader_js__rspack_import_1 = __webpack_require__(65092);
|
|
45785
45639
|
/* import */ var _metaData_js__rspack_import_2 = __webpack_require__(52284);
|
|
@@ -45950,7 +45804,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45950
45804
|
|
|
45951
45805
|
},
|
|
45952
45806
|
35586(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45953
|
-
"use strict";
|
|
45954
45807
|
|
|
45955
45808
|
// EXPORTS
|
|
45956
45809
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -47176,7 +47029,6 @@ function getViewportClassForInput(input) {
|
|
|
47176
47029
|
|
|
47177
47030
|
},
|
|
47178
47031
|
53703(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
47179
|
-
"use strict";
|
|
47180
47032
|
/* import */ var _enums_VoxelStatistics_js__rspack_import_0 = __webpack_require__(10475);
|
|
47181
47033
|
/* import */ var _utilities_voxelGrid_index_js__rspack_import_1 = __webpack_require__(49617);
|
|
47182
47034
|
/* import */ var _utilities_getBufferConfiguration_js__rspack_import_2 = __webpack_require__(25752);
|
|
@@ -47348,7 +47200,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
47348
47200
|
|
|
47349
47201
|
},
|
|
47350
47202
|
81395(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
47351
|
-
"use strict";
|
|
47352
47203
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
47353
47204
|
/* import */ var _eventTarget_js__rspack_import_1 = __webpack_require__(45340);
|
|
47354
47205
|
/* import */ var _utilities_gpuSettingsPresets_js__rspack_import_2 = __webpack_require__(701);
|
|
@@ -47470,7 +47321,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
47470
47321
|
|
|
47471
47322
|
},
|
|
47472
47323
|
60131(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
47473
|
-
"use strict";
|
|
47474
47324
|
|
|
47475
47325
|
// UNUSED EXPORTS: BaseRenderingEngine, ContextPoolRenderingEngine, DefaultECGDataProvider, DefaultPlanarDataProvider, DefaultRenderPathResolver, DefaultVideoDataProvider, DefaultVolume3DDataProvider, DefaultWSIDataProvider, ECGGenericViewport, EPSILON, GenericViewport, GenericVolumeViewport3D, LegacyVolumeViewport3D, PlanarViewport, RenderingEngine, StackViewport, TiledRenderingEngine, VideoGenericViewport, ViewportProjectionService, VolumeViewport, VolumeViewport3D, WSIGenericViewport, addImageSlicesToViewports, addVolumesToViewports, createCanvas, createDefaultECGRenderPaths, createDefaultPlanarRenderPaths, createDefaultVideoRenderPaths, createDefaultVolume3DRenderPaths, createDefaultWSIRenderPaths, createECGRenderPathResolver, createPlanarRenderPathResolver, createVideoRenderPathResolver, createViewportElement, createVolume3DRenderPathResolver, createVolumeActor, createVolumeMapper, createWSIRenderPathResolver, default, defaultRenderPathResolver, ecgProjection, getOrCreateCanvas, getProjectionScaleMatrix, getRenderingEngine, planarProjection, renderingEngineExportsV2, setCanvasCreator, setVolumesForViewports, updateCanvasSizeAndAspectRatio, videoProjection, viewportProjection, volume3DProjection, volumeNewImageEventDispatcher, wsiProjection
|
|
47476
47326
|
|
|
@@ -48080,7 +47930,6 @@ const LegacyVolumeViewport3D = (/* unused pure expression or super */ null && (V
|
|
|
48080
47930
|
|
|
48081
47931
|
},
|
|
48082
47932
|
91878(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
48083
|
-
"use strict";
|
|
48084
47933
|
const cache = {};
|
|
48085
47934
|
const renderingEngineCache = {
|
|
48086
47935
|
get: (id) => {
|
|
@@ -48115,7 +47964,6 @@ const renderingEngineCache = {
|
|
|
48115
47964
|
|
|
48116
47965
|
},
|
|
48117
47966
|
44418(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
48118
|
-
"use strict";
|
|
48119
47967
|
|
|
48120
47968
|
// EXPORTS
|
|
48121
47969
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -48176,10 +48024,9 @@ var vtkSlabCamera = __webpack_require__(65616);
|
|
|
48176
48024
|
|
|
48177
48025
|
},
|
|
48178
48026
|
32855(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
48179
|
-
"use strict";
|
|
48180
48027
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(71088);
|
|
48181
48028
|
/* import */ var _eventTarget_js__rspack_import_1 = __webpack_require__(45340);
|
|
48182
|
-
/* import */ var _utilities_index_js__rspack_import_2 = __webpack_require__(
|
|
48029
|
+
/* import */ var _utilities_index_js__rspack_import_2 = __webpack_require__(58164);
|
|
48183
48030
|
/* import */ var _BaseStreamingImageVolume_js__rspack_import_3 = __webpack_require__(10709);
|
|
48184
48031
|
|
|
48185
48032
|
|
|
@@ -48294,7 +48141,6 @@ class StreamingDynamicImageVolume extends _BaseStreamingImageVolume_js__rspack_i
|
|
|
48294
48141
|
|
|
48295
48142
|
},
|
|
48296
48143
|
40676(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
48297
|
-
"use strict";
|
|
48298
48144
|
/* import */ var _BaseStreamingImageVolume_js__rspack_import_0 = __webpack_require__(10709);
|
|
48299
48145
|
|
|
48300
48146
|
class StreamingImageVolume extends _BaseStreamingImageVolume_js__rspack_import_0/* ["default"] */.A {
|
|
@@ -48325,7 +48171,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
48325
48171
|
|
|
48326
48172
|
},
|
|
48327
48173
|
34136() {
|
|
48328
|
-
"use strict";
|
|
48329
48174
|
class Surface {
|
|
48330
48175
|
constructor(props) {
|
|
48331
48176
|
this._color = [200, 0, 0];
|
|
@@ -48398,7 +48243,6 @@ class Surface {
|
|
|
48398
48243
|
|
|
48399
48244
|
},
|
|
48400
48245
|
97896(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
48401
|
-
"use strict";
|
|
48402
48246
|
/* import */ var _enums_VoxelStatistics_js__rspack_import_0 = __webpack_require__(10475);
|
|
48403
48247
|
/* import */ var _utilities_voxelGrid_index_js__rspack_import_1 = __webpack_require__(49617);
|
|
48404
48248
|
|
|
@@ -48475,7 +48319,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
48475
48319
|
|
|
48476
48320
|
},
|
|
48477
48321
|
82340(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
48478
|
-
"use strict";
|
|
48479
48322
|
/* import */ var _enums_VoxelStatistics_js__rspack_import_0 = __webpack_require__(10475);
|
|
48480
48323
|
/* import */ var _utilities_getBufferConfiguration_js__rspack_import_1 = __webpack_require__(25752);
|
|
48481
48324
|
/* import */ var _utilities_voxelGrid_index_js__rspack_import_2 = __webpack_require__(49617);
|
|
@@ -48668,7 +48511,6 @@ _eventTarget_js__rspack_import_5/* ["default"].addEventListener */.A.addEventLis
|
|
|
48668
48511
|
|
|
48669
48512
|
},
|
|
48670
48513
|
56581(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
48671
|
-
"use strict";
|
|
48672
48514
|
const colormapsData = {
|
|
48673
48515
|
hotIron: {
|
|
48674
48516
|
name: 'Hot Iron',
|
|
@@ -50198,7 +50040,6 @@ const colormapsData = {
|
|
|
50198
50040
|
|
|
50199
50041
|
},
|
|
50200
50042
|
62851(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50201
|
-
"use strict";
|
|
50202
50043
|
|
|
50203
50044
|
// EXPORTS
|
|
50204
50045
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -50555,7 +50396,6 @@ const backgroundColors = (/* unused pure expression or super */ null && ({
|
|
|
50555
50396
|
|
|
50556
50397
|
},
|
|
50557
50398
|
18503(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50558
|
-
"use strict";
|
|
50559
50399
|
/* import */ var _utilities_deepFreeze_js__rspack_import_0 = __webpack_require__(26357);
|
|
50560
50400
|
|
|
50561
50401
|
const MPR_CAMERA_VALUES = {
|
|
@@ -50581,7 +50421,6 @@ const mprCameraValues = (0,_utilities_deepFreeze_js__rspack_import_0/* ["default
|
|
|
50581
50421
|
|
|
50582
50422
|
},
|
|
50583
50423
|
85379(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50584
|
-
"use strict";
|
|
50585
50424
|
const RENDERING_DEFAULTS = {
|
|
50586
50425
|
MINIMUM_SLAB_THICKNESS: 5e-2,
|
|
50587
50426
|
MAXIMUM_RAY_DISTANCE: 1e6,
|
|
@@ -50592,7 +50431,6 @@ Object.freeze(RENDERING_DEFAULTS);
|
|
|
50592
50431
|
|
|
50593
50432
|
},
|
|
50594
50433
|
21319(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50595
|
-
"use strict";
|
|
50596
50434
|
/* import */ var _kitware_vtk_js_Rendering_Core_VolumeMapper_Constants_js__rspack_import_0 = __webpack_require__(43449);
|
|
50597
50435
|
|
|
50598
50436
|
const { BlendMode } = _kitware_vtk_js_Rendering_Core_VolumeMapper_Constants_js__rspack_import_0/* ["default"] */.A;
|
|
@@ -50609,7 +50447,6 @@ var BlendModes;
|
|
|
50609
50447
|
|
|
50610
50448
|
},
|
|
50611
50449
|
73266() {
|
|
50612
|
-
"use strict";
|
|
50613
50450
|
var ContourType;
|
|
50614
50451
|
(function (ContourType) {
|
|
50615
50452
|
ContourType["CLOSED_PLANAR"] = "CLOSED_PLANAR";
|
|
@@ -50620,7 +50457,6 @@ var ContourType;
|
|
|
50620
50457
|
|
|
50621
50458
|
},
|
|
50622
50459
|
32201() {
|
|
50623
|
-
"use strict";
|
|
50624
50460
|
var DynamicOperatorType;
|
|
50625
50461
|
(function (DynamicOperatorType) {
|
|
50626
50462
|
DynamicOperatorType["SUM"] = "SUM";
|
|
@@ -50632,7 +50468,6 @@ var DynamicOperatorType;
|
|
|
50632
50468
|
|
|
50633
50469
|
},
|
|
50634
50470
|
33635(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50635
|
-
"use strict";
|
|
50636
50471
|
var Events;
|
|
50637
50472
|
(function (Events) {
|
|
50638
50473
|
Events["ERROR_EVENT"] = "CORNERSTONE_ERROR";
|
|
@@ -50694,7 +50529,6 @@ var Events;
|
|
|
50694
50529
|
|
|
50695
50530
|
},
|
|
50696
50531
|
35122(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50697
|
-
"use strict";
|
|
50698
50532
|
var GeometryType;
|
|
50699
50533
|
(function (GeometryType) {
|
|
50700
50534
|
GeometryType["CONTOUR"] = "CONTOUR";
|
|
@@ -50706,7 +50540,6 @@ var GeometryType;
|
|
|
50706
50540
|
|
|
50707
50541
|
},
|
|
50708
50542
|
78078(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50709
|
-
"use strict";
|
|
50710
50543
|
var InterpolationType;
|
|
50711
50544
|
(function (InterpolationType) {
|
|
50712
50545
|
InterpolationType[InterpolationType["NEAREST"] = 0] = "NEAREST";
|
|
@@ -50718,7 +50551,6 @@ var InterpolationType;
|
|
|
50718
50551
|
|
|
50719
50552
|
},
|
|
50720
50553
|
8795(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50721
|
-
"use strict";
|
|
50722
50554
|
var MeshType;
|
|
50723
50555
|
(function (MeshType) {
|
|
50724
50556
|
MeshType["PLY"] = "PLY";
|
|
@@ -50731,7 +50563,6 @@ var MeshType;
|
|
|
50731
50563
|
|
|
50732
50564
|
},
|
|
50733
50565
|
10234(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50734
|
-
"use strict";
|
|
50735
50566
|
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(16080);
|
|
50736
50567
|
|
|
50737
50568
|
/* export default */ __webpack_exports__.A = (_cornerstonejs_metadata__rspack_import_0/* .Enums.MetadataModules */.fX.nb);
|
|
@@ -50739,7 +50570,6 @@ var MeshType;
|
|
|
50739
50570
|
|
|
50740
50571
|
},
|
|
50741
50572
|
76047(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50742
|
-
"use strict";
|
|
50743
50573
|
var OrientationAxis;
|
|
50744
50574
|
(function (OrientationAxis) {
|
|
50745
50575
|
OrientationAxis["AXIAL"] = "axial";
|
|
@@ -50756,7 +50586,6 @@ var OrientationAxis;
|
|
|
50756
50586
|
|
|
50757
50587
|
},
|
|
50758
50588
|
52587(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50759
|
-
"use strict";
|
|
50760
50589
|
const builtInRenderBackends = {
|
|
50761
50590
|
Auto: 'auto',
|
|
50762
50591
|
GPU: 'gpu',
|
|
@@ -50779,7 +50608,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
50779
50608
|
|
|
50780
50609
|
},
|
|
50781
50610
|
21280(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50782
|
-
"use strict";
|
|
50783
50611
|
var RenderingEngineModeEnum;
|
|
50784
50612
|
(function (RenderingEngineModeEnum) {
|
|
50785
50613
|
RenderingEngineModeEnum["Tiled"] = "tiled";
|
|
@@ -50790,7 +50618,6 @@ var RenderingEngineModeEnum;
|
|
|
50790
50618
|
|
|
50791
50619
|
},
|
|
50792
50620
|
43117(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50793
|
-
"use strict";
|
|
50794
50621
|
var RequestType;
|
|
50795
50622
|
(function (RequestType) {
|
|
50796
50623
|
RequestType["Interaction"] = "interaction";
|
|
@@ -50803,7 +50630,6 @@ var RequestType;
|
|
|
50803
50630
|
|
|
50804
50631
|
},
|
|
50805
50632
|
67209(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50806
|
-
"use strict";
|
|
50807
50633
|
var SpeedUnit;
|
|
50808
50634
|
(function (SpeedUnit) {
|
|
50809
50635
|
SpeedUnit["FRAME"] = "f";
|
|
@@ -50818,7 +50644,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
50818
50644
|
|
|
50819
50645
|
},
|
|
50820
50646
|
12182(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50821
|
-
"use strict";
|
|
50822
50647
|
var ViewportStatus;
|
|
50823
50648
|
(function (ViewportStatus) {
|
|
50824
50649
|
ViewportStatus["NO_DATA"] = "noData";
|
|
@@ -50833,7 +50658,6 @@ var ViewportStatus;
|
|
|
50833
50658
|
|
|
50834
50659
|
},
|
|
50835
50660
|
32168(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50836
|
-
"use strict";
|
|
50837
50661
|
var ViewportType;
|
|
50838
50662
|
(function (ViewportType) {
|
|
50839
50663
|
ViewportType["STACK"] = "stack";
|
|
@@ -50854,7 +50678,6 @@ var ViewportType;
|
|
|
50854
50678
|
|
|
50855
50679
|
},
|
|
50856
50680
|
11063(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50857
|
-
"use strict";
|
|
50858
50681
|
/* import */ var _ViewportType_js__rspack_import_0 = __webpack_require__(32168);
|
|
50859
50682
|
|
|
50860
50683
|
const builtInViewportTypes = {
|
|
@@ -50887,7 +50710,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
50887
50710
|
|
|
50888
50711
|
},
|
|
50889
50712
|
20908(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
50890
|
-
"use strict";
|
|
50891
50713
|
var VoxelManagerEnum;
|
|
50892
50714
|
(function (VoxelManagerEnum) {
|
|
50893
50715
|
VoxelManagerEnum["RLE"] = "RLE";
|
|
@@ -50898,7 +50720,6 @@ var VoxelManagerEnum;
|
|
|
50898
50720
|
|
|
50899
50721
|
},
|
|
50900
50722
|
82655(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
50901
|
-
"use strict";
|
|
50902
50723
|
/* import */ var _configuration_singleRetrieve_js__rspack_import_0 = __webpack_require__(67999);
|
|
50903
50724
|
/* import */ var _configuration_sequentialRetrieve_js__rspack_import_1 = __webpack_require__(20776);
|
|
50904
50725
|
/* import */ var _configuration_interleavedRetrieve_js__rspack_import_2 = __webpack_require__(93028);
|
|
@@ -51171,9 +50992,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
51171
50992
|
|
|
51172
50993
|
},
|
|
51173
50994
|
25301(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
51174
|
-
"use strict";
|
|
51175
50995
|
/* import */ var _cache_index_js__rspack_import_0 = __webpack_require__(61048);
|
|
51176
|
-
/* import */ var _utilities_index_js__rspack_import_1 = __webpack_require__(
|
|
50996
|
+
/* import */ var _utilities_index_js__rspack_import_1 = __webpack_require__(58164);
|
|
51177
50997
|
|
|
51178
50998
|
|
|
51179
50999
|
function cornerstoneStreamingDynamicImageVolumeLoader(volumeId, options) {
|
|
@@ -51237,7 +51057,6 @@ function cornerstoneStreamingDynamicImageVolumeLoader(volumeId, options) {
|
|
|
51237
51057
|
|
|
51238
51058
|
},
|
|
51239
51059
|
45516(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
51240
|
-
"use strict";
|
|
51241
51060
|
/* import */ var _cache_cache_js__rspack_import_0 = __webpack_require__(73998);
|
|
51242
51061
|
/* import */ var _cache_classes_StreamingImageVolume_js__rspack_import_1 = __webpack_require__(40676);
|
|
51243
51062
|
/* import */ var _enums_index_js__rspack_import_2 = __webpack_require__(71088);
|
|
@@ -51332,7 +51151,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
51332
51151
|
|
|
51333
51152
|
},
|
|
51334
51153
|
26531(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
51335
|
-
"use strict";
|
|
51336
51154
|
|
|
51337
51155
|
// UNUSED EXPORTS: decimatedVolumeLoader, default
|
|
51338
51156
|
|
|
@@ -51506,7 +51324,6 @@ function decimatedVolumeLoader(volumeId, options) {
|
|
|
51506
51324
|
|
|
51507
51325
|
},
|
|
51508
51326
|
62367(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
51509
|
-
"use strict";
|
|
51510
51327
|
|
|
51511
51328
|
// EXPORTS
|
|
51512
51329
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -51875,7 +51692,6 @@ registerGeometryLoader('mesh', cornerstoneMeshLoader/* .cornerstoneMeshLoader */
|
|
|
51875
51692
|
|
|
51876
51693
|
},
|
|
51877
51694
|
83616(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
51878
|
-
"use strict";
|
|
51879
51695
|
|
|
51880
51696
|
// EXPORTS
|
|
51881
51697
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -52113,7 +51929,6 @@ function createMesh(geometryId, meshData) {
|
|
|
52113
51929
|
|
|
52114
51930
|
},
|
|
52115
51931
|
4193(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
52116
|
-
"use strict";
|
|
52117
51932
|
/* import */ var _requestPoolManager_js__rspack_import_0 = __webpack_require__(64583);
|
|
52118
51933
|
/* import */ var _enums_RequestType_js__rspack_import_1 = __webpack_require__(43117);
|
|
52119
51934
|
|
|
@@ -52128,7 +51943,6 @@ imageRetrievalPoolManager.grabDelay = 0;
|
|
|
52128
51943
|
|
|
52129
51944
|
},
|
|
52130
51945
|
64583(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52131
|
-
"use strict";
|
|
52132
51946
|
/* import */ var _enums_RequestType_js__rspack_import_0 = __webpack_require__(43117);
|
|
52133
51947
|
/* import */ var _utilities_uuidv4_js__rspack_import_1 = __webpack_require__(92157);
|
|
52134
51948
|
/* import */ var _utilities_logger_js__rspack_import_2 = __webpack_require__(34040);
|
|
@@ -52297,7 +52111,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
52297
52111
|
|
|
52298
52112
|
},
|
|
52299
52113
|
72883(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52300
|
-
"use strict";
|
|
52301
52114
|
var ActorRenderMode;
|
|
52302
52115
|
(function (ActorRenderMode) {
|
|
52303
52116
|
ActorRenderMode["VTK_IMAGE"] = "vtkImage";
|
|
@@ -52314,7 +52127,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
52314
52127
|
|
|
52315
52128
|
},
|
|
52316
52129
|
701(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52317
|
-
"use strict";
|
|
52318
52130
|
/* import */ var _init_js__rspack_import_0 = __webpack_require__(90934);
|
|
52319
52131
|
/* import */ var _enums_Events_js__rspack_import_1 = __webpack_require__(33635);
|
|
52320
52132
|
/* import */ var _eventTarget_js__rspack_import_2 = __webpack_require__(45340);
|
|
@@ -52405,7 +52217,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
52405
52217
|
|
|
52406
52218
|
},
|
|
52407
52219
|
91302(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52408
|
-
"use strict";
|
|
52409
52220
|
|
|
52410
52221
|
// EXPORTS
|
|
52411
52222
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -52680,7 +52491,6 @@ function resetRenderingCapabilities({ clearStorage = false, } = {}) {
|
|
|
52680
52491
|
|
|
52681
52492
|
},
|
|
52682
52493
|
29678(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52683
|
-
"use strict";
|
|
52684
52494
|
/* import */ var _boxSpan_js__rspack_import_0 = __webpack_require__(9844);
|
|
52685
52495
|
|
|
52686
52496
|
function fillPlaneByAverage(frames, [sourceWidth, sourceHeight], [width, height], [factorI, factorJ], values, frameWeights) {
|
|
@@ -52734,7 +52544,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
52734
52544
|
|
|
52735
52545
|
},
|
|
52736
52546
|
12593(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52737
|
-
"use strict";
|
|
52738
52547
|
/* import */ var _boxSpan_js__rspack_import_0 = __webpack_require__(9844);
|
|
52739
52548
|
|
|
52740
52549
|
function foregroundMajorityOfBox(frames, frameWeights, sourceWidth, spanI, spanJ, labels, counts) {
|
|
@@ -52789,7 +52598,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
52789
52598
|
|
|
52790
52599
|
},
|
|
52791
52600
|
80365(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52792
|
-
"use strict";
|
|
52793
52601
|
/* import */ var _resolveReduction_js__rspack_import_0 = __webpack_require__(37728);
|
|
52794
52602
|
/* import */ var _foregroundMajorityPlane_js__rspack_import_1 = __webpack_require__(12593);
|
|
52795
52603
|
/* import */ var _boxSpan_js__rspack_import_2 = __webpack_require__(9844);
|
|
@@ -52970,13 +52778,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
52970
52778
|
|
|
52971
52779
|
},
|
|
52972
52780
|
6945() {
|
|
52973
|
-
"use strict";
|
|
52974
52781
|
const version = '5.18.3';
|
|
52975
52782
|
|
|
52976
52783
|
|
|
52977
52784
|
},
|
|
52978
52785
|
53659(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
52979
|
-
"use strict";
|
|
52980
52786
|
/* import */ var _cornerstonejs_utils__rspack_import_0 = __webpack_require__(20325);
|
|
52981
52787
|
/* import */ var _safeFunctions_index_js__rspack_import_1 = __webpack_require__(45992);
|
|
52982
52788
|
/* import */ var _utilities_Tags_js__rspack_import_2 = __webpack_require__(40327);
|
|
@@ -53916,7 +53722,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
53916
53722
|
|
|
53917
53723
|
},
|
|
53918
53724
|
78135(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
53919
|
-
"use strict";
|
|
53920
53725
|
/* import */ var _compileSplitRules_js__rspack_import_0 = __webpack_require__(8024);
|
|
53921
53726
|
/* import */ var _splitRuleSet_js__rspack_import_1 = __webpack_require__(22746);
|
|
53922
53727
|
|
|
@@ -54103,7 +53908,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
54103
53908
|
|
|
54104
53909
|
},
|
|
54105
53910
|
1143(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
54106
|
-
"use strict";
|
|
54107
53911
|
/* import */ var _splitRuleSet_js__rspack_import_0 = __webpack_require__(22746);
|
|
54108
53912
|
/* import */ var _displaySetContext_js__rspack_import_1 = __webpack_require__(53659);
|
|
54109
53913
|
/* import */ var _sortInstances_js__rspack_import_2 = __webpack_require__(50542);
|
|
@@ -54318,7 +54122,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
54318
54122
|
|
|
54319
54123
|
},
|
|
54320
54124
|
17718(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
54321
|
-
"use strict";
|
|
54322
54125
|
/* import */ var _safeFunctions_index_js__rspack_import_0 = __webpack_require__(45992);
|
|
54323
54126
|
/* import */ var _displaySetContext_js__rspack_import_1 = __webpack_require__(53659);
|
|
54324
54127
|
/* import */ var _seriesFunctions_js__rspack_import_2 = __webpack_require__(888);
|
|
@@ -54373,7 +54176,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
54373
54176
|
|
|
54374
54177
|
},
|
|
54375
54178
|
888(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
54376
|
-
"use strict";
|
|
54377
54179
|
/* import */ var gl_matrix__rspack_import_0 = __webpack_require__(50341);
|
|
54378
54180
|
/* import */ var _cornerstonejs_utils__rspack_import_1 = __webpack_require__(20325);
|
|
54379
54181
|
/* import */ var _safeFunctions_index_js__rspack_import_2 = __webpack_require__(45992);
|
|
@@ -54508,12 +54310,12 @@ const planeGeometry = (instances, { args }) => {
|
|
|
54508
54310
|
const inPlane = candidates.filter((c) => c.orientationKey === dominant[0]);
|
|
54509
54311
|
result.irregularCount += candidates.length - inPlane.length;
|
|
54510
54312
|
const [row0, row1, row2, col0, col1, col2] = inPlane[0].orientation;
|
|
54511
|
-
const normal = gl_matrix__rspack_import_0
|
|
54512
|
-
gl_matrix__rspack_import_0
|
|
54313
|
+
const normal = gl_matrix__rspack_import_0.vec3.cross(gl_matrix__rspack_import_0.vec3.create(), gl_matrix__rspack_import_0.vec3.fromValues(row0, row1, row2), gl_matrix__rspack_import_0.vec3.fromValues(col0, col1, col2));
|
|
54314
|
+
gl_matrix__rspack_import_0.vec3.normalize(normal, normal);
|
|
54513
54315
|
result.normal = Array.from(normal);
|
|
54514
54316
|
const projected = inPlane.map((candidate) => ({
|
|
54515
54317
|
...candidate,
|
|
54516
|
-
d: gl_matrix__rspack_import_0
|
|
54318
|
+
d: gl_matrix__rspack_import_0.vec3.dot(normal, candidate.position),
|
|
54517
54319
|
}));
|
|
54518
54320
|
const distinct = [];
|
|
54519
54321
|
for (const d of projected.map((p) => p.d).sort((a, b) => a - b)) {
|
|
@@ -54714,7 +54516,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
54714
54516
|
|
|
54715
54517
|
},
|
|
54716
54518
|
50542(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
54717
|
-
"use strict";
|
|
54718
54519
|
/* import */ var _cornerstonejs_utils__rspack_import_0 = __webpack_require__(20325);
|
|
54719
54520
|
|
|
54720
54521
|
function compare(a, b) {
|
|
@@ -54753,7 +54554,6 @@ function sortInstancesCopy(instances, criteria = instancesSortCriteria.default,
|
|
|
54753
54554
|
|
|
54754
54555
|
},
|
|
54755
54556
|
22746(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
54756
|
-
"use strict";
|
|
54757
54557
|
/* import */ var _cornerstonejs_utils__rspack_import_0 = __webpack_require__(20325);
|
|
54758
54558
|
/* import */ var _safeFunctions_schema_js__rspack_import_1 = __webpack_require__(7471);
|
|
54759
54559
|
|
|
@@ -54853,7 +54653,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
54853
54653
|
|
|
54854
54654
|
},
|
|
54855
54655
|
98109(__unused_rspack___webpack_module__, __webpack_exports__) {
|
|
54856
|
-
"use strict";
|
|
54857
54656
|
var CalibrationTypes;
|
|
54858
54657
|
(function (CalibrationTypes) {
|
|
54859
54658
|
CalibrationTypes["NOT_APPLICABLE"] = "";
|
|
@@ -54871,7 +54670,6 @@ var CalibrationTypes;
|
|
|
54871
54670
|
|
|
54872
54671
|
},
|
|
54873
54672
|
59072(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
54874
|
-
"use strict";
|
|
54875
54673
|
var MetadataModules;
|
|
54876
54674
|
(function (MetadataModules) {
|
|
54877
54675
|
MetadataModules["CALIBRATION"] = "calibrationModule";
|
|
@@ -54938,7 +54736,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
54938
54736
|
|
|
54939
54737
|
},
|
|
54940
54738
|
16080(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
54941
|
-
"use strict";
|
|
54942
54739
|
|
|
54943
54740
|
// EXPORTS
|
|
54944
54741
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -55650,7 +55447,7 @@ function makeArrayLike_makeArrayLike(obj) {
|
|
|
55650
55447
|
|
|
55651
55448
|
|
|
55652
55449
|
|
|
55653
|
-
const { DicomMetadataListener } = dcmjs_es
|
|
55450
|
+
const { DicomMetadataListener } = dcmjs_es["default"].utilities;
|
|
55654
55451
|
function resolveSingleVm(tagData, dictEntry, tagInfo) {
|
|
55655
55452
|
if (tagData && tagData.vm !== undefined && tagData.vm !== null) {
|
|
55656
55453
|
return tagData.vm === 1;
|
|
@@ -56245,7 +56042,7 @@ function dataLookup_registerDataLookup() {
|
|
|
56245
56042
|
|
|
56246
56043
|
|
|
56247
56044
|
|
|
56248
|
-
const { AsyncDicomReader } = dcmjs_es
|
|
56045
|
+
const { AsyncDicomReader } = dcmjs_es["default"].async;
|
|
56249
56046
|
const NATURAL_BASE_IMAGE_ID_FILTER_PRIORITY = 60_000;
|
|
56250
56047
|
const NATURALIZED_ADD_HANDLER_PRIORITY = 30_000;
|
|
56251
56048
|
function toArrayBuffer(part10Value) {
|
|
@@ -57911,7 +57708,6 @@ const { /* calculateSUVScalingFactors */C: esm_calculateSUVScalingFactors } = ca
|
|
|
57911
57708
|
|
|
57912
57709
|
},
|
|
57913
57710
|
6482(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
57914
|
-
"use strict";
|
|
57915
57711
|
/* import */ var _enums_index_js__rspack_import_0 = __webpack_require__(2610);
|
|
57916
57712
|
/* import */ var _cornerstonejs_utils__rspack_import_1 = __webpack_require__(20325);
|
|
57917
57713
|
|
|
@@ -58117,7 +57913,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
58117
57913
|
|
|
58118
57914
|
},
|
|
58119
57915
|
40327(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
58120
|
-
"use strict";
|
|
58121
57916
|
/* import */ var _metaData_js__rspack_import_0 = __webpack_require__(6482);
|
|
58122
57917
|
/* import */ var dcmjs__rspack_import_1 = __webpack_require__(85631);
|
|
58123
57918
|
/* import */ var _modules_index_js__rspack_import_2 = __webpack_require__(42701);
|
|
@@ -58127,8 +57922,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
58127
57922
|
|
|
58128
57923
|
|
|
58129
57924
|
const cs3dLogger = _cornerstonejs_utils__rspack_import_3/* .logging.metadataLog.getLogger */.m9.Um.getLogger('utilities.Tags');
|
|
58130
|
-
const dicomDictionary = dcmjs__rspack_import_1
|
|
58131
|
-
const nameMap = dcmjs__rspack_import_1
|
|
57925
|
+
const dicomDictionary = dcmjs__rspack_import_1["default"].data.DicomMetaDictionary.dictionary;
|
|
57926
|
+
const nameMap = dcmjs__rspack_import_1["default"].data.DicomMetaDictionary.nameMap;
|
|
58132
57927
|
|
|
58133
57928
|
function createTagEntry(hexTag, ...groups) {
|
|
58134
57929
|
return {
|
|
@@ -58257,7 +58052,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
58257
58052
|
|
|
58258
58053
|
},
|
|
58259
58054
|
95595(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
58260
|
-
"use strict";
|
|
58261
58055
|
const schemePrefixPattern = /^[a-zA-Z]+:/;
|
|
58262
58056
|
function imageIdToURI(imageId) {
|
|
58263
58057
|
if (!imageId) {
|
|
@@ -58281,7 +58075,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
58281
58075
|
|
|
58282
58076
|
},
|
|
58283
58077
|
15801(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
58284
|
-
"use strict";
|
|
58285
58078
|
/* import */ var _object_asArray_js__rspack_import_0 = __webpack_require__(31389);
|
|
58286
58079
|
|
|
58287
58080
|
function isNumberLike(value) {
|
|
@@ -58348,7 +58141,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
58348
58141
|
|
|
58349
58142
|
},
|
|
58350
58143
|
90655(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
58351
|
-
"use strict";
|
|
58352
58144
|
/* import */ var _virtual_rolldown_runtime_js__rspack_import_0 = __webpack_require__(22677);
|
|
58353
58145
|
/* import */ var _macros_js__rspack_import_1 = __webpack_require__(39658);
|
|
58354
58146
|
/* import */ var _Math_Constants_js__rspack_import_2 = __webpack_require__(28013);
|
|
@@ -60123,7 +59915,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
60123
59915
|
|
|
60124
59916
|
},
|
|
60125
59917
|
28710(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
60126
|
-
"use strict";
|
|
60127
59918
|
/* import */ var _Core_Math_js__rspack_import_0 = __webpack_require__(90655);
|
|
60128
59919
|
/* import */ var _Plane_js__rspack_import_1 = __webpack_require__(98281);
|
|
60129
59920
|
/* import */ var gl_matrix__rspack_import_2 = __webpack_require__(50341);
|
|
@@ -60416,7 +60207,7 @@ function computeCornerPoints(bounds, point1, point2) {
|
|
|
60416
60207
|
}
|
|
60417
60208
|
function transformBounds(bounds, transform, out = []) {
|
|
60418
60209
|
const corners = getCorners(bounds, []);
|
|
60419
|
-
for (let i = 0; i < corners.length; ++i) gl_matrix__rspack_import_2
|
|
60210
|
+
for (let i = 0; i < corners.length; ++i) gl_matrix__rspack_import_2.vec3.transformMat4(corners[i], corners[i], transform);
|
|
60420
60211
|
reset(out);
|
|
60421
60212
|
return addPoints(out, corners);
|
|
60422
60213
|
}
|
|
@@ -60928,7 +60719,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
60928
60719
|
|
|
60929
60720
|
},
|
|
60930
60721
|
83545(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
60931
|
-
"use strict";
|
|
60932
60722
|
/* import */ var _macros_js__rspack_import_0 = __webpack_require__(39658);
|
|
60933
60723
|
|
|
60934
60724
|
//#region Sources/Rendering/Core/Texture/index.js
|
|
@@ -61217,7 +61007,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61217
61007
|
|
|
61218
61008
|
},
|
|
61219
61009
|
51026(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
61220
|
-
"use strict";
|
|
61221
61010
|
/* import */ var _macros_js__rspack_import_0 = __webpack_require__(39658);
|
|
61222
61011
|
/* import */ var _Prop3D_js__rspack_import_1 = __webpack_require__(83174);
|
|
61223
61012
|
/* import */ var _VolumeProperty_js__rspack_import_2 = __webpack_require__(93187);
|
|
@@ -61268,7 +61057,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61268
61057
|
|
|
61269
61058
|
},
|
|
61270
61059
|
21067(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
61271
|
-
"use strict";
|
|
61272
61060
|
/* import */ var _macros_js__rspack_import_0 = __webpack_require__(39658);
|
|
61273
61061
|
/* import */ var _Common_DataModel_BoundingBox_js__rspack_import_1 = __webpack_require__(28710);
|
|
61274
61062
|
/* import */ var _Common_DataModel_PiecewiseFunction_js__rspack_import_2 = __webpack_require__(25837);
|
|
@@ -61412,7 +61200,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61412
61200
|
|
|
61413
61201
|
},
|
|
61414
61202
|
4989() {
|
|
61415
|
-
"use strict";
|
|
61416
61203
|
function max(values, valueof) {
|
|
61417
61204
|
let max;
|
|
61418
61205
|
if (valueof === undefined) {
|
|
@@ -61437,7 +61224,6 @@ function max(values, valueof) {
|
|
|
61437
61224
|
|
|
61438
61225
|
},
|
|
61439
61226
|
84386(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
61440
|
-
"use strict";
|
|
61441
61227
|
/* import */ var d3_color__rspack_import_0 = __webpack_require__(77531);
|
|
61442
61228
|
/* import */ var _color_js__rspack_import_1 = __webpack_require__(81034);
|
|
61443
61229
|
|
|
@@ -61473,7 +61259,6 @@ var cubehelixLong = cubehelix(_color_js__rspack_import_1/* ["default"] */.Ay);
|
|
|
61473
61259
|
|
|
61474
61260
|
},
|
|
61475
61261
|
82266(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
61476
|
-
"use strict";
|
|
61477
61262
|
/* import */ var d3_color__rspack_import_0 = __webpack_require__(77531);
|
|
61478
61263
|
/* import */ var _basis_js__rspack_import_1 = __webpack_require__(2155);
|
|
61479
61264
|
/* import */ var _basisClosed_js__rspack_import_2 = __webpack_require__(32843);
|
|
@@ -61537,7 +61322,6 @@ var rgbBasisClosed = rgbSpline(_basisClosed_js__rspack_import_2/* ["default"] */
|
|
|
61537
61322
|
|
|
61538
61323
|
},
|
|
61539
61324
|
42234(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
61540
|
-
"use strict";
|
|
61541
61325
|
/* import */ var _number_js__rspack_import_0 = __webpack_require__(74720);
|
|
61542
61326
|
/* import */ var _parse_js__rspack_import_1 = __webpack_require__(51203);
|
|
61543
61327
|
|
|
@@ -61607,7 +61391,6 @@ var interpolateTransformSvg = interpolateTransform(_parse_js__rspack_import_1/*
|
|
|
61607
61391
|
|
|
61608
61392
|
},
|
|
61609
61393
|
38998() {
|
|
61610
|
-
"use strict";
|
|
61611
61394
|
var epsilon2 = 1e-12;
|
|
61612
61395
|
|
|
61613
61396
|
function cosh(x) {
|
|
@@ -61683,7 +61466,6 @@ function tanh(x) {
|
|
|
61683
61466
|
|
|
61684
61467
|
},
|
|
61685
61468
|
67218(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
61686
|
-
"use strict";
|
|
61687
61469
|
function constants(x) {
|
|
61688
61470
|
return function() {
|
|
61689
61471
|
return x;
|
|
@@ -61697,7 +61479,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61697
61479
|
|
|
61698
61480
|
},
|
|
61699
61481
|
23788(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
61700
|
-
"use strict";
|
|
61701
61482
|
/* import */ var _band_js__rspack_import_0 = __webpack_require__(70589);
|
|
61702
61483
|
/* import */ var _identity_js__rspack_import_1 = __webpack_require__(23356);
|
|
61703
61484
|
/* import */ var _linear_js__rspack_import_2 = __webpack_require__(55387);
|
|
@@ -61756,7 +61537,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61756
61537
|
|
|
61757
61538
|
},
|
|
61758
61539
|
33137(__unused_rspack___webpack_module__, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
61759
|
-
"use strict";
|
|
61760
61540
|
/* import */ var d3_array__rspack_import_0 = __webpack_require__(14039);
|
|
61761
61541
|
/* import */ var _init_js__rspack_import_1 = __webpack_require__(32340);
|
|
61762
61542
|
|
|
@@ -61809,7 +61589,6 @@ function ordinal() {
|
|
|
61809
61589
|
|
|
61810
61590
|
},
|
|
61811
61591
|
73326() {
|
|
61812
|
-
"use strict";
|
|
61813
61592
|
class InternMap extends Map {
|
|
61814
61593
|
constructor(entries, key = keyof) {
|
|
61815
61594
|
super();
|