brainsmatics 1.1.36 → 1.1.38
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 -22
- 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-c40a6028.js → deflate-1b9ddb71.js} +1 -1
- package/dist/{deflate-fc32a73c.mjs → deflate-8e1a948b.mjs} +1 -1
- package/dist/{index-04b3fdca.mjs → index-4bf5bce2.mjs} +74924 -71407
- package/dist/{index-0f051caf.js → index-6c922ffc.js} +661 -479
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +38 -36
- package/dist/{lerc-a1ed9752.js → lerc-d5610e6f.js} +1 -1
- package/dist/{lerc-e569720c.mjs → lerc-e18ed993.mjs} +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,83 +1,84 @@
|
|
|
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
|
-
"3D": boolean;
|
|
18
|
-
}
|
|
19
|
-
interface SideBarProps {
|
|
20
|
-
regionData: string;
|
|
21
|
-
treeDatas: dataType[];
|
|
22
|
-
fbxTreeDatas?: dataType[];
|
|
23
|
-
vesselObj: React.MutableRefObject<{
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}>;
|
|
26
|
-
offset_factor_R?: React.MutableRefObject<number>;
|
|
27
|
-
type: string;
|
|
28
|
-
leftTreeRef?: React.RefObject<HTMLDivElement>;
|
|
29
|
-
baozhaRef?: React.RefObject<HTMLDivElement>;
|
|
30
|
-
needBaozha?: boolean;
|
|
31
|
-
offset_factor?: number;
|
|
32
|
-
step_offset?: React.MutableRefObject<number>;
|
|
33
|
-
renderer: THREE.WebGLRenderer;
|
|
34
|
-
dataUrl?: React.MutableRefObject<string>;
|
|
35
|
-
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
36
|
-
t: any;
|
|
37
|
-
title?: string;
|
|
38
|
-
json_name?: string;
|
|
39
|
-
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
40
|
-
ref?: any;
|
|
41
|
-
StepsCount?: number;
|
|
42
|
-
showimage?: boolean;
|
|
43
|
-
checkItems: string[];
|
|
44
|
-
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
45
|
-
outflag?: boolean;
|
|
46
|
-
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
47
|
-
setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
48
|
-
automaticGroup?: React.MutableRefObject<string[]>;
|
|
49
|
-
mode: number;
|
|
50
|
-
axon_check?: Record<string, {
|
|
51
|
-
up: string[];
|
|
52
|
-
down: string[];
|
|
53
|
-
soma: string[];
|
|
54
|
-
axon: string[];
|
|
55
|
-
id: number;
|
|
56
|
-
}>;
|
|
57
|
-
swcnameMesh?: React.MutableRefObject<{
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
}>;
|
|
60
|
-
updatePage?: {};
|
|
61
|
-
childRef?: React.MutableRefObject<undefined>;
|
|
62
|
-
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
63
|
-
echartValue?: string;
|
|
64
|
-
auxRef?: React.MutableRefObject<any>;
|
|
65
|
-
PointShow?: React.MutableRefObject<{
|
|
66
|
-
start: boolean;
|
|
67
|
-
end: boolean;
|
|
68
|
-
start_color: string;
|
|
69
|
-
}>;
|
|
70
|
-
tasktype: string;
|
|
71
|
-
swclist?: string[];
|
|
72
|
-
metadata?: boolean;
|
|
73
|
-
resourceTab?: string[];
|
|
74
|
-
atlasData?: string;
|
|
75
|
-
setSelected?: React.Dispatch<React.SetStateAction<string[]>>;
|
|
76
|
-
Selected?: string[];
|
|
77
|
-
Selectoptions?: DataNode[];
|
|
78
|
-
setFormshow?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
79
|
-
formshow?: boolean;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
declare
|
|
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
|
+
"3D": boolean;
|
|
18
|
+
}
|
|
19
|
+
interface SideBarProps {
|
|
20
|
+
regionData: string;
|
|
21
|
+
treeDatas: dataType[];
|
|
22
|
+
fbxTreeDatas?: dataType[];
|
|
23
|
+
vesselObj: React.MutableRefObject<{
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>;
|
|
26
|
+
offset_factor_R?: React.MutableRefObject<number>;
|
|
27
|
+
type: string;
|
|
28
|
+
leftTreeRef?: React.RefObject<HTMLDivElement>;
|
|
29
|
+
baozhaRef?: React.RefObject<HTMLDivElement>;
|
|
30
|
+
needBaozha?: boolean;
|
|
31
|
+
offset_factor?: number;
|
|
32
|
+
step_offset?: React.MutableRefObject<number>;
|
|
33
|
+
renderer: THREE.WebGLRenderer;
|
|
34
|
+
dataUrl?: React.MutableRefObject<string>;
|
|
35
|
+
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
36
|
+
t: any;
|
|
37
|
+
title?: string;
|
|
38
|
+
json_name?: string;
|
|
39
|
+
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
40
|
+
ref?: any;
|
|
41
|
+
StepsCount?: number;
|
|
42
|
+
showimage?: boolean;
|
|
43
|
+
checkItems: string[];
|
|
44
|
+
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
45
|
+
outflag?: boolean;
|
|
46
|
+
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
47
|
+
setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
48
|
+
automaticGroup?: React.MutableRefObject<string[]>;
|
|
49
|
+
mode: number;
|
|
50
|
+
axon_check?: Record<string, {
|
|
51
|
+
up: string[];
|
|
52
|
+
down: string[];
|
|
53
|
+
soma: string[];
|
|
54
|
+
axon: string[];
|
|
55
|
+
id: number;
|
|
56
|
+
}>;
|
|
57
|
+
swcnameMesh?: React.MutableRefObject<{
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
}>;
|
|
60
|
+
updatePage?: {};
|
|
61
|
+
childRef?: React.MutableRefObject<undefined>;
|
|
62
|
+
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
63
|
+
echartValue?: string;
|
|
64
|
+
auxRef?: React.MutableRefObject<any>;
|
|
65
|
+
PointShow?: React.MutableRefObject<{
|
|
66
|
+
start: boolean;
|
|
67
|
+
end: boolean;
|
|
68
|
+
start_color: string;
|
|
69
|
+
}>;
|
|
70
|
+
tasktype: string;
|
|
71
|
+
swclist?: string[];
|
|
72
|
+
metadata?: boolean;
|
|
73
|
+
resourceTab?: string[];
|
|
74
|
+
atlasData?: string;
|
|
75
|
+
setSelected?: React.Dispatch<React.SetStateAction<string[]>>;
|
|
76
|
+
Selected?: string[];
|
|
77
|
+
Selectoptions?: DataNode[];
|
|
78
|
+
setFormshow?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
79
|
+
formshow?: boolean;
|
|
80
|
+
urlRef: React.MutableRefObject<URL>;
|
|
81
|
+
}
|
|
82
|
+
export declare let sphereflag: boolean;
|
|
83
|
+
declare const AtlasSideBar: React.FC<SideBarProps>;
|
|
84
|
+
export default AtlasSideBar;
|
|
@@ -1,121 +1,122 @@
|
|
|
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
|
-
import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
|
|
6
|
-
import { SwcTreeItem } from "../../util/global";
|
|
7
|
-
interface AuxiliaryProps {
|
|
8
|
-
regionData: string;
|
|
9
|
-
setoffset_factor: React.Dispatch<React.SetStateAction<number>>;
|
|
10
|
-
baozhaRef: React.RefObject<HTMLDivElement>;
|
|
11
|
-
t?: any;
|
|
12
|
-
ref?: any;
|
|
13
|
-
hrefStr: string;
|
|
14
|
-
leftTreeRef: React.RefObject<HTMLDivElement>;
|
|
15
|
-
centerRef: React.RefObject<HTMLDivElement>;
|
|
16
|
-
jiaoduRef: string;
|
|
17
|
-
setJiaoduRef: React.Dispatch<React.SetStateAction<string>>;
|
|
18
|
-
mouseflag: React.MutableRefObject<boolean>;
|
|
19
|
-
renderer: THREE.WebGLRenderer;
|
|
20
|
-
controls: React.MutableRefObject<TrackballControls>;
|
|
21
|
-
offset_factor_R: React.MutableRefObject<number>;
|
|
22
|
-
menutagShow: boolean;
|
|
23
|
-
startselect: React.MutableRefObject<boolean>;
|
|
24
|
-
linemeshs_jing: React.MutableRefObject<THREE.Line>;
|
|
25
|
-
points: React.MutableRefObject<any[]>;
|
|
26
|
-
points2: React.MutableRefObject<any[]>;
|
|
27
|
-
setMenuTag: React.Dispatch<React.SetStateAction<any[]>>;
|
|
28
|
-
activetabIndex?: React.MutableRefObject<number>;
|
|
29
|
-
fetchCoordinateFunc: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
|
|
30
|
-
material: React.MutableRefObject<THREE.RawShaderMaterial>;
|
|
31
|
-
setShowimage: React.Dispatch<React.SetStateAction<boolean>>;
|
|
32
|
-
childRef: React.MutableRefObject<any>;
|
|
33
|
-
checkItems: string[];
|
|
34
|
-
setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
|
|
35
|
-
outflag: boolean;
|
|
36
|
-
setendPoint: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
37
|
-
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
38
|
-
outflagRef: React.MutableRefObject<boolean>;
|
|
39
|
-
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
40
|
-
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
41
|
-
modeChoose: boolean;
|
|
42
|
-
setShowModeChoose: React.Dispatch<React.SetStateAction<boolean>>;
|
|
43
|
-
virusModeValue: React.MutableRefObject<string>;
|
|
44
|
-
setShowTabNums: React.Dispatch<React.SetStateAction<number>>;
|
|
45
|
-
pipelineClickEvent: React.MutableRefObject<any>;
|
|
46
|
-
automaticGroup: React.MutableRefObject<string[]>;
|
|
47
|
-
focusVirusLineItem: string;
|
|
48
|
-
setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
49
|
-
responsefunc: React.MutableRefObject<() => void>;
|
|
50
|
-
mode: number;
|
|
51
|
-
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
52
|
-
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
53
|
-
updatePage: {};
|
|
54
|
-
swcItem: string;
|
|
55
|
-
axon_check?: Record<string, {
|
|
56
|
-
up: string[];
|
|
57
|
-
down: string[];
|
|
58
|
-
soma: string[];
|
|
59
|
-
axon: string[];
|
|
60
|
-
id: number;
|
|
61
|
-
}>;
|
|
62
|
-
swcnameMesh: React.MutableRefObject<{
|
|
63
|
-
[key: string]: any;
|
|
64
|
-
}>;
|
|
65
|
-
setMode: React.Dispatch<React.SetStateAction<number>>;
|
|
66
|
-
vesselStr: string;
|
|
67
|
-
lableStr: string;
|
|
68
|
-
vesselRef: React.MutableRefObject<undefined>;
|
|
69
|
-
swcRef: React.MutableRefObject<undefined>;
|
|
70
|
-
setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
71
|
-
showSettingModal: boolean;
|
|
72
|
-
fbxTreeDatas: never[];
|
|
73
|
-
composer: EffectComposer;
|
|
74
|
-
setEchartValue: React.Dispatch<React.SetStateAction<string>>;
|
|
75
|
-
echartValue?: string;
|
|
76
|
-
setLuguchecked: React.Dispatch<React.SetStateAction<number>>;
|
|
77
|
-
Luguchecked: number;
|
|
78
|
-
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
79
|
-
gray?: string | undefined;
|
|
80
|
-
brains?: string | undefined;
|
|
81
|
-
top?: number | undefined;
|
|
82
|
-
left?: number | undefined;
|
|
83
|
-
}>>;
|
|
84
|
-
sectionsInfo: {
|
|
85
|
-
gray?: string | undefined;
|
|
86
|
-
brains?: string | undefined;
|
|
87
|
-
top?: number | undefined;
|
|
88
|
-
left?: number | undefined;
|
|
89
|
-
};
|
|
90
|
-
sectionsInfoRef: React.MutableRefObject<{
|
|
91
|
-
gray?: number | undefined;
|
|
92
|
-
brains?: string | undefined;
|
|
93
|
-
top?: number | undefined;
|
|
94
|
-
left?: number | undefined;
|
|
95
|
-
}>;
|
|
96
|
-
gray_value: React.MutableRefObject<any>;
|
|
97
|
-
datum: boolean;
|
|
98
|
-
setGridShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
99
|
-
PointShow: React.MutableRefObject<{
|
|
100
|
-
start: boolean;
|
|
101
|
-
end: boolean;
|
|
102
|
-
start_color: string;
|
|
103
|
-
}>;
|
|
104
|
-
nodeStr: {
|
|
105
|
-
name?: string;
|
|
106
|
-
Lable?: string;
|
|
107
|
-
};
|
|
108
|
-
lefttab: string[];
|
|
109
|
-
righttab: string[];
|
|
110
|
-
atlasData: string;
|
|
111
|
-
tip: string;
|
|
112
|
-
setTip: React.Dispatch<React.SetStateAction<string>>;
|
|
113
|
-
startRegionAnimation: React.MutableRefObject<boolean>;
|
|
114
|
-
setFunctionLoopSwcData: React.Dispatch<React.SetStateAction<SwcTreeItem[]>>;
|
|
115
|
-
setAzimuth: React.Dispatch<React.SetStateAction<number>>;
|
|
116
|
-
azimuth: number;
|
|
117
|
-
BrainNum: string;
|
|
118
|
-
rsorue?: string;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
+
import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
|
|
6
|
+
import { SwcTreeItem } from "../../util/global";
|
|
7
|
+
interface AuxiliaryProps {
|
|
8
|
+
regionData: string;
|
|
9
|
+
setoffset_factor: React.Dispatch<React.SetStateAction<number>>;
|
|
10
|
+
baozhaRef: React.RefObject<HTMLDivElement>;
|
|
11
|
+
t?: any;
|
|
12
|
+
ref?: any;
|
|
13
|
+
hrefStr: string;
|
|
14
|
+
leftTreeRef: React.RefObject<HTMLDivElement>;
|
|
15
|
+
centerRef: React.RefObject<HTMLDivElement>;
|
|
16
|
+
jiaoduRef: string;
|
|
17
|
+
setJiaoduRef: React.Dispatch<React.SetStateAction<string>>;
|
|
18
|
+
mouseflag: React.MutableRefObject<boolean>;
|
|
19
|
+
renderer: THREE.WebGLRenderer;
|
|
20
|
+
controls: React.MutableRefObject<TrackballControls>;
|
|
21
|
+
offset_factor_R: React.MutableRefObject<number>;
|
|
22
|
+
menutagShow: boolean;
|
|
23
|
+
startselect: React.MutableRefObject<boolean>;
|
|
24
|
+
linemeshs_jing: React.MutableRefObject<THREE.Line>;
|
|
25
|
+
points: React.MutableRefObject<any[]>;
|
|
26
|
+
points2: React.MutableRefObject<any[]>;
|
|
27
|
+
setMenuTag: React.Dispatch<React.SetStateAction<any[]>>;
|
|
28
|
+
activetabIndex?: React.MutableRefObject<number>;
|
|
29
|
+
fetchCoordinateFunc: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
|
|
30
|
+
material: React.MutableRefObject<THREE.RawShaderMaterial>;
|
|
31
|
+
setShowimage: React.Dispatch<React.SetStateAction<boolean>>;
|
|
32
|
+
childRef: React.MutableRefObject<any>;
|
|
33
|
+
checkItems: string[];
|
|
34
|
+
setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
|
|
35
|
+
outflag: boolean;
|
|
36
|
+
setendPoint: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
37
|
+
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
38
|
+
outflagRef: React.MutableRefObject<boolean>;
|
|
39
|
+
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
40
|
+
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
41
|
+
modeChoose: boolean;
|
|
42
|
+
setShowModeChoose: React.Dispatch<React.SetStateAction<boolean>>;
|
|
43
|
+
virusModeValue: React.MutableRefObject<string>;
|
|
44
|
+
setShowTabNums: React.Dispatch<React.SetStateAction<number>>;
|
|
45
|
+
pipelineClickEvent: React.MutableRefObject<any>;
|
|
46
|
+
automaticGroup: React.MutableRefObject<string[]>;
|
|
47
|
+
focusVirusLineItem: string;
|
|
48
|
+
setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
49
|
+
responsefunc: React.MutableRefObject<() => void>;
|
|
50
|
+
mode: number;
|
|
51
|
+
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
52
|
+
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
53
|
+
updatePage: {};
|
|
54
|
+
swcItem: string;
|
|
55
|
+
axon_check?: Record<string, {
|
|
56
|
+
up: string[];
|
|
57
|
+
down: string[];
|
|
58
|
+
soma: string[];
|
|
59
|
+
axon: string[];
|
|
60
|
+
id: number;
|
|
61
|
+
}>;
|
|
62
|
+
swcnameMesh: React.MutableRefObject<{
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}>;
|
|
65
|
+
setMode: React.Dispatch<React.SetStateAction<number>>;
|
|
66
|
+
vesselStr: string;
|
|
67
|
+
lableStr: string;
|
|
68
|
+
vesselRef: React.MutableRefObject<undefined>;
|
|
69
|
+
swcRef: React.MutableRefObject<undefined>;
|
|
70
|
+
setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
71
|
+
showSettingModal: boolean;
|
|
72
|
+
fbxTreeDatas: never[];
|
|
73
|
+
composer: EffectComposer;
|
|
74
|
+
setEchartValue: React.Dispatch<React.SetStateAction<string>>;
|
|
75
|
+
echartValue?: string;
|
|
76
|
+
setLuguchecked: React.Dispatch<React.SetStateAction<number>>;
|
|
77
|
+
Luguchecked: number;
|
|
78
|
+
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
79
|
+
gray?: string | undefined;
|
|
80
|
+
brains?: string | undefined;
|
|
81
|
+
top?: number | undefined;
|
|
82
|
+
left?: number | undefined;
|
|
83
|
+
}>>;
|
|
84
|
+
sectionsInfo: {
|
|
85
|
+
gray?: string | undefined;
|
|
86
|
+
brains?: string | undefined;
|
|
87
|
+
top?: number | undefined;
|
|
88
|
+
left?: number | undefined;
|
|
89
|
+
};
|
|
90
|
+
sectionsInfoRef: React.MutableRefObject<{
|
|
91
|
+
gray?: number | undefined;
|
|
92
|
+
brains?: string | undefined;
|
|
93
|
+
top?: number | undefined;
|
|
94
|
+
left?: number | undefined;
|
|
95
|
+
}>;
|
|
96
|
+
gray_value: React.MutableRefObject<any>;
|
|
97
|
+
datum: boolean;
|
|
98
|
+
setGridShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
99
|
+
PointShow: React.MutableRefObject<{
|
|
100
|
+
start: boolean;
|
|
101
|
+
end: boolean;
|
|
102
|
+
start_color: string;
|
|
103
|
+
}>;
|
|
104
|
+
nodeStr: {
|
|
105
|
+
name?: string;
|
|
106
|
+
Lable?: string;
|
|
107
|
+
};
|
|
108
|
+
lefttab: string[];
|
|
109
|
+
righttab: string[];
|
|
110
|
+
atlasData: string;
|
|
111
|
+
tip: string;
|
|
112
|
+
setTip: React.Dispatch<React.SetStateAction<string>>;
|
|
113
|
+
startRegionAnimation: React.MutableRefObject<boolean>;
|
|
114
|
+
setFunctionLoopSwcData: React.Dispatch<React.SetStateAction<SwcTreeItem[]>>;
|
|
115
|
+
setAzimuth: React.Dispatch<React.SetStateAction<number>>;
|
|
116
|
+
azimuth: number;
|
|
117
|
+
BrainNum: string;
|
|
118
|
+
rsorue?: string;
|
|
119
|
+
urlRef: React.MutableRefObject<URL>;
|
|
120
|
+
}
|
|
121
|
+
declare const Auxiliary: React.FC<AuxiliaryProps>;
|
|
122
|
+
export default Auxiliary;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
|
|
3
|
-
import "./index.css";
|
|
4
|
-
interface tabsProps {
|
|
5
|
-
t: any;
|
|
6
|
-
controls: React.MutableRefObject<TrackballControls>;
|
|
7
|
-
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
8
|
-
setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
9
|
-
il8n: any;
|
|
10
|
-
auxRef: React.MutableRefObject<any>;
|
|
11
|
-
activetabIndex: React.MutableRefObject<number>;
|
|
12
|
-
index: boolean;
|
|
13
|
-
home?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
|
|
3
|
+
import "./index.css";
|
|
4
|
+
interface tabsProps {
|
|
5
|
+
t: any;
|
|
6
|
+
controls: React.MutableRefObject<TrackballControls>;
|
|
7
|
+
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
8
|
+
setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
9
|
+
il8n: any;
|
|
10
|
+
auxRef: React.MutableRefObject<any>;
|
|
11
|
+
activetabIndex: React.MutableRefObject<number>;
|
|
12
|
+
index: boolean;
|
|
13
|
+
home?: string;
|
|
14
|
+
urlRef: React.MutableRefObject<URL>;
|
|
15
|
+
}
|
|
16
|
+
declare const BottomTabs: React.FC<tabsProps>;
|
|
17
|
+
export default BottomTabs;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { brainRegionDataType } from "../../util/global";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import "./index.css";
|
|
5
|
-
interface CardProps {
|
|
6
|
-
data: brainRegionDataType;
|
|
7
|
-
position: THREE.Vector3;
|
|
8
|
-
}
|
|
9
|
-
declare const Card: React.FC<CardProps>;
|
|
10
|
-
export default Card;
|
|
1
|
+
import { brainRegionDataType } from "../../util/global";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import "./index.css";
|
|
5
|
+
interface CardProps {
|
|
6
|
+
data: brainRegionDataType;
|
|
7
|
+
position: THREE.Vector3;
|
|
8
|
+
}
|
|
9
|
+
declare const Card: React.FC<CardProps>;
|
|
10
|
+
export default Card;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const Carddata: () => React.JSX.Element;
|
|
3
|
-
export default Carddata;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Carddata: () => React.JSX.Element;
|
|
3
|
+
export default Carddata;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const ChartViewer: React.FC<{
|
|
3
|
-
axon_check: Record<string, {
|
|
4
|
-
up: string[];
|
|
5
|
-
down: string[];
|
|
6
|
-
soma: string[];
|
|
7
|
-
axon: string[];
|
|
8
|
-
id: number;
|
|
9
|
-
}>;
|
|
10
|
-
fbxTreeDatas: any[];
|
|
11
|
-
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
12
|
-
reset: boolean;
|
|
13
|
-
swcRef: React.MutableRefObject<undefined>;
|
|
14
|
-
setIsChartOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
15
|
-
setChartValue: React.Dispatch<any>;
|
|
16
|
-
setEchartValue: React.Dispatch<React.SetStateAction<string>>;
|
|
17
|
-
}>;
|
|
18
|
-
export default ChartViewer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ChartViewer: React.FC<{
|
|
3
|
+
axon_check: Record<string, {
|
|
4
|
+
up: string[];
|
|
5
|
+
down: string[];
|
|
6
|
+
soma: string[];
|
|
7
|
+
axon: string[];
|
|
8
|
+
id: number;
|
|
9
|
+
}>;
|
|
10
|
+
fbxTreeDatas: any[];
|
|
11
|
+
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
12
|
+
reset: boolean;
|
|
13
|
+
swcRef: React.MutableRefObject<undefined>;
|
|
14
|
+
setIsChartOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
15
|
+
setChartValue: React.Dispatch<any>;
|
|
16
|
+
setEchartValue: React.Dispatch<React.SetStateAction<string>>;
|
|
17
|
+
}>;
|
|
18
|
+
export default ChartViewer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./index.css";
|
|
3
|
-
interface contractProps {
|
|
4
|
-
type: "left" | "right";
|
|
5
|
-
leftWidth?: number;
|
|
6
|
-
rightWidth?: number;
|
|
7
|
-
onWindowResize: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const ContractBox: React.FC<contractProps>;
|
|
10
|
-
export default ContractBox;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
interface contractProps {
|
|
4
|
+
type: "left" | "right";
|
|
5
|
+
leftWidth?: number;
|
|
6
|
+
rightWidth?: number;
|
|
7
|
+
onWindowResize: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const ContractBox: React.FC<contractProps>;
|
|
10
|
+
export default ContractBox;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Dataset: () => import("react").JSX.Element;
|
|
3
|
-
export default Dataset;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Dataset: () => import("react").JSX.Element;
|
|
3
|
+
export default Dataset;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./index.css";
|
|
3
|
-
import { SwcTreeItem } from "../../util/global";
|
|
4
|
-
interface FunctionloopProps {
|
|
5
|
-
t: (key: string) => string;
|
|
6
|
-
loadFunctionLoopFBX: (key: string) => void;
|
|
7
|
-
style: React.CSSProperties;
|
|
8
|
-
setFunctionLoopSwcData: React.Dispatch<React.SetStateAction<SwcTreeItem[]>>;
|
|
9
|
-
fbxCheckItems: string[];
|
|
10
|
-
rightTabIndex: number;
|
|
11
|
-
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
12
|
-
}
|
|
13
|
-
declare const Functionloop: React.FC<FunctionloopProps>;
|
|
14
|
-
export default Functionloop;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
import { SwcTreeItem } from "../../util/global";
|
|
4
|
+
interface FunctionloopProps {
|
|
5
|
+
t: (key: string) => string;
|
|
6
|
+
loadFunctionLoopFBX: (key: string) => void;
|
|
7
|
+
style: React.CSSProperties;
|
|
8
|
+
setFunctionLoopSwcData: React.Dispatch<React.SetStateAction<SwcTreeItem[]>>;
|
|
9
|
+
fbxCheckItems: string[];
|
|
10
|
+
rightTabIndex: number;
|
|
11
|
+
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
12
|
+
}
|
|
13
|
+
declare const Functionloop: React.FC<FunctionloopProps>;
|
|
14
|
+
export default Functionloop;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface SwcTreeItem {
|
|
3
|
-
name: string;
|
|
4
|
-
type: string;
|
|
5
|
-
show: boolean;
|
|
6
|
-
url: string;
|
|
7
|
-
image: string;
|
|
8
|
-
path: string[];
|
|
9
|
-
}
|
|
10
|
-
interface FunctionLoopSwcProps {
|
|
11
|
-
functionLoopSwcData: SwcTreeItem[];
|
|
12
|
-
t: any;
|
|
13
|
-
}
|
|
14
|
-
declare const FunctionLoopSwc: React.FC<FunctionLoopSwcProps>;
|
|
15
|
-
export default FunctionLoopSwc;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SwcTreeItem {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
show: boolean;
|
|
6
|
+
url: string;
|
|
7
|
+
image: string;
|
|
8
|
+
path: string[];
|
|
9
|
+
}
|
|
10
|
+
interface FunctionLoopSwcProps {
|
|
11
|
+
functionLoopSwcData: SwcTreeItem[];
|
|
12
|
+
t: any;
|
|
13
|
+
}
|
|
14
|
+
declare const FunctionLoopSwc: React.FC<FunctionLoopSwcProps>;
|
|
15
|
+
export default FunctionLoopSwc;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
export { default as SideBar } from "./sideBar";
|
|
2
|
-
export { default as PipeLine } from "./pipeline";
|
|
3
|
-
export { default as ModalLoader } from "./modalLoader";
|
|
4
|
-
export { default as Auxiliary } from "./auxiliary";
|
|
5
|
-
export { default as Sections } from "./section";
|
|
6
|
-
export { default as StlLoader } from "./stlLoader";
|
|
7
|
-
export { default as Modal2DLoader } from "./modal2DLoader";
|
|
8
|
-
export { default as BottomTabs } from "./bottomTabs";
|
|
9
|
-
export { default as Swctree } from "./swctree";
|
|
10
|
-
export { default as ShowReglions } from "./showreglions";
|
|
11
|
-
export { default as AtlasSideBar } from "./atlasSiderBar";
|
|
12
|
-
export { default as AtlasBottomTabs } from "./atlasBottomTabs";
|
|
13
|
-
export { default as Carddata } from "./cardData";
|
|
14
|
-
export { default as Atlas } from "./atlas";
|
|
15
|
-
export { default as FunctionLoop } from "./functionLoop";
|
|
16
|
-
export { default as FunctionLoopSwc } from "./functionLoopSwc";
|
|
1
|
+
export { default as SideBar } from "./sideBar";
|
|
2
|
+
export { default as PipeLine } from "./pipeline";
|
|
3
|
+
export { default as ModalLoader } from "./modalLoader";
|
|
4
|
+
export { default as Auxiliary } from "./auxiliary";
|
|
5
|
+
export { default as Sections } from "./section";
|
|
6
|
+
export { default as StlLoader } from "./stlLoader";
|
|
7
|
+
export { default as Modal2DLoader } from "./modal2DLoader";
|
|
8
|
+
export { default as BottomTabs } from "./bottomTabs";
|
|
9
|
+
export { default as Swctree } from "./swctree";
|
|
10
|
+
export { default as ShowReglions } from "./showreglions";
|
|
11
|
+
export { default as AtlasSideBar } from "./atlasSiderBar";
|
|
12
|
+
export { default as AtlasBottomTabs } from "./atlasBottomTabs";
|
|
13
|
+
export { default as Carddata } from "./cardData";
|
|
14
|
+
export { default as Atlas } from "./atlas";
|
|
15
|
+
export { default as FunctionLoop } from "./functionLoop";
|
|
16
|
+
export { default as FunctionLoopSwc } from "./functionLoopSwc";
|
|
17
|
+
export { default as UserUpload } from "./userUpload";
|
|
18
|
+
export { default as UploadComponent } from "./uploadComponent";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const InputGrey: () => React.JSX.Element;
|
|
3
|
-
export default InputGrey;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const InputGrey: () => React.JSX.Element;
|
|
3
|
+
export default InputGrey;
|