@realsee/dnalogel 3.47.13 → 3.47.15
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 +8 -0
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +18650 -18640
- package/dist/index.umd.js +47 -47
- package/libs/AreaMakerPlugin/Controller.js +78 -150
- package/libs/AreaMakerPlugin/index.js +3 -75
- package/libs/AreaMakerPlugin/utils/Item.js +111 -185
- package/libs/CSS3DRenderPlugin/Controller.js +29 -86
- package/libs/CSS3DRenderPlugin/index.js +12 -69
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +58 -127
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +113 -174
- package/libs/CruisePlugin/BaseController.js +50 -122
- package/libs/CruisePlugin/Move.js +21 -74
- package/libs/CruisePlugin/Work.js +46 -99
- package/libs/CruisePlugin/index.js +26 -79
- package/libs/CurrentPanoImagePlugin/Controller.js +104 -176
- package/libs/CurrentPanoImagePlugin/index.js +4 -76
- package/libs/GuideLinePlugin/Controller.js +26 -79
- package/libs/GuideLinePlugin/GuideLineItem.js +24 -77
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +22 -75
- package/libs/GuideLinePlugin/index.js +26 -79
- package/libs/ModelMakerPlugin/Controller.js +83 -139
- package/libs/ModelMakerPlugin/index.js +16 -72
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -105
- package/libs/ModelTVVideoPlugin/index.js +7 -64
- package/libs/Object3DHelperPlugin/Controller.js +32 -56
- package/libs/Object3DHelperPlugin/index.js +12 -35
- package/libs/PanoCompassPlugin/Controller.js +37 -93
- package/libs/PanoCompassPlugin/index.js +11 -67
- package/libs/PanoDoorLabelPlugin/BaseController.js +25 -97
- package/libs/PanoDoorLabelPlugin/Controller.js +115 -187
- package/libs/PanoDoorLabelPlugin/index.js +4 -76
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +96 -141
- package/libs/PanoMeasurePlugin/Controller/EditController.js +66 -111
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -101
- package/libs/PanoMeasurePlugin/Model/area.js +21 -91
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -73
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +27 -72
- package/libs/PanoMeasurePlugin/index.js +25 -67
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +17 -89
- package/libs/PanoSpatialTagPlugin/Plugin.js +106 -163
- package/libs/PanoSpatialTagPlugin/index.js +5 -62
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +67 -141
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +208 -281
- package/libs/PanoTagPlugin/Components/Tag/index.js +180 -251
- package/libs/PanoTagPlugin/Components/TagContainer.js +80 -151
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -138
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +61 -132
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +28 -99
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +30 -101
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +36 -107
- package/libs/PanoTagPlugin/controller/TagRender.js +68 -121
- package/libs/PanoTagPlugin/controller/TagUtil.js +79 -132
- package/libs/PanoTagPlugin/controller/index.js +55 -108
- package/libs/PanoTagPlugin/index.js +31 -84
- package/libs/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +5 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +30 -104
- package/libs/PanoVideoPlugin/Controller.js +64 -136
- package/libs/PanoVideoPlugin/VideoMeshController.js +74 -148
- package/libs/PanoVideoPlugin/index.js +8 -80
- package/libs/PipelinePlugin/Controller.js +128 -199
- package/libs/PipelinePlugin/index.js +5 -76
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -91
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -88
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +56 -130
- package/libs/Sculpt/Meshes/Box.js +5 -6
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +50 -41
- package/libs/Sculpt/Meshes/Point.js +9 -10
- package/libs/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/libs/Sculpt/Meshes/Polygon.js +47 -37
- package/libs/Sculpt/Meshes/Polyline.js +18 -16
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +4 -4
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +59 -128
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -75
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +59 -129
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +62 -134
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -76
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +81 -151
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +62 -62
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +17 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
|
-
var u = (
|
|
3
|
-
var
|
|
2
|
+
var u = (o, e, t) => e in o ? v(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
|
+
var r = (o, e, t) => (u(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import "three";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
7
7
|
import "@realsee/five/line";
|
|
8
8
|
import "../../../shared-utils/tag.js";
|
|
9
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
10
9
|
import "../../../shared-utils/three/THREESphere.js";
|
|
11
10
|
import "animejs";
|
|
12
11
|
import { requestAnimationFrameInterval as c } from "../../../shared-utils/animationFrame/index.js";
|
|
@@ -20,80 +19,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
20
19
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
21
20
|
import "../../../shared-utils/five/transformPosition.js";
|
|
22
21
|
import "../../../shared-utils/three/temp.js";
|
|
23
|
-
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
24
|
-
import "../../../Object3DHelperPlugin/Controller.js";
|
|
25
|
-
import "../../../base/BasePlugin.js";
|
|
26
|
-
import "../../../shared-utils/url/absoluteUrl.js";
|
|
27
22
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
|
-
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
29
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
30
|
-
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
31
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
32
|
-
import "../../../shared-utils/three/boundingBox.js";
|
|
33
|
-
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
34
|
-
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
35
|
-
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
36
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
37
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
39
|
-
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
40
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
41
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
42
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
43
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
44
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
45
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
46
|
-
import "../../../shared-utils/isNil.js";
|
|
47
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
48
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
49
|
-
import "../../../shared-utils/util.js";
|
|
50
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
51
|
-
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
52
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
53
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
54
|
-
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
55
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
56
|
-
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
57
|
-
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
58
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
59
|
-
import "../../../shared-utils/threex/domevents/index.js";
|
|
60
|
-
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
61
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
62
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
63
|
-
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
64
|
-
import "../../../shared-utils/Object3DHelper/index.js";
|
|
65
|
-
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
66
|
-
import "../../../shared-utils/math/rad2Deg.js";
|
|
67
|
-
import "../../../shared-utils/math/deg2Rad.js";
|
|
68
|
-
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
69
|
-
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
70
|
-
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
71
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
72
|
-
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
73
|
-
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
74
|
-
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
75
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
76
|
-
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
77
|
-
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
78
|
-
import "../../../shared-utils/three/THREERaycaster.js";
|
|
79
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
80
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
81
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
82
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
83
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
84
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
85
|
-
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
86
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
87
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
88
|
-
import "../../../Sculpt/typings/style.js";
|
|
89
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
90
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
91
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
92
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
93
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
94
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
95
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
96
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
97
23
|
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
98
24
|
import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
99
25
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
|
@@ -117,19 +43,19 @@ const d = (
|
|
|
117
43
|
}
|
|
118
44
|
`
|
|
119
45
|
);
|
|
120
|
-
class
|
|
46
|
+
class N extends h {
|
|
121
47
|
constructor(t) {
|
|
122
48
|
super(t, d);
|
|
123
49
|
/** 初始状态下,当前水管内的水流在整体管道上的位移
|
|
124
50
|
* @description 因为水管是不连续的,而要达到水流的连续效果,需要用过贴图的 uOffset 控制每根水管的初始状态
|
|
125
51
|
*/
|
|
126
|
-
|
|
127
|
-
|
|
52
|
+
r(this, "initialDisplacement", 0);
|
|
53
|
+
r(this, "oldTime", (/* @__PURE__ */ new Date()).getTime());
|
|
128
54
|
/** 横向流动速度:m / s */
|
|
129
|
-
|
|
55
|
+
r(this, "flowSpeed", 0.6);
|
|
130
56
|
/** 纵向旋转速度:deg / s */
|
|
131
|
-
|
|
132
|
-
|
|
57
|
+
r(this, "rotateSpeed", 0);
|
|
58
|
+
r(this, "flowAnimationDisposer", () => {
|
|
133
59
|
});
|
|
134
60
|
}
|
|
135
61
|
setInitialDisplacement(t, i = "backward") {
|
|
@@ -148,20 +74,20 @@ class ni extends h {
|
|
|
148
74
|
* @param distance 位移:米 * 方向
|
|
149
75
|
*/
|
|
150
76
|
moveForwardFromInitialOffset(t) {
|
|
151
|
-
const i = t * -1,
|
|
152
|
-
this.moveFromOrigin(
|
|
77
|
+
const i = t * -1, m = this.initialDisplacement + i;
|
|
78
|
+
this.moveFromOrigin(m);
|
|
153
79
|
}
|
|
154
80
|
flow() {
|
|
155
81
|
this.flowAnimationDisposer(), this.oldTime = (/* @__PURE__ */ new Date()).getTime();
|
|
156
82
|
let t = 0, i = 0;
|
|
157
|
-
const
|
|
158
|
-
const
|
|
159
|
-
t = t +
|
|
160
|
-
const
|
|
161
|
-
this.material.uniforms.vOffset.value = f, this.moveForwardFromInitialOffset(t), this.oldTime =
|
|
83
|
+
const m = c(() => {
|
|
84
|
+
const n = (/* @__PURE__ */ new Date()).getTime(), s = n - this.oldTime, a = this.flowSpeed * (s / 1e3), l = this.rotateSpeed * (s / 1e3);
|
|
85
|
+
t = t + a, i = i + l;
|
|
86
|
+
const p = 1 / 360, f = i * p;
|
|
87
|
+
this.material.uniforms.vOffset.value = f, this.moveForwardFromInitialOffset(t), this.oldTime = n;
|
|
162
88
|
});
|
|
163
89
|
this.flowAnimationDisposer = function() {
|
|
164
|
-
|
|
90
|
+
m(), this.moveForwardFromInitialOffset(0);
|
|
165
91
|
};
|
|
166
92
|
}
|
|
167
93
|
stopFlow() {
|
|
@@ -175,5 +101,5 @@ class ni extends h {
|
|
|
175
101
|
}
|
|
176
102
|
}
|
|
177
103
|
export {
|
|
178
|
-
|
|
104
|
+
N as ObjectFlowPipe
|
|
179
105
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var n = (
|
|
3
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var n = (e, t, i) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
3
|
+
var h = (e, t, i) => (n(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
4
|
import "three";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
7
7
|
import "@realsee/five/line";
|
|
8
8
|
import "../../../shared-utils/tag.js";
|
|
9
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
10
9
|
import "../../../shared-utils/three/THREESphere.js";
|
|
11
10
|
import "animejs";
|
|
12
|
-
import { tweenProgress as
|
|
11
|
+
import { tweenProgress as o } from "../../../shared-utils/animationFrame/BetterTween.js";
|
|
13
12
|
import { ObjectPipe as a } from "./Pipe.js";
|
|
14
13
|
import "../../../shared-utils/positionToVector3.js";
|
|
15
14
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -20,99 +19,26 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
20
19
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
21
20
|
import "../../../shared-utils/five/transformPosition.js";
|
|
22
21
|
import "../../../shared-utils/three/temp.js";
|
|
23
|
-
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
24
|
-
import "../../../Object3DHelperPlugin/Controller.js";
|
|
25
|
-
import "../../../base/BasePlugin.js";
|
|
26
|
-
import "../../../shared-utils/url/absoluteUrl.js";
|
|
27
22
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
|
-
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
29
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
30
|
-
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
31
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
32
|
-
import "../../../shared-utils/three/boundingBox.js";
|
|
33
|
-
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
34
|
-
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
35
|
-
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
36
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
37
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
39
|
-
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
40
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
41
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
42
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
43
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
44
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
45
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
46
|
-
import "../../../shared-utils/isNil.js";
|
|
47
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
48
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
49
|
-
import "../../../shared-utils/util.js";
|
|
50
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
51
|
-
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
52
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
53
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
54
|
-
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
55
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
56
|
-
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
57
|
-
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
58
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
59
|
-
import "../../../shared-utils/threex/domevents/index.js";
|
|
60
|
-
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
61
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
62
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
63
|
-
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
64
|
-
import "../../../shared-utils/Object3DHelper/index.js";
|
|
65
|
-
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
66
|
-
import "../../../shared-utils/math/rad2Deg.js";
|
|
67
|
-
import "../../../shared-utils/math/deg2Rad.js";
|
|
68
|
-
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
69
|
-
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
70
|
-
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
71
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
72
|
-
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
73
|
-
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
74
|
-
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
75
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
76
|
-
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
77
|
-
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
78
|
-
import "../../../shared-utils/three/THREERaycaster.js";
|
|
79
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
80
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
81
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
82
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
83
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
84
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
85
|
-
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
86
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
87
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
88
|
-
import "../../../Sculpt/typings/style.js";
|
|
89
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
90
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
91
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
92
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
93
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
94
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
95
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
96
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
97
23
|
import "../../../shared-utils/animationFrame/index.js";
|
|
98
24
|
import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
99
25
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
|
100
26
|
import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
101
|
-
class
|
|
27
|
+
class D extends a {
|
|
102
28
|
constructor(i) {
|
|
103
29
|
super(i);
|
|
104
|
-
|
|
105
|
-
|
|
30
|
+
h(this, "imageCount", 64);
|
|
31
|
+
h(this, "highlightAnime");
|
|
106
32
|
}
|
|
107
33
|
highlight(i) {
|
|
108
|
-
const
|
|
109
|
-
this.disposeAnime(), this.highlightAnime =
|
|
34
|
+
const r = (i == null ? void 0 : i.duration) || 500;
|
|
35
|
+
this.disposeAnime(), this.highlightAnime = o(r).onUpdate(({ progress: m }) => this.setOpacity(m)).yoyo(!0).repeat(1 / 0).play();
|
|
110
36
|
}
|
|
111
37
|
highlight1(i) {
|
|
112
|
-
const
|
|
113
|
-
this.disposeAnime(), this.highlightAnime =
|
|
114
|
-
const
|
|
115
|
-
this.material.uniforms.vOffset.value !==
|
|
38
|
+
const r = (i == null ? void 0 : i.duration) || 2500;
|
|
39
|
+
this.disposeAnime(), this.highlightAnime = o(r).onUpdate(({ progress: m }) => {
|
|
40
|
+
const s = -(Math.ceil(m * this.imageCount) - 1) / this.imageCount;
|
|
41
|
+
this.material.uniforms.vOffset.value !== s && (this.material.uniforms.vOffset.value = s, this.material.needsUpdate = !0, this.needsRender = !0);
|
|
116
42
|
}).repeat(1 / 0).play();
|
|
117
43
|
}
|
|
118
44
|
disposeAnime() {
|
|
@@ -121,5 +47,5 @@ class rt extends a {
|
|
|
121
47
|
}
|
|
122
48
|
}
|
|
123
49
|
export {
|
|
124
|
-
|
|
50
|
+
D as ObjectHighlightPipe
|
|
125
51
|
};
|
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var v = Object.getOwnPropertySymbols;
|
|
3
3
|
var A = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var f = (
|
|
5
|
-
for (var t in
|
|
6
|
-
A.call(
|
|
4
|
+
var f = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, y = (a, e) => {
|
|
5
|
+
for (var t in e || (e = {}))
|
|
6
|
+
A.call(e, t) && f(a, t, e[t]);
|
|
7
7
|
if (v)
|
|
8
|
-
for (var t of v(
|
|
9
|
-
w.call(
|
|
10
|
-
return
|
|
8
|
+
for (var t of v(e))
|
|
9
|
+
w.call(e, t) && f(a, t, e[t]);
|
|
10
|
+
return a;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var l = (
|
|
14
|
-
var
|
|
12
|
+
var u = (a, e, t) => (f(a, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
var l = (a, e, t) => new Promise((i, s) => {
|
|
14
|
+
var o = (p) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
16
|
+
n(t.next(p));
|
|
17
17
|
} catch (c) {
|
|
18
|
-
|
|
18
|
+
s(c);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, r = (p) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
22
|
+
n(t.throw(p));
|
|
23
23
|
} catch (c) {
|
|
24
|
-
|
|
24
|
+
s(c);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, n = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(o, r);
|
|
27
|
+
n((t = t.apply(a, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import * as
|
|
29
|
+
import * as m from "three";
|
|
30
30
|
import "hammerjs";
|
|
31
31
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
32
32
|
import "@realsee/five/line";
|
|
33
33
|
import "../../../shared-utils/tag.js";
|
|
34
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
35
34
|
import "../../../shared-utils/three/THREESphere.js";
|
|
36
35
|
import "animejs";
|
|
37
36
|
import { BetterTween as g } from "../../../shared-utils/animationFrame/BetterTween.js";
|
|
@@ -45,80 +44,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
45
44
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
46
45
|
import "../../../shared-utils/five/transformPosition.js";
|
|
47
46
|
import "../../../shared-utils/three/temp.js";
|
|
48
|
-
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
49
|
-
import "../../../Object3DHelperPlugin/Controller.js";
|
|
50
|
-
import "../../../base/BasePlugin.js";
|
|
51
|
-
import "../../../shared-utils/url/absoluteUrl.js";
|
|
52
47
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
|
-
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
54
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
55
|
-
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
56
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
57
|
-
import "../../../shared-utils/three/boundingBox.js";
|
|
58
|
-
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
59
|
-
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
60
|
-
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
61
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
62
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
63
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
64
|
-
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
65
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
66
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
67
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
68
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
69
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
70
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
71
|
-
import "../../../shared-utils/isNil.js";
|
|
72
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
73
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
74
|
-
import "../../../shared-utils/util.js";
|
|
75
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
76
|
-
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
77
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
78
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
79
|
-
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
80
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
81
|
-
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
82
|
-
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
83
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
84
|
-
import "../../../shared-utils/threex/domevents/index.js";
|
|
85
|
-
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
86
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
87
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
88
|
-
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
89
|
-
import "../../../shared-utils/Object3DHelper/index.js";
|
|
90
|
-
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
91
|
-
import "../../../shared-utils/math/rad2Deg.js";
|
|
92
|
-
import "../../../shared-utils/math/deg2Rad.js";
|
|
93
|
-
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
94
|
-
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
95
|
-
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
96
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
97
|
-
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
98
|
-
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
99
|
-
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
100
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
101
|
-
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
102
|
-
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
103
|
-
import "../../../shared-utils/three/THREERaycaster.js";
|
|
104
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
105
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
106
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
107
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
108
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
109
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
110
|
-
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
111
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
112
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
113
|
-
import "../../../Sculpt/typings/style.js";
|
|
114
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
115
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
116
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
117
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
118
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
119
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
120
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
121
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
122
48
|
import "../../../shared-utils/animationFrame/index.js";
|
|
123
49
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
|
124
50
|
import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
@@ -149,40 +75,40 @@ const C = (
|
|
|
149
75
|
}
|
|
150
76
|
`
|
|
151
77
|
);
|
|
152
|
-
class h extends
|
|
153
|
-
constructor(t,
|
|
78
|
+
class h extends m.Mesh {
|
|
79
|
+
constructor(t, i = O) {
|
|
154
80
|
super();
|
|
155
|
-
|
|
81
|
+
u(this, "geometryConfig", {
|
|
156
82
|
radius: 1.5 / 100,
|
|
157
83
|
tubularSegments: 20,
|
|
158
84
|
radialSegments: 8
|
|
159
85
|
});
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
86
|
+
u(this, "customID");
|
|
87
|
+
u(this, "path");
|
|
88
|
+
u(this, "pathLength", 0);
|
|
89
|
+
u(this, "pathPoints");
|
|
90
|
+
u(this, "texture");
|
|
91
|
+
u(this, "opacityAnime");
|
|
166
92
|
/** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
|
|
167
|
-
|
|
168
|
-
t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((
|
|
169
|
-
const { radius:
|
|
93
|
+
u(this, "uPreMeter", 1);
|
|
94
|
+
t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((p) => new m.Vector3().fromArray(p))), this.pathLength = this.path.getLength(), this.texture = h.formatTexture(t.texture);
|
|
95
|
+
const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, n = h.formatTexture(t.texture);
|
|
170
96
|
this.geometry = h.formatGeometryUV(
|
|
171
|
-
new
|
|
97
|
+
new m.TubeBufferGeometry(this.path, o, s, r),
|
|
172
98
|
this.pathLength,
|
|
173
99
|
this.uPreMeter
|
|
174
|
-
), this.material = new
|
|
100
|
+
), this.material = new m.ShaderMaterial({
|
|
175
101
|
uniforms: {
|
|
176
102
|
opacity: { value: 1 },
|
|
177
103
|
uOffset: { value: 0 },
|
|
178
104
|
vOffset: { value: 0 },
|
|
179
105
|
envMap: {
|
|
180
|
-
value:
|
|
106
|
+
value: n
|
|
181
107
|
}
|
|
182
108
|
},
|
|
183
109
|
transparent: !0,
|
|
184
110
|
vertexShader: C,
|
|
185
|
-
fragmentShader:
|
|
111
|
+
fragmentShader: i
|
|
186
112
|
});
|
|
187
113
|
}
|
|
188
114
|
/** 根据控制点数量计算管道路径
|
|
@@ -190,13 +116,13 @@ class h extends u.Mesh {
|
|
|
190
116
|
* @description 两个控制点使用直线路径,多个控制点使用贝塞尔路径
|
|
191
117
|
*/
|
|
192
118
|
static calculatePath(t) {
|
|
193
|
-
return t.length === 2 ? new
|
|
119
|
+
return t.length === 2 ? new m.LineCurve3(t[0], t[1]) : new x(t);
|
|
194
120
|
}
|
|
195
|
-
static formatGeometryUV(t,
|
|
196
|
-
const
|
|
197
|
-
for (let
|
|
198
|
-
const
|
|
199
|
-
|
|
121
|
+
static formatGeometryUV(t, i, s) {
|
|
122
|
+
const o = t.getAttribute("uv");
|
|
123
|
+
for (let r = 0; r < o.count; r++) {
|
|
124
|
+
const n = o.getX(r) * i * s;
|
|
125
|
+
o.setX(r, n);
|
|
200
126
|
}
|
|
201
127
|
return t;
|
|
202
128
|
}
|
|
@@ -204,34 +130,34 @@ class h extends u.Mesh {
|
|
|
204
130
|
* 管道的 Texture 需要满足一定的要求,需要使用 formatTexture 先 format
|
|
205
131
|
*/
|
|
206
132
|
static formatTexture(t) {
|
|
207
|
-
return t.wrapS =
|
|
133
|
+
return t.wrapS = m.RepeatWrapping, t.wrapT = m.RepeatWrapping, t;
|
|
208
134
|
}
|
|
209
135
|
hide(t) {
|
|
210
136
|
return l(this, null, function* () {
|
|
211
|
-
var
|
|
212
|
-
(
|
|
213
|
-
const
|
|
137
|
+
var o;
|
|
138
|
+
(o = this.opacityAnime) == null || o.dispose();
|
|
139
|
+
const i = 0;
|
|
214
140
|
if (typeof (t == null ? void 0 : t.duration) != "number")
|
|
215
|
-
return this.setOpacity(
|
|
216
|
-
const
|
|
217
|
-
return
|
|
218
|
-
this.opacityAnime = new g({ progress:
|
|
219
|
-
this.setOpacity(
|
|
141
|
+
return this.setOpacity(i);
|
|
142
|
+
const s = this.material.uniforms.opacity.value;
|
|
143
|
+
return s === i ? !0 : new Promise((r) => {
|
|
144
|
+
this.opacityAnime = new g({ progress: s }).to({ progress: i }).onUpdate(({ progress: n }) => this.setOpacity(n)).onComplete(() => r(!0)).onDispose(() => {
|
|
145
|
+
this.setOpacity(i), r(!1);
|
|
220
146
|
}).play();
|
|
221
147
|
});
|
|
222
148
|
});
|
|
223
149
|
}
|
|
224
150
|
show(t) {
|
|
225
151
|
return l(this, null, function* () {
|
|
226
|
-
var
|
|
227
|
-
(
|
|
228
|
-
const
|
|
152
|
+
var o;
|
|
153
|
+
(o = this.opacityAnime) == null || o.dispose();
|
|
154
|
+
const i = 1;
|
|
229
155
|
if (typeof (t == null ? void 0 : t.duration) != "number")
|
|
230
|
-
return this.setOpacity(
|
|
231
|
-
const
|
|
232
|
-
return new Promise((
|
|
233
|
-
this.opacityAnime = new g({ progress:
|
|
234
|
-
this.setOpacity(
|
|
156
|
+
return this.setOpacity(i);
|
|
157
|
+
const s = this.material.uniforms.opacity.value;
|
|
158
|
+
return new Promise((r) => {
|
|
159
|
+
this.opacityAnime = new g({ progress: s }).to({ progress: i }).onUpdate(({ progress: n }) => this.setOpacity(n)).onComplete(() => r(!0)).onDispose(() => {
|
|
160
|
+
this.setOpacity(i), r(!1);
|
|
235
161
|
}).play();
|
|
236
162
|
});
|
|
237
163
|
});
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var s = (e, i, t) => (
|
|
4
|
-
import { IObject3D as
|
|
2
|
+
var d = (e, i, t) => i in e ? p(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
|
|
3
|
+
var s = (e, i, t) => (d(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
|
+
import { IObject3D as m } from "../../shared-utils/three/IObject3D.js";
|
|
5
5
|
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "hammerjs";
|
|
8
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
9
|
import "@realsee/five/line";
|
|
10
10
|
import "../../shared-utils/tag.js";
|
|
11
|
-
import "../utils/Modules/Global.js";
|
|
12
11
|
import "../../shared-utils/three/THREESphere.js";
|
|
13
12
|
import "animejs";
|
|
14
13
|
import { notNil as r } from "../../shared-utils/isNil.js";
|
|
15
14
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
15
|
import { RectangleWithEdgeMesh as c } from "./RectangleWithEdge.js";
|
|
17
16
|
import { RectangleMesh as a } from "./Rectangle.js";
|
|
18
|
-
class
|
|
17
|
+
class H extends m {
|
|
19
18
|
constructor(t) {
|
|
20
19
|
super();
|
|
21
20
|
s(this, "name", "BoxMesh");
|
|
@@ -92,5 +91,5 @@ class N extends d {
|
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
export {
|
|
95
|
-
|
|
94
|
+
H as BoxMesh
|
|
96
95
|
};
|
|
@@ -18,7 +18,6 @@ import { DEFAULT_HIGHLIGHT_OPACITY as M } from "../typings/style.js";
|
|
|
18
18
|
import "@realsee/five/line";
|
|
19
19
|
import { anyPositionToVector3 as d } from "../../shared-utils/positionToVector3.js";
|
|
20
20
|
import "../../shared-utils/tag.js";
|
|
21
|
-
import "../utils/Modules/Global.js";
|
|
22
21
|
import "../../shared-utils/three/THREESphere.js";
|
|
23
22
|
import "animejs";
|
|
24
23
|
import { notNil as g } from "../../shared-utils/isNil.js";
|
|
@@ -26,7 +25,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
26
25
|
import { CircleWithEdgeMesh as m } from "./CircleWithEdge.js";
|
|
27
26
|
import { radiusToSegments as y } from "../utils/radiusToSegments.js";
|
|
28
27
|
import { ColoredMesh as a } from "../utils/three/ColoredMesh.js";
|
|
29
|
-
class
|
|
28
|
+
class A extends f {
|
|
30
29
|
constructor(t) {
|
|
31
30
|
super();
|
|
32
31
|
o(this, "bottomCircle");
|
|
@@ -87,5 +86,5 @@ class D extends f {
|
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
A as CylinderMesh
|
|
91
90
|
};
|
|
@@ -39,6 +39,7 @@ export declare class LineMesh extends IObject3D {
|
|
|
39
39
|
get occlusionVisibility(): boolean;
|
|
40
40
|
get occlusionMode(): "translucence" | "depthTest";
|
|
41
41
|
protected highlighted: boolean;
|
|
42
|
+
private get five();
|
|
42
43
|
private line;
|
|
43
44
|
private backLine;
|
|
44
45
|
private opacityBeforeHighlight;
|