@realsee/dnalogel 3.49.0 → 3.49.2
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 +9 -1
- package/dist/Sculpt/Meshes/Line.d.ts +2 -1
- package/dist/index.cjs.js +3008 -87
- package/dist/index.js +39458 -20049
- package/dist/index.umd.js +3001 -80
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/libs/AreaMakerPlugin/Controller.js +7 -4
- package/libs/AreaMakerPlugin/index.js +7 -4
- package/libs/AreaMakerPlugin/utils/Item.js +7 -4
- package/libs/CSS3DRenderPlugin/Controller.js +12 -9
- package/libs/CSS3DRenderPlugin/index.js +9 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +21 -18
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +6 -3
- package/libs/CruisePlugin/BaseController.js +12 -9
- package/libs/CruisePlugin/Move.js +7 -4
- package/libs/CruisePlugin/Work.js +7 -4
- package/libs/CruisePlugin/index.js +11 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +6 -3
- package/libs/CurrentPanoImagePlugin/index.js +7 -4
- package/libs/GuideLinePlugin/Controller.js +9 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -4
- package/libs/GuideLinePlugin/index.js +11 -8
- package/libs/ModelMakerPlugin/Controller.js +7 -4
- package/libs/ModelMakerPlugin/index.js +7 -4
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +2 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -2
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +1 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +7 -4
- package/libs/ModelTVVideoPlugin/index.js +6 -3
- package/libs/Object3DHelperPlugin/Controller.js +6 -3
- package/libs/Object3DHelperPlugin/index.js +9 -6
- package/libs/PanoCompassPlugin/Controller.js +6 -3
- package/libs/PanoCompassPlugin/index.js +7 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +16 -13
- package/libs/PanoDoorLabelPlugin/Controller.js +58 -55
- package/libs/PanoDoorLabelPlugin/index.js +7 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +6 -3
- package/libs/PanoMeasurePlugin/Model/area.js +6 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +6 -3
- package/libs/PanoMeasurePlugin/index.js +17 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +16 -13
- package/libs/PanoSpatialTagPlugin/Plugin.js +7 -4
- package/libs/PanoSpatialTagPlugin/index.js +4 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +6 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +6 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +6 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +6 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +11 -5
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +14 -11
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +12 -9
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +10 -7
- package/libs/PanoTagPlugin/controller/TagRender.js +7 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +7 -4
- package/libs/PanoTagPlugin/controller/index.js +10 -7
- package/libs/PanoTagPlugin/index.js +16 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +25 -22
- package/libs/PanoVideoPlugin/Controller.js +9 -6
- package/libs/PanoVideoPlugin/VideoMeshController.js +6 -3
- package/libs/PanoVideoPlugin/index.js +9 -6
- package/libs/PipelinePlugin/Controller.js +13 -10
- package/libs/PipelinePlugin/index.js +7 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +6 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -13
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +20 -17
- package/libs/Sculpt/Meshes/Box.js +7 -6
- package/libs/Sculpt/Meshes/Cylinder.js +4 -3
- package/libs/Sculpt/Meshes/Line.d.ts +2 -1
- package/libs/Sculpt/Meshes/Line.js +11 -10
- package/libs/Sculpt/Meshes/LineWithDots.js +1 -1
- package/libs/Sculpt/Meshes/Point.js +11 -10
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +31 -31
- package/libs/Sculpt/Meshes/Prism.js +2 -2
- package/libs/Sculpt/Meshes/Rectangle.js +5 -4
- package/libs/Sculpt/Objects/Line/Editor.js +4 -3
- package/libs/Sculpt/index.js +4 -3
- package/libs/Sculpt/utils/three/ColoredMesh.js +5 -4
- package/libs/base/BasePlugin.js +5 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +6 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +6 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/index.js +2 -1
- package/libs/index.js +131 -128
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +1 -1
- package/libs/shared-utils/five/FiveLine.js +6 -18
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +18 -17
- package/libs/shared-utils/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +5 -5
- package/libs/shared-utils/three/PointSelector/index.js +24 -22
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
- package/libs/shared-utils/three/boundingBox.js +1 -1
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/libs/shared-utils/three/index.js +2 -1
- package/libs/vendor/three/build/three.module.js +19336 -0
- package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +28 -0
- package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +69 -0
- package/package.json +1 -1
- /package/dist/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
- /package/dist/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
- /package/dist/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
- /package/libs/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
- /package/libs/shared-utils/three/{objects → core}/LineSegments.js +0 -0
- /package/libs/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
- /package/libs/shared-utils/three/{THREERaycaster.js → core/Raycaster.js} +0 -0
- /package/libs/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
- /package/libs/shared-utils/three/{THREESphere.js → core/Sphere.js} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LineSegmentsGeometry as n } from "./LineSegmentsGeometry.js";
|
|
2
|
+
var r = function() {
|
|
3
|
+
n.call(this), this.type = "LineGeometry";
|
|
4
|
+
};
|
|
5
|
+
r.prototype = Object.assign(Object.create(n.prototype), {
|
|
6
|
+
constructor: r,
|
|
7
|
+
isLineGeometry: !0,
|
|
8
|
+
setPositions: function(e) {
|
|
9
|
+
for (var s = e.length - 3, o = new Float32Array(2 * s), t = 0; t < s; t += 3)
|
|
10
|
+
o[2 * t] = e[t], o[2 * t + 1] = e[t + 1], o[2 * t + 2] = e[t + 2], o[2 * t + 3] = e[t + 3], o[2 * t + 4] = e[t + 4], o[2 * t + 5] = e[t + 5];
|
|
11
|
+
return n.prototype.setPositions.call(this, o), this;
|
|
12
|
+
},
|
|
13
|
+
setColors: function(e) {
|
|
14
|
+
for (var s = e.length - 3, o = new Float32Array(2 * s), t = 0; t < s; t += 3)
|
|
15
|
+
o[2 * t] = e[t], o[2 * t + 1] = e[t + 1], o[2 * t + 2] = e[t + 2], o[2 * t + 3] = e[t + 3], o[2 * t + 4] = e[t + 4], o[2 * t + 5] = e[t + 5];
|
|
16
|
+
return n.prototype.setColors.call(this, o), this;
|
|
17
|
+
},
|
|
18
|
+
fromLine: function(e) {
|
|
19
|
+
var s = e.geometry;
|
|
20
|
+
return s.isGeometry ? this.setPositions(s.vertices) : s.isBufferGeometry && this.setPositions(s.attributes.position.array), this;
|
|
21
|
+
},
|
|
22
|
+
copy: function() {
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
r as LineGeometry
|
|
28
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { InstancedBufferGeometry as c, InstancedInterleavedBuffer as a, InterleavedBufferAttribute as s, WireframeGeometry as m, Box3 as f, Sphere as l, Float32BufferAttribute as h, Vector3 as b } from "../../../build/three.module.js";
|
|
2
|
+
var d = function() {
|
|
3
|
+
c.call(this), this.type = "LineSegmentsGeometry";
|
|
4
|
+
var t = [-1, 2, 0, 1, 2, 0, -1, 1, 0, 1, 1, 0, -1, 0, 0, 1, 0, 0, -1, -1, 0, 1, -1, 0], e = [-1, 2, 1, 2, -1, 1, 1, 1, -1, -1, 1, -1, -1, -2, 1, -2], n = [0, 2, 1, 2, 3, 1, 2, 4, 3, 4, 5, 3, 4, 6, 5, 6, 7, 5];
|
|
5
|
+
this.setIndex(n), this.setAttribute("position", new h(t, 3)), this.setAttribute("uv", new h(e, 2));
|
|
6
|
+
};
|
|
7
|
+
d.prototype = Object.assign(Object.create(c.prototype), {
|
|
8
|
+
constructor: d,
|
|
9
|
+
isLineSegmentsGeometry: !0,
|
|
10
|
+
applyMatrix4: function(t) {
|
|
11
|
+
var e = this.attributes.instanceStart, n = this.attributes.instanceEnd;
|
|
12
|
+
return e !== void 0 && (e.applyMatrix4(t), n.applyMatrix4(t), e.data.needsUpdate = !0), this.boundingBox !== null && this.computeBoundingBox(), this.boundingSphere !== null && this.computeBoundingSphere(), this;
|
|
13
|
+
},
|
|
14
|
+
setPositions: function(t) {
|
|
15
|
+
var e;
|
|
16
|
+
t instanceof Float32Array ? e = t : Array.isArray(t) && (e = new Float32Array(t));
|
|
17
|
+
var n = new a(e, 6, 1);
|
|
18
|
+
return this.setAttribute("instanceStart", new s(n, 3, 0)), this.setAttribute("instanceEnd", new s(n, 3, 3)), this.computeBoundingBox(), this.computeBoundingSphere(), this;
|
|
19
|
+
},
|
|
20
|
+
setColors: function(t) {
|
|
21
|
+
var e;
|
|
22
|
+
t instanceof Float32Array ? e = t : Array.isArray(t) && (e = new Float32Array(t));
|
|
23
|
+
var n = new a(e, 6, 1);
|
|
24
|
+
return this.setAttribute("instanceColorStart", new s(n, 3, 0)), this.setAttribute("instanceColorEnd", new s(n, 3, 3)), this;
|
|
25
|
+
},
|
|
26
|
+
fromWireframeGeometry: function(t) {
|
|
27
|
+
return this.setPositions(t.attributes.position.array), this;
|
|
28
|
+
},
|
|
29
|
+
fromEdgesGeometry: function(t) {
|
|
30
|
+
return this.setPositions(t.attributes.position.array), this;
|
|
31
|
+
},
|
|
32
|
+
fromMesh: function(t) {
|
|
33
|
+
return this.fromWireframeGeometry(new m(t.geometry)), this;
|
|
34
|
+
},
|
|
35
|
+
fromLineSegments: function(t) {
|
|
36
|
+
var e = t.geometry;
|
|
37
|
+
return e.isGeometry ? this.setPositions(e.vertices) : e.isBufferGeometry && this.setPositions(e.attributes.position.array), this;
|
|
38
|
+
},
|
|
39
|
+
computeBoundingBox: function() {
|
|
40
|
+
var t = new f();
|
|
41
|
+
return function() {
|
|
42
|
+
this.boundingBox === null && (this.boundingBox = new f());
|
|
43
|
+
var n = this.attributes.instanceStart, i = this.attributes.instanceEnd;
|
|
44
|
+
n !== void 0 && i !== void 0 && (this.boundingBox.setFromBufferAttribute(n), t.setFromBufferAttribute(i), this.boundingBox.union(t));
|
|
45
|
+
};
|
|
46
|
+
}(),
|
|
47
|
+
computeBoundingSphere: function() {
|
|
48
|
+
var t = new b();
|
|
49
|
+
return function() {
|
|
50
|
+
this.boundingSphere === null && (this.boundingSphere = new l()), this.boundingBox === null && this.computeBoundingBox();
|
|
51
|
+
var n = this.attributes.instanceStart, i = this.attributes.instanceEnd;
|
|
52
|
+
if (n !== void 0 && i !== void 0) {
|
|
53
|
+
var u = this.boundingSphere.center;
|
|
54
|
+
this.boundingBox.getCenter(u);
|
|
55
|
+
for (var r = 0, o = 0, p = n.count; o < p; o++)
|
|
56
|
+
t.fromBufferAttribute(n, o), r = Math.max(r, u.distanceToSquared(t)), t.fromBufferAttribute(i, o), r = Math.max(r, u.distanceToSquared(t));
|
|
57
|
+
this.boundingSphere.radius = Math.sqrt(r), isNaN(this.boundingSphere.radius) && console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.", this);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}(),
|
|
61
|
+
toJSON: function() {
|
|
62
|
+
},
|
|
63
|
+
applyMatrix: function(t) {
|
|
64
|
+
return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."), this.applyMatrix4(t);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
export {
|
|
68
|
+
d as LineSegmentsGeometry
|
|
69
|
+
};
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|