@vitessce/all 4.0.0-test.3 → 4.0.0
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/{GeometryAndMeshXR-BRP24ura.js → GeometryAndMeshXR-DGeJ5ZBr.js} +1 -1
- package/dist/{ReactNeuroglancer-VYcAJw_c.js → ReactNeuroglancer-Do72MK3I.js} +1 -1
- package/dist/{deflate-B35gUGrI.js → deflate-VdN3pn_b.js} +1 -1
- package/dist/{higlass-DIGh19X3.js → higlass-DL7cd1YR.js} +1 -1
- package/dist/{index-BRdVNpUK.js → index-Dau2mo3I.js} +7 -6
- package/dist/{index-DLzCt39t.js → index-GwbVVPa9.js} +395 -194
- package/dist/{index-CIJWVuYa.js → index-tp3-aWWe.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-pIveo5qm.js → jpeg-CYgQz5aG.js} +1 -1
- package/dist/{lerc-DEzmYyQ_.js → lerc-C-Llf71G.js} +1 -1
- package/dist/{lzw-lK2xDQPh.js → lzw-DJhX6Tr-.js} +1 -1
- package/dist/{packbits-Ds8BMewq.js → packbits-BOwAxrqR.js} +1 -1
- package/dist/{raw-BKulPvK3.js → raw-BX1y7Iy_.js} +1 -1
- package/dist/{webimage-BnK9oxcF.js → webimage-DCU5-f3Q.js} +1 -1
- package/dist-tsc/Vitessce.js +1 -0
- package/dist-tsc/Vitessce.js.map +1 -0
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +2 -0
- package/dist-tsc/base-plugins.js.map +1 -0
- package/dist-tsc/index.js +1 -0
- package/dist-tsc/index.js.map +1 -0
- package/dist-tsc/joint-file-types-legacy.js +1 -0
- package/dist-tsc/joint-file-types-legacy.js.map +1 -0
- package/dist-tsc/joint-file-types-legacy.test.js +1 -0
- package/dist-tsc/joint-file-types-legacy.test.js.map +1 -0
- package/dist-tsc/joint-file-types.js +1 -0
- package/dist-tsc/joint-file-types.js.map +1 -0
- package/dist-tsc/joint-file-types.test.js +1 -0
- package/dist-tsc/joint-file-types.test.js.map +1 -0
- package/dist-tsc/latest-config-schema.test.js +1 -0
- package/dist-tsc/latest-config-schema.test.js.map +1 -0
- package/package.json +33 -33
- package/src/base-plugins.ts +1 -0
|
@@ -4,7 +4,7 @@ import { useThree, useFrame } from "@react-three/fiber";
|
|
|
4
4
|
import { Bvh } from "@react-three/drei";
|
|
5
5
|
import { useXR, useXRInputSourceState } from "@react-three/xr";
|
|
6
6
|
import { Matrix4, Vector3, Box3, FrontSide } from "three";
|
|
7
|
-
import { i as isValidGeometrySize, M as MeasureLine, s as stringifyLineData } from "./index-
|
|
7
|
+
import { i as isValidGeometrySize, M as MeasureLine, s as stringifyLineData } from "./index-tp3-aWWe.js";
|
|
8
8
|
function getHandJoint(hand, jointName) {
|
|
9
9
|
return hand.get(jointName);
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as getDefaultExportFromCjs, d as requireAssign, f as require_export, h as require_core, j as require_fails, k as require_toObject, m as require_objectKeys, n as require_cof, o as require_wks, p as require_iterators, q as requireWeb_dom_iterable, s as requireEs6_string_iterator, t as require_anObject, v as require_hide, w as require_ctx, x as require_toLength, y as require_global, z as require_objectDp, A as require_descriptors, D as require_isObject, E as require_objectCreate, F as require_iterDefine, G as require_iterStep, H as require_meta, I as require_isArray, J as require_iobject, K as require_setToStringTag, M as require_aFunction, N as requireIterator, O as require_propertyDesc, c as commonjsGlobal, P as requireEs6_symbol, Q as requireDefineProperty, R as require_toIobject, S as require_objectGopd, T as require_html, U as require_domCreate, V as require_library, W as requireSymbol, X as require_objectPie, Y as require_has, Z as require_redefine, _ as require_objectAssign, $ as diffCameraState } from "./index-
|
|
3
|
+
import { a as getDefaultExportFromCjs, d as requireAssign, f as require_export, h as require_core, j as require_fails, k as require_toObject, m as require_objectKeys, n as require_cof, o as require_wks, p as require_iterators, q as requireWeb_dom_iterable, s as requireEs6_string_iterator, t as require_anObject, v as require_hide, w as require_ctx, x as require_toLength, y as require_global, z as require_objectDp, A as require_descriptors, D as require_isObject, E as require_objectCreate, F as require_iterDefine, G as require_iterStep, H as require_meta, I as require_isArray, J as require_iobject, K as require_setToStringTag, M as require_aFunction, N as requireIterator, O as require_propertyDesc, c as commonjsGlobal, P as requireEs6_symbol, Q as requireDefineProperty, R as require_toIobject, S as require_objectGopd, T as require_html, U as require_domCreate, V as require_library, W as requireSymbol, X as require_objectPie, Y as require_has, Z as require_redefine, _ as require_objectAssign, $ as diffCameraState } from "./index-GwbVVPa9.js";
|
|
4
4
|
var assignExports = requireAssign();
|
|
5
5
|
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
|
|
6
6
|
var es6_object_keys = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-GwbVVPa9.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import React__default, { createContext, isValidElement, PureComponent, Component, useMemo, useState, useRef, useEffect, useCallback, memo, useContext, useReducer, useLayoutEffect } from "react";
|
|
3
|
-
import { r as requireObjectAssign, a as getDefaultExportFromCjs$1, c as commonjsGlobal, e as earcut } from "./index-
|
|
3
|
+
import { r as requireObjectAssign, a as getDefaultExportFromCjs$1, c as commonjsGlobal, e as earcut } from "./index-GwbVVPa9.js";
|
|
4
4
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from "react-dom";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
function finallyConstructor(callback) {
|
|
@@ -3,8 +3,8 @@ import { useRef, useState, useMemo, useEffect, Suspense } from "react";
|
|
|
3
3
|
import { useThree, useFrame, Canvas } from "@react-three/fiber";
|
|
4
4
|
import { OrbitControls } from "@react-three/drei";
|
|
5
5
|
import * as THREE from "three";
|
|
6
|
-
import { Data3DTexture, RedFormat, UnsignedByteType, LinearFilter, RedIntegerFormat, UnsignedIntType, NearestFilter, Vector3, Vector2, Vector4, UniformsUtils
|
|
7
|
-
import { l as log, i as isEqual, C as CoordinationType, u as useEventCallback } from "./index-
|
|
6
|
+
import { Data3DTexture, RedFormat, UnsignedByteType, LinearFilter, RedIntegerFormat, UnsignedIntType, NearestFilter, Vector3, Vector2, Vector4, UniformsUtils } from "three";
|
|
7
|
+
import { l as log, i as isEqual, C as CoordinationType, u as useEventCallback } from "./index-GwbVVPa9.js";
|
|
8
8
|
const LogLevel = {
|
|
9
9
|
INFO: "info",
|
|
10
10
|
WARN: "warn",
|
|
@@ -3210,7 +3210,7 @@ class VolumeRenderManager {
|
|
|
3210
3210
|
}
|
|
3211
3211
|
/**
|
|
3212
3212
|
* Sets the processing render target
|
|
3213
|
-
* @param {
|
|
3213
|
+
* @param {import('three').WebGLRenderTarget} mrt - Render target with 3 attachments
|
|
3214
3214
|
*/
|
|
3215
3215
|
/*
|
|
3216
3216
|
setProcessingTargets(mrt) {
|
|
@@ -3604,8 +3604,9 @@ function VolumeView(props) {
|
|
|
3604
3604
|
useEffect(() => {
|
|
3605
3605
|
logWithColor("useEffect MRT target matching canvas");
|
|
3606
3606
|
const { width, height } = gl.domElement;
|
|
3607
|
-
const mrt = new
|
|
3608
|
-
mrt.
|
|
3607
|
+
const mrt = new THREE.WebGLRenderTarget(width, height, { count: 3 });
|
|
3608
|
+
const mrtTextures = mrt.textures;
|
|
3609
|
+
mrtTextures.forEach((tex) => {
|
|
3609
3610
|
tex.format = THREE.RGBAFormat;
|
|
3610
3611
|
tex.type = THREE.UnsignedByteType;
|
|
3611
3612
|
tex.minFilter = THREE.NearestFilter;
|
|
@@ -3618,7 +3619,7 @@ function VolumeView(props) {
|
|
|
3618
3619
|
const screenMaterial = new THREE.ShaderMaterial({
|
|
3619
3620
|
uniforms: {
|
|
3620
3621
|
// Bind the first render target texture as the input of the gaussian blur shader.
|
|
3621
|
-
tDiffuse: { value:
|
|
3622
|
+
tDiffuse: { value: mrtTextures[0] },
|
|
3622
3623
|
resolution: { value: new THREE.Vector2(width, height) },
|
|
3623
3624
|
gaussian: { value: 7 }
|
|
3624
3625
|
},
|