@realsee/dnalogel 3.43.0 → 3.44.1
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 +7 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +19 -1
- package/dist/Sculpt/utils/color.d.ts +1 -1
- package/dist/index.cjs.js +102 -68
- package/dist/index.js +7127 -6867
- package/dist/index.umd.js +106 -72
- package/dist/shared-utils/five/getPosition.d.ts +12 -4
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
- package/dist/shared-utils/positionToVector3.d.ts +6 -6
- package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -3
- package/libs/AreaMakerPlugin/Controller.js +5 -18
- package/libs/AreaMakerPlugin/index.js +4 -17
- package/libs/AreaMakerPlugin/utils/Item.js +13 -26
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +12 -9
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
- package/libs/CruisePlugin/BaseController.js +20 -33
- package/libs/CruisePlugin/Move.js +25 -23
- package/libs/CruisePlugin/Work.js +10 -8
- package/libs/CruisePlugin/index.js +23 -21
- package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
- package/libs/CurrentPanoImagePlugin/index.js +5 -18
- package/libs/GuideLinePlugin/Controller.js +15 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
- package/libs/GuideLinePlugin/index.js +23 -21
- package/libs/ModelMakerPlugin/Controller.js +19 -30
- package/libs/ModelMakerPlugin/index.js +11 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
- package/libs/ModelTVVideoPlugin/index.js +12 -9
- package/libs/Object3DHelperPlugin/Controller.js +7 -5
- package/libs/Object3DHelperPlugin/index.js +23 -21
- package/libs/PanoCompassPlugin/Controller.js +18 -15
- package/libs/PanoCompassPlugin/index.js +21 -18
- package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
- package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
- package/libs/PanoDoorLabelPlugin/index.js +5 -18
- package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
- package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
- package/libs/PanoMeasurePlugin/Model/area.js +30 -44
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +35 -40
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
- package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
- package/libs/PanoSpatialTagPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +29 -43
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +56 -64
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
- package/libs/PanoTagPlugin/controller/index.js +27 -25
- package/libs/PanoTagPlugin/index.js +28 -26
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
- package/libs/PanoVideoPlugin/Controller.js +52 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
- package/libs/PanoVideoPlugin/index.js +8 -21
- package/libs/PipelinePlugin/Controller.js +44 -57
- package/libs/PipelinePlugin/index.js +5 -18
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
- package/libs/Sculpt/Meshes/Box.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +14 -14
- package/libs/Sculpt/Meshes/Line.d.ts +19 -1
- package/libs/Sculpt/Meshes/Line.js +40 -41
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polyline.js +3 -3
- package/libs/Sculpt/Meshes/Prism.js +11 -12
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/color.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/Compass.js +29 -31
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +140 -137
- package/libs/shared-utils/five/getPosition.d.ts +12 -4
- package/libs/shared-utils/five/getPosition.js +23 -23
- package/libs/shared-utils/five/index.js +2 -2
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +38 -40
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +6 -6
- package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
- package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
- package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
- package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/libs/shared-utils/three/index.d.ts +2 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +3 -3
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -62
- package/libs/shared-utils/three/PointHelper.js +0 -73
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
- /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
|
@@ -11,18 +11,18 @@ var u = (d, n, t) => n in d ? C(d, n, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return d;
|
|
12
12
|
}, m = (d, n) => F(d, E(n));
|
|
13
13
|
var o = (d, n, t) => (u(d, typeof n != "symbol" ? n + "" : n, t), t);
|
|
14
|
-
var
|
|
14
|
+
var p = (d, n, t) => new Promise((e, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(t.next(h));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (c) {
|
|
19
|
+
i(c);
|
|
20
20
|
}
|
|
21
21
|
}, r = (h) => {
|
|
22
22
|
try {
|
|
23
23
|
a(t.throw(h));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (c) {
|
|
25
|
+
i(c);
|
|
26
26
|
}
|
|
27
27
|
}, a = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(s, r);
|
|
28
28
|
a((t = t.apply(d, n)).next());
|
|
@@ -39,12 +39,12 @@ import { changeMode as P } from "../../shared-utils/five/changeMode.js";
|
|
|
39
39
|
import { getPxmm as D, getAttachedY as O } from "../../shared-utils/getPxmm.js";
|
|
40
40
|
import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
41
|
import "hammerjs";
|
|
42
|
-
import "
|
|
43
|
-
import "
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
42
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
|
+
import "@realsee/five/line";
|
|
45
44
|
import "../../shared-utils/three/THREESphere.js";
|
|
46
45
|
import "animejs";
|
|
47
46
|
import { isNil as k } from "../../shared-utils/isNil.js";
|
|
47
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
48
48
|
import "../../shared-utils/isTruelyObject.js";
|
|
49
49
|
import "../../vendor/svelte/internal/index.js";
|
|
50
50
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -84,22 +84,9 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
84
84
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
85
85
|
import "../../shared-utils/nearlyEqual.js";
|
|
86
86
|
import "../../shared-utils/to.js";
|
|
87
|
-
|
|
88
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
89
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
90
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
91
|
-
import "../../shared-utils/util.js";
|
|
92
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
93
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
95
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
96
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
97
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
98
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
99
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
100
|
-
class Xt extends M {
|
|
87
|
+
class Nt extends M {
|
|
101
88
|
constructor(t, e) {
|
|
102
|
-
var h,
|
|
89
|
+
var h, c;
|
|
103
90
|
super(t);
|
|
104
91
|
// =============== public properties =================
|
|
105
92
|
o(this, "name", "topviewFloorplanPlugin");
|
|
@@ -129,8 +116,8 @@ class Xt extends M {
|
|
|
129
116
|
o(this, "updateSize", () => {
|
|
130
117
|
if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
|
|
131
118
|
return !1;
|
|
132
|
-
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = D(this.five, this.wrapper, this.floorIndex, r), h = Math.ceil(i * a),
|
|
133
|
-
return this.size.width === h && this.size.height ===
|
|
119
|
+
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = D(this.five, this.wrapper, this.floorIndex, r), h = Math.ceil(i * a), c = Math.ceil(s * a);
|
|
120
|
+
return this.size.width === h && this.size.height === c || (this.container.style.width = h + "px", this.container.style.height = c + "px", this.size = { width: h, height: c }), !0;
|
|
134
121
|
});
|
|
135
122
|
/** 销毁插件 */
|
|
136
123
|
o(this, "dispose", () => {
|
|
@@ -195,7 +182,7 @@ class Xt extends M {
|
|
|
195
182
|
imageURL: this.staticPrefix + "/release/web/saas/missing-floorplan.e274c596.png",
|
|
196
183
|
imageWidth: 200,
|
|
197
184
|
imageHeight: 120,
|
|
198
|
-
text: (
|
|
185
|
+
text: (c = (h = e.i18n) == null ? void 0 : h.call(e, "暂无平面图")) != null ? c : "暂无平面图",
|
|
199
186
|
textFontSize: 14
|
|
200
187
|
};
|
|
201
188
|
const i = {
|
|
@@ -216,23 +203,23 @@ class Xt extends M {
|
|
|
216
203
|
attachedTo: _.BOUNDING_CENTER,
|
|
217
204
|
getLabelElement: void 0,
|
|
218
205
|
missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
|
|
219
|
-
i18n: (
|
|
206
|
+
i18n: (f) => f,
|
|
220
207
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
221
|
-
getRoomAreaText: (
|
|
222
|
-
getRoomDimensionText: (
|
|
223
|
-
getRuleDistanceText: (
|
|
208
|
+
getRoomAreaText: (f) => (f / 1e6).toFixed(1) + "㎡",
|
|
209
|
+
getRoomDimensionText: (f, w) => (f / 1e3).toFixed(1) + "m × " + (w / 1e3).toFixed(1) + "m",
|
|
210
|
+
getRuleDistanceText: (f) => f.toString()
|
|
224
211
|
}, s = e ? T(e, ["selector", "scale"]) : {}, r = l(l({}, i.missingFloorConfig), s.missingFloorConfig), a = m(l(l({}, i), s), { missingFloorConfig: r });
|
|
225
212
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
226
213
|
}
|
|
227
214
|
load(t, e, i = !0) {
|
|
228
|
-
return
|
|
229
|
-
function s(
|
|
230
|
-
return Object.prototype.hasOwnProperty.apply(
|
|
215
|
+
return p(this, null, function* () {
|
|
216
|
+
function s(f) {
|
|
217
|
+
return Object.prototype.hasOwnProperty.apply(f, ["version"]);
|
|
231
218
|
}
|
|
232
219
|
const r = t;
|
|
233
220
|
r && k(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
234
|
-
const a = JSON.parse(JSON.stringify(t)), h = s(a) ? a.data : a,
|
|
235
|
-
this.data = yield v(h), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data,
|
|
221
|
+
const a = JSON.parse(JSON.stringify(t)), h = s(a) ? a.data : a, c = this.data;
|
|
222
|
+
this.data = yield v(h), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), e && this.updateState(e, i), this.render();
|
|
236
223
|
});
|
|
237
224
|
}
|
|
238
225
|
/** 更新户型图位置 */
|
|
@@ -250,7 +237,7 @@ class Xt extends M {
|
|
|
250
237
|
return t.appendChild(this.container), this.render(), this;
|
|
251
238
|
}
|
|
252
239
|
show() {
|
|
253
|
-
return
|
|
240
|
+
return p(this, arguments, function* (t = {}) {
|
|
254
241
|
if (this.state.visible)
|
|
255
242
|
return;
|
|
256
243
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
@@ -258,7 +245,7 @@ class Xt extends M {
|
|
|
258
245
|
});
|
|
259
246
|
}
|
|
260
247
|
hide() {
|
|
261
|
-
return
|
|
248
|
+
return p(this, arguments, function* (t = {}) {
|
|
262
249
|
if (this.isHiddenByHideFunc = !0, !this.state.visible)
|
|
263
250
|
return;
|
|
264
251
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
@@ -293,12 +280,12 @@ class Xt extends M {
|
|
|
293
280
|
this.updateState({ config: t }, e), this.render();
|
|
294
281
|
}
|
|
295
282
|
formatData(t) {
|
|
296
|
-
return
|
|
283
|
+
return p(this, null, function* () {
|
|
297
284
|
return yield v(t.data);
|
|
298
285
|
});
|
|
299
286
|
}
|
|
300
287
|
_show(t) {
|
|
301
|
-
return
|
|
288
|
+
return p(this, null, function* () {
|
|
302
289
|
if (!this.state.enabled)
|
|
303
290
|
return;
|
|
304
291
|
this.isHiddenByHideFunc = !1;
|
|
@@ -309,7 +296,7 @@ class Xt extends M {
|
|
|
309
296
|
});
|
|
310
297
|
}
|
|
311
298
|
_hide(t) {
|
|
312
|
-
return
|
|
299
|
+
return p(this, null, function* () {
|
|
313
300
|
if (!this.state.enabled)
|
|
314
301
|
return;
|
|
315
302
|
const { userAction: e } = t;
|
|
@@ -370,5 +357,5 @@ class Xt extends M {
|
|
|
370
357
|
}
|
|
371
358
|
}
|
|
372
359
|
export {
|
|
373
|
-
|
|
360
|
+
Nt as Controller
|
|
374
361
|
};
|
|
@@ -39,22 +39,8 @@ import "../../base/BasePluginWithData.js";
|
|
|
39
39
|
import "../../base/BasePlugin.js";
|
|
40
40
|
import "../../shared-utils/Subscribe.js";
|
|
41
41
|
import "hammerjs";
|
|
42
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
43
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
44
|
-
import "../../shared-utils/positionToVector3.js";
|
|
45
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
46
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
47
|
-
import "
|
|
48
|
-
import "../../shared-utils/util.js";
|
|
49
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
50
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
52
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
53
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
54
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
55
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
56
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
43
|
+
import "@realsee/five/line";
|
|
58
44
|
import "../../shared-utils/three/THREESphere.js";
|
|
59
45
|
import "animejs";
|
|
60
46
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -63,14 +49,15 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
63
49
|
import "../../shared-utils/five/transformPosition.js";
|
|
64
50
|
import "../../shared-utils/five/getFiveModel.js";
|
|
65
51
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
52
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
66
53
|
import "../../shared-utils/five/changeMode.js";
|
|
67
54
|
import "../../shared-utils/nearlyEqual.js";
|
|
68
55
|
import "../../shared-utils/to.js";
|
|
69
56
|
import "../../shared-utils/getPxmm.js";
|
|
70
57
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
71
58
|
import "../../shared-utils/isNil.js";
|
|
72
|
-
const
|
|
59
|
+
const lo = (o, r) => new t(o, r);
|
|
73
60
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
61
|
+
lo as TopviewFloorplanPlugin,
|
|
62
|
+
lo as default
|
|
76
63
|
};
|
package/libs/floorplan/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
2
2
|
import "three";
|
|
3
3
|
import "hammerjs";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
4
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
|
+
import "@realsee/five/line";
|
|
7
6
|
import "../shared-utils/three/THREESphere.js";
|
|
8
7
|
import "animejs";
|
|
8
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
9
|
import "../shared-utils/nearlyEqual.js";
|
package/libs/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { Sculpt as
|
|
38
|
-
import { ModelMakerPlugin as
|
|
39
|
-
import { index as
|
|
40
|
-
import { CSS3DRender as
|
|
41
|
-
import { Model as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { Polyline as
|
|
45
|
-
import { Magnifier as
|
|
46
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { ModelItemLabelPlugin as
|
|
48
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
49
|
-
import { Plugin as
|
|
50
|
-
import { GuideLineItem$1 as
|
|
51
|
-
import { GuideLineModeItem$1 as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { typing as
|
|
55
|
-
import { default as
|
|
56
|
-
import { defaultGlobalConfig as
|
|
57
|
-
import { ContentType as
|
|
58
|
-
import { Object3DHelperController as
|
|
59
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as Ll } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as _l } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Il } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Sl } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as yl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Dl, modelRoomLabelPluginServerParams as Gl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as vl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Yl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Vl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as hl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as wl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Hl, ROOM_FETILE_TYPE_MAP as Ul, ROOM_TYPE_MAP as jl } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Wl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as zl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Kl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Xl, Rotation as Zl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as rn } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as mn } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as en } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as nn } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Pn } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as fn } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as gn } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as dn } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Tn } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as Cn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as En } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Rn, MovePlugin as Sn } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as yn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Dn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as bn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Fn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as cn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as Nn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as kn, SculptPlugin as wn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as Hn } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as jn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Wn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as zn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Kn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as Xn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as oa } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as ta } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as ma } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as ea } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as na } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as Pa } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as fa } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as ga } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as da, default as Ma } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as La } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as _a } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as Ia, pluginFlag as Ra } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Oa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as Aa, DimensionType as Da, PointType as Ga } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as va, PLUGIN as Fa } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as ca } from "./PanoVideoPlugin/typings/index.js";
|
|
60
60
|
import "./components/PaintBrush/Controller.js";
|
|
61
61
|
import "./components/PaintBrush/utils.js";
|
|
62
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -69,6 +69,8 @@ import "three";
|
|
|
69
69
|
import "./CSS3DRenderPlugin/Controller.js";
|
|
70
70
|
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
71
71
|
import "hammerjs";
|
|
72
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
73
|
+
import "@realsee/five/line";
|
|
72
74
|
import "./shared-utils/three/THREESphere.js";
|
|
73
75
|
import "animejs";
|
|
74
76
|
import "./shared-utils/url/absoluteUrl.js";
|
|
@@ -76,9 +78,7 @@ import "./shared-utils/five/fiveModelLoad.js";
|
|
|
76
78
|
import "./shared-utils/five/getFiveModel.js";
|
|
77
79
|
import "./shared-utils/positionToVector3.js";
|
|
78
80
|
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
79
|
-
import "
|
|
80
|
-
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
81
|
-
import "./shared-utils/util.js";
|
|
81
|
+
import "./CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
82
82
|
import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
83
83
|
import "./CSS3DRenderPlugin/utils/even.js";
|
|
84
84
|
import "./shared-utils/Subscribe.js";
|
|
@@ -86,11 +86,13 @@ import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
|
86
86
|
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
87
87
|
import "./shared-utils/three/centerPoint.js";
|
|
88
88
|
import "./shared-utils/three/getObjectVisible.js";
|
|
89
|
+
import "./shared-utils/isNil.js";
|
|
89
90
|
import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
91
|
+
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
92
|
+
import "./shared-utils/util.js";
|
|
90
93
|
import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
91
94
|
import "./shared-utils/createLine/index.js";
|
|
92
95
|
import "./shared-utils/five/FiveLine.js";
|
|
93
|
-
import "@realsee/five/line";
|
|
94
96
|
import "./ModelRoomLabelPlugin/Controller.js";
|
|
95
97
|
import "./ModelRoomLabelPlugin/RoomLabelItems.js";
|
|
96
98
|
import "./vendor/svelte/internal/index.js";
|
|
@@ -144,7 +146,6 @@ import "./floorplan/utils/constant.js";
|
|
|
144
146
|
import "./shared-utils/nearlyEqual.js";
|
|
145
147
|
import "./shared-utils/five/changeMode.js";
|
|
146
148
|
import "./shared-utils/changeModelCanvasOpacity.js";
|
|
147
|
-
import "./shared-utils/isNil.js";
|
|
148
149
|
import "./floorplan/MapviewFloorplanPlugin/Controller.js";
|
|
149
150
|
import "./floorplan/TopviewFloorplanPlugin/Controller.js";
|
|
150
151
|
import "./floorplan/PanoFloorplanRadarPlugin/Controller.js";
|
|
@@ -192,12 +193,16 @@ import "./shared-utils/three/getNormal.js";
|
|
|
192
193
|
import "./PanoMeasurePlugin/utils/dom/areaDom.js";
|
|
193
194
|
import "./shared-utils/three/geometryUtil.js";
|
|
194
195
|
import "./PanoMeasurePlugin/utils/isIntersecting.js";
|
|
195
|
-
import "./shared-utils/three/PointSelector.js";
|
|
196
|
-
import "./shared-utils/three/PointSelectorHelper.js";
|
|
197
|
-
import "./shared-utils/three/PointHelper.js";
|
|
196
|
+
import "./shared-utils/three/PointSelector/index.js";
|
|
197
|
+
import "./shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
198
|
+
import "./shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
198
199
|
import "./shared-utils/three/Assets/index.js";
|
|
199
|
-
import "./shared-utils/three/
|
|
200
|
-
import "./
|
|
200
|
+
import "./shared-utils/three/PointSelector/utils/html.js";
|
|
201
|
+
import "./shared-utils/five/initialCSS3DRender.js";
|
|
202
|
+
import "./shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
203
|
+
import "./Sculpt/Meshes/Line.js";
|
|
204
|
+
import "./Sculpt/utils/color.js";
|
|
205
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
201
206
|
import "./shared-utils/isTouchDevice.js";
|
|
202
207
|
import "./shared-utils/five/getPosition.js";
|
|
203
208
|
import "./shared-utils/five/getRaycasterByNdcPosition.js";
|
|
@@ -441,8 +446,6 @@ import "./vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
|
441
446
|
import "./Sculpt/Meshes/Polyline.js";
|
|
442
447
|
import "./Sculpt/Meshes/LineWithDots.js";
|
|
443
448
|
import "./Sculpt/Meshes/Point.js";
|
|
444
|
-
import "./Sculpt/utils/color.js";
|
|
445
|
-
import "./Sculpt/Meshes/Line.js";
|
|
446
449
|
import "./shared-utils/three/closeVectors.js";
|
|
447
450
|
import "./Sculpt/Objects/Base/index.js";
|
|
448
451
|
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -501,72 +504,72 @@ import "./shared-utils/five/lookObject.js";
|
|
|
501
504
|
r();
|
|
502
505
|
o();
|
|
503
506
|
export {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
507
|
+
cn as AreaMakerPlugin,
|
|
508
|
+
Wn as CSS3DRender,
|
|
509
|
+
Sl as CSS3DRenderPlugin,
|
|
510
|
+
Xl as CameraMovementEffect,
|
|
511
|
+
Kl as CameraMovementPlugin,
|
|
512
|
+
Aa as ContentType,
|
|
513
|
+
Rn as CruisePlugin,
|
|
514
|
+
da as CruisePluginController,
|
|
515
|
+
_a as CruisePluginTypes,
|
|
516
|
+
Nn as CurrentPanoImagePlugin,
|
|
517
|
+
dn as DIRECTION,
|
|
518
|
+
ma as DISPLAY_STRATEGY_TYPE,
|
|
519
|
+
Da as DimensionType,
|
|
520
|
+
vl as FLOOR_PLAN_ATTACHED_TO,
|
|
521
|
+
Hl as FLOOR_TYPE_MAP,
|
|
522
|
+
fa as GuideLineItem,
|
|
523
|
+
ga as GuideLineModeItem,
|
|
524
|
+
En as GuideLinePlugin,
|
|
525
|
+
na as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
526
|
+
Pa as ItemLabelPlugin,
|
|
527
|
+
ta as Magnifier,
|
|
528
|
+
Vl as MapviewFloorplanPlugin,
|
|
529
|
+
Wl as ModelChassisCompassPlugin,
|
|
530
|
+
zl as ModelEntryDoorGuidePlugin,
|
|
531
|
+
Yl as ModelFloorplanPlugin,
|
|
532
|
+
ea as ModelItemLabelPlugin,
|
|
533
|
+
Hn as ModelMakerPlugin,
|
|
534
|
+
Dl as ModelRoomLabelPlugin,
|
|
535
|
+
gn as ModelTVVideoPlugin,
|
|
536
|
+
Il as ModelViewPlugin,
|
|
537
|
+
La as MoveController,
|
|
538
|
+
Sn as MovePlugin,
|
|
539
|
+
va as Object3DHelperController,
|
|
540
|
+
Dn as Object3DHelperPlugin,
|
|
541
|
+
Fa as PLUGIN,
|
|
542
|
+
Ll as PaintBrush,
|
|
543
|
+
_l as PaintBrushTypeEnum,
|
|
544
|
+
en as PanoCompassPlugin,
|
|
545
|
+
yl as PanoCursorRaycasterPlugin,
|
|
546
|
+
Cn as PanoDoorLabelPlugin,
|
|
547
|
+
wl as PanoFloorplanRadarPlugin,
|
|
548
|
+
nn as PanoMeasurePlugin,
|
|
549
|
+
Xn as PanoMeasurePluginLine,
|
|
550
|
+
zn as PanoMeasurePluginModel,
|
|
551
|
+
Kn as PanoMeasurePluginPoint,
|
|
552
|
+
oa as PanoMeasurePluginPolyline,
|
|
553
|
+
rn as PanoRulerPlugin,
|
|
554
|
+
mn as PanoRulerProPlugin,
|
|
555
|
+
Pn as PanoSpatialTagPlugin,
|
|
556
|
+
yn as PanoTagPlugin,
|
|
557
|
+
Ia as PanoTagPluginController,
|
|
558
|
+
bn as PanoVideoPlugin,
|
|
559
|
+
ca as PanoVideoPluginType,
|
|
560
|
+
Fn as PipelinePlugin,
|
|
561
|
+
Ga as PointType,
|
|
562
|
+
Ul as ROOM_FETILE_TYPE_MAP,
|
|
563
|
+
jl as ROOM_TYPE_MAP,
|
|
564
|
+
Zl as Rotation,
|
|
565
|
+
kn as Sculpt,
|
|
566
|
+
wn as SculptPlugin,
|
|
567
|
+
hl as TopviewFloorplanPlugin,
|
|
568
|
+
jn as Util,
|
|
569
|
+
Ma as WalkController,
|
|
570
|
+
Oa as defaultGlobalConfig,
|
|
571
|
+
Tn as itemLabelPluginServerParams,
|
|
572
|
+
fn as modelItemLabelPluginServerParams,
|
|
573
|
+
Gl as modelRoomLabelPluginServerParams,
|
|
574
|
+
Ra as pluginFlag
|
|
572
575
|
};
|
|
@@ -4,11 +4,19 @@ interface IIntersection extends THREE.Intersection {
|
|
|
4
4
|
raycaster: THREE.Raycaster;
|
|
5
5
|
isVirtual: boolean;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* @description 根据 ndc 坐标获取 Intersect
|
|
9
|
+
*/
|
|
7
10
|
export declare function getIntersectByNdcPosition(five: Five, position: {
|
|
8
11
|
x: number;
|
|
9
12
|
y: number;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
}, config?: {
|
|
14
|
+
virtualPoint?: boolean;
|
|
15
|
+
}): IIntersection | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @description 根据射线获取 Intersect
|
|
18
|
+
*/
|
|
19
|
+
export declare function getIntersectByRaycaster(five: Five, raycaster: THREE.Raycaster, config?: {
|
|
20
|
+
virtualPoint?: boolean;
|
|
21
|
+
}): IIntersection | undefined;
|
|
14
22
|
export {};
|