@realsee/dnalogel 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +94 -0
- package/TERMS.txt +56 -0
- package/components/ARVideoFigure/ARVideoFigureMesh.d.ts +44 -0
- package/components/ARVideoFigure/ARVideoFigureMesh.js +347 -0
- package/components/ARVideoFigure/ARVideoFigureScene.d.ts +11 -0
- package/components/ARVideoFigure/ARVideoFigureScene.js +74 -0
- package/components/ARVideoFigure/ImgBgTransparent.d.ts +16 -0
- package/components/ARVideoFigure/ImgBgTransparent.js +49 -0
- package/components/ARVideoFigure/ImgBgTransparentMesh.d.ts +30 -0
- package/components/ARVideoFigure/ImgBgTransparentMesh.js +173 -0
- package/components/ARVideoFigure/fragmentShader.d.ts +5 -0
- package/components/ARVideoFigure/fragmentShader.js +16 -0
- package/components/ARVideoFigure/index.d.ts +15 -0
- package/components/ARVideoFigure/index.js +64 -0
- package/components/ARVideoFigure/vertexShader.d.ts +1 -0
- package/components/ARVideoFigure/vertexShader.js +8 -0
- package/components/GlassFilters/index.d.ts +32 -0
- package/components/GlassFilters/index.js +54 -0
- package/components/ModelView/ModelViewController.d.ts +18 -0
- package/components/ModelView/ModelViewController.js +147 -0
- package/components/ModelView/index.d.ts +10 -0
- package/components/ModelView/index.js +22 -0
- package/components/PBRView/index.d.ts +14 -0
- package/components/PBRView/index.js +31 -0
- package/components/PaintBrush/index.d.ts +16 -0
- package/components/PaintBrush/index.js +33 -0
- package/components/PanoTag/index.d.ts +4 -0
- package/components/PanoTag/index.js +11 -0
- package/custom.d.js +3 -0
- package/data/1aGKl9JmrlXMXx8d.d.ts +104 -0
- package/data/1aGKl9JmrlXMXx8d.js +535 -0
- package/data/6gyq3v1verxD7JO1.d.ts +104 -0
- package/data/6gyq3v1verxD7JO1.js +460 -0
- package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.d.ts +84 -0
- package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.js +598 -0
- package/data/PrXel3aqGbp34JQn.d.ts +389 -0
- package/data/PrXel3aqGbp34JQn.js +4639 -0
- package/data/YdoNP9K4rwQDwjJr.d.ts +83 -0
- package/data/YdoNP9K4rwQDwjJr.js +1451 -0
- package/data/auto3d-njL5J99VwCmnjtQElOmXQr.d.ts +86 -0
- package/data/auto3d-njL5J99VwCmnjtQElOmXQr.js +709 -0
- package/data/oPzy3ApbjjpD8YdR.d.ts +83 -0
- package/data/oPzy3ApbjjpD8YdR.js +281 -0
- package/data/qjAxMG4XbPn96wKG.d.ts +104 -0
- package/data/qjAxMG4XbPn96wKG.js +635 -0
- package/data/rXel3aPQRRBD4JQn.d.ts +86 -0
- package/data/rXel3aPQRRBD4JQn.js +620 -0
- package/data/vLykj3NWrllMrG06.d.ts +89 -0
- package/data/vLykj3NWrllMrG06.js +2532 -0
- package/data/wYnRjQ4KZoV1yPoG.d.ts +114 -0
- package/data/wYnRjQ4KZoV1yPoG.js +512 -0
- package/data/wz0QV9KA4ugyo9ME.d.ts +39 -0
- package/data/wz0QV9KA4ugyo9ME.js +134 -0
- package/examples/FiveStateController/index.js +140 -0
- package/examples/VRHouse/Mobile.js +22 -0
- package/examples/VRHouse/PC.js +22 -0
- package/examples/VRHouse/index.js +22 -0
- package/index.d.ts +15 -0
- package/index.js +43 -0
- package/package.json +19 -0
- package/plugins/CSS3DRenderPlugin/components/Marker/index.d.ts +12 -0
- package/plugins/CSS3DRenderPlugin/components/Marker/index.js +113 -0
- package/plugins/CSS3DRenderPlugin/index.d.ts +49 -0
- package/plugins/CSS3DRenderPlugin/index.js +220 -0
- package/plugins/CameraMovementPlugin/index.d.ts +7 -0
- package/plugins/CameraMovementPlugin/index.js +338 -0
- package/plugins/CameraMovementPlugin/typing.d.ts +68 -0
- package/plugins/CameraMovementPlugin/typing.js +35 -0
- package/plugins/ModelChassisCompassPlugin/index.d.ts +15 -0
- package/plugins/ModelChassisCompassPlugin/index.js +156 -0
- package/plugins/ModelEntryDoorGuidePlugin/index.d.ts +10 -0
- package/plugins/ModelEntryDoorGuidePlugin/index.js +16 -0
- package/plugins/ModelTVVideoPlugin/index.d.ts +21 -0
- package/plugins/ModelTVVideoPlugin/index.js +313 -0
- package/plugins/ModelViewPlugin/index.d.ts +17 -0
- package/plugins/ModelViewPlugin/index.js +199 -0
- package/plugins/PanoCursorRaycasterPlugin/PanoCursorRaycasterPluginUsage.d.ts +48 -0
- package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.d.ts +9 -0
- package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.js +113 -0
- package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.d.ts +11 -0
- package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.js +25 -0
- package/plugins/PanoCursorRaycasterPlugin/index.d.ts +49 -0
- package/plugins/PanoCursorRaycasterPlugin/index.js +119 -0
- package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.d.ts +5 -0
- package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.js +25 -0
- package/plugins/PanoCursorRaycasterPlugin/utils/createLine.d.ts +3 -0
- package/plugins/PanoCursorRaycasterPlugin/utils/createLine.js +34 -0
- package/plugins/PanoCursorRaycasterPlugin/utils/vecror3.d.ts +7 -0
- package/plugins/PanoCursorRaycasterPlugin/utils/vecror3.js +18 -0
- package/plugins/PanoDoorLabelPlugin/index.d.ts +4 -0
- package/plugins/PanoDoorLabelPlugin/index.js +12 -0
- package/plugins/PanoIRobotPlugin/index.d.ts +10 -0
- package/plugins/PanoIRobotPlugin/index.js +16 -0
- package/plugins/PanoRulerPlugin/data/roomInfo.d.ts +3 -0
- package/plugins/PanoRulerPlugin/data/roomInfo.js +49 -0
- package/plugins/PanoRulerPlugin/data/roomRules.d.ts +3 -0
- package/plugins/PanoRulerPlugin/data/roomRules.js +233 -0
- package/plugins/PanoRulerPlugin/index.d.ts +27 -0
- package/plugins/PanoRulerPlugin/index.js +589 -0
- package/plugins/PanoRulerPlugin/typings.d.ts +21 -0
- package/plugins/PanoRulerPlugin/typings.js +5 -0
- package/plugins/PanoTVVideoPlugin/index.d.ts +24 -0
- package/plugins/PanoTVVideoPlugin/index.js +351 -0
- package/plugins/TreasurePlugin/Controller.d.ts +32 -0
- package/plugins/TreasurePlugin/Controller.js +175 -0
- package/plugins/TreasurePlugin/TreasureFaceAnime.d.ts +23 -0
- package/plugins/TreasurePlugin/TreasureFaceAnime.js +128 -0
- package/plugins/TreasurePlugin/TreasureObject.d.ts +35 -0
- package/plugins/TreasurePlugin/TreasureObject.js +186 -0
- package/plugins/TreasurePlugin/TreasureOpenAnime.d.ts +23 -0
- package/plugins/TreasurePlugin/TreasureOpenAnime.js +103 -0
- package/plugins/TreasurePlugin/constants.d.ts +12 -0
- package/plugins/TreasurePlugin/constants.js +30 -0
- package/plugins/TreasurePlugin/index.d.ts +11 -0
- package/plugins/TreasurePlugin/index.js +16 -0
- package/plugins/TreasurePlugin/treasureDataMap.d.ts +7 -0
- package/plugins/TreasurePlugin/treasureDataMap.js +20 -0
- package/plugins/TreasurePlugin/typings.d.ts +2 -0
- package/plugins/TreasurePlugin/typings.js +5 -0
- package/plugins/TreasurePlugin/utils/loadTreasureTextures.d.ts +7 -0
- package/plugins/TreasurePlugin/utils/loadTreasureTextures.js +115 -0
- package/plugins/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
- package/plugins/floorplan/Assets/floorplanExtraObject.js +8 -0
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.d.ts +100 -0
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +643 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.d.ts +13 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +58 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.d.ts +5 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +69 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.d.ts +10 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.js +105 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.d.ts +13 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +95 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +13 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +48 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +20 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +66 -0
- package/plugins/floorplan/ModelFloorplanPlugin/controller.style.d.ts +1 -0
- package/plugins/floorplan/ModelFloorplanPlugin/controller.style.js +14 -0
- package/plugins/floorplan/ModelFloorplanPlugin/index.d.ts +9 -0
- package/plugins/floorplan/ModelFloorplanPlugin/index.js +18 -0
- package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.d.ts +23 -0
- package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.js +5 -0
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +15 -0
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +31 -0
- package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.d.ts +14 -0
- package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +162 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.d.ts +13 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.js +91 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.d.ts +3 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +35 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.d.ts +5 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +50 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.d.ts +9 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.js +102 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.d.ts +11 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.js +42 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.d.ts +17 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.js +75 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.d.ts +2 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.js +13 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +33 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.js +214 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/index.d.ts +8 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/index.js +18 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.d.ts +55 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +267 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/index.d.ts +5 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/index.js +16 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/style.js +14 -0
- package/plugins/floorplan/components/FloorplanImage.d.ts +7 -0
- package/plugins/floorplan/components/FloorplanImage.js +76 -0
- package/plugins/floorplan/typings/floorplanData.d.ts +127 -0
- package/plugins/floorplan/typings/floorplanData.js +5 -0
- package/plugins/floorplan/typings/floorplanServerData.d.ts +125 -0
- package/plugins/floorplan/typings/floorplanServerData.js +380 -0
- package/plugins/floorplan/utils/formatData.d.ts +5 -0
- package/plugins/floorplan/utils/formatData.js +220 -0
- package/plugins/floorplan/utils/formatPosition.d.ts +37 -0
- package/plugins/floorplan/utils/formatPosition.js +87 -0
- package/shared-utils/Preloader.d.ts +6 -0
- package/shared-utils/Preloader.js +51 -0
- package/shared-utils/Subscribe.d.ts +45 -0
- package/shared-utils/Subscribe.js +210 -0
- package/shared-utils/animationFrame/BetterTween.d.ts +11 -0
- package/shared-utils/animationFrame/BetterTween.js +102 -0
- package/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
- package/shared-utils/animationFrame/calculateProgress.js +38 -0
- package/shared-utils/animationFrame/formatRad.d.ts +15 -0
- package/shared-utils/animationFrame/formatRad.js +34 -0
- package/shared-utils/animationFrame/index.d.ts +15 -0
- package/shared-utils/animationFrame/index.js +69 -0
- package/shared-utils/animationFrame/tween.d.ts +75 -0
- package/shared-utils/animationFrame/tween.js +76 -0
- package/shared-utils/changeModelCanvansOpacity.d.ts +2 -0
- package/shared-utils/changeModelCanvansOpacity.js +24 -0
- package/shared-utils/createFiveContainer.d.ts +10 -0
- package/shared-utils/createFiveContainer.js +165 -0
- package/shared-utils/createLine/index.d.ts +3 -0
- package/shared-utils/createLine/index.js +29 -0
- package/shared-utils/debounce.d.ts +6 -0
- package/shared-utils/debounce.js +26 -0
- package/shared-utils/equal.d.ts +11 -0
- package/shared-utils/equal.js +96 -0
- package/shared-utils/filter.d.ts +27 -0
- package/shared-utils/filter.js +93 -0
- package/shared-utils/five/changeMode.d.ts +2 -0
- package/shared-utils/five/changeMode.js +86 -0
- package/shared-utils/five/useFivePlugin.d.ts +1 -0
- package/shared-utils/five/useFivePlugin.js +15 -0
- package/shared-utils/formatRad.d.ts +7 -0
- package/shared-utils/formatRad.js +16 -0
- package/shared-utils/getPxmm.d.ts +6 -0
- package/shared-utils/getPxmm.js +37 -0
- package/shared-utils/getRandomColor.d.ts +1 -0
- package/shared-utils/getRandomColor.js +13 -0
- package/shared-utils/isTruelyObject.d.ts +18 -0
- package/shared-utils/isTruelyObject.js +27 -0
- package/shared-utils/math/evenNumber.d.ts +1 -0
- package/shared-utils/math/evenNumber.js +11 -0
- package/shared-utils/math/planimetry.d.ts +116 -0
- package/shared-utils/math/planimetry.js +342 -0
- package/shared-utils/math/rad2Deg.d.ts +1 -0
- package/shared-utils/math/rad2Deg.js +10 -0
- package/shared-utils/nearlyEqual.d.ts +7 -0
- package/shared-utils/nearlyEqual.js +17 -0
- package/shared-utils/nextFrame.d.ts +1 -0
- package/shared-utils/nextFrame.js +13 -0
- package/shared-utils/noop.d.ts +5 -0
- package/shared-utils/noop.js +17 -0
- package/shared-utils/object3d2LocalMatrix.d.ts +12 -0
- package/shared-utils/object3d2LocalMatrix.js +73 -0
- package/shared-utils/px2rem.d.ts +1 -0
- package/shared-utils/px2rem.js +12 -0
- package/shared-utils/tap.d.ts +8 -0
- package/shared-utils/tap.js +19 -0
- package/shared-utils/three/centerPoint.d.ts +2 -0
- package/shared-utils/three/centerPoint.js +12 -0
- package/shared-utils/three/getNormal.d.ts +2 -0
- package/shared-utils/three/getNormal.js +13 -0
- package/shared-utils/three/loadFbxObj.d.ts +3 -0
- package/shared-utils/three/loadFbxObj.js +42 -0
- package/shared-utils/three/loadTexture.d.ts +2 -0
- package/shared-utils/three/loadTexture.js +38 -0
- package/shared-utils/three/vecror3.d.ts +7 -0
- package/shared-utils/three/vecror3.js +18 -0
- package/shared-utils/throttle.d.ts +7 -0
- package/shared-utils/throttle.js +25 -0
- package/shared-utils/to.d.ts +9 -0
- package/shared-utils/to.js +25 -0
- package/shared-utils/useDebounce.d.ts +8 -0
- package/shared-utils/useDebounce.js +43 -0
- package/shared-utils/useThrottle.d.ts +8 -0
- package/shared-utils/useThrottle.js +41 -0
- package/shared-utils/uuid.d.ts +4 -0
- package/shared-utils/uuid.js +20 -0
- package/shared-utils/vectorTocoordinates.d.ts +7 -0
- package/shared-utils/vectorTocoordinates.js +16 -0
- package/typedoc/components.d.ts +6 -0
- package/typedoc/components.js +5 -0
- package/typedoc/plugins.d.ts +17 -0
- package/typedoc/plugins.js +113 -0
- package/typedoc/shared-utils.d.ts +3 -0
- package/typedoc/shared-utils.js +5 -0
- package/typedoc/typings.d.ts +3 -0
- package/typedoc/typings.js +5 -0
- package/typings/math.type.d.ts +44 -0
- package/typings/math.type.js +5 -0
- package/typings/utils.type.d.ts +2 -0
- package/typings/utils.type.js +5 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _three = require("three");
|
|
9
|
+
|
|
10
|
+
var vector3 = function vector3(_ref) {
|
|
11
|
+
var x = _ref.x,
|
|
12
|
+
y = _ref.y,
|
|
13
|
+
z = _ref.z;
|
|
14
|
+
return new _three.Vector3(x, y, z);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
var _default = vector3;
|
|
18
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FivePlugin } from '@realsee/five';
|
|
2
|
+
export interface PanoIRobotPluginParameterType {
|
|
3
|
+
}
|
|
4
|
+
export interface PanoIRobotPluginExportType {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 全景扫地机器人插件
|
|
8
|
+
*/
|
|
9
|
+
declare const PanoIRobotPlugin: FivePlugin<PanoIRobotPluginParameterType, PanoIRobotPluginExportType>;
|
|
10
|
+
export default PanoIRobotPlugin;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* 全景扫地机器人插件
|
|
10
|
+
*/
|
|
11
|
+
var PanoIRobotPlugin = function PanoIRobotPlugin() {
|
|
12
|
+
return {};
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
var _default = PanoIRobotPlugin;
|
|
16
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var roomInfo = {
|
|
8
|
+
rooms: {
|
|
9
|
+
'u-Zey6EVKjPlh8j0': {
|
|
10
|
+
id: 'u-Zey6EVKjPlh8j0',
|
|
11
|
+
name: '客厅',
|
|
12
|
+
localName: '客厅',
|
|
13
|
+
area: 21495693.83524382
|
|
14
|
+
},
|
|
15
|
+
'u-159aca88-2916-4d61-88c4-b1875fe9f29f': {
|
|
16
|
+
id: 'u-159aca88-2916-4d61-88c4-b1875fe9f29f',
|
|
17
|
+
name: '卧室A',
|
|
18
|
+
localName: '卧室A',
|
|
19
|
+
area: 13753544.72414422
|
|
20
|
+
},
|
|
21
|
+
'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8': {
|
|
22
|
+
id: 'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8',
|
|
23
|
+
name: '厨房',
|
|
24
|
+
localName: '厨房',
|
|
25
|
+
area: 5205689.576537967
|
|
26
|
+
},
|
|
27
|
+
'u-500a2014-cd1b-44c4-e31c-634597adc158': {
|
|
28
|
+
id: 'u-500a2014-cd1b-44c4-e31c-634597adc158',
|
|
29
|
+
name: '门厅',
|
|
30
|
+
localName: '门厅',
|
|
31
|
+
area: 5096864.253328443
|
|
32
|
+
},
|
|
33
|
+
'u-64593a70-cbef-4119-0616-402d2ce17374': {
|
|
34
|
+
id: 'u-64593a70-cbef-4119-0616-402d2ce17374',
|
|
35
|
+
name: '卧室B',
|
|
36
|
+
localName: '卧室B',
|
|
37
|
+
area: 12528071.985600233
|
|
38
|
+
},
|
|
39
|
+
'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988': {
|
|
40
|
+
id: 'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988',
|
|
41
|
+
name: '卫生间',
|
|
42
|
+
localName: '卫生间',
|
|
43
|
+
area: 4662225.953600168
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
observers: ['u-Zey6EVKjPlh8j0', 'u-Zey6EVKjPlh8j0', 'u-159aca88-2916-4d61-88c4-b1875fe9f29f', 'u-159aca88-2916-4d61-88c4-b1875fe9f29f', 'u-Zey6EVKjPlh8j0', 'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8', 'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8', 'u-500a2014-cd1b-44c4-e31c-634597adc158', 'u-500a2014-cd1b-44c4-e31c-634597adc158', 'u-500a2014-cd1b-44c4-e31c-634597adc158', 'u-64593a70-cbef-4119-0616-402d2ce17374', 'u-64593a70-cbef-4119-0616-402d2ce17374', 'u-64593a70-cbef-4119-0616-402d2ce17374', 'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988', 'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988']
|
|
47
|
+
};
|
|
48
|
+
var _default = roomInfo;
|
|
49
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var roomRules = {
|
|
8
|
+
'5,6': [{
|
|
9
|
+
x: 4.2707244999999965,
|
|
10
|
+
z: -1.2772244999999967,
|
|
11
|
+
observers: [5, 6]
|
|
12
|
+
}, {
|
|
13
|
+
x: 1.058390041303952,
|
|
14
|
+
z: -1.2772244999999967,
|
|
15
|
+
observers: [5, 6]
|
|
16
|
+
}, {
|
|
17
|
+
x: 1.0760564029572706,
|
|
18
|
+
z: -2.9022245000000404,
|
|
19
|
+
observers: [5, 6]
|
|
20
|
+
}, {
|
|
21
|
+
x: 4.2707244999999965,
|
|
22
|
+
z: -2.9022244999999964,
|
|
23
|
+
observers: [5, 6]
|
|
24
|
+
}, {
|
|
25
|
+
x: 4.2707244999999965,
|
|
26
|
+
z: -1.2772244999999967,
|
|
27
|
+
observers: [5, 6]
|
|
28
|
+
}],
|
|
29
|
+
'10,11,12': [{
|
|
30
|
+
x: 4.2707244999999965,
|
|
31
|
+
z: -3.1022244999999966,
|
|
32
|
+
observers: [10, 11, 12]
|
|
33
|
+
}, {
|
|
34
|
+
x: 1.2577244999999966,
|
|
35
|
+
z: -3.1022244999999966,
|
|
36
|
+
observers: [10, 11, 12]
|
|
37
|
+
}, {
|
|
38
|
+
x: 1.2577244999999966,
|
|
39
|
+
z: -4.162224499999996,
|
|
40
|
+
observers: [10, 11, 12]
|
|
41
|
+
}, {
|
|
42
|
+
x: 1.9039349,
|
|
43
|
+
z: -4.162224499999996,
|
|
44
|
+
observers: [10, 11, 12]
|
|
45
|
+
}, {
|
|
46
|
+
x: 1.9039349,
|
|
47
|
+
z: -5.999224499999997,
|
|
48
|
+
observers: [11, 12]
|
|
49
|
+
}, {
|
|
50
|
+
x: 5.9919876999999975,
|
|
51
|
+
z: -5.999224499999997,
|
|
52
|
+
observers: [10, 11, 12]
|
|
53
|
+
}, {
|
|
54
|
+
x: 5.9919876999999975,
|
|
55
|
+
z: -3.1022244999999966,
|
|
56
|
+
observers: [10, 11, 12]
|
|
57
|
+
}, {
|
|
58
|
+
x: 4.2707244999999965,
|
|
59
|
+
z: -3.1022244999999966,
|
|
60
|
+
observers: [10, 11, 12]
|
|
61
|
+
}],
|
|
62
|
+
'13,14': [{
|
|
63
|
+
x: -0.23127550000000338,
|
|
64
|
+
z: -4.819224499999996,
|
|
65
|
+
observers: [13, 14]
|
|
66
|
+
}, {
|
|
67
|
+
x: -0.23127550000000338,
|
|
68
|
+
z: -2.7582244999999967,
|
|
69
|
+
observers: [13, 14]
|
|
70
|
+
}, {
|
|
71
|
+
x: -1.0809070999999968,
|
|
72
|
+
z: -2.7582244999999967,
|
|
73
|
+
observers: [13]
|
|
74
|
+
}, {
|
|
75
|
+
x: -1.0809070999999968,
|
|
76
|
+
z: -3.0542244999999966,
|
|
77
|
+
observers: [13, 14]
|
|
78
|
+
}, {
|
|
79
|
+
x: -2.7302755000000034,
|
|
80
|
+
z: -3.0542244999999966,
|
|
81
|
+
observers: [13, 14]
|
|
82
|
+
}, {
|
|
83
|
+
x: -2.7302755000000034,
|
|
84
|
+
z: -4.819224499999996,
|
|
85
|
+
observers: [13, 14]
|
|
86
|
+
}, {
|
|
87
|
+
x: -0.23127550000000338,
|
|
88
|
+
z: -4.819224499999996,
|
|
89
|
+
observers: [13, 14]
|
|
90
|
+
}],
|
|
91
|
+
'7,8,9': [{
|
|
92
|
+
x: 0.8780917970427253,
|
|
93
|
+
z: -3.1022244999997928,
|
|
94
|
+
observers: [7, 8, 9]
|
|
95
|
+
}, {
|
|
96
|
+
x: 0.8743781265877042,
|
|
97
|
+
z: -2.7391816007851304,
|
|
98
|
+
observers: [7, 8, 9]
|
|
99
|
+
}, {
|
|
100
|
+
x: -0.11127550000000337,
|
|
101
|
+
z: -2.7571459004034113,
|
|
102
|
+
observers: [7, 8, 9]
|
|
103
|
+
}, {
|
|
104
|
+
x: -0.11127550000000337,
|
|
105
|
+
z: -6.0592244999999965,
|
|
106
|
+
observers: [7, 8, 9]
|
|
107
|
+
}, {
|
|
108
|
+
x: 1.7839349000000002,
|
|
109
|
+
z: -6.0592244999999965,
|
|
110
|
+
observers: [7, 8, 9]
|
|
111
|
+
}, {
|
|
112
|
+
x: 1.7839349000000002,
|
|
113
|
+
z: -4.282224499999996,
|
|
114
|
+
observers: [9]
|
|
115
|
+
}, {
|
|
116
|
+
x: 1.0577244999999966,
|
|
117
|
+
z: -4.282224499999996,
|
|
118
|
+
observers: [7, 8, 9]
|
|
119
|
+
}, {
|
|
120
|
+
x: 1.0577244999999966,
|
|
121
|
+
z: -3.1022244999999966,
|
|
122
|
+
observers: [8, 9]
|
|
123
|
+
}, {
|
|
124
|
+
x: 0.8780917970427253,
|
|
125
|
+
z: -3.1022244999999966,
|
|
126
|
+
observers: [7, 8, 9]
|
|
127
|
+
}],
|
|
128
|
+
'2,3': [{
|
|
129
|
+
x: 4.2707244999999965,
|
|
130
|
+
z: -1.1572244999999965,
|
|
131
|
+
observers: [2, 3]
|
|
132
|
+
}, {
|
|
133
|
+
x: 4.2707244999999965,
|
|
134
|
+
z: 2.414492100000003,
|
|
135
|
+
observers: [2, 3]
|
|
136
|
+
}, {
|
|
137
|
+
x: 3.5221456000000035,
|
|
138
|
+
z: 2.414492100000003,
|
|
139
|
+
observers: [2, 3]
|
|
140
|
+
}, {
|
|
141
|
+
x: 3.5221456000000035,
|
|
142
|
+
z: 3.353828099999999,
|
|
143
|
+
observers: [2, 3]
|
|
144
|
+
}, {
|
|
145
|
+
x: 1.0377244999999966,
|
|
146
|
+
z: 3.353828099999999,
|
|
147
|
+
observers: []
|
|
148
|
+
}, {
|
|
149
|
+
x: 1.0377244999999966,
|
|
150
|
+
z: 2.5693174999999973,
|
|
151
|
+
observers: []
|
|
152
|
+
}, {
|
|
153
|
+
x: 1.7998128999999972,
|
|
154
|
+
z: 2.5693174999999973,
|
|
155
|
+
observers: []
|
|
156
|
+
}, {
|
|
157
|
+
x: 1.7998128999999972,
|
|
158
|
+
z: 2.4493174999999976,
|
|
159
|
+
observers: [2, 3]
|
|
160
|
+
}, {
|
|
161
|
+
x: 1.0380479545235721,
|
|
162
|
+
z: 2.4493174999999976,
|
|
163
|
+
observers: [2, 3]
|
|
164
|
+
}, {
|
|
165
|
+
x: 1.0574039258235062,
|
|
166
|
+
z: -1.1572245000005497,
|
|
167
|
+
observers: [2, 3]
|
|
168
|
+
}, {
|
|
169
|
+
x: 4.2707244999999965,
|
|
170
|
+
z: -1.1572244999999965,
|
|
171
|
+
observers: [2, 3]
|
|
172
|
+
}],
|
|
173
|
+
'': [{
|
|
174
|
+
x: -1.2009070999999967,
|
|
175
|
+
z: -2.9342244999999965,
|
|
176
|
+
observers: []
|
|
177
|
+
}, {
|
|
178
|
+
x: -1.2009070999999967,
|
|
179
|
+
z: -2.7582244999999967,
|
|
180
|
+
observers: []
|
|
181
|
+
}, {
|
|
182
|
+
x: -2.7302755000000034,
|
|
183
|
+
z: -2.7582244999999967,
|
|
184
|
+
observers: []
|
|
185
|
+
}, {
|
|
186
|
+
x: -2.7302755000000034,
|
|
187
|
+
z: -2.9342244999999965,
|
|
188
|
+
observers: []
|
|
189
|
+
}, {
|
|
190
|
+
x: -1.2009070999999967,
|
|
191
|
+
z: -2.9342244999999965,
|
|
192
|
+
observers: []
|
|
193
|
+
}],
|
|
194
|
+
'0,1,4': [{
|
|
195
|
+
x: -1.1409070999999966,
|
|
196
|
+
z: -2.5782244999999966,
|
|
197
|
+
observers: [0, 1, 4]
|
|
198
|
+
}, {
|
|
199
|
+
x: -0.17127550000000338,
|
|
200
|
+
z: -2.5782244999999966,
|
|
201
|
+
observers: [0, 1, 4]
|
|
202
|
+
}, {
|
|
203
|
+
x: 0.8724688726376335,
|
|
204
|
+
z: -2.559186504804209,
|
|
205
|
+
observers: [0, 1, 4]
|
|
206
|
+
}, {
|
|
207
|
+
x: 0.8377244999999967,
|
|
208
|
+
z: 3.353828099999999,
|
|
209
|
+
observers: [0, 1, 4]
|
|
210
|
+
}, {
|
|
211
|
+
x: -2.7702755000000034,
|
|
212
|
+
z: 3.353828099999999,
|
|
213
|
+
observers: [0, 1]
|
|
214
|
+
}, {
|
|
215
|
+
x: -2.7702755000000034,
|
|
216
|
+
z: -2.608224499999997,
|
|
217
|
+
observers: []
|
|
218
|
+
}, {
|
|
219
|
+
x: -2.7902755000000035,
|
|
220
|
+
z: -2.608224499999997,
|
|
221
|
+
observers: []
|
|
222
|
+
}, {
|
|
223
|
+
x: -2.7902755000000035,
|
|
224
|
+
z: -2.5782244999999966,
|
|
225
|
+
observers: []
|
|
226
|
+
}, {
|
|
227
|
+
x: -1.1409070999999966,
|
|
228
|
+
z: -2.5782244999999966,
|
|
229
|
+
observers: [0, 1, 4]
|
|
230
|
+
}]
|
|
231
|
+
};
|
|
232
|
+
var _default = roomRules;
|
|
233
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { FivePlugin } from '@realsee/five';
|
|
2
|
+
import { RoomInfo, RoomRules } from './typings';
|
|
3
|
+
export interface PanoRulerPluginOptions {
|
|
4
|
+
distanceText?: (distance: number) => string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface PanoRulerPluginParameterType {
|
|
8
|
+
roomInfo?: RoomInfo;
|
|
9
|
+
roomRules?: RoomRules;
|
|
10
|
+
options?: PanoRulerPluginOptions;
|
|
11
|
+
}
|
|
12
|
+
interface PanoRulerPluginPluginState {
|
|
13
|
+
enable: boolean;
|
|
14
|
+
loaded: boolean;
|
|
15
|
+
options: PanoRulerPluginOptions;
|
|
16
|
+
}
|
|
17
|
+
export interface PanoRulerPluginExportType {
|
|
18
|
+
enable: () => void;
|
|
19
|
+
disable: () => void;
|
|
20
|
+
load: (roomInfo?: RoomInfo, roomRules?: RoomRules, options?: PanoRulerPluginOptions) => Promise<boolean>;
|
|
21
|
+
state: PanoRulerPluginPluginState;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 全景标尺插件
|
|
25
|
+
*/
|
|
26
|
+
export declare const PanoRulerPlugin: FivePlugin<PanoRulerPluginParameterType, PanoRulerPluginExportType>;
|
|
27
|
+
export default PanoRulerPlugin;
|