@vitessce/dev 3.5.7 → 3.5.8
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/{deflate-e42f8666.js → deflate-f83795de.js} +1 -1
- package/dist/{higlass-16c69035.js → higlass-a3a7cee0.js} +1 -1
- package/dist/index-60c5503b.js +66430 -0
- package/dist/{index-632c59c9.js → index-ba18138b.js} +17 -3
- package/dist/{index-242a260a.js → index-e99eb947.js} +7604 -2573
- package/dist/index.js +35 -35
- package/dist/{jpeg-3edfc0bd.js → jpeg-00043bad.js} +1 -1
- package/dist/{lerc-0d506426.js → lerc-428214e3.js} +1 -1
- package/dist/{lzw-93ca1380.js → lzw-87e107e4.js} +1 -1
- package/dist/{packbits-6e34f5c8.js → packbits-77709154.js} +1 -1
- package/dist/{raw-6916b128.js → raw-1149fbd4.js} +1 -1
- package/dist/{troika-three-text.esm-bb0b54b3.js → troika-three-text.esm-49c3f8db.js} +1 -1
- package/dist/{webimage-35ffb81e.js → webimage-929d8349.js} +1 -1
- package/dist/zstd-3a6a34b1.js +773 -0
- package/package.json +5 -5
- package/dist/zstd-9aabb3ce.js +0 -805
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-e99eb947.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useState, useRef, useEffect, useMemo, forwardRef } from "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -23693,7 +23693,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
23693
23693
|
const {
|
|
23694
23694
|
Text: TextMeshImpl,
|
|
23695
23695
|
preloadFont
|
|
23696
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
23696
|
+
} = suspend(async () => import("./troika-three-text.esm-49c3f8db.js"), []);
|
|
23697
23697
|
const invalidate2 = useThree(({
|
|
23698
23698
|
invalidate: invalidate3
|
|
23699
23699
|
}) => invalidate3);
|
|
@@ -28157,11 +28157,25 @@ function setUniformsTextures(uniforms, textures, volume, volConfig, renderstyle,
|
|
|
28157
28157
|
uniforms.u_color5.value.set(colors.length > 4 ? colors[4][0] : null, colors.length > 4 ? colors[4][1] : null, colors.length > 4 ? colors[4][2] : null);
|
|
28158
28158
|
uniforms.u_color6.value.set(colors.length > 5 ? colors[5][0] : null, colors.length > 5 ? colors[5][1] : null, colors.length > 5 ? colors[5][2] : null);
|
|
28159
28159
|
}
|
|
28160
|
-
function create3DRendering(volumes, channelTargetC, channelsVisible, colors, textures, contrastLimits, volumeMinMax,
|
|
28160
|
+
function create3DRendering(volumes, channelTargetC, channelsVisible, colors, textures, contrastLimits, volumeMinMax, scaleOrUndefined, renderstyle, layerTransparency, xSlice, ySlice, zSlice, originalScale) {
|
|
28161
28161
|
const texturesList = [];
|
|
28162
28162
|
const colorsSave = [];
|
|
28163
28163
|
const contrastLimitsList = [];
|
|
28164
28164
|
let volume = null;
|
|
28165
|
+
let scale = scaleOrUndefined;
|
|
28166
|
+
if (scale === void 0 || scale === null || !Array.isArray(scale) || scale.length < 3) {
|
|
28167
|
+
scale = [
|
|
28168
|
+
{ size: scale?.[0]?.size ?? 1 },
|
|
28169
|
+
{ size: scale?.[1]?.size ?? 1 },
|
|
28170
|
+
{ size: scale?.[2]?.size ?? 1 }
|
|
28171
|
+
];
|
|
28172
|
+
} else {
|
|
28173
|
+
for (let i2 = 0; i2 < scale.length; i2++) {
|
|
28174
|
+
if (!scale[i2] || scale[i2].size === void 0 || scale[i2].size === null) {
|
|
28175
|
+
scale[i2] = { size: 1 };
|
|
28176
|
+
}
|
|
28177
|
+
}
|
|
28178
|
+
}
|
|
28165
28179
|
channelTargetC.forEach((channel, id) => {
|
|
28166
28180
|
if (channelsVisible[id]) {
|
|
28167
28181
|
volume = volumes.get(channel);
|