@realsee/dnalogel 3.47.4 → 3.47.6
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/CHANGELOG.md +6 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/dist/index.cjs.js +62 -40
- package/dist/index.js +2453 -2428
- package/dist/index.umd.js +65 -43
- package/dist/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/dist/shared-utils/tag.d.ts +4 -4
- package/dist/shared-utils/three/index.d.ts +0 -2
- package/dist/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +16 -14
- package/libs/AreaMakerPlugin/index.js +18 -16
- package/libs/AreaMakerPlugin/utils/Item.js +55 -53
- package/libs/CSS3DRenderPlugin/Controller.js +14 -12
- package/libs/CSS3DRenderPlugin/index.js +21 -19
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +15 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -14
- package/libs/CruisePlugin/BaseController.js +29 -27
- package/libs/CruisePlugin/Move.js +21 -19
- package/libs/CruisePlugin/Work.js +16 -14
- package/libs/CruisePlugin/index.js +22 -20
- package/libs/CurrentPanoImagePlugin/Controller.js +25 -23
- package/libs/CurrentPanoImagePlugin/index.js +19 -17
- package/libs/GuideLinePlugin/Controller.js +18 -16
- package/libs/GuideLinePlugin/GuideLineItem.js +18 -16
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +18 -16
- package/libs/GuideLinePlugin/index.js +22 -20
- package/libs/ModelMakerPlugin/Controller.js +22 -20
- package/libs/ModelMakerPlugin/index.js +18 -16
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -13
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -5
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +17 -15
- package/libs/ModelTVVideoPlugin/index.js +16 -14
- package/libs/Object3DHelperPlugin/Controller.js +17 -15
- package/libs/Object3DHelperPlugin/index.js +21 -19
- package/libs/PanoCompassPlugin/Controller.js +18 -16
- package/libs/PanoCompassPlugin/index.js +19 -17
- package/libs/PanoDoorLabelPlugin/BaseController.js +18 -16
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -36
- package/libs/PanoDoorLabelPlugin/index.js +19 -17
- package/libs/PanoMeasurePlugin/Components/Controller0.js +15 -13
- package/libs/PanoMeasurePlugin/Components/Controller1.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/EditController.js +14 -12
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/index.js +13 -11
- package/libs/PanoMeasurePlugin/Model/area.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -13
- package/libs/PanoMeasurePlugin/index.js +24 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +15 -13
- package/libs/PanoSpatialTagPlugin/Plugin.js +17 -15
- package/libs/PanoSpatialTagPlugin/index.js +14 -12
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +17 -15
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +16 -14
- package/libs/PanoTagPlugin/Components/Tag/index.js +16 -14
- package/libs/PanoTagPlugin/Components/TagContainer.js +16 -14
- package/libs/PanoTagPlugin/Components/TagItem.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +60 -60
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -16
- package/libs/PanoTagPlugin/controller/TagRender.js +15 -13
- package/libs/PanoTagPlugin/controller/TagUtil.js +16 -14
- package/libs/PanoTagPlugin/controller/index.js +18 -16
- package/libs/PanoTagPlugin/index.js +24 -22
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -15
- package/libs/PanoVideoPlugin/Controller.js +18 -16
- package/libs/PanoVideoPlugin/VideoMeshController.js +18 -16
- package/libs/PanoVideoPlugin/index.js +21 -19
- package/libs/PipelinePlugin/Controller.js +17 -15
- package/libs/PipelinePlugin/index.js +19 -17
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +35 -33
- package/libs/Sculpt/Meshes/Box.js +6 -7
- package/libs/Sculpt/Meshes/Cylinder.js +15 -16
- package/libs/Sculpt/Meshes/Line.js +28 -28
- package/libs/Sculpt/Meshes/Point.js +6 -7
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +5 -6
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +15 -16
- package/libs/Sculpt/Objects/Line/index.js +35 -35
- package/libs/Sculpt/Objects/Polygon/index.js +55 -61
- package/libs/Sculpt/Objects/Polyline/index.js +45 -45
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +34 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +14 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +18 -16
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +19 -17
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/index.js +1 -2
- package/libs/index.js +15 -15
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +7 -7
- package/libs/shared-utils/five/index.js +3 -4
- package/libs/shared-utils/five/lookObject.js +3 -4
- package/libs/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/libs/shared-utils/five/vector3ToScreen.js +9 -4
- package/libs/shared-utils/index.js +45 -49
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +60 -46
- package/libs/shared-utils/three/index.d.ts +0 -2
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/shared-utils/three/raycaster.js +6 -0
- package/package.json +1 -1
- package/dist/shared-utils/three/getIntersect.d.ts +0 -21
- package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getIntersect.d.ts +0 -21
- package/libs/shared-utils/three/getIntersect.js +0 -24
- package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getRaycaster.js +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default function vector3ToScreen(camera: THREE.Camera, vector3: THREE.Vector3): {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export default function vector3ToScreen(camera: THREE.Camera, vector3: THREE.Vector3, rendererSize: THREE.Vector2): {
|
|
3
|
+
leftPx: number;
|
|
4
|
+
topPx: number;
|
|
5
5
|
};
|
|
@@ -6,6 +6,7 @@ export declare class LightTag {
|
|
|
6
6
|
visible: boolean;
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
wrapper: HTMLElement;
|
|
9
|
+
positionsForRotate?: THREE.Vector3[];
|
|
9
10
|
private tagWrapper;
|
|
10
11
|
private five;
|
|
11
12
|
private originPosition?;
|
|
@@ -14,16 +15,15 @@ export declare class LightTag {
|
|
|
14
15
|
private config;
|
|
15
16
|
constructor(five: Five, position?: AnyPosition, config?: {
|
|
16
17
|
wrapper?: HTMLElement;
|
|
18
|
+
positionsForRotate?: AnyPosition[];
|
|
17
19
|
});
|
|
18
20
|
show(): void;
|
|
19
|
-
hide(
|
|
20
|
-
withAnimation?: boolean;
|
|
21
|
-
}): void;
|
|
21
|
+
hide(): void;
|
|
22
22
|
enable(): void;
|
|
23
23
|
disable(): void;
|
|
24
24
|
destroy(): void;
|
|
25
25
|
setTransformMatrix(matrix: THREE.Matrix4): void;
|
|
26
|
-
setPosition(position: THREE.Vector3): void;
|
|
26
|
+
setPosition(position: THREE.Vector3, positionsForRotate?: THREE.Vector3[]): void;
|
|
27
27
|
updateScreenPosition(): void;
|
|
28
28
|
private onCameraUpdate;
|
|
29
29
|
private onFiveEveryReady;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from './Magnifier';
|
|
2
2
|
export * from './getCoords';
|
|
3
|
-
export * from './getRaycaster';
|
|
4
|
-
export * from './getIntersect';
|
|
5
3
|
export * from './PointSelector/utils/PointHelper';
|
|
6
4
|
export * from './PointSelector/utils/PointSelectorHelper';
|
|
7
5
|
export * from './core/Object3D';
|
|
@@ -31,8 +31,7 @@ import * as g from "three";
|
|
|
31
31
|
import { Controller as k } from "../base/BasePluginWithData.js";
|
|
32
32
|
import "hammerjs";
|
|
33
33
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
34
|
-
import "
|
|
35
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
34
|
+
import "../Sculpt/Meshes/Line.js";
|
|
36
35
|
import "../shared-utils/three/THREESphere.js";
|
|
37
36
|
import "animejs";
|
|
38
37
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -46,28 +45,35 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
46
45
|
import "../shared-utils/five/transformPosition.js";
|
|
47
46
|
import "../shared-utils/five/getFiveModel.js";
|
|
48
47
|
import "../shared-utils/url/absoluteUrl.js";
|
|
48
|
+
import "../Sculpt/typings/style.js";
|
|
49
|
+
import "../shared-utils/five/FiveLine.js";
|
|
50
|
+
import "@realsee/five/line";
|
|
51
|
+
import "../shared-utils/positionToVector3.js";
|
|
52
|
+
import "../shared-utils/three/IObject3D.js";
|
|
53
|
+
import "../shared-utils/three/centerPoint.js";
|
|
54
|
+
import "../shared-utils/isNil.js";
|
|
55
|
+
import "../shared-utils/tag.js";
|
|
56
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
57
|
+
import "../shared-utils/three/raycaster.js";
|
|
58
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
49
59
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
50
60
|
import "../Object3DHelperPlugin/Controller.js";
|
|
51
61
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
52
62
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
53
63
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
54
|
-
import "../shared-utils/three/IObject3D.js";
|
|
55
64
|
import "../shared-utils/three/boundingBox.js";
|
|
56
65
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
57
66
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
58
67
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
59
68
|
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
60
69
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
61
|
-
import "../shared-utils/positionToVector3.js";
|
|
62
70
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
63
71
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
64
72
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
65
73
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
66
74
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
67
75
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
68
|
-
import "../shared-utils/three/centerPoint.js";
|
|
69
76
|
import "../shared-utils/three/getObjectVisible.js";
|
|
70
|
-
import "../shared-utils/isNil.js";
|
|
71
77
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
72
78
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
73
79
|
import "../shared-utils/util.js";
|
|
@@ -108,16 +114,12 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
108
114
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
109
115
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
110
116
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
111
|
-
import "../Sculpt/Meshes/Line.js";
|
|
112
|
-
import "../Sculpt/typings/style.js";
|
|
113
|
-
import "../shared-utils/five/FiveLine.js";
|
|
114
|
-
import "../shared-utils/tag.js";
|
|
115
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
116
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
117
117
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
118
118
|
import "../shared-utils/isTouchDevice.js";
|
|
119
119
|
import "../shared-utils/five/getPosition.js";
|
|
120
120
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
121
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
122
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
121
123
|
import "../shared-utils/isTruelyObject.js";
|
|
122
124
|
import "../shared-utils/three/core/Object3D.js";
|
|
123
125
|
import "../shared-utils/three/objects/LineSegments.js";
|
|
@@ -128,7 +130,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
128
130
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
129
131
|
import "../shared-utils/math/planimetry.js";
|
|
130
132
|
import "../shared-utils/dom/resizeObserver.js";
|
|
131
|
-
class
|
|
133
|
+
class Ae extends k {
|
|
132
134
|
/** AreaMakerPlugin
|
|
133
135
|
* @param `five` `<Five>` Five 实例
|
|
134
136
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -403,5 +405,5 @@ class Ce extends k {
|
|
|
403
405
|
}
|
|
404
406
|
}
|
|
405
407
|
export {
|
|
406
|
-
|
|
408
|
+
Ae as Controller
|
|
407
409
|
};
|
|
@@ -5,33 +5,40 @@ import "../base/BasePlugin.js";
|
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
+
import "../Sculpt/Meshes/Line.js";
|
|
9
|
+
import "../Sculpt/typings/style.js";
|
|
10
|
+
import "../shared-utils/five/FiveLine.js";
|
|
8
11
|
import "@realsee/five/line";
|
|
12
|
+
import "../shared-utils/positionToVector3.js";
|
|
13
|
+
import "../shared-utils/three/IObject3D.js";
|
|
14
|
+
import "../shared-utils/three/centerPoint.js";
|
|
15
|
+
import "../shared-utils/three/THREESphere.js";
|
|
16
|
+
import "animejs";
|
|
17
|
+
import "../shared-utils/isNil.js";
|
|
18
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
19
|
+
import "../shared-utils/tag.js";
|
|
20
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
21
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
22
|
+
import "../shared-utils/three/raycaster.js";
|
|
9
23
|
import "../Sculpt/utils/Modules/Global.js";
|
|
10
24
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
11
25
|
import "../Object3DHelperPlugin/Controller.js";
|
|
12
|
-
import "../shared-utils/three/THREESphere.js";
|
|
13
26
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
14
27
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
15
28
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
16
|
-
import "../shared-utils/three/IObject3D.js";
|
|
17
29
|
import "../shared-utils/three/boundingBox.js";
|
|
18
30
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
19
31
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
20
32
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
21
33
|
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
22
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
23
|
-
import "../shared-utils/positionToVector3.js";
|
|
24
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
25
36
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
26
37
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
27
38
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
28
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
29
40
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
30
|
-
import "../shared-utils/three/centerPoint.js";
|
|
31
41
|
import "../shared-utils/three/getObjectVisible.js";
|
|
32
|
-
import "animejs";
|
|
33
|
-
import "../shared-utils/isNil.js";
|
|
34
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
36
43
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
37
44
|
import "../shared-utils/util.js";
|
|
@@ -61,7 +68,6 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
61
68
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
62
69
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
63
70
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
64
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
65
71
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
66
72
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
67
73
|
import "../shared-utils/three/THREERaycaster.js";
|
|
@@ -73,16 +79,12 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
73
79
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
74
80
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
75
81
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
76
|
-
import "../Sculpt/Meshes/Line.js";
|
|
77
|
-
import "../Sculpt/typings/style.js";
|
|
78
|
-
import "../shared-utils/five/FiveLine.js";
|
|
79
|
-
import "../shared-utils/tag.js";
|
|
80
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
81
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
82
82
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
83
83
|
import "../shared-utils/isTouchDevice.js";
|
|
84
84
|
import "../shared-utils/five/getPosition.js";
|
|
85
85
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
86
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
87
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
86
88
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
87
89
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
88
90
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
@@ -100,7 +102,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
100
102
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
101
103
|
import "../shared-utils/math/planimetry.js";
|
|
102
104
|
import "../shared-utils/dom/resizeObserver.js";
|
|
103
|
-
const
|
|
105
|
+
const $r = (r, o) => new t(r, o);
|
|
104
106
|
export {
|
|
105
|
-
|
|
107
|
+
$r as AreaMakerPlugin
|
|
106
108
|
};
|
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var e = (a, i, t) => (
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var k = (a, i, t) => i in a ? b(a, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[i] = t;
|
|
3
|
+
var e = (a, i, t) => (k(a, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import * as r from "three";
|
|
5
5
|
import "hammerjs";
|
|
6
|
-
import { Subscribe as
|
|
6
|
+
import { Subscribe as y } from "../../shared-utils/Subscribe.js";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
-
import "
|
|
9
|
-
import "../../
|
|
10
|
-
import {
|
|
11
|
-
import { LineSegments as T } from "../../shared-utils/three/objects/LineSegments.js";
|
|
8
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
9
|
+
import { Object3D as T } from "../../shared-utils/three/core/Object3D.js";
|
|
10
|
+
import { LineSegments as C } from "../../shared-utils/three/objects/LineSegments.js";
|
|
12
11
|
import "../../shared-utils/three/THREESphere.js";
|
|
13
12
|
import "animejs";
|
|
14
|
-
import { BetterTween as
|
|
15
|
-
import { LabelItem as
|
|
16
|
-
import { getCenterPointOfPoints as
|
|
17
|
-
import { resizeObserver as
|
|
13
|
+
import { BetterTween as O } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
14
|
+
import { LabelItem as v } from "../../components/AreaLabel/LabelItem.js";
|
|
15
|
+
import { getCenterPointOfPoints as M } from "../../shared-utils/math/planimetry.js";
|
|
16
|
+
import { resizeObserver as V } from "../../shared-utils/dom/resizeObserver.js";
|
|
17
|
+
import { _raycaster as d } from "../../shared-utils/three/raycaster.js";
|
|
18
|
+
import "../../Sculpt/typings/style.js";
|
|
19
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
20
|
+
import "@realsee/five/line";
|
|
21
|
+
import "../../shared-utils/positionToVector3.js";
|
|
22
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
23
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
24
|
+
import "../../shared-utils/isNil.js";
|
|
25
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
|
+
import "../../shared-utils/tag.js";
|
|
27
|
+
import "../../shared-utils/five/vector3ToScreen.js";
|
|
28
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
29
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
18
30
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
19
31
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
20
32
|
import "../../base/BasePlugin.js";
|
|
@@ -22,29 +34,23 @@ import "../../shared-utils/Utils/FiveUtil.js";
|
|
|
22
34
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
23
35
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
24
36
|
import "../../shared-utils/five/transformPosition.js";
|
|
25
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
26
37
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
27
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
38
|
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
29
39
|
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
30
40
|
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
31
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
32
41
|
import "../../shared-utils/three/boundingBox.js";
|
|
33
42
|
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
34
43
|
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
35
44
|
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
36
45
|
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
37
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
|
-
import "../../shared-utils/positionToVector3.js";
|
|
39
47
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
40
48
|
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
41
49
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
42
50
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
43
51
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
44
52
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
45
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
46
53
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
47
|
-
import "../../shared-utils/isNil.js";
|
|
48
54
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
49
55
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
50
56
|
import "../../shared-utils/util.js";
|
|
@@ -85,20 +91,16 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
85
91
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
86
92
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
87
93
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
88
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
89
|
-
import "../../Sculpt/typings/style.js";
|
|
90
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
91
|
-
import "../../shared-utils/tag.js";
|
|
92
|
-
import "../../shared-utils/five/vector3ToScreen.js";
|
|
93
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
94
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
95
95
|
import "../../shared-utils/isTouchDevice.js";
|
|
96
96
|
import "../../shared-utils/five/getPosition.js";
|
|
97
97
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
98
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
99
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
98
100
|
import "../../shared-utils/animationFrame/index.js";
|
|
99
101
|
import "../../vendor/svelte/internal/index.js";
|
|
100
102
|
import "../../components/AreaLabel/Assets/roomLabelBg.js";
|
|
101
|
-
class
|
|
103
|
+
class P extends T {
|
|
102
104
|
constructor(t) {
|
|
103
105
|
super();
|
|
104
106
|
e(this, "areaMakerItem");
|
|
@@ -108,7 +110,7 @@ class V extends y {
|
|
|
108
110
|
this.areaMakerItem.makerObject.raycast(t, o);
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
|
-
class
|
|
113
|
+
class yi {
|
|
112
114
|
constructor(i, t) {
|
|
113
115
|
e(this, "id");
|
|
114
116
|
/** 标注名称 */
|
|
@@ -154,7 +156,7 @@ class fi {
|
|
|
154
156
|
/** 标注标签的显示层级 */
|
|
155
157
|
e(this, "tagZIndex", 0);
|
|
156
158
|
/** 标注实例的事件处理器 */
|
|
157
|
-
e(this, "hooks", new
|
|
159
|
+
e(this, "hooks", new y());
|
|
158
160
|
/** 自定义 Dom */
|
|
159
161
|
e(this, "itemRenderer");
|
|
160
162
|
/** 数据 */
|
|
@@ -188,21 +190,21 @@ class fi {
|
|
|
188
190
|
// }
|
|
189
191
|
/** 透明度动画 */
|
|
190
192
|
e(this, "doOpacityAnime", (i) => {
|
|
191
|
-
var
|
|
192
|
-
(
|
|
193
|
-
const t = i.duration, [o, s] = i.makerObjectOpacity, [
|
|
193
|
+
var p;
|
|
194
|
+
(p = this.opacityAnime) == null || p.dispose();
|
|
195
|
+
const t = i.duration, [o, s] = i.makerObjectOpacity, [m, n] = i.outlineOpacity;
|
|
194
196
|
if (t === 0) {
|
|
195
|
-
this.makerObject.material.opacity = s, this.outline.material.opacity =
|
|
197
|
+
this.makerObject.material.opacity = s, this.outline.material.opacity = n;
|
|
196
198
|
return;
|
|
197
199
|
}
|
|
198
200
|
return new Promise((h) => {
|
|
199
|
-
this.opacityAnime = new
|
|
201
|
+
this.opacityAnime = new O({ makerObjectOpacity: o, outlineOpacity: m }).to({
|
|
200
202
|
makerObjectOpacity: s,
|
|
201
|
-
outlineOpacity:
|
|
203
|
+
outlineOpacity: n
|
|
202
204
|
}).onUpdate(({ makerObjectOpacity: l, outlineOpacity: c }) => {
|
|
203
205
|
this.makerObject.material.opacity = l, this.outline.material.opacity = c, this.plugin.five.needsRender = !0;
|
|
204
206
|
}).onComplete(() => h(!0)).onDispose(() => {
|
|
205
|
-
this.makerObject.material.opacity = s, this.outline.material.opacity =
|
|
207
|
+
this.makerObject.material.opacity = s, this.outline.material.opacity = n, this.plugin.five.needsRender = !0, h(!1);
|
|
206
208
|
}).play();
|
|
207
209
|
});
|
|
208
210
|
});
|
|
@@ -258,13 +260,13 @@ class fi {
|
|
|
258
260
|
return { result: !1, msg: "标注整体不可见" };
|
|
259
261
|
if (this.isInContainerResizeAnimation)
|
|
260
262
|
return { result: !1, msg: "处于容器 resize 动画中" };
|
|
261
|
-
const t = this.plugin.five, o =
|
|
262
|
-
|
|
263
|
-
const [
|
|
264
|
-
if (
|
|
263
|
+
const t = this.plugin.five, o = t.camera.position.clone();
|
|
264
|
+
d.set(o.clone(), this.tagPosition.clone().sub(o).normalize());
|
|
265
|
+
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(d), m = this.tagPosition.distanceTo(t.camera.position);
|
|
266
|
+
if (s && s.distance + 0.1 < m)
|
|
265
267
|
return { result: !1, msg: "标注标签被 Five 模型遮挡" };
|
|
266
|
-
const
|
|
267
|
-
return Math.abs(
|
|
268
|
+
const n = this.tagNDCPosition;
|
|
269
|
+
return Math.abs(n.x) > 1.2 || Math.abs(n.y) > 1.2 || Math.abs(n.z) > 1 ? { result: !1, msg: "标注标签不在屏幕内" } : { result: !0, msg: "" };
|
|
268
270
|
});
|
|
269
271
|
/** 相机位姿发生变化时,更新标签 */
|
|
270
272
|
e(this, "onFiveCameraUpdate", () => {
|
|
@@ -279,11 +281,11 @@ class fi {
|
|
|
279
281
|
this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(t, 100);
|
|
280
282
|
});
|
|
281
283
|
var h, l, c, g;
|
|
282
|
-
const o = t.object_data, s = o.bottom_y,
|
|
283
|
-
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = i, this.height =
|
|
284
|
+
const o = t.object_data, s = o.bottom_y, m = o.height, n = new r.Color((h = o.color) != null ? h : "#FFFFFF"), p = (l = o.opacity) != null ? l : 0.4;
|
|
285
|
+
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = i, this.height = m, this.bottomY = s, this.opacity = p, this.shape = new r.Shape().fromJSON(o.shape), this.floorIndex = t.floor_index, this.makerObject = new r.Mesh(f(this.shape, m), j(n, p)), u(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new C(
|
|
284
286
|
new r.EdgesGeometry(this.makerObject.geometry),
|
|
285
|
-
new r.LineBasicMaterial({ color:
|
|
286
|
-
), u(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(
|
|
287
|
+
new r.LineBasicMaterial({ color: n, transparent: !0 })
|
|
288
|
+
), u(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(m), this.modelGroup = new P(this), this.modelGroup.visible = (g = o.visible) != null ? g : !0;
|
|
287
289
|
}
|
|
288
290
|
/** 挂载标注 */
|
|
289
291
|
mount() {
|
|
@@ -291,7 +293,7 @@ class fi {
|
|
|
291
293
|
return;
|
|
292
294
|
this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline);
|
|
293
295
|
const i = !!this.name, t = this.plugin.tagDomContainer;
|
|
294
|
-
i && (this.tagApp = new
|
|
296
|
+
i && (this.tagApp = new v({
|
|
295
297
|
target: t,
|
|
296
298
|
props: {
|
|
297
299
|
rendererData: this.data,
|
|
@@ -301,7 +303,7 @@ class fi {
|
|
|
301
303
|
transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
|
|
302
304
|
onClick: (o) => this.hooks.emit("tagClick", { target: this, nativeEvent: o })
|
|
303
305
|
}
|
|
304
|
-
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver =
|
|
306
|
+
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = V(this.onContainerResize, t), this.resizeObserver.observe();
|
|
305
307
|
}
|
|
306
308
|
/** 卸载标注 */
|
|
307
309
|
unmount() {
|
|
@@ -329,8 +331,8 @@ class fi {
|
|
|
329
331
|
setHeight(i) {
|
|
330
332
|
if (i <= 0)
|
|
331
333
|
throw new Error("高度必须大于 0");
|
|
332
|
-
this.height = i, this.makerObject.geometry =
|
|
333
|
-
const t = this.shape.extractPoints(10).shape.slice(0, -1), o =
|
|
334
|
+
this.height = i, this.makerObject.geometry = f(this.shape, i), this.outline.geometry = new r.EdgesGeometry(this.makerObject.geometry);
|
|
335
|
+
const t = this.shape.extractPoints(10).shape.slice(0, -1), o = M(t), s = new r.Vector3(o.x, o.y, i);
|
|
334
336
|
u(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
335
337
|
}
|
|
336
338
|
/** 更改标注标签的显示层级
|
|
@@ -346,13 +348,13 @@ class fi {
|
|
|
346
348
|
this.tagZIndex !== i && ((t = this.tagApp) == null || t.$set({ zIndex: i }));
|
|
347
349
|
}
|
|
348
350
|
}
|
|
349
|
-
function
|
|
351
|
+
function f(a, i) {
|
|
350
352
|
return new r.ExtrudeBufferGeometry(a, {
|
|
351
353
|
depth: i,
|
|
352
354
|
bevelEnabled: !1
|
|
353
355
|
});
|
|
354
356
|
}
|
|
355
|
-
function
|
|
357
|
+
function j(a, i) {
|
|
356
358
|
return new r.MeshBasicMaterial({
|
|
357
359
|
color: a,
|
|
358
360
|
opacity: i,
|
|
@@ -360,9 +362,9 @@ function P(a, i) {
|
|
|
360
362
|
});
|
|
361
363
|
}
|
|
362
364
|
function u(a, i) {
|
|
363
|
-
const t = new r.Matrix4(), o = new r.Matrix4().makeRotationX(Math.PI / 2), s = new r.Matrix4().makeTranslation(0, 0, -i),
|
|
364
|
-
t.multiply(o), t.multiply(s), t.multiply(
|
|
365
|
+
const t = new r.Matrix4(), o = new r.Matrix4().makeRotationX(Math.PI / 2), s = new r.Matrix4().makeTranslation(0, 0, -i), m = new r.Matrix4().makeScale(1, 1, -1);
|
|
366
|
+
t.multiply(o), t.multiply(s), t.multiply(m), a.applyMatrix4(t);
|
|
365
367
|
}
|
|
366
368
|
export {
|
|
367
|
-
|
|
369
|
+
yi as AreaMakerItem
|
|
368
370
|
};
|
|
@@ -16,8 +16,7 @@ import x from "./utils/generateBehindFiveElement.js";
|
|
|
16
16
|
import "three";
|
|
17
17
|
import "hammerjs";
|
|
18
18
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
|
-
import "
|
|
20
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
19
|
+
import "../Sculpt/Meshes/Line.js";
|
|
21
20
|
import "../shared-utils/three/THREESphere.js";
|
|
22
21
|
import "animejs";
|
|
23
22
|
import { absoluteUrl as P } from "../shared-utils/url/absoluteUrl.js";
|
|
@@ -38,6 +37,15 @@ import "./utils/three/CSS3DScene.js";
|
|
|
38
37
|
import "./utils/getAllCSS3DObject.js";
|
|
39
38
|
import "../shared-utils/util.js";
|
|
40
39
|
import "./utils/three/CSS3DGroup.js";
|
|
40
|
+
import "../Sculpt/typings/style.js";
|
|
41
|
+
import "../shared-utils/five/FiveLine.js";
|
|
42
|
+
import "@realsee/five/line";
|
|
43
|
+
import "../shared-utils/three/IObject3D.js";
|
|
44
|
+
import "../shared-utils/tag.js";
|
|
45
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
46
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
47
|
+
import "../shared-utils/three/raycaster.js";
|
|
48
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
41
49
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
42
50
|
import "../Object3DHelperPlugin/Controller.js";
|
|
43
51
|
import "../base/BasePlugin.js";
|
|
@@ -45,11 +53,9 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
45
53
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
46
54
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
47
55
|
import "../shared-utils/five/transformPosition.js";
|
|
48
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
49
56
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
50
57
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
51
58
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
52
|
-
import "../shared-utils/three/IObject3D.js";
|
|
53
59
|
import "../shared-utils/three/boundingBox.js";
|
|
54
60
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
55
61
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -89,18 +95,14 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
89
95
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
90
96
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
91
97
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
92
|
-
import "../Sculpt/Meshes/Line.js";
|
|
93
|
-
import "../Sculpt/typings/style.js";
|
|
94
|
-
import "../shared-utils/five/FiveLine.js";
|
|
95
|
-
import "../shared-utils/tag.js";
|
|
96
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
97
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
98
98
|
import "./utils/three/CSS3DSprite.js";
|
|
99
99
|
import "../shared-utils/isTouchDevice.js";
|
|
100
100
|
import "../shared-utils/five/getPosition.js";
|
|
101
101
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
102
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
103
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
102
104
|
const b = "v2.0.1", E = `CSS3DRenderPlugin@${b}`;
|
|
103
|
-
class
|
|
105
|
+
class ht extends j {
|
|
104
106
|
constructor(e) {
|
|
105
107
|
super();
|
|
106
108
|
m(this, "five");
|
|
@@ -213,5 +215,5 @@ class at extends j {
|
|
|
213
215
|
}
|
|
214
216
|
export {
|
|
215
217
|
E as PLUGIN_NAME,
|
|
216
|
-
|
|
218
|
+
ht as default
|
|
217
219
|
};
|
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { CSS3DRender as
|
|
2
|
+
import { CSS3DRender as Mr } from "./utils/three/CSS3DRender.js";
|
|
3
3
|
import "./utils/generateBehindFiveElement.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
7
|
+
import "../Sculpt/Meshes/Line.js";
|
|
8
|
+
import "../Sculpt/typings/style.js";
|
|
9
|
+
import "../shared-utils/five/FiveLine.js";
|
|
7
10
|
import "@realsee/five/line";
|
|
11
|
+
import "../shared-utils/positionToVector3.js";
|
|
12
|
+
import "../shared-utils/three/IObject3D.js";
|
|
13
|
+
import "../shared-utils/three/centerPoint.js";
|
|
14
|
+
import "../shared-utils/three/THREESphere.js";
|
|
15
|
+
import "animejs";
|
|
16
|
+
import "../shared-utils/isNil.js";
|
|
17
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
|
+
import "../shared-utils/tag.js";
|
|
19
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
20
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
21
|
+
import "../shared-utils/three/raycaster.js";
|
|
8
22
|
import "../Sculpt/utils/Modules/Global.js";
|
|
9
23
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
10
24
|
import "../Object3DHelperPlugin/Controller.js";
|
|
11
25
|
import "../base/BasePlugin.js";
|
|
12
26
|
import "../shared-utils/Subscribe.js";
|
|
13
|
-
import "../shared-utils/three/THREESphere.js";
|
|
14
|
-
import "animejs";
|
|
15
27
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
16
28
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
17
29
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
18
30
|
import "../shared-utils/five/transformPosition.js";
|
|
19
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
20
31
|
import "../shared-utils/url/absoluteUrl.js";
|
|
21
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
22
32
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
23
33
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
24
34
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
25
|
-
import "../shared-utils/three/IObject3D.js";
|
|
26
35
|
import "../shared-utils/three/boundingBox.js";
|
|
27
36
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
28
37
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -37,7 +46,6 @@ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
|
37
46
|
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
38
47
|
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
39
48
|
import "../shared-utils/threex/domevents/index.js";
|
|
40
|
-
import "../shared-utils/isNil.js";
|
|
41
49
|
import "../shared-utils/util.js";
|
|
42
50
|
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
43
51
|
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
@@ -66,30 +74,24 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
66
74
|
import "./utils/three/CSS3DObject.js";
|
|
67
75
|
import "./utils/even.js";
|
|
68
76
|
import "./utils/three/OpacityMesh.js";
|
|
69
|
-
import "../shared-utils/three/centerPoint.js";
|
|
70
77
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
71
78
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
72
79
|
import "./utils/three/CSS3DRenderer.js";
|
|
73
80
|
import "./utils/three/THREEJS_CSS3DRenderer.js";
|
|
74
81
|
import "./utils/createResizeObserver.js";
|
|
75
82
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
76
|
-
import "../Sculpt/Meshes/Line.js";
|
|
77
|
-
import "../Sculpt/typings/style.js";
|
|
78
|
-
import "../shared-utils/five/FiveLine.js";
|
|
79
|
-
import "../shared-utils/positionToVector3.js";
|
|
80
|
-
import "../shared-utils/tag.js";
|
|
81
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
82
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
83
83
|
import "./utils/three/CSS3DSprite.js";
|
|
84
84
|
import "../shared-utils/isTouchDevice.js";
|
|
85
85
|
import "../shared-utils/five/getPosition.js";
|
|
86
86
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
87
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
88
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
87
89
|
import "./utils/three/CSS3DScene.js";
|
|
88
90
|
import "./utils/getAllCSS3DObject.js";
|
|
89
91
|
import "./utils/three/CSS3DGroup.js";
|
|
90
|
-
const
|
|
92
|
+
const Jr = (r) => new o(r);
|
|
91
93
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
Mr as CSS3DRender,
|
|
95
|
+
Jr as CSS3DRenderPlugin,
|
|
96
|
+
Jr as default
|
|
95
97
|
};
|