brainsmatics 1.0.44 → 1.0.45
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/package.json +1 -1
- package/dist/App.d.ts +0 -4
- package/dist/basedecoder-0503cc54.js +0 -1
- package/dist/basedecoder-11034ec6.mjs +0 -89
- package/dist/component/2d/config.d.ts +0 -40
- package/dist/component/2d/contextmenu/ContextMenuX.d.ts +0 -3
- package/dist/component/2d/distribution/index.d.ts +0 -4
- package/dist/component/2d/gridviewer/index.d.ts +0 -9
- package/dist/component/2d/gridviewer/index1.d.ts +0 -8
- package/dist/component/2d/index.d.ts +0 -9
- package/dist/component/2d/infodiv/index.d.ts +0 -7
- package/dist/component/2d/modelloder.d.ts +0 -3
- package/dist/component/2d/mulifiveiewer/index.d.ts +0 -4
- package/dist/component/2d/navigation/index.d.ts +0 -12
- package/dist/component/2d/navtree/index.d.ts +0 -13
- package/dist/component/2d/tast1/config.d.ts +0 -20
- package/dist/component/2d/tast1/index.d.ts +0 -4
- package/dist/component/2d/thumbnail/VirtualList.d.ts +0 -14
- package/dist/component/2d/thumbnail/index.d.ts +0 -12
- package/dist/component/2d/twoviewer/index.d.ts +0 -19
- package/dist/component/3d/ai/index.d.ts +0 -7
- package/dist/component/3d/atlas.d.ts +0 -31
- package/dist/component/3d/atlasBottomTabs/index.d.ts +0 -19
- package/dist/component/3d/atlasSiderBar/index.d.ts +0 -79
- package/dist/component/3d/auxiliary/index.d.ts +0 -110
- package/dist/component/3d/bottomTabs/index.d.ts +0 -16
- package/dist/component/3d/cardData/index.d.ts +0 -3
- package/dist/component/3d/chartViewer/index.d.ts +0 -12
- package/dist/component/3d/dataset/index.d.ts +0 -3
- package/dist/component/3d/index.d.ts +0 -14
- package/dist/component/3d/lengthViewer/index.d.ts +0 -10
- package/dist/component/3d/modal2DLoader/index.d.ts +0 -11
- package/dist/component/3d/modalLoader/index.d.ts +0 -13
- package/dist/component/3d/pipeline/index.d.ts +0 -83
- package/dist/component/3d/registration/index.d.ts +0 -4
- package/dist/component/3d/sangjiViewer/index.d.ts +0 -6
- package/dist/component/3d/section/index.d.ts +0 -53
- package/dist/component/3d/showreglions/index.d.ts +0 -7
- package/dist/component/3d/sideBar/index.d.ts +0 -73
- package/dist/component/3d/stlLoader/index.d.ts +0 -9
- package/dist/component/3d/swctree/index.d.ts +0 -3
- package/dist/component/3d/tabViewer/index.d.ts +0 -13
- package/dist/component/STAM.d.ts +0 -4
- package/dist/component/common/Button/index.d.ts +0 -45
- package/dist/component/common/Header/index.d.ts +0 -19
- package/dist/component/common/index.d.ts +0 -2
- package/dist/component/index.d.ts +0 -2
- package/dist/component/types/header.d.ts +0 -9
- package/dist/component/types/index.d.ts +0 -1
- package/dist/component/util/CommonFunctions.d.ts +0 -23
- package/dist/component/util/global.d.ts +0 -17
- package/dist/component/util/i18n.d.ts +0 -3
- package/dist/component/util/index.d.ts +0 -2
- package/dist/deflate-2bd1e003.mjs +0 -12
- package/dist/deflate-7c5b6498.js +0 -1
- package/dist/index-7d82d56a.mjs +0 -162618
- package/dist/index-d67e1ab1.js +0 -5024
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -52
- package/dist/jpeg-335c778f.mjs +0 -515
- package/dist/jpeg-f3c7cefc.js +0 -1
- package/dist/lerc-b26744fb.mjs +0 -1035
- package/dist/lerc-fec12f3b.js +0 -1
- package/dist/lzw-82d7fc69.mjs +0 -84
- package/dist/lzw-f00e8c8c.js +0 -1
- package/dist/main.d.ts +0 -1
- package/dist/packbits-58fd9c05.js +0 -1
- package/dist/packbits-8b95f4d7.mjs +0 -24
- package/dist/raw-9c0f4034.js +0 -1
- package/dist/raw-c0fe1c20.mjs +0 -9
- package/dist/stories/3Ddata.stories.d.ts +0 -12
- package/dist/stories/3Dlabel.d.ts +0 -4
- package/dist/stories/3Dlabelreglions.d.ts +0 -4
- package/dist/stories/3Dlable.stories.d.ts +0 -12
- package/dist/stories/3Dlablereglions.stories.d.ts +0 -12
- package/dist/stories/3Dneurons.d.ts +0 -4
- package/dist/stories/3Dneurons.stories.d.ts +0 -12
- package/dist/stories/3Dswc.stories.d.ts +0 -12
- package/dist/stories/ArlasViewer.stories.d.ts +0 -12
- package/dist/stories/AtlasViewer.d.ts +0 -3
- package/dist/stories/Button.stories.d.ts +0 -25
- package/dist/stories/Distribution.stories.d.ts +0 -11
- package/dist/stories/Header.stories.d.ts +0 -31
- package/dist/stories/MulfiViewer.stories.d.ts +0 -11
- package/dist/stories/Page.d.ts +0 -3
- package/dist/stories/Page.stories.d.ts +0 -15
- package/dist/stories/Sangjiviewer.stories.d.ts +0 -14
- package/dist/stories/Soma.d.ts +0 -4
- package/dist/stories/Soma.stories.d.ts +0 -12
- package/dist/stories/Task3D.stories.d.ts +0 -12
- package/dist/stories/Thumbnail.stories.d.ts +0 -25
- package/dist/stories/Vessel.d.ts +0 -4
- package/dist/stories/Vessel.stories.d.ts +0 -12
- package/dist/stories/chartviewer.stories.d.ts +0 -20
- package/dist/stories/lengthviewer.stories.d.ts +0 -17
- package/dist/stories/navtree.stories.d.ts +0 -25
- package/dist/stories/registration.stories.d.ts +0 -12
- package/dist/stories/task3D.d.ts +0 -4
- package/dist/stories/tast1.stories.d.ts +0 -11
- package/dist/stories/twoview.stories.d.ts +0 -31
- package/dist/style.css +0 -1
- package/dist/webimage-affb95d1.mjs +0 -19
- package/dist/webimage-bc81928d.js +0 -1
|
@@ -1,83 +0,0 @@
|
|
|
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
|
-
currentRef: React.RefObject<HTMLDivElement> | null;
|
|
10
|
-
setHrefStr?: React.Dispatch<React.SetStateAction<string>>;
|
|
11
|
-
angleRef?: React.MutableRefObject<string>;
|
|
12
|
-
jiaoduRef?: React.MutableRefObject<string>;
|
|
13
|
-
mouseflag?: React.MutableRefObject<boolean>;
|
|
14
|
-
menutagShow?: boolean;
|
|
15
|
-
setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
16
|
-
menuTag?: any[];
|
|
17
|
-
pointDatas: any[];
|
|
18
|
-
datum: boolean;
|
|
19
|
-
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
20
|
-
startselect?: React.MutableRefObject<boolean>;
|
|
21
|
-
linemeshs_jing?: React.MutableRefObject<THREE.Line>;
|
|
22
|
-
points?: React.MutableRefObject<any[]>;
|
|
23
|
-
points2?: React.MutableRefObject<any[]>;
|
|
24
|
-
activetabIndex?: React.MutableRefObject<number>;
|
|
25
|
-
fetchCoordinateFunc?: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
|
|
26
|
-
checkItems: string[];
|
|
27
|
-
outflag?: boolean;
|
|
28
|
-
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
29
|
-
endPoint: THREE.Vector3;
|
|
30
|
-
setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
|
|
31
|
-
outflagRef: React.MutableRefObject<boolean>;
|
|
32
|
-
setShowModeChoose?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
33
|
-
virusModeValue: React.MutableRefObject<string>;
|
|
34
|
-
pipelineClickEvent: React.MutableRefObject<any>;
|
|
35
|
-
setFocusVirusLineItem: React.Dispatch<React.SetStateAction<string>>;
|
|
36
|
-
focusVirusLineItem: string;
|
|
37
|
-
responsefunc: React.MutableRefObject<() => void>;
|
|
38
|
-
childRef: React.MutableRefObject<undefined>;
|
|
39
|
-
mode: React.MutableRefObject<number>;
|
|
40
|
-
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
41
|
-
t?: any;
|
|
42
|
-
setSwcItem: React.Dispatch<React.SetStateAction<string>>;
|
|
43
|
-
swcItem: string;
|
|
44
|
-
swcnameMesh: React.MutableRefObject<{}>;
|
|
45
|
-
axon_check?: Record<string, {
|
|
46
|
-
up: string[];
|
|
47
|
-
down: string[];
|
|
48
|
-
soma: string[];
|
|
49
|
-
axon: string[];
|
|
50
|
-
id: number;
|
|
51
|
-
}>;
|
|
52
|
-
automaticGroup: React.MutableRefObject<string[]>;
|
|
53
|
-
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
54
|
-
vesselRef: React.MutableRefObject<undefined>;
|
|
55
|
-
setLableStr: React.Dispatch<React.SetStateAction<string>>;
|
|
56
|
-
setVesselStr: React.Dispatch<React.SetStateAction<string>>;
|
|
57
|
-
vesselStr: string;
|
|
58
|
-
lableStr: string;
|
|
59
|
-
tabIndex: React.MutableRefObject<number>;
|
|
60
|
-
updatePage: {};
|
|
61
|
-
swcRef: React.MutableRefObject<undefined>;
|
|
62
|
-
Luguchecked: number;
|
|
63
|
-
setSectionsInfo: React.Dispatch<React.SetStateAction<{
|
|
64
|
-
gray?: string | undefined;
|
|
65
|
-
brains?: string | undefined;
|
|
66
|
-
top?: number | undefined;
|
|
67
|
-
left?: number | undefined;
|
|
68
|
-
}>>;
|
|
69
|
-
sectionsInfoRef: React.MutableRefObject<{
|
|
70
|
-
gray?: number | undefined;
|
|
71
|
-
brains?: string | undefined;
|
|
72
|
-
top?: number | undefined;
|
|
73
|
-
left?: number | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
gray_value: React.MutableRefObject<any>;
|
|
76
|
-
gridShow: boolean;
|
|
77
|
-
setNodeStr: React.Dispatch<React.SetStateAction<{}>>;
|
|
78
|
-
regionData: string;
|
|
79
|
-
}
|
|
80
|
-
export declare var sphereBig: THREE.Mesh<THREE.SphereGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
|
|
81
|
-
export declare var sphereMiddelClick: THREE.Mesh<THREE.ConeGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
|
|
82
|
-
declare const PipeLine: React.FC<propsType>;
|
|
83
|
-
export default PipeLine;
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
}
|
|
52
|
-
declare const Sections: React.FC<CubeSliceProps>;
|
|
53
|
-
export default Sections;
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
}
|
|
18
|
-
interface SideBarProps {
|
|
19
|
-
regionData: string;
|
|
20
|
-
treeDatas: dataType[];
|
|
21
|
-
fbxTreeDatas?: dataType[];
|
|
22
|
-
vesselObj: React.MutableRefObject<{}>;
|
|
23
|
-
offset_factor_R?: React.MutableRefObject<number>;
|
|
24
|
-
type: string;
|
|
25
|
-
leftTreeRef?: React.RefObject<HTMLDivElement>;
|
|
26
|
-
baozhaRef?: React.RefObject<HTMLDivElement>;
|
|
27
|
-
needBaozha?: boolean;
|
|
28
|
-
offset_factor?: number;
|
|
29
|
-
step_offset?: React.MutableRefObject<number>;
|
|
30
|
-
renderer: THREE.WebGLRenderer;
|
|
31
|
-
dataUrl?: React.MutableRefObject<string>;
|
|
32
|
-
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
33
|
-
t: any;
|
|
34
|
-
title?: string;
|
|
35
|
-
json_name?: string;
|
|
36
|
-
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
37
|
-
ref?: any;
|
|
38
|
-
StepsCount?: number;
|
|
39
|
-
showimage?: boolean;
|
|
40
|
-
checkItems: string[];
|
|
41
|
-
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
42
|
-
outflag?: boolean;
|
|
43
|
-
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
44
|
-
setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
45
|
-
automaticGroup?: React.MutableRefObject<string[]>;
|
|
46
|
-
mode: number;
|
|
47
|
-
axon_check?: Record<string, {
|
|
48
|
-
up: string[];
|
|
49
|
-
down: string[];
|
|
50
|
-
soma: string[];
|
|
51
|
-
axon: string[];
|
|
52
|
-
id: number;
|
|
53
|
-
}>;
|
|
54
|
-
swcnameMesh?: React.MutableRefObject<{}>;
|
|
55
|
-
updatePage?: {};
|
|
56
|
-
childRef?: React.MutableRefObject<undefined>;
|
|
57
|
-
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
58
|
-
echartValue?: string;
|
|
59
|
-
auxRef?: React.MutableRefObject<any>;
|
|
60
|
-
PointShow?: React.MutableRefObject<{
|
|
61
|
-
start: boolean;
|
|
62
|
-
end: boolean;
|
|
63
|
-
start_color: string;
|
|
64
|
-
}>;
|
|
65
|
-
tasktype: string;
|
|
66
|
-
swclist?: string[];
|
|
67
|
-
metadata?: boolean;
|
|
68
|
-
resourceTab?: string[];
|
|
69
|
-
atlasData?: string;
|
|
70
|
-
}
|
|
71
|
-
export declare let sphereflag: boolean;
|
|
72
|
-
declare const SideBar: React.FC<SideBarProps>;
|
|
73
|
-
export default SideBar;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
package/dist/component/STAM.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import './index.css';
|
|
4
|
-
/**
|
|
5
|
-
* Primary UI component for user interaction
|
|
6
|
-
*/
|
|
7
|
-
interface buttonProps {
|
|
8
|
-
primary?: boolean;
|
|
9
|
-
backgroundColor?: any;
|
|
10
|
-
size?: string;
|
|
11
|
-
label: string;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export declare const Button: {
|
|
15
|
-
(props: buttonProps): React.JSX.Element;
|
|
16
|
-
propTypes: {
|
|
17
|
-
/**
|
|
18
|
-
* Is this the principal call to action on the page?
|
|
19
|
-
*/
|
|
20
|
-
primary: PropTypes.Requireable<boolean>;
|
|
21
|
-
/**
|
|
22
|
-
* What background color to use
|
|
23
|
-
*/
|
|
24
|
-
backgroundColor: PropTypes.Requireable<string>;
|
|
25
|
-
/**
|
|
26
|
-
* How large should the button be?
|
|
27
|
-
*/
|
|
28
|
-
size: PropTypes.Requireable<string>;
|
|
29
|
-
/**
|
|
30
|
-
* Button contents
|
|
31
|
-
*/
|
|
32
|
-
label: PropTypes.Validator<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Optional click handler
|
|
35
|
-
*/
|
|
36
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
-
};
|
|
38
|
-
defaultProps: {
|
|
39
|
-
backgroundColor: null;
|
|
40
|
-
primary: boolean;
|
|
41
|
-
size: string;
|
|
42
|
-
onClick: undefined;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import './index.css';
|
|
4
|
-
import { headerProps } from 'component';
|
|
5
|
-
declare const Header: {
|
|
6
|
-
(props: headerProps): React.JSX.Element;
|
|
7
|
-
propTypes: {
|
|
8
|
-
user: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
|
-
name: PropTypes.Validator<string>;
|
|
10
|
-
}>>;
|
|
11
|
-
onLogin: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
-
onLogout: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
-
onCreateAccount: PropTypes.Validator<(...args: any[]) => any>;
|
|
14
|
-
};
|
|
15
|
-
defaultProps: {
|
|
16
|
-
user: undefined;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default Header;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./header";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
export declare const fetchData: (url: string, callback: {
|
|
3
|
-
current: any;
|
|
4
|
-
} | ((data: any) => void)) => Promise<void>;
|
|
5
|
-
export declare const logMessage: (message: string) => void;
|
|
6
|
-
export declare const formatDate: (date: Date) => string;
|
|
7
|
-
interface LoadFBXOptions {
|
|
8
|
-
filepath: string;
|
|
9
|
-
index: string;
|
|
10
|
-
color: string;
|
|
11
|
-
opacity?: number;
|
|
12
|
-
offsetZ?: number;
|
|
13
|
-
R: number;
|
|
14
|
-
callback?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const LoadsceneFBX: (options: LoadFBXOptions, extractedSurface?: React.MutableRefObject<THREE.Object3D | null>) => void;
|
|
17
|
-
export declare const LoadFBX: (filepath: string, index: string, color: string, opacity?: number, offsetZ?: number, mytype?: string, callback?: () => void) => void;
|
|
18
|
-
export declare const findNodeListByfather: (fatherkey: string, tree: any) => any[];
|
|
19
|
-
export declare const findChildrenByKey: (key: string, tree: any[]) => string[];
|
|
20
|
-
export declare const findNodeByName: (key: string, tree: any) => any;
|
|
21
|
-
export declare const getParentKey: (key: string, tree: any) => string;
|
|
22
|
-
export declare const findfatherlist: (key: string, tree: any[]) => string[];
|
|
23
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { MutableRefObject } from 'react';
|
|
3
|
-
export declare const scene: MutableRefObject<THREE.Scene>;
|
|
4
|
-
export declare const cameralight: MutableRefObject<THREE.PointLight>;
|
|
5
|
-
export declare const camera: MutableRefObject<THREE.PerspectiveCamera>;
|
|
6
|
-
export declare const scale: MutableRefObject<number>;
|
|
7
|
-
export declare const tranX: MutableRefObject<number>;
|
|
8
|
-
export declare const tranY: MutableRefObject<number>;
|
|
9
|
-
export declare const tranZ: MutableRefObject<number>;
|
|
10
|
-
export declare const fbxmeshs: MutableRefObject<Record<string, THREE.Object3D>>;
|
|
11
|
-
export declare const fbxmeshs_jing: MutableRefObject<Record<string, THREE.Object3D>>;
|
|
12
|
-
export declare const mirrorDisplayTag: MutableRefObject<boolean>;
|
|
13
|
-
export declare const node_data: MutableRefObject<Record<string, [THREE.Vector3, number] | number>>;
|
|
14
|
-
export declare let bbox: {
|
|
15
|
-
min: THREE.Vector3;
|
|
16
|
-
max: THREE.Vector3;
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { i as r } from "./index-7d82d56a.mjs";
|
|
2
|
-
import { B as o } from "./basedecoder-11034ec6.mjs";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
class d extends o {
|
|
6
|
-
decodeBlock(e) {
|
|
7
|
-
return r(new Uint8Array(e)).buffer;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
d as default
|
|
12
|
-
};
|
package/dist/deflate-7c5b6498.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-d67e1ab1.js"),t=require("./basedecoder-0503cc54.js");require("react");require("react-dom");class d extends t.BaseDecoder{decodeBlock(e){return r.inflate_1(new Uint8Array(e)).buffer}}exports.default=d;
|