@ohif/app 3.14.0-beta.98 → 3.14.0-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{1645.bundle.a98b9ca6.js → 1645.bundle.1a466b16.js} +600 -600
- package/dist/{1788.bundle.3f1349d2.js → 1788.bundle.962951f9.js} +26 -26
- package/dist/{1793.bundle.27458a55.js → 1793.bundle.30f89e46.js} +5 -3
- package/dist/{1862.bundle.79bfe469.js → 1862.bundle.3ae388c3.js} +2 -2
- package/dist/204.bundle.bc44c201.js +101 -0
- package/dist/204.bundle.css +52 -0
- package/dist/{2748.bundle.eaa94e2e.js → 2103.bundle.1cf348e8.js} +1 -1771
- package/dist/{2478.bundle.fc6ab30b.js → 2478.bundle.68ff1b2d.js} +2 -2
- package/dist/{2717.bundle.d5f58443.js → 2717.bundle.4318f1ee.js} +45 -43
- package/dist/{5989.bundle.f484884a.js → 287.bundle.ee60c370.js} +4570 -832
- package/dist/{2894.bundle.d612efb2.js → 2894.bundle.30c0af5b.js} +20 -14
- package/dist/{2991.bundle.f94892fb.js → 2991.bundle.77642eee.js} +101 -97
- package/dist/{3004.bundle.51919fdc.js → 3004.bundle.5568149a.js} +39 -38
- package/dist/{3255.bundle.13e205ac.js → 3255.bundle.3272671f.js} +29 -27
- package/dist/{3366.bundle.62baeeec.js → 3366.bundle.d9e78e25.js} +57 -53
- package/dist/{3468.bundle.f5dc5e44.js → 3468.bundle.666f2441.js} +37 -27
- package/dist/{347.bundle.397bb252.js → 347.bundle.1323658e.js} +44 -44
- package/dist/{3622.bundle.f4cf2d16.js → 3622.bundle.edb42b96.js} +56 -54
- package/dist/{3723.bundle.eab70100.js → 3723.bundle.43ff1971.js} +1 -1
- package/dist/{3771.bundle.aba09bd7.js → 3771.bundle.a5754f97.js} +8 -8
- package/dist/{4449.bundle.aaa4ab92.js → 4487.bundle.fa0375a4.js} +853 -95
- package/dist/{4606.bundle.a3485206.js → 4606.bundle.6c297e2a.js} +9 -7
- package/dist/{4998.bundle.3aedb48d.js → 4998.bundle.25b8cbfe.js} +5 -3
- package/dist/{5076.bundle.95c07142.js → 5076.bundle.2a14756f.js} +66 -66
- package/dist/{5143.bundle.04f54c00.js → 5143.bundle.53156bb0.js} +358 -226
- package/dist/{5154.bundle.2f460017.js → 5154.bundle.ccd02dd7.js} +5 -3
- package/dist/{5320.bundle.9b05cebb.js → 5320.bundle.c17eb4a7.js} +678 -546
- package/dist/{6212.bundle.e505e123.js → 6212.bundle.c4856be7.js} +48 -46
- package/dist/{6253.bundle.f74ac5c2.js → 6253.bundle.596ce463.js} +1225 -1145
- package/dist/{1153.bundle.51d39e80.js → 6314.bundle.5aadfe48.js} +199 -420
- package/dist/{641.bundle.4627a8e1.js → 641.bundle.8e45751e.js} +89 -89
- package/dist/{6481.bundle.d2fca485.js → 6481.bundle.85093e70.js} +29 -23
- package/dist/{6507.bundle.d52f5e81.js → 6507.bundle.bbcdd01e.js} +76 -76
- package/dist/{6722.bundle.d09a8aad.js → 6722.bundle.3e9a4ef6.js} +4 -4
- package/dist/{6956.bundle.c82fd790.js → 6956.bundle.dc0e8660.js} +33 -33
- package/dist/{7526.bundle.0685dfeb.js → 7526.bundle.3460c3ca.js} +55 -53
- package/dist/{7604.bundle.9eb317c8.js → 7604.bundle.f1eeded4.js} +2 -2
- package/dist/{8312.bundle.2cb75b58.js → 8312.bundle.d67b6f4e.js} +652 -687
- package/dist/{6847.bundle.b2adb444.js → 8729.bundle.e17fe9b2.js} +87 -845
- package/dist/{8788.bundle.4bb4c65b.js → 8788.bundle.83ddf642.js} +21 -20
- package/dist/{8868.bundle.4c357767.js → 8868.bundle.8f3653b3.js} +31 -31
- package/dist/{8923.bundle.9aca06c4.js → 8923.bundle.8b682e96.js} +148 -148
- package/dist/{899.bundle.9a033d16.js → 899.bundle.4e1aee7f.js} +73 -203
- package/dist/{9187.bundle.8f72b4fe.js → 9187.bundle.407afa07.js} +112 -110
- package/dist/9385.bundle.fb0bbf4a.js +1888 -0
- package/dist/{9481.bundle.ccb81f53.js → 9481.bundle.d045ae3a.js} +8 -6
- package/dist/{9517.bundle.1ae74db3.js → 9517.bundle.3e2896ef.js} +31 -17
- package/dist/{9620.bundle.d1dc0be1.js → 9620.bundle.b4cc392c.js} +63 -61
- package/dist/{9841.bundle.0f40f02b.js → 9841.bundle.4f2c401a.js} +93 -91
- package/dist/{9886.bundle.cabb4a24.js → 9886.bundle.b00d5d78.js} +4 -4
- package/dist/{8037.bundle.30a187f7.js → 9889.bundle.bf312047.js} +7743 -1098
- package/dist/{9948.bundle.1172ebca.js → 9948.bundle.fecf81f8.js} +5 -5
- package/dist/{app.bundle.51f0a437.js → app.bundle.bb359653.js} +1926 -1223
- package/dist/{compute.bundle.0ed1fe87.js → compute.bundle.9267d449.js} +13 -12
- package/dist/{histogram-worker.bundle.58e60d7c.js → histogram-worker.bundle.29bcdbf6.js} +6 -5
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.5a53d112.js → interpolation.bundle.ee9998a4.js} +8 -7
- package/dist/{lib-router.bundle.a5ac870a.js → lib-router.bundle.2a887bc7.js} +334 -201
- package/dist/{polySeg.bundle.b4089601.js → polySeg.bundle.a55f8eee.js} +12 -12
- package/dist/sw.js +11 -1
- package/package.json +14 -19
- package/dist/1566.bundle.d58db206.js +0 -3610
|
@@ -1,57 +1,6 @@
|
|
|
1
|
-
(globalThis["rspackChunk_ohif_app"] ||= []).push([[899], {
|
|
2
|
-
38792(module) {
|
|
3
1
|
"use strict";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// do not edit .js files directly - edit src/index.jst
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
module.exports = function equal(a, b) {
|
|
11
|
-
if (a === b) return true;
|
|
12
|
-
|
|
13
|
-
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
14
|
-
if (a.constructor !== b.constructor) return false;
|
|
15
|
-
|
|
16
|
-
var length, i, keys;
|
|
17
|
-
if (Array.isArray(a)) {
|
|
18
|
-
length = a.length;
|
|
19
|
-
if (length != b.length) return false;
|
|
20
|
-
for (i = length; i-- !== 0;)
|
|
21
|
-
if (!equal(a[i], b[i])) return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
28
|
-
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
29
|
-
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
30
|
-
|
|
31
|
-
keys = Object.keys(a);
|
|
32
|
-
length = keys.length;
|
|
33
|
-
if (length !== Object.keys(b).length) return false;
|
|
34
|
-
|
|
35
|
-
for (i = length; i-- !== 0;)
|
|
36
|
-
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
37
|
-
|
|
38
|
-
for (i = length; i-- !== 0;) {
|
|
39
|
-
var key = keys[i];
|
|
40
|
-
|
|
41
|
-
if (!equal(a[key], b[key])) return false;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// true if both NaN, false otherwise
|
|
48
|
-
return a!==a && b!==b;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
2
|
+
(globalThis["rspackChunk_ohif_app"] ||= []).push([[899], {
|
|
53
3
|
23172(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
54
|
-
"use strict";
|
|
55
4
|
/**
|
|
56
5
|
* Common utilities
|
|
57
6
|
* @module glMatrix
|
|
@@ -103,14 +52,13 @@ if (!Math.hypot) Math.hypot = function () {
|
|
|
103
52
|
return Math.sqrt(y);
|
|
104
53
|
};
|
|
105
54
|
__webpack_require__.d(__webpack_exports__, {
|
|
106
|
-
|
|
107
|
-
|
|
55
|
+
ARRAY_TYPE: () => (ARRAY_TYPE),
|
|
56
|
+
EPSILON: () => (EPSILON)
|
|
108
57
|
});
|
|
109
58
|
|
|
110
59
|
|
|
111
60
|
},
|
|
112
61
|
50341(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
113
|
-
"use strict";
|
|
114
62
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
115
63
|
/* import */ var _mat2_js__rspack_import_1 = __webpack_require__(21589);
|
|
116
64
|
/* import */ var _mat2d_js__rspack_import_2 = __webpack_require__(46245);
|
|
@@ -133,15 +81,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
133
81
|
|
|
134
82
|
|
|
135
83
|
__webpack_require__.d(__webpack_exports__, {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
84
|
+
mat3: () => (/* reexport module object */ _mat3_js__rspack_import_3),
|
|
85
|
+
mat4: () => (/* reexport module object */ _mat4_js__rspack_import_4),
|
|
86
|
+
vec3: () => (/* reexport module object */ _vec3_js__rspack_import_8)
|
|
139
87
|
});
|
|
140
88
|
|
|
141
89
|
|
|
142
90
|
},
|
|
143
91
|
45878(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
144
|
-
"use strict";
|
|
145
92
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
146
93
|
|
|
147
94
|
/**
|
|
@@ -156,9 +103,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
156
103
|
*/
|
|
157
104
|
|
|
158
105
|
function create() {
|
|
159
|
-
var out = new _common_js__rspack_import_0
|
|
106
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(9);
|
|
160
107
|
|
|
161
|
-
if (_common_js__rspack_import_0
|
|
108
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
162
109
|
out[1] = 0;
|
|
163
110
|
out[2] = 0;
|
|
164
111
|
out[3] = 0;
|
|
@@ -929,7 +876,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
929
876
|
|
|
930
877
|
},
|
|
931
878
|
39095(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
932
|
-
"use strict";
|
|
933
879
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
934
880
|
|
|
935
881
|
/**
|
|
@@ -2850,7 +2796,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2850
2796
|
|
|
2851
2797
|
},
|
|
2852
2798
|
6462(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
2853
|
-
"use strict";
|
|
2854
2799
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
2855
2800
|
/* import */ var _mat3_js__rspack_import_1 = __webpack_require__(45878);
|
|
2856
2801
|
/* import */ var _vec3_js__rspack_import_2 = __webpack_require__(64062);
|
|
@@ -2871,9 +2816,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2871
2816
|
*/
|
|
2872
2817
|
|
|
2873
2818
|
function create() {
|
|
2874
|
-
var out = new _common_js__rspack_import_0
|
|
2819
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(4);
|
|
2875
2820
|
|
|
2876
|
-
if (_common_js__rspack_import_0
|
|
2821
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
2877
2822
|
out[0] = 0;
|
|
2878
2823
|
out[1] = 0;
|
|
2879
2824
|
out[2] = 0;
|
|
@@ -3163,7 +3108,7 @@ function slerp(out, a, b, t) {
|
|
|
3163
3108
|
} // calculate coefficients
|
|
3164
3109
|
|
|
3165
3110
|
|
|
3166
|
-
if (1.0 - cosom > _common_js__rspack_import_0
|
|
3111
|
+
if (1.0 - cosom > _common_js__rspack_import_0.EPSILON) {
|
|
3167
3112
|
// standard case (slerp)
|
|
3168
3113
|
omega = Math.acos(cosom);
|
|
3169
3114
|
sinom = Math.sin(omega);
|
|
@@ -3333,7 +3278,7 @@ function str(a) {
|
|
|
3333
3278
|
* @function
|
|
3334
3279
|
*/
|
|
3335
3280
|
|
|
3336
|
-
var clone = _vec4_js__rspack_import_3
|
|
3281
|
+
var clone = _vec4_js__rspack_import_3.clone;
|
|
3337
3282
|
/**
|
|
3338
3283
|
* Creates a new quat initialized with the given values
|
|
3339
3284
|
*
|
|
@@ -3345,7 +3290,7 @@ var clone = _vec4_js__rspack_import_3/* .clone */.o8;
|
|
|
3345
3290
|
* @function
|
|
3346
3291
|
*/
|
|
3347
3292
|
|
|
3348
|
-
var fromValues = _vec4_js__rspack_import_3
|
|
3293
|
+
var fromValues = _vec4_js__rspack_import_3.fromValues;
|
|
3349
3294
|
/**
|
|
3350
3295
|
* Copy the values from one quat to another
|
|
3351
3296
|
*
|
|
@@ -3355,7 +3300,7 @@ var fromValues = _vec4_js__rspack_import_3/* .fromValues */.fA;
|
|
|
3355
3300
|
* @function
|
|
3356
3301
|
*/
|
|
3357
3302
|
|
|
3358
|
-
var copy = _vec4_js__rspack_import_3
|
|
3303
|
+
var copy = _vec4_js__rspack_import_3.copy;
|
|
3359
3304
|
/**
|
|
3360
3305
|
* Set the components of a quat to the given values
|
|
3361
3306
|
*
|
|
@@ -3368,7 +3313,7 @@ var copy = _vec4_js__rspack_import_3/* .copy */.C;
|
|
|
3368
3313
|
* @function
|
|
3369
3314
|
*/
|
|
3370
3315
|
|
|
3371
|
-
var set = _vec4_js__rspack_import_3
|
|
3316
|
+
var set = _vec4_js__rspack_import_3.set;
|
|
3372
3317
|
/**
|
|
3373
3318
|
* Adds two quat's
|
|
3374
3319
|
*
|
|
@@ -3379,7 +3324,7 @@ var set = _vec4_js__rspack_import_3/* .set */.hZ;
|
|
|
3379
3324
|
* @function
|
|
3380
3325
|
*/
|
|
3381
3326
|
|
|
3382
|
-
var add = _vec4_js__rspack_import_3
|
|
3327
|
+
var add = _vec4_js__rspack_import_3.add;
|
|
3383
3328
|
/**
|
|
3384
3329
|
* Alias for {@link quat.multiply}
|
|
3385
3330
|
* @function
|
|
@@ -3396,7 +3341,7 @@ var mul = (/* unused pure expression or super */ null && (multiply));
|
|
|
3396
3341
|
* @function
|
|
3397
3342
|
*/
|
|
3398
3343
|
|
|
3399
|
-
var scale = _vec4_js__rspack_import_3
|
|
3344
|
+
var scale = _vec4_js__rspack_import_3.scale;
|
|
3400
3345
|
/**
|
|
3401
3346
|
* Calculates the dot product of two quat's
|
|
3402
3347
|
*
|
|
@@ -3406,7 +3351,7 @@ var scale = _vec4_js__rspack_import_3/* .scale */.hs;
|
|
|
3406
3351
|
* @function
|
|
3407
3352
|
*/
|
|
3408
3353
|
|
|
3409
|
-
var dot = _vec4_js__rspack_import_3
|
|
3354
|
+
var dot = _vec4_js__rspack_import_3.dot;
|
|
3410
3355
|
/**
|
|
3411
3356
|
* Performs a linear interpolation between two quat's
|
|
3412
3357
|
*
|
|
@@ -3418,7 +3363,7 @@ var dot = _vec4_js__rspack_import_3/* .dot */.Om;
|
|
|
3418
3363
|
* @function
|
|
3419
3364
|
*/
|
|
3420
3365
|
|
|
3421
|
-
var lerp = _vec4_js__rspack_import_3
|
|
3366
|
+
var lerp = _vec4_js__rspack_import_3.lerp;
|
|
3422
3367
|
/**
|
|
3423
3368
|
* Calculates the length of a quat
|
|
3424
3369
|
*
|
|
@@ -3426,7 +3371,7 @@ var lerp = _vec4_js__rspack_import_3/* .lerp */.Cc;
|
|
|
3426
3371
|
* @returns {Number} length of a
|
|
3427
3372
|
*/
|
|
3428
3373
|
|
|
3429
|
-
var length = _vec4_js__rspack_import_3
|
|
3374
|
+
var length = _vec4_js__rspack_import_3.length;
|
|
3430
3375
|
/**
|
|
3431
3376
|
* Alias for {@link quat.length}
|
|
3432
3377
|
* @function
|
|
@@ -3441,7 +3386,7 @@ var len = (/* unused pure expression or super */ null && (length));
|
|
|
3441
3386
|
* @function
|
|
3442
3387
|
*/
|
|
3443
3388
|
|
|
3444
|
-
var squaredLength = _vec4_js__rspack_import_3
|
|
3389
|
+
var squaredLength = _vec4_js__rspack_import_3.squaredLength;
|
|
3445
3390
|
/**
|
|
3446
3391
|
* Alias for {@link quat.squaredLength}
|
|
3447
3392
|
* @function
|
|
@@ -3457,7 +3402,7 @@ var sqrLen = (/* unused pure expression or super */ null && (squaredLength));
|
|
|
3457
3402
|
* @function
|
|
3458
3403
|
*/
|
|
3459
3404
|
|
|
3460
|
-
var normalize = _vec4_js__rspack_import_3
|
|
3405
|
+
var normalize = _vec4_js__rspack_import_3.normalize;
|
|
3461
3406
|
/**
|
|
3462
3407
|
* Returns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)
|
|
3463
3408
|
*
|
|
@@ -3466,7 +3411,7 @@ var normalize = _vec4_js__rspack_import_3/* .normalize */.S8;
|
|
|
3466
3411
|
* @returns {Boolean} True if the vectors are equal, false otherwise.
|
|
3467
3412
|
*/
|
|
3468
3413
|
|
|
3469
|
-
var exactEquals = _vec4_js__rspack_import_3
|
|
3414
|
+
var exactEquals = _vec4_js__rspack_import_3.exactEquals;
|
|
3470
3415
|
/**
|
|
3471
3416
|
* Returns whether or not the quaternions have approximately the same elements in the same position.
|
|
3472
3417
|
*
|
|
@@ -3475,7 +3420,7 @@ var exactEquals = _vec4_js__rspack_import_3/* .exactEquals */.t2;
|
|
|
3475
3420
|
* @returns {Boolean} True if the vectors are equal, false otherwise.
|
|
3476
3421
|
*/
|
|
3477
3422
|
|
|
3478
|
-
var equals = _vec4_js__rspack_import_3
|
|
3423
|
+
var equals = _vec4_js__rspack_import_3.equals;
|
|
3479
3424
|
/**
|
|
3480
3425
|
* Sets a quaternion to represent the shortest rotation from one
|
|
3481
3426
|
* vector to another.
|
|
@@ -3489,16 +3434,16 @@ var equals = _vec4_js__rspack_import_3/* .equals */.aI;
|
|
|
3489
3434
|
*/
|
|
3490
3435
|
|
|
3491
3436
|
var rotationTo = function () {
|
|
3492
|
-
var tmpvec3 = _vec3_js__rspack_import_2
|
|
3493
|
-
var xUnitVec3 = _vec3_js__rspack_import_2
|
|
3494
|
-
var yUnitVec3 = _vec3_js__rspack_import_2
|
|
3437
|
+
var tmpvec3 = _vec3_js__rspack_import_2.create();
|
|
3438
|
+
var xUnitVec3 = _vec3_js__rspack_import_2.fromValues(1, 0, 0);
|
|
3439
|
+
var yUnitVec3 = _vec3_js__rspack_import_2.fromValues(0, 1, 0);
|
|
3495
3440
|
return function (out, a, b) {
|
|
3496
|
-
var dot = _vec3_js__rspack_import_2
|
|
3441
|
+
var dot = _vec3_js__rspack_import_2.dot(a, b);
|
|
3497
3442
|
|
|
3498
3443
|
if (dot < -0.999999) {
|
|
3499
|
-
_vec3_js__rspack_import_2
|
|
3500
|
-
if (_vec3_js__rspack_import_2
|
|
3501
|
-
_vec3_js__rspack_import_2
|
|
3444
|
+
_vec3_js__rspack_import_2.cross(tmpvec3, xUnitVec3, a);
|
|
3445
|
+
if (_vec3_js__rspack_import_2.len(tmpvec3) < 0.000001) _vec3_js__rspack_import_2.cross(tmpvec3, yUnitVec3, a);
|
|
3446
|
+
_vec3_js__rspack_import_2.normalize(tmpvec3, tmpvec3);
|
|
3502
3447
|
setAxisAngle(out, tmpvec3, Math.PI);
|
|
3503
3448
|
return out;
|
|
3504
3449
|
} else if (dot > 0.999999) {
|
|
@@ -3508,7 +3453,7 @@ var rotationTo = function () {
|
|
|
3508
3453
|
out[3] = 1;
|
|
3509
3454
|
return out;
|
|
3510
3455
|
} else {
|
|
3511
|
-
_vec3_js__rspack_import_2
|
|
3456
|
+
_vec3_js__rspack_import_2.cross(tmpvec3, a, b);
|
|
3512
3457
|
out[0] = tmpvec3[0];
|
|
3513
3458
|
out[1] = tmpvec3[1];
|
|
3514
3459
|
out[2] = tmpvec3[2];
|
|
@@ -3566,16 +3511,15 @@ var setAxes = function () {
|
|
|
3566
3511
|
};
|
|
3567
3512
|
}();
|
|
3568
3513
|
__webpack_require__.d(__webpack_exports__, {
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3514
|
+
copy: () => (copy),
|
|
3515
|
+
dot: () => (dot),
|
|
3516
|
+
length: () => (length),
|
|
3517
|
+
squaredLength: () => (squaredLength)
|
|
3573
3518
|
});
|
|
3574
3519
|
|
|
3575
3520
|
|
|
3576
3521
|
},
|
|
3577
3522
|
90333(__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
3578
|
-
"use strict";
|
|
3579
3523
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
3580
3524
|
|
|
3581
3525
|
/**
|
|
@@ -3590,9 +3534,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3590
3534
|
*/
|
|
3591
3535
|
|
|
3592
3536
|
function create() {
|
|
3593
|
-
var out = new _common_js__rspack_import_0
|
|
3537
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(2);
|
|
3594
3538
|
|
|
3595
|
-
if (_common_js__rspack_import_0
|
|
3539
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
3596
3540
|
out[0] = 0;
|
|
3597
3541
|
out[1] = 0;
|
|
3598
3542
|
}
|
|
@@ -4204,7 +4148,6 @@ var forEach = function () {
|
|
|
4204
4148
|
|
|
4205
4149
|
},
|
|
4206
4150
|
64062(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4207
|
-
"use strict";
|
|
4208
4151
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
4209
4152
|
|
|
4210
4153
|
/**
|
|
@@ -4219,9 +4162,9 @@ var forEach = function () {
|
|
|
4219
4162
|
*/
|
|
4220
4163
|
|
|
4221
4164
|
function create() {
|
|
4222
|
-
var out = new _common_js__rspack_import_0
|
|
4165
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(3);
|
|
4223
4166
|
|
|
4224
|
-
if (_common_js__rspack_import_0
|
|
4167
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
4225
4168
|
out[0] = 0;
|
|
4226
4169
|
out[1] = 0;
|
|
4227
4170
|
out[2] = 0;
|
|
@@ -4266,7 +4209,7 @@ function length(a) {
|
|
|
4266
4209
|
*/
|
|
4267
4210
|
|
|
4268
4211
|
function fromValues(x, y, z) {
|
|
4269
|
-
var out = new _common_js__rspack_import_0
|
|
4212
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(3);
|
|
4270
4213
|
out[0] = x;
|
|
4271
4214
|
out[1] = y;
|
|
4272
4215
|
out[2] = z;
|
|
@@ -4994,19 +4937,18 @@ var forEach = function () {
|
|
|
4994
4937
|
};
|
|
4995
4938
|
}();
|
|
4996
4939
|
__webpack_require__.d(__webpack_exports__, {
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
4940
|
+
create: () => (create),
|
|
4941
|
+
cross: () => (cross),
|
|
4942
|
+
dot: () => (dot),
|
|
4943
|
+
fromValues: () => (fromValues),
|
|
4944
|
+
len: () => (len),
|
|
4945
|
+
normalize: () => (normalize),
|
|
4946
|
+
transformMat4: () => (transformMat4)
|
|
5004
4947
|
});
|
|
5005
4948
|
|
|
5006
4949
|
|
|
5007
4950
|
},
|
|
5008
4951
|
70911(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5009
|
-
"use strict";
|
|
5010
4952
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
5011
4953
|
|
|
5012
4954
|
/**
|
|
@@ -5021,9 +4963,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
5021
4963
|
*/
|
|
5022
4964
|
|
|
5023
4965
|
function create() {
|
|
5024
|
-
var out = new _common_js__rspack_import_0
|
|
4966
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(4);
|
|
5025
4967
|
|
|
5026
|
-
if (_common_js__rspack_import_0
|
|
4968
|
+
if (_common_js__rspack_import_0.ARRAY_TYPE != Float32Array) {
|
|
5027
4969
|
out[0] = 0;
|
|
5028
4970
|
out[1] = 0;
|
|
5029
4971
|
out[2] = 0;
|
|
@@ -5040,7 +4982,7 @@ function create() {
|
|
|
5040
4982
|
*/
|
|
5041
4983
|
|
|
5042
4984
|
function clone(a) {
|
|
5043
|
-
var out = new _common_js__rspack_import_0
|
|
4985
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(4);
|
|
5044
4986
|
out[0] = a[0];
|
|
5045
4987
|
out[1] = a[1];
|
|
5046
4988
|
out[2] = a[2];
|
|
@@ -5058,7 +5000,7 @@ function clone(a) {
|
|
|
5058
5000
|
*/
|
|
5059
5001
|
|
|
5060
5002
|
function fromValues(x, y, z, w) {
|
|
5061
|
-
var out = new _common_js__rspack_import_0
|
|
5003
|
+
var out = new _common_js__rspack_import_0.ARRAY_TYPE(4);
|
|
5062
5004
|
out[0] = x;
|
|
5063
5005
|
out[1] = y;
|
|
5064
5006
|
out[2] = z;
|
|
@@ -5580,7 +5522,7 @@ function equals(a, b) {
|
|
|
5580
5522
|
b1 = b[1],
|
|
5581
5523
|
b2 = b[2],
|
|
5582
5524
|
b3 = b[3];
|
|
5583
|
-
return Math.abs(a0 - b0) <= _common_js__rspack_import_0
|
|
5525
|
+
return Math.abs(a0 - b0) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= _common_js__rspack_import_0.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3));
|
|
5584
5526
|
}
|
|
5585
5527
|
/**
|
|
5586
5528
|
* Alias for {@link vec4.subtract}
|
|
@@ -5672,89 +5614,24 @@ var forEach = function () {
|
|
|
5672
5614
|
};
|
|
5673
5615
|
}();
|
|
5674
5616
|
__webpack_require__.d(__webpack_exports__, {
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5617
|
+
add: () => (add),
|
|
5618
|
+
clone: () => (clone),
|
|
5619
|
+
copy: () => (copy),
|
|
5620
|
+
dot: () => (dot),
|
|
5621
|
+
equals: () => (equals),
|
|
5622
|
+
exactEquals: () => (exactEquals),
|
|
5623
|
+
fromValues: () => (fromValues),
|
|
5624
|
+
length: () => (length),
|
|
5625
|
+
lerp: () => (lerp),
|
|
5626
|
+
normalize: () => (normalize),
|
|
5627
|
+
scale: () => (scale),
|
|
5628
|
+
set: () => (set),
|
|
5629
|
+
squaredLength: () => (squaredLength)
|
|
5688
5630
|
});
|
|
5689
5631
|
|
|
5690
5632
|
|
|
5691
|
-
},
|
|
5692
|
-
92464(module, __unused_rspack_exports, __webpack_require__) {
|
|
5693
|
-
// A library of seedable RNGs implemented in Javascript.
|
|
5694
|
-
//
|
|
5695
|
-
// Usage:
|
|
5696
|
-
//
|
|
5697
|
-
// var seedrandom = require('seedrandom');
|
|
5698
|
-
// var random = seedrandom(1); // or any seed.
|
|
5699
|
-
// var x = random(); // 0 <= x < 1. Every bit is random.
|
|
5700
|
-
// var x = random.quick(); // 0 <= x < 1. 32 bits of randomness.
|
|
5701
|
-
|
|
5702
|
-
// alea, a 53-bit multiply-with-carry generator by Johannes Baagøe.
|
|
5703
|
-
// Period: ~2^116
|
|
5704
|
-
// Reported to pass all BigCrush tests.
|
|
5705
|
-
var alea = __webpack_require__(9241);
|
|
5706
|
-
|
|
5707
|
-
// xor128, a pure xor-shift generator by George Marsaglia.
|
|
5708
|
-
// Period: 2^128-1.
|
|
5709
|
-
// Reported to fail: MatrixRank and LinearComp.
|
|
5710
|
-
var xor128 = __webpack_require__(87480);
|
|
5711
|
-
|
|
5712
|
-
// xorwow, George Marsaglia's 160-bit xor-shift combined plus weyl.
|
|
5713
|
-
// Period: 2^192-2^32
|
|
5714
|
-
// Reported to fail: CollisionOver, SimpPoker, and LinearComp.
|
|
5715
|
-
var xorwow = __webpack_require__(88150);
|
|
5716
|
-
|
|
5717
|
-
// xorshift7, by François Panneton and Pierre L'ecuyer, takes
|
|
5718
|
-
// a different approach: it adds robustness by allowing more shifts
|
|
5719
|
-
// than Marsaglia's original three. It is a 7-shift generator
|
|
5720
|
-
// with 256 bits, that passes BigCrush with no systmatic failures.
|
|
5721
|
-
// Period 2^256-1.
|
|
5722
|
-
// No systematic BigCrush failures reported.
|
|
5723
|
-
var xorshift7 = __webpack_require__(43420);
|
|
5724
|
-
|
|
5725
|
-
// xor4096, by Richard Brent, is a 4096-bit xor-shift with a
|
|
5726
|
-
// very long period that also adds a Weyl generator. It also passes
|
|
5727
|
-
// BigCrush with no systematic failures. Its long period may
|
|
5728
|
-
// be useful if you have many generators and need to avoid
|
|
5729
|
-
// collisions.
|
|
5730
|
-
// Period: 2^4128-2^32.
|
|
5731
|
-
// No systematic BigCrush failures reported.
|
|
5732
|
-
var xor4096 = __webpack_require__(42346);
|
|
5733
|
-
|
|
5734
|
-
// Tyche-i, by Samuel Neves and Filipe Araujo, is a bit-shifting random
|
|
5735
|
-
// number generator derived from ChaCha, a modern stream cipher.
|
|
5736
|
-
// https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
|
|
5737
|
-
// Period: ~2^127
|
|
5738
|
-
// No systematic BigCrush failures reported.
|
|
5739
|
-
var tychei = __webpack_require__(98868);
|
|
5740
|
-
|
|
5741
|
-
// The original ARC4-based prng included in this library.
|
|
5742
|
-
// Period: ~2^1600
|
|
5743
|
-
var sr = __webpack_require__(3808);
|
|
5744
|
-
|
|
5745
|
-
sr.alea = alea;
|
|
5746
|
-
sr.xor128 = xor128;
|
|
5747
|
-
sr.xorwow = xorwow;
|
|
5748
|
-
sr.xorshift7 = xorshift7;
|
|
5749
|
-
sr.xor4096 = xor4096;
|
|
5750
|
-
sr.tychei = tychei;
|
|
5751
|
-
|
|
5752
|
-
module.exports = sr;
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
5633
|
},
|
|
5756
5634
|
84472(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5757
|
-
"use strict";
|
|
5758
5635
|
/* import */ var _macros_js__rspack_import_0 = __webpack_require__(39658);
|
|
5759
5636
|
/* import */ var _DataArray_Constants_js__rspack_import_1 = __webpack_require__(3602);
|
|
5760
5637
|
/* import */ var _Math_js__rspack_import_2 = __webpack_require__(90655);
|
|
@@ -6153,7 +6030,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6153
6030
|
|
|
6154
6031
|
},
|
|
6155
6032
|
3602(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6156
|
-
"use strict";
|
|
6157
6033
|
//#region Sources/Common/Core/DataArray/Constants.js
|
|
6158
6034
|
var DataTypeByteSize = {
|
|
6159
6035
|
Int8Array: 1,
|
|
@@ -6196,7 +6072,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6196
6072
|
|
|
6197
6073
|
},
|
|
6198
6074
|
90655(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6199
|
-
"use strict";
|
|
6200
6075
|
/* import */ var _virtual_rolldown_runtime_js__rspack_import_0 = __webpack_require__(22677);
|
|
6201
6076
|
/* import */ var _macros_js__rspack_import_1 = __webpack_require__(39658);
|
|
6202
6077
|
/* import */ var _Math_Constants_js__rspack_import_2 = __webpack_require__(28013);
|
|
@@ -7943,7 +7818,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
7943
7818
|
|
|
7944
7819
|
},
|
|
7945
7820
|
90004(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
7946
|
-
"use strict";
|
|
7947
7821
|
//#region Sources/Common/DataModel/DataSetAttributes/Constants.js
|
|
7948
7822
|
var AttributeTypes = {
|
|
7949
7823
|
SCALARS: 0,
|
|
@@ -8005,7 +7879,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8005
7879
|
|
|
8006
7880
|
},
|
|
8007
7881
|
41698(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8008
|
-
"use strict";
|
|
8009
7882
|
/* import */ var _macros_js__rspack_import_0 = __webpack_require__(39658);
|
|
8010
7883
|
/* import */ var _Core_Math_js__rspack_import_1 = __webpack_require__(90655);
|
|
8011
7884
|
/* import */ var _BoundingBox_js__rspack_import_2 = __webpack_require__(28710);
|
|
@@ -8132,7 +8005,7 @@ function vtkImageData(publicAPI, model) {
|
|
|
8132
8005
|
publicAPI.extentToBounds = (ex) => _BoundingBox_js__rspack_import_2/* ["default"].transformBounds */.Ay.transformBounds(ex, model.indexToWorld);
|
|
8133
8006
|
publicAPI.getSpatialExtent = () => _BoundingBox_js__rspack_import_2/* ["default"].inflate */.Ay.inflate([...model.extent], .5);
|
|
8134
8007
|
publicAPI.computeTransforms = () => {
|
|
8135
|
-
gl_matrix__rspack_import_6
|
|
8008
|
+
gl_matrix__rspack_import_6.mat4.fromTranslation(model.indexToWorld, model.origin);
|
|
8136
8009
|
model.indexToWorld[0] = model.direction[0];
|
|
8137
8010
|
model.indexToWorld[1] = model.direction[1];
|
|
8138
8011
|
model.indexToWorld[2] = model.direction[2];
|
|
@@ -8142,16 +8015,16 @@ function vtkImageData(publicAPI, model) {
|
|
|
8142
8015
|
model.indexToWorld[8] = model.direction[6];
|
|
8143
8016
|
model.indexToWorld[9] = model.direction[7];
|
|
8144
8017
|
model.indexToWorld[10] = model.direction[8];
|
|
8145
|
-
gl_matrix__rspack_import_6
|
|
8146
|
-
gl_matrix__rspack_import_6
|
|
8018
|
+
gl_matrix__rspack_import_6.mat4.scale(model.indexToWorld, model.indexToWorld, model.spacing);
|
|
8019
|
+
gl_matrix__rspack_import_6.mat4.invert(model.worldToIndex, model.indexToWorld);
|
|
8147
8020
|
};
|
|
8148
8021
|
publicAPI.indexToWorld = (ain, aout = []) => {
|
|
8149
|
-
gl_matrix__rspack_import_6
|
|
8022
|
+
gl_matrix__rspack_import_6.vec3.transformMat4(aout, ain, model.indexToWorld);
|
|
8150
8023
|
return aout;
|
|
8151
8024
|
};
|
|
8152
8025
|
publicAPI.indexToWorldVec3 = publicAPI.indexToWorld;
|
|
8153
8026
|
publicAPI.worldToIndex = (ain, aout = []) => {
|
|
8154
|
-
gl_matrix__rspack_import_6
|
|
8027
|
+
gl_matrix__rspack_import_6.vec3.transformMat4(aout, ain, model.worldToIndex);
|
|
8155
8028
|
return aout;
|
|
8156
8029
|
};
|
|
8157
8030
|
publicAPI.worldToIndexVec3 = publicAPI.worldToIndex;
|
|
@@ -8291,7 +8164,7 @@ function vtkImageData(publicAPI, model) {
|
|
|
8291
8164
|
const superInitialize = publicAPI.initialize;
|
|
8292
8165
|
publicAPI.initialize = () => {
|
|
8293
8166
|
publicAPI.set({
|
|
8294
|
-
direction: gl_matrix__rspack_import_6
|
|
8167
|
+
direction: gl_matrix__rspack_import_6.mat3.identity(model.direction),
|
|
8295
8168
|
spacing: [
|
|
8296
8169
|
1,
|
|
8297
8170
|
1,
|
|
@@ -8342,7 +8215,7 @@ var DEFAULT_VALUES = {
|
|
|
8342
8215
|
function extend(publicAPI, model, initialValues = {}) {
|
|
8343
8216
|
Object.assign(model, DEFAULT_VALUES, initialValues);
|
|
8344
8217
|
_DataSet_js__rspack_import_3/* ["default"].extend */.Ay.extend(publicAPI, model, initialValues);
|
|
8345
|
-
if (!model.direction) model.direction = gl_matrix__rspack_import_6
|
|
8218
|
+
if (!model.direction) model.direction = gl_matrix__rspack_import_6.mat3.identity(new Float64Array(9));
|
|
8346
8219
|
else if (Array.isArray(model.direction)) model.direction = new Float64Array(model.direction.slice(0, 9));
|
|
8347
8220
|
model.indexToWorld = new Float64Array(16);
|
|
8348
8221
|
model.worldToIndex = new Float64Array(16);
|
|
@@ -8368,7 +8241,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8368
8241
|
|
|
8369
8242
|
},
|
|
8370
8243
|
98281(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8371
|
-
"use strict";
|
|
8372
8244
|
/* import */ var _macros_js__rspack_import_0 = __webpack_require__(39658);
|
|
8373
8245
|
/* import */ var _Core_Math_js__rspack_import_1 = __webpack_require__(90655);
|
|
8374
8246
|
/* import */ var _ImplicitFunction_js__rspack_import_2 = __webpack_require__(88480);
|
|
@@ -8566,7 +8438,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8566
8438
|
|
|
8567
8439
|
},
|
|
8568
8440
|
39658(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8569
|
-
"use strict";
|
|
8570
8441
|
/* import */ var _virtual_rolldown_runtime_js__rspack_import_0 = __webpack_require__(22677);
|
|
8571
8442
|
/* import */ var _vtk_js__rspack_import_1 = __webpack_require__(13444);
|
|
8572
8443
|
/* import */ var _Common_Core_ClassHierarchy_js__rspack_import_2 = __webpack_require__(42574);
|
|
@@ -9633,7 +9504,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
9633
9504
|
|
|
9634
9505
|
},
|
|
9635
9506
|
47695(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
9636
|
-
"use strict";
|
|
9637
9507
|
/**
|
|
9638
9508
|
* @license
|
|
9639
9509
|
* Copyright 2019 Google LLC
|