@realsee/dnalogel 3.47.4 → 3.47.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/dist/index.cjs.js +62 -40
- package/dist/index.js +2453 -2428
- package/dist/index.umd.js +65 -43
- package/dist/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/dist/shared-utils/tag.d.ts +4 -4
- package/dist/shared-utils/three/index.d.ts +0 -2
- package/dist/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +16 -14
- package/libs/AreaMakerPlugin/index.js +18 -16
- package/libs/AreaMakerPlugin/utils/Item.js +55 -53
- package/libs/CSS3DRenderPlugin/Controller.js +14 -12
- package/libs/CSS3DRenderPlugin/index.js +21 -19
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +15 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -14
- package/libs/CruisePlugin/BaseController.js +29 -27
- package/libs/CruisePlugin/Move.js +21 -19
- package/libs/CruisePlugin/Work.js +16 -14
- package/libs/CruisePlugin/index.js +22 -20
- package/libs/CurrentPanoImagePlugin/Controller.js +25 -23
- package/libs/CurrentPanoImagePlugin/index.js +19 -17
- package/libs/GuideLinePlugin/Controller.js +18 -16
- package/libs/GuideLinePlugin/GuideLineItem.js +18 -16
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +18 -16
- package/libs/GuideLinePlugin/index.js +22 -20
- package/libs/ModelMakerPlugin/Controller.js +22 -20
- package/libs/ModelMakerPlugin/index.js +18 -16
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -13
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -5
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +17 -15
- package/libs/ModelTVVideoPlugin/index.js +16 -14
- package/libs/Object3DHelperPlugin/Controller.js +17 -15
- package/libs/Object3DHelperPlugin/index.js +21 -19
- package/libs/PanoCompassPlugin/Controller.js +18 -16
- package/libs/PanoCompassPlugin/index.js +19 -17
- package/libs/PanoDoorLabelPlugin/BaseController.js +18 -16
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -36
- package/libs/PanoDoorLabelPlugin/index.js +19 -17
- package/libs/PanoMeasurePlugin/Components/Controller0.js +15 -13
- package/libs/PanoMeasurePlugin/Components/Controller1.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/EditController.js +14 -12
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/index.js +13 -11
- package/libs/PanoMeasurePlugin/Model/area.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -13
- package/libs/PanoMeasurePlugin/index.js +24 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +15 -13
- package/libs/PanoSpatialTagPlugin/Plugin.js +17 -15
- package/libs/PanoSpatialTagPlugin/index.js +14 -12
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +17 -15
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +16 -14
- package/libs/PanoTagPlugin/Components/Tag/index.js +16 -14
- package/libs/PanoTagPlugin/Components/TagContainer.js +16 -14
- package/libs/PanoTagPlugin/Components/TagItem.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +60 -60
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -16
- package/libs/PanoTagPlugin/controller/TagRender.js +15 -13
- package/libs/PanoTagPlugin/controller/TagUtil.js +16 -14
- package/libs/PanoTagPlugin/controller/index.js +18 -16
- package/libs/PanoTagPlugin/index.js +24 -22
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -15
- package/libs/PanoVideoPlugin/Controller.js +18 -16
- package/libs/PanoVideoPlugin/VideoMeshController.js +18 -16
- package/libs/PanoVideoPlugin/index.js +21 -19
- package/libs/PipelinePlugin/Controller.js +17 -15
- package/libs/PipelinePlugin/index.js +19 -17
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +35 -33
- package/libs/Sculpt/Meshes/Box.js +6 -7
- package/libs/Sculpt/Meshes/Cylinder.js +15 -16
- package/libs/Sculpt/Meshes/Line.js +28 -28
- package/libs/Sculpt/Meshes/Point.js +6 -7
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +5 -6
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +15 -16
- package/libs/Sculpt/Objects/Line/index.js +35 -35
- package/libs/Sculpt/Objects/Polygon/index.js +55 -61
- package/libs/Sculpt/Objects/Polyline/index.js +45 -45
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +34 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +14 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +18 -16
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +19 -17
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/index.js +1 -2
- package/libs/index.js +15 -15
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +7 -7
- package/libs/shared-utils/five/index.js +3 -4
- package/libs/shared-utils/five/lookObject.js +3 -4
- package/libs/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/libs/shared-utils/five/vector3ToScreen.js +9 -4
- package/libs/shared-utils/index.js +45 -49
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +60 -46
- package/libs/shared-utils/three/index.d.ts +0 -2
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/shared-utils/three/raycaster.js +6 -0
- package/package.json +1 -1
- package/dist/shared-utils/three/getIntersect.d.ts +0 -21
- package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getIntersect.d.ts +0 -21
- package/libs/shared-utils/three/getIntersect.js +0 -24
- package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getRaycaster.js +0 -12
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import type { Five } from '@realsee/five';
|
|
3
|
-
export declare function getIntersectFromRelativePosition(five: Five, position: {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
}): {
|
|
7
|
-
raycaster: THREE.Raycaster;
|
|
8
|
-
isVirtual: boolean;
|
|
9
|
-
floor: number;
|
|
10
|
-
model?: import("@realsee/five").Model;
|
|
11
|
-
viewLayer?: import("@realsee/five").ModelViewLayer;
|
|
12
|
-
distance: number;
|
|
13
|
-
distanceToRay?: number;
|
|
14
|
-
point: THREE.Vector3;
|
|
15
|
-
index?: number;
|
|
16
|
-
face?: THREE.Face3;
|
|
17
|
-
faceIndex?: number;
|
|
18
|
-
object: THREE.Object3D;
|
|
19
|
-
uv?: THREE.Vector2;
|
|
20
|
-
instanceId?: number;
|
|
21
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
var p = Object.defineProperty, R = Object.defineProperties;
|
|
2
|
-
var u = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var c = Object.getOwnPropertySymbols;
|
|
4
|
-
var x = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var n = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, a = (e, t) => {
|
|
6
|
-
for (var s in t || (t = {}))
|
|
7
|
-
x.call(t, s) && n(e, s, t[s]);
|
|
8
|
-
if (c)
|
|
9
|
-
for (var s of c(t))
|
|
10
|
-
F.call(t, s) && n(e, s, t[s]);
|
|
11
|
-
return e;
|
|
12
|
-
}, i = (e, t) => R(e, u(t));
|
|
13
|
-
import * as d from "three";
|
|
14
|
-
import { getFiveModel as g } from "../five/getFiveModel.js";
|
|
15
|
-
function C(e, t) {
|
|
16
|
-
const s = g(e), { x: m, y: l } = t, f = m * 2 - 1, y = l * 2 - 1, r = new d.Raycaster();
|
|
17
|
-
r.setFromCamera({ x: f, y }, e.camera);
|
|
18
|
-
const o = s.intersectRaycaster(r)[0];
|
|
19
|
-
if (o)
|
|
20
|
-
return i(a({}, o), { raycaster: r, isVirtual: !1 });
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
C as getIntersectFromRelativePosition
|
|
24
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as n from "three";
|
|
2
|
-
import { getCoordsFromElement as a } from "./getCoords.js";
|
|
3
|
-
function c(e, o) {
|
|
4
|
-
const r = e.getElement();
|
|
5
|
-
if (!r)
|
|
6
|
-
return;
|
|
7
|
-
const m = a(o, r), t = new n.Raycaster();
|
|
8
|
-
return t.setFromCamera(m, e.camera), t;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
c as getRaycasterFromFivePointer
|
|
12
|
-
};
|