brainsmatics 1.1.37 → 1.1.39
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/.vscode/settings.json +2 -2
- package/dist/App.d.ts +4 -4
- package/dist/component/2d/config.d.ts +40 -40
- package/dist/component/2d/contextmenu/ContextMenuX.d.ts +3 -3
- package/dist/component/2d/distribution/index.d.ts +4 -4
- package/dist/component/2d/gridviewer/index.d.ts +9 -9
- package/dist/component/2d/gridviewer/index1.d.ts +8 -8
- package/dist/component/2d/index.d.ts +9 -9
- package/dist/component/2d/infodiv/index.d.ts +7 -7
- package/dist/component/2d/modelloder.d.ts +3 -3
- package/dist/component/2d/mulifiveiewer/index.d.ts +4 -4
- package/dist/component/2d/navigation/index.d.ts +12 -12
- package/dist/component/2d/navtree/index.d.ts +13 -13
- package/dist/component/2d/tast1/config.d.ts +20 -20
- package/dist/component/2d/tast1/index.d.ts +4 -4
- package/dist/component/2d/thumbnail/VirtualList.d.ts +14 -14
- package/dist/component/2d/thumbnail/index.d.ts +12 -12
- package/dist/component/2d/twoviewer/index.d.ts +19 -19
- package/dist/component/3d/ai/index.d.ts +7 -7
- package/dist/component/3d/aichat/index.d.ts +20 -19
- package/dist/component/3d/atlas.d.ts +32 -31
- package/dist/component/3d/atlasBottomTabs/index.d.ts +19 -19
- package/dist/component/3d/atlasSiderBar/index.d.ts +84 -83
- package/dist/component/3d/auxiliary/index.d.ts +122 -121
- package/dist/component/3d/bottomTabs/index.d.ts +17 -16
- package/dist/component/3d/card/index.d.ts +10 -10
- package/dist/component/3d/cardData/index.d.ts +3 -3
- package/dist/component/3d/chartViewer/index.d.ts +18 -18
- package/dist/component/3d/contractBox/index.d.ts +10 -10
- package/dist/component/3d/dataset/index.d.ts +3 -3
- package/dist/component/3d/functionLoop/index.d.ts +14 -14
- package/dist/component/3d/functionLoopSwc/index.d.ts +15 -15
- package/dist/component/3d/index.d.ts +18 -16
- package/dist/component/3d/inputgrey/index.d.ts +3 -3
- package/dist/component/3d/lengthViewer/index.d.ts +10 -10
- package/dist/component/3d/markdown/index.d.ts +7 -7
- package/dist/component/3d/modal2DLoader/index.d.ts +11 -11
- package/dist/component/3d/modalLoader/index.d.ts +13 -13
- package/dist/component/3d/pipeline/index.d.ts +89 -88
- package/dist/component/3d/registration/index.d.ts +4 -4
- package/dist/component/3d/sangjiViewer/index.d.ts +6 -6
- package/dist/component/3d/section/index.d.ts +55 -54
- package/dist/component/3d/showreglions/index.d.ts +7 -7
- package/dist/component/3d/sideBar/index.d.ts +83 -82
- package/dist/component/3d/stlLoader/index.d.ts +9 -9
- package/dist/component/3d/swctree/index.d.ts +3 -3
- package/dist/component/3d/tabViewer/index.d.ts +13 -13
- package/dist/component/3d/uploadComponent/index.d.ts +11 -0
- package/dist/component/3d/userUpload/index.d.ts +4 -0
- package/dist/component/3d/wordMap/index.d.ts +11 -11
- package/dist/component/STAM.d.ts +4 -4
- package/dist/component/common/Button/index.d.ts +45 -45
- package/dist/component/common/Header/index.d.ts +19 -19
- package/dist/component/common/index.d.ts +2 -2
- package/dist/component/index.d.ts +2 -2
- package/dist/component/types/header.d.ts +9 -9
- package/dist/component/types/index.d.ts +1 -1
- package/dist/component/util/CommonFunctions.d.ts +23 -23
- package/dist/component/util/global.d.ts +39 -39
- package/dist/component/util/i18n.d.ts +3 -3
- package/dist/component/util/index.d.ts +2 -2
- package/dist/component/util/swc.d.ts +13 -13
- package/dist/{deflate-1d733bff.mjs → deflate-0cfd93ae.mjs} +1 -1
- package/dist/{deflate-9994cfb4.js → deflate-8ae1b17a.js} +1 -1
- package/dist/{index-bb72fd67.js → index-531a4cd3.js} +661 -479
- package/dist/{index-a522944d.mjs → index-d8607f2d.mjs} +74108 -70571
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +38 -36
- package/dist/{lerc-a2b3f55c.mjs → lerc-7424acef.mjs} +1 -1
- package/dist/{lerc-b1b0b21a.js → lerc-80a040ed.js} +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/stories/3Ddata.stories.d.ts +12 -12
- package/dist/stories/3Dlabel.d.ts +4 -4
- package/dist/stories/3Dlabelreglions.d.ts +4 -4
- package/dist/stories/3Dlable.stories.d.ts +12 -12
- package/dist/stories/3Dlablereglions.stories.d.ts +12 -12
- package/dist/stories/3Dneurons.d.ts +4 -4
- package/dist/stories/3Dneurons.stories.d.ts +12 -12
- package/dist/stories/3Dswc.stories.d.ts +12 -12
- package/dist/stories/ArlasViewer.stories.d.ts +12 -12
- package/dist/stories/AtlasViewer.d.ts +3 -3
- package/dist/stories/Button.stories.d.ts +25 -25
- package/dist/stories/Distribution.stories.d.ts +11 -11
- package/dist/stories/Header.stories.d.ts +31 -31
- package/dist/stories/Iputgrey.stories.d.ts +12 -12
- package/dist/stories/MulfiViewer.stories.d.ts +11 -11
- package/dist/stories/Page.d.ts +3 -3
- package/dist/stories/Page.stories.d.ts +15 -15
- package/dist/stories/Sangjiviewer.stories.d.ts +14 -14
- package/dist/stories/Soma.d.ts +4 -4
- package/dist/stories/Soma.stories.d.ts +12 -12
- package/dist/stories/Task3D.stories.d.ts +12 -12
- package/dist/stories/Thumbnail.stories.d.ts +25 -25
- package/dist/stories/UserUpload.d.ts +3 -0
- package/dist/stories/UserUpload.stories.d.ts +12 -0
- package/dist/stories/Vessel.d.ts +4 -4
- package/dist/stories/Vessel.stories.d.ts +12 -12
- package/dist/stories/chartviewer.stories.d.ts +26 -26
- package/dist/stories/lengthviewer.stories.d.ts +17 -17
- package/dist/stories/navtree.stories.d.ts +25 -25
- package/dist/stories/registration.stories.d.ts +12 -12
- package/dist/stories/task3D.d.ts +4 -4
- package/dist/stories/tast1.stories.d.ts +11 -11
- package/dist/stories/twoview.stories.d.ts +31 -31
- package/dist/style.css +1 -1
- package/package.json +6 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import "./index.css";
|
|
3
|
-
declare const LengthViewer: React.FC<{
|
|
4
|
-
t: any;
|
|
5
|
-
data_change: any;
|
|
6
|
-
data_c: any;
|
|
7
|
-
col: string[];
|
|
8
|
-
row: string[];
|
|
9
|
-
}>;
|
|
10
|
-
export default LengthViewer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./index.css";
|
|
3
|
+
declare const LengthViewer: React.FC<{
|
|
4
|
+
t: any;
|
|
5
|
+
data_change: any;
|
|
6
|
+
data_c: any;
|
|
7
|
+
col: string[];
|
|
8
|
+
row: string[];
|
|
9
|
+
}>;
|
|
10
|
+
export default LengthViewer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const Markdown: ({ loadAssign, brain_D, content }: {
|
|
3
|
-
loadAssign: () => void;
|
|
4
|
-
brain_D: any[];
|
|
5
|
-
content: string;
|
|
6
|
-
}) => React.JSX.Element;
|
|
7
|
-
export default Markdown;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Markdown: ({ loadAssign, brain_D, content }: {
|
|
3
|
+
loadAssign: () => void;
|
|
4
|
+
brain_D: any[];
|
|
5
|
+
content: string;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
export default Markdown;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./index.css";
|
|
3
|
-
declare const Modal2DLoader: React.MemoExoticComponent<({ currentLevel, totalLevel, layerxyz, is3DViewer, setcurrentLevel, is2DViewer }: {
|
|
4
|
-
totalLevel: number;
|
|
5
|
-
is3DViewer: boolean;
|
|
6
|
-
setcurrentLevel: React.Dispatch<React.SetStateAction<number>>;
|
|
7
|
-
currentLevel: number;
|
|
8
|
-
layerxyz: string;
|
|
9
|
-
is2DViewer: boolean;
|
|
10
|
-
}) => React.JSX.Element>;
|
|
11
|
-
export default Modal2DLoader;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
declare const Modal2DLoader: React.MemoExoticComponent<({ currentLevel, totalLevel, layerxyz, is3DViewer, setcurrentLevel, is2DViewer }: {
|
|
4
|
+
totalLevel: number;
|
|
5
|
+
is3DViewer: boolean;
|
|
6
|
+
setcurrentLevel: React.Dispatch<React.SetStateAction<number>>;
|
|
7
|
+
currentLevel: number;
|
|
8
|
+
layerxyz: string;
|
|
9
|
+
is2DViewer: boolean;
|
|
10
|
+
}) => React.JSX.Element>;
|
|
11
|
+
export default Modal2DLoader;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
import './index.css';
|
|
4
|
-
interface LoaderProps {
|
|
5
|
-
regionData: string;
|
|
6
|
-
vesselObj?: React.MutableRefObject<{}>;
|
|
7
|
-
setbbox: React.Dispatch<React.SetStateAction<{
|
|
8
|
-
min: THREE.Vector3;
|
|
9
|
-
max: THREE.Vector3;
|
|
10
|
-
}>>;
|
|
11
|
-
}
|
|
12
|
-
declare const modalLoader: React.FC<LoaderProps>;
|
|
13
|
-
export default modalLoader;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import './index.css';
|
|
4
|
+
interface LoaderProps {
|
|
5
|
+
regionData: string;
|
|
6
|
+
vesselObj?: React.MutableRefObject<{}>;
|
|
7
|
+
setbbox: React.Dispatch<React.SetStateAction<{
|
|
8
|
+
min: THREE.Vector3;
|
|
9
|
+
max: THREE.Vector3;
|
|
10
|
+
}>>;
|
|
11
|
+
}
|
|
12
|
+
declare const modalLoader: React.FC<LoaderProps>;
|
|
13
|
+
export default modalLoader;
|
|
@@ -1,88 +1,89 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls';
|
|
4
|
-
import "./index.css";
|
|
5
|
-
interface propsType {
|
|
6
|
-
renderer: THREE.WebGLRenderer;
|
|
7
|
-
controls: React.MutableRefObject<TrackballControls>;
|
|
8
|
-
vesselObj: React.MutableRefObject<{
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}>;
|
|
11
|
-
currentRef: React.RefObject<HTMLDivElement> | null;
|
|
12
|
-
setHrefStr?: React.Dispatch<React.SetStateAction<string>>;
|
|
13
|
-
angleRef?: React.MutableRefObject<string>;
|
|
14
|
-
setJiaoduRef?: React.Dispatch<React.SetStateAction<string>>;
|
|
15
|
-
mouseflag?: React.MutableRefObject<boolean>;
|
|
16
|
-
menutagShow?: boolean;
|
|
17
|
-
setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
18
|
-
menuTag?: any[];
|
|
19
|
-
pointDatas: any[];
|
|
20
|
-
datum: boolean;
|
|
21
|
-
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
22
|
-
startselect?: React.MutableRefObject<boolean>;
|
|
23
|
-
linemeshs_jing?: React.MutableRefObject<THREE.Line>;
|
|
24
|
-
points?: React.MutableRefObject<any[]>;
|
|
25
|
-
points2?: React.MutableRefObject<any[]>;
|
|
26
|
-
activetabIndex?: React.MutableRefObject<number>;
|
|
27
|
-
fetchCoordinateFunc?: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
|
|
28
|
-
checkItems: string[];
|
|
29
|
-
outflag?: boolean;
|
|
30
|
-
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
31
|
-
endPoint: THREE.Vector3;
|
|
32
|
-
setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
|
|
33
|
-
outflagRef: React.MutableRefObject<boolean>;
|
|
34
|
-
setShowModeChoose?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
35
|
-
virusModeValue: React.MutableRefObject<string>;
|
|
36
|
-
pipelineClickEvent: React.MutableRefObject<any>;
|
|
37
|
-
setFocusVirusLineItem: React.Dispatch<React.SetStateAction<string>>;
|
|
38
|
-
focusVirusLineItem: string;
|
|
39
|
-
responsefunc: React.MutableRefObject<() => void>;
|
|
40
|
-
childRef: React.MutableRefObject<undefined>;
|
|
41
|
-
mode: React.MutableRefObject<number>;
|
|
42
|
-
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
43
|
-
t?: any;
|
|
44
|
-
setSwcItem: React.Dispatch<React.SetStateAction<string>>;
|
|
45
|
-
swcItem: string;
|
|
46
|
-
swcnameMesh: React.MutableRefObject<{}>;
|
|
47
|
-
axon_check?: Record<string, {
|
|
48
|
-
up: string[];
|
|
49
|
-
down: string[];
|
|
50
|
-
soma: string[];
|
|
51
|
-
axon: string[];
|
|
52
|
-
id: number;
|
|
53
|
-
}>;
|
|
54
|
-
automaticGroup: React.MutableRefObject<string[]>;
|
|
55
|
-
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
56
|
-
vesselRef: React.MutableRefObject<undefined>;
|
|
57
|
-
setLableStr: React.Dispatch<React.SetStateAction<string>>;
|
|
58
|
-
setVesselStr: React.Dispatch<React.SetStateAction<string>>;
|
|
59
|
-
vesselStr: string;
|
|
60
|
-
lableStr: string;
|
|
61
|
-
tabIndex: React.MutableRefObject<number>;
|
|
62
|
-
updatePage: {};
|
|
63
|
-
swcRef: React.MutableRefObject<undefined>;
|
|
64
|
-
Luguchecked: number;
|
|
65
|
-
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
66
|
-
gray?: string | undefined;
|
|
67
|
-
brains?: string | undefined;
|
|
68
|
-
top?: number | undefined;
|
|
69
|
-
left?: number | undefined;
|
|
70
|
-
}>>;
|
|
71
|
-
sectionsInfoRef: React.MutableRefObject<{
|
|
72
|
-
gray?: number | undefined;
|
|
73
|
-
brains?: string | undefined;
|
|
74
|
-
top?: number | undefined;
|
|
75
|
-
left?: number | undefined;
|
|
76
|
-
}>;
|
|
77
|
-
gray_value: React.MutableRefObject<any>;
|
|
78
|
-
gridShow: boolean;
|
|
79
|
-
setNodeStr: React.Dispatch<React.SetStateAction<{}>>;
|
|
80
|
-
regionData: string;
|
|
81
|
-
mouseIsHoverbrainRegionPoints: React.MutableRefObject<boolean>;
|
|
82
|
-
auxRef: React.MutableRefObject<any>;
|
|
83
|
-
azimuth: number;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export declare var
|
|
87
|
-
declare
|
|
88
|
-
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls';
|
|
4
|
+
import "./index.css";
|
|
5
|
+
interface propsType {
|
|
6
|
+
renderer: THREE.WebGLRenderer;
|
|
7
|
+
controls: React.MutableRefObject<TrackballControls>;
|
|
8
|
+
vesselObj: React.MutableRefObject<{
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
currentRef: React.RefObject<HTMLDivElement> | null;
|
|
12
|
+
setHrefStr?: React.Dispatch<React.SetStateAction<string>>;
|
|
13
|
+
angleRef?: React.MutableRefObject<string>;
|
|
14
|
+
setJiaoduRef?: React.Dispatch<React.SetStateAction<string>>;
|
|
15
|
+
mouseflag?: React.MutableRefObject<boolean>;
|
|
16
|
+
menutagShow?: boolean;
|
|
17
|
+
setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
18
|
+
menuTag?: any[];
|
|
19
|
+
pointDatas: any[];
|
|
20
|
+
datum: boolean;
|
|
21
|
+
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
22
|
+
startselect?: React.MutableRefObject<boolean>;
|
|
23
|
+
linemeshs_jing?: React.MutableRefObject<THREE.Line>;
|
|
24
|
+
points?: React.MutableRefObject<any[]>;
|
|
25
|
+
points2?: React.MutableRefObject<any[]>;
|
|
26
|
+
activetabIndex?: React.MutableRefObject<number>;
|
|
27
|
+
fetchCoordinateFunc?: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
|
|
28
|
+
checkItems: string[];
|
|
29
|
+
outflag?: boolean;
|
|
30
|
+
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
31
|
+
endPoint: THREE.Vector3;
|
|
32
|
+
setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
|
|
33
|
+
outflagRef: React.MutableRefObject<boolean>;
|
|
34
|
+
setShowModeChoose?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
35
|
+
virusModeValue: React.MutableRefObject<string>;
|
|
36
|
+
pipelineClickEvent: React.MutableRefObject<any>;
|
|
37
|
+
setFocusVirusLineItem: React.Dispatch<React.SetStateAction<string>>;
|
|
38
|
+
focusVirusLineItem: string;
|
|
39
|
+
responsefunc: React.MutableRefObject<() => void>;
|
|
40
|
+
childRef: React.MutableRefObject<undefined>;
|
|
41
|
+
mode: React.MutableRefObject<number>;
|
|
42
|
+
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
43
|
+
t?: any;
|
|
44
|
+
setSwcItem: React.Dispatch<React.SetStateAction<string>>;
|
|
45
|
+
swcItem: string;
|
|
46
|
+
swcnameMesh: React.MutableRefObject<{}>;
|
|
47
|
+
axon_check?: Record<string, {
|
|
48
|
+
up: string[];
|
|
49
|
+
down: string[];
|
|
50
|
+
soma: string[];
|
|
51
|
+
axon: string[];
|
|
52
|
+
id: number;
|
|
53
|
+
}>;
|
|
54
|
+
automaticGroup: React.MutableRefObject<string[]>;
|
|
55
|
+
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
56
|
+
vesselRef: React.MutableRefObject<undefined>;
|
|
57
|
+
setLableStr: React.Dispatch<React.SetStateAction<string>>;
|
|
58
|
+
setVesselStr: React.Dispatch<React.SetStateAction<string>>;
|
|
59
|
+
vesselStr: string;
|
|
60
|
+
lableStr: string;
|
|
61
|
+
tabIndex: React.MutableRefObject<number>;
|
|
62
|
+
updatePage: {};
|
|
63
|
+
swcRef: React.MutableRefObject<undefined>;
|
|
64
|
+
Luguchecked: number;
|
|
65
|
+
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
66
|
+
gray?: string | undefined;
|
|
67
|
+
brains?: string | undefined;
|
|
68
|
+
top?: number | undefined;
|
|
69
|
+
left?: number | undefined;
|
|
70
|
+
}>>;
|
|
71
|
+
sectionsInfoRef: React.MutableRefObject<{
|
|
72
|
+
gray?: number | undefined;
|
|
73
|
+
brains?: string | undefined;
|
|
74
|
+
top?: number | undefined;
|
|
75
|
+
left?: number | undefined;
|
|
76
|
+
}>;
|
|
77
|
+
gray_value: React.MutableRefObject<any>;
|
|
78
|
+
gridShow: boolean;
|
|
79
|
+
setNodeStr: React.Dispatch<React.SetStateAction<{}>>;
|
|
80
|
+
regionData: string;
|
|
81
|
+
mouseIsHoverbrainRegionPoints: React.MutableRefObject<boolean>;
|
|
82
|
+
auxRef: React.MutableRefObject<any>;
|
|
83
|
+
azimuth: number;
|
|
84
|
+
urlRef: React.MutableRefObject<URL>;
|
|
85
|
+
}
|
|
86
|
+
export declare var sphereBig: THREE.Mesh<THREE.SphereGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
|
|
87
|
+
export declare var sphereMiddelClick: THREE.Mesh<THREE.ConeGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
|
|
88
|
+
declare const PipeLine: React.FC<propsType>;
|
|
89
|
+
export default PipeLine;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "../../util/i18n";
|
|
3
|
-
declare const Registration: React.FC;
|
|
4
|
-
export default Registration;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../util/i18n";
|
|
3
|
+
declare const Registration: React.FC;
|
|
4
|
+
export default Registration;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const SangjiViewer: React.FC<{
|
|
3
|
-
fbxTreeDatas: any[];
|
|
4
|
-
data: any;
|
|
5
|
-
}>;
|
|
6
|
-
export default SangjiViewer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SangjiViewer: React.FC<{
|
|
3
|
+
fbxTreeDatas: any[];
|
|
4
|
+
data: any;
|
|
5
|
+
}>;
|
|
6
|
+
export default SangjiViewer;
|
|
@@ -1,54 +1,55 @@
|
|
|
1
|
-
import { TransformControls } from "three/examples/jsm/controls/TransformControls";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
|
|
5
|
-
import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
|
|
6
|
-
interface positionUpdate {
|
|
7
|
-
positionx: number;
|
|
8
|
-
positiony: number;
|
|
9
|
-
positionz: number;
|
|
10
|
-
}
|
|
11
|
-
interface CubeSliceProps {
|
|
12
|
-
direction: number;
|
|
13
|
-
percentage: number;
|
|
14
|
-
pointMax: THREE.Vector3;
|
|
15
|
-
pointMin: THREE.Vector3;
|
|
16
|
-
color: THREE.Color | number;
|
|
17
|
-
sliceImgNum: number;
|
|
18
|
-
slicePath: string;
|
|
19
|
-
transformControls: React.MutableRefObject<TransformControls>;
|
|
20
|
-
controls: React.MutableRefObject<TrackballControls>;
|
|
21
|
-
handleStateUpdate?: (props: positionUpdate) => void;
|
|
22
|
-
canvas_width: React.MutableRefObject<number>;
|
|
23
|
-
canvas_height: React.MutableRefObject<number>;
|
|
24
|
-
cube_helper: React.MutableRefObject<THREE.Mesh>;
|
|
25
|
-
renderer: THREE.WebGLRenderer;
|
|
26
|
-
showMesh: boolean;
|
|
27
|
-
slice_arbitrary?: React.MutableRefObject<THREE.Mesh>;
|
|
28
|
-
normalVector?: React.MutableRefObject<THREE.Vector3 | null>;
|
|
29
|
-
canMouseMove?: boolean;
|
|
30
|
-
setAngleX: React.Dispatch<React.SetStateAction<number>>;
|
|
31
|
-
setAngleY: React.Dispatch<React.SetStateAction<number>>;
|
|
32
|
-
setAngleZ: React.Dispatch<React.SetStateAction<number>>;
|
|
33
|
-
gray_value: React.MutableRefObject<any>;
|
|
34
|
-
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
35
|
-
gray?: string | undefined;
|
|
36
|
-
brains?: string | undefined;
|
|
37
|
-
left?: number | undefined;
|
|
38
|
-
top?: number | undefined;
|
|
39
|
-
}>>;
|
|
40
|
-
sectionsInfoRef: React.MutableRefObject<{
|
|
41
|
-
gray?: number | undefined;
|
|
42
|
-
brains?: string | undefined;
|
|
43
|
-
top?: number | undefined;
|
|
44
|
-
left?: number | undefined;
|
|
45
|
-
}>;
|
|
46
|
-
sectionPointRef: React.MutableRefObject<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>;
|
|
47
|
-
composer: EffectComposer;
|
|
48
|
-
menutagShowRef: React.MutableRefObject<boolean>;
|
|
49
|
-
tabIndex: number;
|
|
50
|
-
settransformControlsType?: React.Dispatch<React.SetStateAction<number>>;
|
|
51
|
-
slicing_url: React.MutableRefObject<string>;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
import { TransformControls } from "three/examples/jsm/controls/TransformControls";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
|
|
5
|
+
import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
|
|
6
|
+
interface positionUpdate {
|
|
7
|
+
positionx: number;
|
|
8
|
+
positiony: number;
|
|
9
|
+
positionz: number;
|
|
10
|
+
}
|
|
11
|
+
interface CubeSliceProps {
|
|
12
|
+
direction: number;
|
|
13
|
+
percentage: number;
|
|
14
|
+
pointMax: THREE.Vector3;
|
|
15
|
+
pointMin: THREE.Vector3;
|
|
16
|
+
color: THREE.Color | number;
|
|
17
|
+
sliceImgNum: number;
|
|
18
|
+
slicePath: string;
|
|
19
|
+
transformControls: React.MutableRefObject<TransformControls>;
|
|
20
|
+
controls: React.MutableRefObject<TrackballControls>;
|
|
21
|
+
handleStateUpdate?: (props: positionUpdate) => void;
|
|
22
|
+
canvas_width: React.MutableRefObject<number>;
|
|
23
|
+
canvas_height: React.MutableRefObject<number>;
|
|
24
|
+
cube_helper: React.MutableRefObject<THREE.Mesh>;
|
|
25
|
+
renderer: THREE.WebGLRenderer;
|
|
26
|
+
showMesh: boolean;
|
|
27
|
+
slice_arbitrary?: React.MutableRefObject<THREE.Mesh>;
|
|
28
|
+
normalVector?: React.MutableRefObject<THREE.Vector3 | null>;
|
|
29
|
+
canMouseMove?: boolean;
|
|
30
|
+
setAngleX: React.Dispatch<React.SetStateAction<number>>;
|
|
31
|
+
setAngleY: React.Dispatch<React.SetStateAction<number>>;
|
|
32
|
+
setAngleZ: React.Dispatch<React.SetStateAction<number>>;
|
|
33
|
+
gray_value: React.MutableRefObject<any>;
|
|
34
|
+
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
35
|
+
gray?: string | undefined;
|
|
36
|
+
brains?: string | undefined;
|
|
37
|
+
left?: number | undefined;
|
|
38
|
+
top?: number | undefined;
|
|
39
|
+
}>>;
|
|
40
|
+
sectionsInfoRef: React.MutableRefObject<{
|
|
41
|
+
gray?: number | undefined;
|
|
42
|
+
brains?: string | undefined;
|
|
43
|
+
top?: number | undefined;
|
|
44
|
+
left?: number | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
sectionPointRef: React.MutableRefObject<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>;
|
|
47
|
+
composer: EffectComposer;
|
|
48
|
+
menutagShowRef: React.MutableRefObject<boolean>;
|
|
49
|
+
tabIndex: number;
|
|
50
|
+
settransformControlsType?: React.Dispatch<React.SetStateAction<number>>;
|
|
51
|
+
slicing_url: React.MutableRefObject<string>;
|
|
52
|
+
urlRef: React.MutableRefObject<URL>;
|
|
53
|
+
}
|
|
54
|
+
declare const Sections: React.FC<CubeSliceProps>;
|
|
55
|
+
export default Sections;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface propsType {
|
|
3
|
-
reglionsData: any;
|
|
4
|
-
LaleNanme: string;
|
|
5
|
-
}
|
|
6
|
-
declare const ShowReglions: React.FC<propsType>;
|
|
7
|
-
export default ShowReglions;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface propsType {
|
|
3
|
+
reglionsData: any;
|
|
4
|
+
LaleNanme: string;
|
|
5
|
+
}
|
|
6
|
+
declare const ShowReglions: React.FC<propsType>;
|
|
7
|
+
export default ShowReglions;
|
|
@@ -1,82 +1,83 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import './index.css';
|
|
3
|
-
import type { DataNode } from 'antd/es/tree';
|
|
4
|
-
import * as THREE from 'three';
|
|
5
|
-
interface dataType extends DataNode {
|
|
6
|
-
name: string;
|
|
7
|
-
open: boolean;
|
|
8
|
-
path: string;
|
|
9
|
-
color: string;
|
|
10
|
-
children: any;
|
|
11
|
-
nameflag?: string;
|
|
12
|
-
fullname: string;
|
|
13
|
-
x: string;
|
|
14
|
-
y: string;
|
|
15
|
-
z: string;
|
|
16
|
-
cname: string;
|
|
17
|
-
"2D": boolean;
|
|
18
|
-
"3D": boolean;
|
|
19
|
-
}
|
|
20
|
-
interface SideBarProps {
|
|
21
|
-
regionData: string;
|
|
22
|
-
treeDatas: dataType[];
|
|
23
|
-
fbxTreeDatas?: dataType[];
|
|
24
|
-
vesselObj: React.MutableRefObject<{
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}>;
|
|
27
|
-
offset_factor_R?: React.MutableRefObject<number>;
|
|
28
|
-
type: string;
|
|
29
|
-
leftTreeRef?: React.RefObject<HTMLDivElement>;
|
|
30
|
-
baozhaRef?: React.RefObject<HTMLDivElement>;
|
|
31
|
-
needBaozha?: boolean;
|
|
32
|
-
offset_factor?: number;
|
|
33
|
-
step_offset?: React.MutableRefObject<number>;
|
|
34
|
-
renderer: THREE.WebGLRenderer;
|
|
35
|
-
dataUrl?: React.MutableRefObject<string>;
|
|
36
|
-
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
37
|
-
t: any;
|
|
38
|
-
title?: string;
|
|
39
|
-
json_name?: string;
|
|
40
|
-
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
41
|
-
ref?: any;
|
|
42
|
-
StepsCount?: number;
|
|
43
|
-
showimage?: boolean;
|
|
44
|
-
checkItems: string[];
|
|
45
|
-
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
46
|
-
outflag?: boolean;
|
|
47
|
-
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
48
|
-
setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
49
|
-
automaticGroup?: React.MutableRefObject<string[]>;
|
|
50
|
-
mode: number;
|
|
51
|
-
axon_check?: Record<string, {
|
|
52
|
-
up: string[];
|
|
53
|
-
down: string[];
|
|
54
|
-
soma: string[];
|
|
55
|
-
axon: string[];
|
|
56
|
-
id: number;
|
|
57
|
-
}>;
|
|
58
|
-
swcnameMesh?: React.MutableRefObject<{
|
|
59
|
-
[key: string]: any;
|
|
60
|
-
}>;
|
|
61
|
-
updatePage?: {};
|
|
62
|
-
childRef?: React.MutableRefObject<undefined>;
|
|
63
|
-
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
64
|
-
echartValue?: string;
|
|
65
|
-
auxRef?: React.MutableRefObject<any>;
|
|
66
|
-
PointShow?: React.MutableRefObject<{
|
|
67
|
-
start: boolean;
|
|
68
|
-
end: boolean;
|
|
69
|
-
start_color: string;
|
|
70
|
-
}>;
|
|
71
|
-
tasktype: string;
|
|
72
|
-
swclist?: string[];
|
|
73
|
-
metadata?: boolean;
|
|
74
|
-
resourceTab?: string[];
|
|
75
|
-
atlasData?: string;
|
|
76
|
-
setTip?: React.Dispatch<React.SetStateAction<string>>;
|
|
77
|
-
points2?: React.MutableRefObject<any[]>;
|
|
78
|
-
BrainNum?: string;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
declare
|
|
82
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './index.css';
|
|
3
|
+
import type { DataNode } from 'antd/es/tree';
|
|
4
|
+
import * as THREE from 'three';
|
|
5
|
+
interface dataType extends DataNode {
|
|
6
|
+
name: string;
|
|
7
|
+
open: boolean;
|
|
8
|
+
path: string;
|
|
9
|
+
color: string;
|
|
10
|
+
children: any;
|
|
11
|
+
nameflag?: string;
|
|
12
|
+
fullname: string;
|
|
13
|
+
x: string;
|
|
14
|
+
y: string;
|
|
15
|
+
z: string;
|
|
16
|
+
cname: string;
|
|
17
|
+
"2D": boolean;
|
|
18
|
+
"3D": boolean;
|
|
19
|
+
}
|
|
20
|
+
interface SideBarProps {
|
|
21
|
+
regionData: string;
|
|
22
|
+
treeDatas: dataType[];
|
|
23
|
+
fbxTreeDatas?: dataType[];
|
|
24
|
+
vesselObj: React.MutableRefObject<{
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>;
|
|
27
|
+
offset_factor_R?: React.MutableRefObject<number>;
|
|
28
|
+
type: string;
|
|
29
|
+
leftTreeRef?: React.RefObject<HTMLDivElement>;
|
|
30
|
+
baozhaRef?: React.RefObject<HTMLDivElement>;
|
|
31
|
+
needBaozha?: boolean;
|
|
32
|
+
offset_factor?: number;
|
|
33
|
+
step_offset?: React.MutableRefObject<number>;
|
|
34
|
+
renderer: THREE.WebGLRenderer;
|
|
35
|
+
dataUrl?: React.MutableRefObject<string>;
|
|
36
|
+
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
37
|
+
t: any;
|
|
38
|
+
title?: string;
|
|
39
|
+
json_name?: string;
|
|
40
|
+
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
41
|
+
ref?: any;
|
|
42
|
+
StepsCount?: number;
|
|
43
|
+
showimage?: boolean;
|
|
44
|
+
checkItems: string[];
|
|
45
|
+
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
46
|
+
outflag?: boolean;
|
|
47
|
+
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
48
|
+
setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
49
|
+
automaticGroup?: React.MutableRefObject<string[]>;
|
|
50
|
+
mode: number;
|
|
51
|
+
axon_check?: Record<string, {
|
|
52
|
+
up: string[];
|
|
53
|
+
down: string[];
|
|
54
|
+
soma: string[];
|
|
55
|
+
axon: string[];
|
|
56
|
+
id: number;
|
|
57
|
+
}>;
|
|
58
|
+
swcnameMesh?: React.MutableRefObject<{
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
}>;
|
|
61
|
+
updatePage?: {};
|
|
62
|
+
childRef?: React.MutableRefObject<undefined>;
|
|
63
|
+
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
64
|
+
echartValue?: string;
|
|
65
|
+
auxRef?: React.MutableRefObject<any>;
|
|
66
|
+
PointShow?: React.MutableRefObject<{
|
|
67
|
+
start: boolean;
|
|
68
|
+
end: boolean;
|
|
69
|
+
start_color: string;
|
|
70
|
+
}>;
|
|
71
|
+
tasktype: string;
|
|
72
|
+
swclist?: string[];
|
|
73
|
+
metadata?: boolean;
|
|
74
|
+
resourceTab?: string[];
|
|
75
|
+
atlasData?: string;
|
|
76
|
+
setTip?: React.Dispatch<React.SetStateAction<string>>;
|
|
77
|
+
points2?: React.MutableRefObject<any[]>;
|
|
78
|
+
BrainNum?: string;
|
|
79
|
+
urlRef: React.MutableRefObject<URL>;
|
|
80
|
+
}
|
|
81
|
+
export declare let sphereflag: boolean;
|
|
82
|
+
declare const SideBar: React.FC<SideBarProps>;
|
|
83
|
+
export default SideBar;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
interface stlProps {
|
|
4
|
-
percentage: number;
|
|
5
|
-
layerxyz: string;
|
|
6
|
-
scene: React.MutableRefObject<THREE.Scene>;
|
|
7
|
-
}
|
|
8
|
-
declare const StlLoader: React.FC<stlProps>;
|
|
9
|
-
export default StlLoader;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
interface stlProps {
|
|
4
|
+
percentage: number;
|
|
5
|
+
layerxyz: string;
|
|
6
|
+
scene: React.MutableRefObject<THREE.Scene>;
|
|
7
|
+
}
|
|
8
|
+
declare const StlLoader: React.FC<stlProps>;
|
|
9
|
+
export default StlLoader;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const Swctree: () => React.JSX.Element;
|
|
3
|
-
export default Swctree;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const Swctree: () => React.JSX.Element;
|
|
3
|
+
export default Swctree;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import "./index.css";
|
|
3
|
-
interface TabViewerProps {
|
|
4
|
-
className: string;
|
|
5
|
-
Name: string;
|
|
6
|
-
t: any;
|
|
7
|
-
data_change: any;
|
|
8
|
-
data_c: any;
|
|
9
|
-
col: string[];
|
|
10
|
-
row: string[];
|
|
11
|
-
}
|
|
12
|
-
declare const TabViewer: React.ForwardRefExoticComponent<TabViewerProps & React.RefAttributes<unknown>>;
|
|
13
|
-
export default TabViewer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./index.css";
|
|
3
|
+
interface TabViewerProps {
|
|
4
|
+
className: string;
|
|
5
|
+
Name: string;
|
|
6
|
+
t: any;
|
|
7
|
+
data_change: any;
|
|
8
|
+
data_c: any;
|
|
9
|
+
col: string[];
|
|
10
|
+
row: string[];
|
|
11
|
+
}
|
|
12
|
+
declare const TabViewer: React.ForwardRefExoticComponent<TabViewerProps & React.RefAttributes<unknown>>;
|
|
13
|
+
export default TabViewer;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import "./index.css";
|
|
4
|
+
interface UploadComponentProps {
|
|
5
|
+
renderer: THREE.WebGLRenderer;
|
|
6
|
+
urlRef: React.MutableRefObject<URL>;
|
|
7
|
+
t: any;
|
|
8
|
+
fbxCenters: React.MutableRefObject<any>;
|
|
9
|
+
}
|
|
10
|
+
declare const UploadComponent: React.FC<UploadComponentProps>;
|
|
11
|
+
export default UploadComponent;
|