@realsee/dnalogel 3.50.17-alpha.0 → 3.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +2 -0
- package/dist/Sculpt/utils/export.d.ts +18 -0
- package/dist/index.cjs.js +207 -207
- package/dist/index.js +34866 -34775
- package/dist/index.umd.js +211 -211
- package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/dist/shared-utils/index.d.ts +1 -0
- package/dist/shared-utils/tag.d.ts +40 -1
- package/dist/shared-utils/three/temp.d.ts +2 -2
- package/libs/AreaMakerPlugin/Controller.js +100 -46
- package/libs/AreaMakerPlugin/index.js +64 -10
- package/libs/AreaMakerPlugin/utils/Item.js +156 -100
- package/libs/CSS3DRenderPlugin/Controller.js +93 -44
- package/libs/CSS3DRenderPlugin/index.js +62 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +105 -49
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +130 -77
- package/libs/CruisePlugin/BaseController.js +143 -89
- package/libs/CruisePlugin/Move.js +83 -39
- package/libs/CruisePlugin/Work.js +95 -51
- package/libs/CruisePlugin/index.js +66 -22
- package/libs/CurrentPanoImagePlugin/Controller.js +139 -85
- package/libs/CurrentPanoImagePlugin/index.js +63 -9
- package/libs/GuideLinePlugin/Controller.js +57 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +63 -19
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +6 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +58 -14
- package/libs/GuideLinePlugin/index.js +66 -22
- package/libs/ModelMakerPlugin/Controller.d.ts +2 -0
- package/libs/ModelMakerPlugin/Controller.js +190 -129
- package/libs/ModelMakerPlugin/index.js +63 -21
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +5 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +9 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +96 -47
- package/libs/ModelTVVideoPlugin/index.js +55 -6
- package/libs/Object3DHelperPlugin/Controller.js +42 -25
- package/libs/Object3DHelperPlugin/index.js +28 -12
- package/libs/PanoCompassPlugin/Controller.js +92 -44
- package/libs/PanoCompassPlugin/index.js +63 -15
- package/libs/PanoDoorLabelPlugin/BaseController.js +79 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +132 -78
- package/libs/PanoDoorLabelPlugin/index.js +63 -9
- package/libs/PanoMeasurePlugin/Components/Controller0.js +126 -77
- package/libs/PanoMeasurePlugin/Components/Controller1.js +139 -90
- package/libs/PanoMeasurePlugin/Controller/EditController.js +120 -71
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +120 -70
- package/libs/PanoMeasurePlugin/Controller/index.js +132 -86
- package/libs/PanoMeasurePlugin/Model/area.js +72 -22
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +64 -15
- package/libs/PanoMeasurePlugin/index.js +62 -16
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +57 -2
- package/libs/PanoRulerProPlugin/Controller.js +88 -33
- package/libs/PanoRulerProPlugin/RulerItems.js +146 -91
- package/libs/PanoRulerProPlugin/index.js +64 -9
- package/libs/PanoSpatialTagPlugin/Plugin.js +177 -128
- package/libs/PanoSpatialTagPlugin/index.js +53 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +116 -60
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +192 -136
- package/libs/PanoTagPlugin/Components/Tag/index.js +194 -139
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +204 -149
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +157 -101
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -20
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +86 -31
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +93 -37
- package/libs/PanoTagPlugin/controller/TagRender.js +62 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +123 -79
- package/libs/PanoTagPlugin/controller/index.js +110 -72
- package/libs/PanoTagPlugin/index.js +72 -28
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +77 -21
- package/libs/PanoVideoPlugin/Controller.js +95 -41
- package/libs/PanoVideoPlugin/VideoMeshController.js +119 -63
- package/libs/PanoVideoPlugin/index.js +66 -12
- package/libs/PipelinePlugin/Controller.js +173 -119
- package/libs/PipelinePlugin/index.js +63 -9
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +70 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +58 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +98 -42
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +10 -6
- package/libs/Sculpt/Meshes/Line.js +43 -38
- package/libs/Sculpt/Meshes/LineWithDots.js +14 -10
- package/libs/Sculpt/Meshes/Point.js +24 -20
- package/libs/Sculpt/Meshes/Polygon.js +5 -2
- package/libs/Sculpt/Meshes/Prism.js +19 -16
- package/libs/Sculpt/Objects/Line/Editor.js +6 -5
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/export.d.ts +18 -0
- package/libs/Sculpt/utils/export.js +21 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +26 -22
- package/libs/base/BasePlugin.js +14 -10
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +146 -94
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +62 -10
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -56
- package/libs/floorplan/ModelFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +116 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +62 -9
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +105 -52
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/index.js +4 -0
- package/libs/index.js +208 -206
- package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/libs/shared-utils/five/fiveEveryReadyListener.js +15 -0
- package/libs/shared-utils/five/index.js +6 -2
- package/libs/shared-utils/five/lookObject.js +31 -27
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +19 -17
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +40 -1
- package/libs/shared-utils/tag.js +139 -86
- package/libs/shared-utils/three/index.js +4 -0
- package/libs/shared-utils/three/temp.d.ts +2 -2
- package/libs/shared-utils/three/temp.js +4 -4
- package/package.json +1 -1
- package/README.md +0 -116
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var x = Object.defineProperty;
|
|
2
2
|
var I = Object.getOwnPropertySymbols;
|
|
3
3
|
var D = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var c = (n, s, t) => s in n ? x(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t,
|
|
4
|
+
var c = (n, s, t) => s in n ? x(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t, h = (n, s) => {
|
|
5
5
|
for (var t in s || (s = {}))
|
|
6
6
|
D.call(s, t) && c(n, t, s[t]);
|
|
7
7
|
if (I)
|
|
@@ -9,11 +9,11 @@ var c = (n, s, t) => s in n ? x(n, s, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
E.call(s, t) && c(n, t, s[t]);
|
|
10
10
|
return n;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
import
|
|
12
|
+
var e = (n, s, t) => (c(n, typeof s != "symbol" ? s + "" : s, t), t);
|
|
13
|
+
import l from "./EditController.js";
|
|
14
14
|
import k from "./ViewController.js";
|
|
15
15
|
import T from "./WatchController.js";
|
|
16
|
-
import
|
|
16
|
+
import p from "./MixedController.js";
|
|
17
17
|
import { omit as G } from "../../shared-utils/filter.js";
|
|
18
18
|
import { Group as S } from "three";
|
|
19
19
|
import { Model as L } from "../Model/index.js";
|
|
@@ -32,6 +32,10 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
32
32
|
import "animejs";
|
|
33
33
|
import { isTouchDevice as K } from "../../shared-utils/isTouchDevice.js";
|
|
34
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
|
+
import "../../Sculpt/Meshes/Polygon.js";
|
|
36
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
37
|
+
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
38
|
+
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
35
39
|
import { Controller as H } from "../../base/BasePlugin.js";
|
|
36
40
|
import "../Model/line.js";
|
|
37
41
|
import "../../shared-utils/uuid.js";
|
|
@@ -74,24 +78,38 @@ import "../../shared-utils/Subscribe.js";
|
|
|
74
78
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
75
79
|
import "../../shared-utils/five/transformPosition.js";
|
|
76
80
|
import "../../shared-utils/three/temp.js";
|
|
81
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
77
82
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
83
|
+
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
78
84
|
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
79
85
|
import "../../vendor/three/build/three.module.js";
|
|
80
|
-
import "../../
|
|
81
|
-
import "../../
|
|
82
|
-
import "../../
|
|
83
|
-
import "../../
|
|
86
|
+
import "../../Sculpt/typings/style.js";
|
|
87
|
+
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
88
|
+
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
89
|
+
import "../../Object3DHelperPlugin/Controller.js";
|
|
90
|
+
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
91
|
+
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
92
|
+
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
93
|
+
import "../../shared-utils/three/boundingBox.js";
|
|
94
|
+
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
95
|
+
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
96
|
+
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
97
|
+
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
98
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
99
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
100
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
101
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
84
102
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
103
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
85
104
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
86
105
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
106
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
107
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
108
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
87
109
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
88
110
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
89
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
90
|
-
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
91
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
92
111
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
93
112
|
import "../../Sculpt/Meshes/Line.js";
|
|
94
|
-
import "../../Sculpt/typings/style.js";
|
|
95
113
|
import "../../Sculpt/utils/removeAllTag.js";
|
|
96
114
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
97
115
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -100,13 +118,42 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
|
100
118
|
import "../../shared-utils/five/getPosition.js";
|
|
101
119
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
102
120
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
121
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
122
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
123
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
124
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
125
|
+
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
126
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
127
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
128
|
+
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
129
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
130
|
+
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
131
|
+
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
132
|
+
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
133
|
+
import "../../shared-utils/threex/domevents/index.js";
|
|
134
|
+
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
135
|
+
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
136
|
+
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
137
|
+
import "../../shared-utils/Object3DHelper/index.js";
|
|
138
|
+
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
139
|
+
import "../../shared-utils/math/rad2Deg.js";
|
|
140
|
+
import "../../shared-utils/math/deg2Rad.js";
|
|
141
|
+
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
142
|
+
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
143
|
+
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
144
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
145
|
+
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
146
|
+
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
147
|
+
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
148
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
149
|
+
import "../../shared-utils/five/FiveDomEvents.js";
|
|
150
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
103
151
|
import "../utils/findClosestPoint.js";
|
|
104
152
|
import "../utils/ndc2Screen.js";
|
|
105
153
|
import "../../shared-utils/getPointFromHammerEvent.js";
|
|
106
154
|
import "../Modules/rangePiece/index.js";
|
|
107
155
|
import "../../shared-utils/animationFrame/index.js";
|
|
108
156
|
import "../../shared-utils/noop.js";
|
|
109
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
110
157
|
import "../../shared-utils/tap.js";
|
|
111
158
|
import "../Modules/UIController/HTML.js";
|
|
112
159
|
import "../Modules/UIController/mobileHTML.js";
|
|
@@ -126,86 +173,85 @@ import "../../vendor/svelte/transition/index.js";
|
|
|
126
173
|
import "../../vendor/svelte/easing/index.js";
|
|
127
174
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
128
175
|
import "../Components/Tip.js";
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
var l, u, d, f, g, y, C, M, w, P, b, v;
|
|
176
|
+
class Rr extends H {
|
|
177
|
+
constructor(t, i) {
|
|
178
|
+
var m, u, d, f, g, y, C, M, w, P, b, v;
|
|
133
179
|
super(t);
|
|
134
|
-
|
|
135
|
-
|
|
180
|
+
e(this, "state", { enabled: !0 });
|
|
181
|
+
e(this, "hasOpen", !1);
|
|
136
182
|
/** @deprecated use hooks instead */
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
183
|
+
e(this, "hook");
|
|
184
|
+
e(this, "magnifier");
|
|
185
|
+
e(this, "controller", null);
|
|
140
186
|
/** 允许的测量类型 */
|
|
141
|
-
|
|
187
|
+
e(this, "allowMeasureType");
|
|
142
188
|
/** 当前的测量类型 */
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
189
|
+
e(this, "currentMeasureType");
|
|
190
|
+
e(this, "model");
|
|
191
|
+
e(this, "group");
|
|
192
|
+
e(this, "config");
|
|
193
|
+
e(this, "isMobile");
|
|
194
|
+
e(this, "useUIController");
|
|
195
|
+
e(this, "params");
|
|
196
|
+
e(this, "useGuideController");
|
|
197
|
+
e(this, "container", document.createElement("div"));
|
|
198
|
+
e(this, "shortcutKeyController");
|
|
153
199
|
/** 关闭插件功能
|
|
154
200
|
* @description 清除标尺线条
|
|
155
201
|
* @description 还原点位展示和默认鼠标 UI
|
|
156
202
|
*/
|
|
157
|
-
|
|
158
|
-
var t,
|
|
159
|
-
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (
|
|
203
|
+
e(this, "disable", () => {
|
|
204
|
+
var t, i, r, o;
|
|
205
|
+
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (i = this.useUIController) == null || i.hide(), (r = this.useGuideController) == null || r.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
160
206
|
});
|
|
161
|
-
|
|
207
|
+
e(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof T ? "Watch" : this.controller instanceof p ? "Mixed" : this.controller instanceof k ? "View" : null);
|
|
162
208
|
/** 变更场景
|
|
163
209
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
164
210
|
*/
|
|
165
|
-
|
|
211
|
+
e(this, "changeMode", (t) => {
|
|
166
212
|
var o;
|
|
167
213
|
if (!this.hasOpen || this.getCurrentMode() === t)
|
|
168
214
|
return;
|
|
169
215
|
(o = this.controller) == null || o.dispose();
|
|
170
|
-
const
|
|
216
|
+
const i = {
|
|
171
217
|
View: k,
|
|
172
218
|
Watch: T,
|
|
173
|
-
Edit:
|
|
174
|
-
Mixed:
|
|
219
|
+
Edit: l,
|
|
220
|
+
Mixed: p
|
|
175
221
|
};
|
|
176
|
-
if (!
|
|
222
|
+
if (!i[t])
|
|
177
223
|
throw new Error("不存在的 Mode");
|
|
178
|
-
const
|
|
179
|
-
this.controller = new
|
|
224
|
+
const r = this.createControllerParams();
|
|
225
|
+
this.controller = new i[t](r), this.hook.emit("modeChange", t);
|
|
180
226
|
});
|
|
181
227
|
/**
|
|
182
228
|
* @description: 切换测量的类型
|
|
183
229
|
*/
|
|
184
|
-
|
|
230
|
+
e(this, "changeMeasureType", (t) => {
|
|
185
231
|
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
186
232
|
});
|
|
187
|
-
this.five = t, this.hook = this.hooks, this.params =
|
|
233
|
+
this.five = t, this.hook = this.hooks, this.params = i, this.config = G(i, ["openParams", "magnifierParams"]), this.model = new L(this.config), this.isMobile = (u = (m = i == null ? void 0 : i.openParams) == null ? void 0 : m.isMobile) != null ? u : !1, this.magnifier = new V(
|
|
188
234
|
t,
|
|
189
|
-
(y = (g =
|
|
190
|
-
), this.allowMeasureType = Array.from(new Set((M = (C =
|
|
191
|
-
const
|
|
235
|
+
(y = (g = i.magnifierParams) != null ? g : (f = (d = i.pointSelectorConfig) == null ? void 0 : d.helper) == null ? void 0 : f.magnifierParams) != null ? y : { width: 190, height: 190, scale: 2 }
|
|
236
|
+
), this.allowMeasureType = Array.from(new Set((M = (C = i.editParams) == null ? void 0 : C.allowMeasureType) != null ? M : ["line"])), this.currentMeasureType = (w = this.allowMeasureType[0]) != null ? w : "line", this.group = new S(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
|
|
237
|
+
const r = (b = (P = i.editParams) == null ? void 0 : P.pointSelectorMode) != null ? b : K ? "fixed" : "cursor", o = (v = this.params.openParams) != null ? v : {};
|
|
192
238
|
if (this.params.useUIController !== !1) {
|
|
193
|
-
const
|
|
239
|
+
const a = h({
|
|
194
240
|
container: this.container,
|
|
195
241
|
openParams: o,
|
|
196
|
-
i18n:
|
|
197
|
-
pointSelectorMode:
|
|
242
|
+
i18n: i.i18n,
|
|
243
|
+
pointSelectorMode: r,
|
|
198
244
|
useNewUI: this.allowMeasureType.length > 1
|
|
199
245
|
}, U(this.params.useUIController));
|
|
200
|
-
this.useUIController = new W(this,
|
|
246
|
+
this.useUIController = new W(this, a);
|
|
201
247
|
}
|
|
202
248
|
if (this.params.useGuideController !== !1) {
|
|
203
|
-
const
|
|
249
|
+
const a = h({
|
|
204
250
|
container: this.container,
|
|
205
|
-
pointSelectorMode:
|
|
206
|
-
i18n:
|
|
251
|
+
pointSelectorMode: r,
|
|
252
|
+
i18n: i.i18n
|
|
207
253
|
}, U(this.params.useGuideController));
|
|
208
|
-
this.useGuideController = new A(this,
|
|
254
|
+
this.useGuideController = new A(this, a);
|
|
209
255
|
}
|
|
210
256
|
}
|
|
211
257
|
appendTo(t) {
|
|
@@ -215,8 +261,8 @@ class Ye extends H {
|
|
|
215
261
|
this.model.clear();
|
|
216
262
|
}
|
|
217
263
|
dispose() {
|
|
218
|
-
var t,
|
|
219
|
-
this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (
|
|
264
|
+
var t, i;
|
|
265
|
+
this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (i = this.magnifier) == null || i.dispose(), this.five.needsRender = !0;
|
|
220
266
|
}
|
|
221
267
|
/** 加载数据
|
|
222
268
|
* @description 数据加载时会覆盖当前已保存的数据
|
|
@@ -230,18 +276,18 @@ class Ye extends H {
|
|
|
230
276
|
* @description 会隐藏当前 VR 内的点位展示
|
|
231
277
|
*/
|
|
232
278
|
enable(t) {
|
|
233
|
-
var
|
|
234
|
-
this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (
|
|
279
|
+
var i, r;
|
|
280
|
+
this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (i = this.useUIController) == null || i.show(), (r = this.useGuideController) == null || r.show(), this.shortcutKeyController = new B(this, this.five), this.hook.emit("enable", !0));
|
|
235
281
|
}
|
|
236
282
|
/** 进入编辑模式 */
|
|
237
283
|
edit(t) {
|
|
238
284
|
t && this.changeMeasureType(t);
|
|
239
|
-
const
|
|
240
|
-
this.changeMode(
|
|
285
|
+
const i = this.isMobile ? "Mixed" : "Edit";
|
|
286
|
+
this.changeMode(i);
|
|
241
287
|
}
|
|
242
288
|
/** 撤销编辑 */
|
|
243
289
|
revoke() {
|
|
244
|
-
this.controller instanceof
|
|
290
|
+
this.controller instanceof l && this.controller.revoke();
|
|
245
291
|
}
|
|
246
292
|
removePolyline(t) {
|
|
247
293
|
this.model.removePolyline(t);
|
|
@@ -250,8 +296,8 @@ class Ye extends H {
|
|
|
250
296
|
this.model.removeArea(t);
|
|
251
297
|
}
|
|
252
298
|
removePolylineByID(t) {
|
|
253
|
-
const
|
|
254
|
-
|
|
299
|
+
const i = this.model.getPolylineByID(t);
|
|
300
|
+
i && this.model.removePolyline(i);
|
|
255
301
|
}
|
|
256
302
|
getPolylineByID(t) {
|
|
257
303
|
return this.model.getPolylineByID(t);
|
|
@@ -264,8 +310,8 @@ class Ye extends H {
|
|
|
264
310
|
highlightLine(t) {
|
|
265
311
|
if (this.getCurrentMode() !== "Watch")
|
|
266
312
|
return !1;
|
|
267
|
-
const
|
|
268
|
-
return
|
|
313
|
+
const i = this.model.getLineByID(t);
|
|
314
|
+
return i ? (this.controller.highlightLine(i), !0) : !1;
|
|
269
315
|
}
|
|
270
316
|
clearHighlightLines() {
|
|
271
317
|
return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
|
|
@@ -275,20 +321,20 @@ class Ye extends H {
|
|
|
275
321
|
*/
|
|
276
322
|
save(t) {
|
|
277
323
|
var o;
|
|
278
|
-
if (!(this.controller instanceof
|
|
324
|
+
if (!(this.controller instanceof l) && !(this.controller instanceof p))
|
|
279
325
|
return this;
|
|
280
|
-
const
|
|
281
|
-
return this.controller instanceof
|
|
282
|
-
|
|
283
|
-
}), this.changeMode(
|
|
326
|
+
const i = (o = t == null ? void 0 : t.mode) != null ? o : "View", r = this.controller.model.areas;
|
|
327
|
+
return this.controller instanceof l ? this.controller.complete() : r.forEach((m) => {
|
|
328
|
+
m.showArea(), this.model.addArea(m);
|
|
329
|
+
}), this.changeMode(i), this;
|
|
284
330
|
}
|
|
285
331
|
/** Mixed 模式才有用,添加起点 */
|
|
286
332
|
addStartPoint() {
|
|
287
|
-
this.controller instanceof
|
|
333
|
+
this.controller instanceof p && this.hook.emit("willChangeState", "watching", "editing");
|
|
288
334
|
}
|
|
289
335
|
/** Mixed 模式才有用,添加终点 */
|
|
290
336
|
addEndPoint() {
|
|
291
|
-
this.controller instanceof
|
|
337
|
+
this.controller instanceof p && this.hook.emit("willChangeState", "editing", "watching");
|
|
292
338
|
}
|
|
293
339
|
/** 导出数据 */
|
|
294
340
|
toJson() {
|
|
@@ -302,20 +348,20 @@ class Ye extends H {
|
|
|
302
348
|
changeIsMobile(t) {
|
|
303
349
|
}
|
|
304
350
|
changeConfigs(t) {
|
|
305
|
-
var
|
|
306
|
-
Object.assign(this.config, t), (
|
|
351
|
+
var i, r;
|
|
352
|
+
Object.assign(this.config, t), (i = this.controller) == null || i.updateDistanceUI(), (r = this.controller) == null || r.updateAreaUI();
|
|
307
353
|
}
|
|
308
354
|
/** 设置线段的文本 */
|
|
309
|
-
setCustomText(t,
|
|
355
|
+
setCustomText(t, i) {
|
|
310
356
|
var o;
|
|
311
|
-
const
|
|
312
|
-
if (!
|
|
357
|
+
const r = this.model.getLineByID(t);
|
|
358
|
+
if (!r)
|
|
313
359
|
throw new Error("不存在的线段");
|
|
314
|
-
|
|
360
|
+
r.setText(i), (o = this.controller) == null || o.updateDistanceUI();
|
|
315
361
|
}
|
|
316
362
|
createControllerParams() {
|
|
317
|
-
var
|
|
318
|
-
const t = (
|
|
363
|
+
var r, o;
|
|
364
|
+
const t = (r = this.params.openParams) != null ? r : {}, i = (o = this.params.editParams) != null ? o : {};
|
|
319
365
|
return t.isMobile = this.isMobile, {
|
|
320
366
|
five: this.five,
|
|
321
367
|
hook: this.hook,
|
|
@@ -326,15 +372,15 @@ class Ye extends H {
|
|
|
326
372
|
container: this.container,
|
|
327
373
|
workUtil: this.workUtil,
|
|
328
374
|
openParams: t,
|
|
329
|
-
editParams:
|
|
375
|
+
editParams: i,
|
|
330
376
|
pointSelectorConfig: this.params.pointSelectorConfig,
|
|
331
377
|
magnifierParams: this.params.magnifierParams,
|
|
332
378
|
getMeasureType: () => this.currentMeasureType,
|
|
333
|
-
mouseGroup: O(
|
|
379
|
+
mouseGroup: O(h({}, t.crossHairParameter)),
|
|
334
380
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
335
381
|
};
|
|
336
382
|
}
|
|
337
383
|
}
|
|
338
384
|
export {
|
|
339
|
-
|
|
385
|
+
Rr as default
|
|
340
386
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
|
-
var d = (
|
|
3
|
-
var i = (
|
|
4
|
-
import * as
|
|
2
|
+
var d = (e, t, o) => t in e ? l(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var i = (e, t, o) => (d(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
|
+
import * as s from "three";
|
|
5
5
|
import { uuid as f } from "../../shared-utils/uuid.js";
|
|
6
6
|
import { Subscribe as c } from "@realsee/five";
|
|
7
7
|
import u from "./line.js";
|
|
@@ -34,7 +34,10 @@ import "../../shared-utils/Subscribe.js";
|
|
|
34
34
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
35
35
|
import "../../shared-utils/five/transformPosition.js";
|
|
36
36
|
import "../../shared-utils/three/temp.js";
|
|
37
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
37
38
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
39
|
+
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
40
|
+
import "../../shared-utils/throttle.js";
|
|
38
41
|
import "hammerjs";
|
|
39
42
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
40
43
|
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -53,25 +56,72 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
53
56
|
import "animejs";
|
|
54
57
|
import "../../shared-utils/isNil.js";
|
|
55
58
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
56
|
-
import "../../
|
|
57
|
-
import "../../
|
|
59
|
+
import "../../Sculpt/Meshes/Polygon.js";
|
|
60
|
+
import "../../Sculpt/typings/style.js";
|
|
61
|
+
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
62
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
63
|
+
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
64
|
+
import "../../Object3DHelperPlugin/Controller.js";
|
|
65
|
+
import "../../base/BasePlugin.js";
|
|
66
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
67
|
+
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
68
|
+
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
69
|
+
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
70
|
+
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
71
|
+
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
72
|
+
import "../../shared-utils/three/boundingBox.js";
|
|
73
|
+
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
74
|
+
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
75
|
+
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
76
|
+
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
77
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
58
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
59
79
|
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
60
80
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
81
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
82
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
83
|
+
import "../../shared-utils/util.js";
|
|
84
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
85
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
86
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
61
87
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
62
88
|
import "../../Sculpt/Meshes/Line.js";
|
|
63
|
-
import "../../Sculpt/typings/style.js";
|
|
64
89
|
import "../../Sculpt/utils/removeAllTag.js";
|
|
65
90
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
66
91
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
67
|
-
import "../../shared-utils/util.js";
|
|
68
92
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
93
|
+
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
94
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
95
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
96
|
+
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
97
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
98
|
+
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
99
|
+
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
100
|
+
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
101
|
+
import "../../shared-utils/threex/domevents/index.js";
|
|
102
|
+
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
103
|
+
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
104
|
+
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
105
|
+
import "../../shared-utils/Object3DHelper/index.js";
|
|
106
|
+
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
107
|
+
import "../../shared-utils/math/rad2Deg.js";
|
|
108
|
+
import "../../shared-utils/math/deg2Rad.js";
|
|
109
|
+
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
110
|
+
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
111
|
+
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
112
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
113
|
+
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
114
|
+
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
115
|
+
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
116
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
117
|
+
import "../../shared-utils/five/FiveDomEvents.js";
|
|
118
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
69
119
|
import "../../shared-utils/isTouchDevice.js";
|
|
70
120
|
import "../../shared-utils/five/getPosition.js";
|
|
71
121
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
72
122
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
73
|
-
class
|
|
74
|
-
constructor(t,
|
|
123
|
+
class Si {
|
|
124
|
+
constructor(t, o) {
|
|
75
125
|
i(this, "id", f());
|
|
76
126
|
i(this, "selected", !1);
|
|
77
127
|
i(this, "text");
|
|
@@ -99,14 +149,14 @@ class Ft {
|
|
|
99
149
|
i(this, "updateDom", () => {
|
|
100
150
|
this.five && (this.polyline.lines.forEach((t) => t.distanceItem.update(this.five)), this.areaItem.updateDomPosition(this.five));
|
|
101
151
|
});
|
|
102
|
-
var
|
|
103
|
-
t && (this.points = t), this.model =
|
|
152
|
+
var r;
|
|
153
|
+
t && (this.points = t), this.model = o.model, this.polygon = new v(t), this.polyline = new y({ model: o.model }), this.areaItem = new C({
|
|
104
154
|
area: this,
|
|
105
|
-
clickCallback: (
|
|
106
|
-
const a =
|
|
155
|
+
clickCallback: (m, p) => {
|
|
156
|
+
const a = m.clientX + "px", h = m.clientY + "px";
|
|
107
157
|
this.hook.emit("selected", this, { left: a, top: h });
|
|
108
158
|
}
|
|
109
|
-
}), this.domContainer =
|
|
159
|
+
}), this.domContainer = o.domContainer || null, this.meshContainer = o.meshContainer || null, this.five = o.five || null, this.areaItem.appendTo(this.domContainer), (r = this.five) == null || r.on("cameraUpdate", this.updateDom);
|
|
110
160
|
}
|
|
111
161
|
/**
|
|
112
162
|
* @description: 多边形的端点是否闭合
|
|
@@ -116,14 +166,14 @@ class Ft {
|
|
|
116
166
|
return this.points.length >= 4 && ((t = this.points.at(0)) == null ? void 0 : t.equals(this.points.at(-1)));
|
|
117
167
|
}
|
|
118
168
|
addPoints(t) {
|
|
119
|
-
var
|
|
169
|
+
var m;
|
|
120
170
|
this.points = this.points.concat(t);
|
|
121
|
-
const
|
|
122
|
-
if (
|
|
123
|
-
const
|
|
124
|
-
this.polyline.addLine(
|
|
171
|
+
const o = this.points.at(-2), r = this.points.at(-1);
|
|
172
|
+
if (o && r) {
|
|
173
|
+
const p = new u(new n(o), new n(r), this.polyline.model);
|
|
174
|
+
this.polyline.addLine(p), this.meshContainer.add(p.mesh), this.five && (p.distanceItem.setCanSelect(!1), p.distanceItem.appendTo(this.domContainer), p.distanceItem.update(this.five));
|
|
125
175
|
}
|
|
126
|
-
(
|
|
176
|
+
(m = this.meshContainer) != null && m.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new s.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
|
|
127
177
|
}
|
|
128
178
|
/**
|
|
129
179
|
* @description: 移除最后一个添加的点
|
|
@@ -149,7 +199,7 @@ class Ft {
|
|
|
149
199
|
* @description: 获取一个点投影在当前平面上的点
|
|
150
200
|
*/
|
|
151
201
|
projectPoint(t) {
|
|
152
|
-
return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new
|
|
202
|
+
return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new s.Vector3()) : t);
|
|
153
203
|
}
|
|
154
204
|
remove() {
|
|
155
205
|
this.polygon.removeFromParent(), this.areaItem.remove(), this.polyline.lines.forEach((t) => t.remove());
|
|
@@ -169,5 +219,5 @@ class Ft {
|
|
|
169
219
|
}
|
|
170
220
|
}
|
|
171
221
|
export {
|
|
172
|
-
|
|
222
|
+
Si as default
|
|
173
223
|
};
|
|
@@ -8,6 +8,10 @@ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
|
8
8
|
import "../../shared-utils/three/core/Sphere.js";
|
|
9
9
|
import "animejs";
|
|
10
10
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
11
|
+
import "../../Sculpt/Meshes/Polygon.js";
|
|
12
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
13
|
+
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
|
+
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
11
15
|
import "../../shared-utils/positionToVector3.js";
|
|
12
16
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
13
17
|
import "../../shared-utils/five/getFiveModel.js";
|
|
@@ -17,7 +21,10 @@ import "../../shared-utils/Subscribe.js";
|
|
|
17
21
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
18
22
|
import "../../shared-utils/five/transformPosition.js";
|
|
19
23
|
import "../../shared-utils/three/temp.js";
|
|
24
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
20
25
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
26
|
+
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
27
|
+
import "../../shared-utils/throttle.js";
|
|
21
28
|
import "hammerjs";
|
|
22
29
|
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
23
30
|
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
@@ -49,6 +56,55 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
49
56
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
50
57
|
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
51
58
|
import "../../vendor/three/build/three.module.js";
|
|
59
|
+
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
60
|
+
import "../../shared-utils/three/earcut3D.js";
|
|
61
|
+
import "earcut";
|
|
62
|
+
import "../../shared-utils/three/getNormal.js";
|
|
63
|
+
import "../utils/isIntersecting.js";
|
|
64
|
+
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
65
|
+
import "../../shared-utils/three/geometryUtil.js";
|
|
66
|
+
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
67
|
+
import "../../Object3DHelperPlugin/Controller.js";
|
|
68
|
+
import "../../base/BasePlugin.js";
|
|
69
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
70
|
+
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
71
|
+
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
72
|
+
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
73
|
+
import "../../shared-utils/three/boundingBox.js";
|
|
74
|
+
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
75
|
+
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
76
|
+
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
77
|
+
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
78
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
79
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
80
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
81
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
82
|
+
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
83
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
84
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
85
|
+
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
86
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
87
|
+
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
88
|
+
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
89
|
+
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
90
|
+
import "../../shared-utils/threex/domevents/index.js";
|
|
91
|
+
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
92
|
+
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
93
|
+
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
94
|
+
import "../../shared-utils/Object3DHelper/index.js";
|
|
95
|
+
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
96
|
+
import "../../shared-utils/math/rad2Deg.js";
|
|
97
|
+
import "../../shared-utils/math/deg2Rad.js";
|
|
98
|
+
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
99
|
+
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
100
|
+
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
101
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
102
|
+
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
103
|
+
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
104
|
+
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
105
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
106
|
+
import "../../shared-utils/five/FiveDomEvents.js";
|
|
107
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
52
108
|
export {
|
|
53
109
|
t as default
|
|
54
110
|
};
|