@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.
Files changed (271) hide show
  1. package/README.md +94 -0
  2. package/TERMS.txt +56 -0
  3. package/components/ARVideoFigure/ARVideoFigureMesh.d.ts +44 -0
  4. package/components/ARVideoFigure/ARVideoFigureMesh.js +347 -0
  5. package/components/ARVideoFigure/ARVideoFigureScene.d.ts +11 -0
  6. package/components/ARVideoFigure/ARVideoFigureScene.js +74 -0
  7. package/components/ARVideoFigure/ImgBgTransparent.d.ts +16 -0
  8. package/components/ARVideoFigure/ImgBgTransparent.js +49 -0
  9. package/components/ARVideoFigure/ImgBgTransparentMesh.d.ts +30 -0
  10. package/components/ARVideoFigure/ImgBgTransparentMesh.js +173 -0
  11. package/components/ARVideoFigure/fragmentShader.d.ts +5 -0
  12. package/components/ARVideoFigure/fragmentShader.js +16 -0
  13. package/components/ARVideoFigure/index.d.ts +15 -0
  14. package/components/ARVideoFigure/index.js +64 -0
  15. package/components/ARVideoFigure/vertexShader.d.ts +1 -0
  16. package/components/ARVideoFigure/vertexShader.js +8 -0
  17. package/components/GlassFilters/index.d.ts +32 -0
  18. package/components/GlassFilters/index.js +54 -0
  19. package/components/ModelView/ModelViewController.d.ts +18 -0
  20. package/components/ModelView/ModelViewController.js +147 -0
  21. package/components/ModelView/index.d.ts +10 -0
  22. package/components/ModelView/index.js +22 -0
  23. package/components/PBRView/index.d.ts +14 -0
  24. package/components/PBRView/index.js +31 -0
  25. package/components/PaintBrush/index.d.ts +16 -0
  26. package/components/PaintBrush/index.js +33 -0
  27. package/components/PanoTag/index.d.ts +4 -0
  28. package/components/PanoTag/index.js +11 -0
  29. package/custom.d.js +3 -0
  30. package/data/1aGKl9JmrlXMXx8d.d.ts +104 -0
  31. package/data/1aGKl9JmrlXMXx8d.js +535 -0
  32. package/data/6gyq3v1verxD7JO1.d.ts +104 -0
  33. package/data/6gyq3v1verxD7JO1.js +460 -0
  34. package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.d.ts +84 -0
  35. package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.js +598 -0
  36. package/data/PrXel3aqGbp34JQn.d.ts +389 -0
  37. package/data/PrXel3aqGbp34JQn.js +4639 -0
  38. package/data/YdoNP9K4rwQDwjJr.d.ts +83 -0
  39. package/data/YdoNP9K4rwQDwjJr.js +1451 -0
  40. package/data/auto3d-njL5J99VwCmnjtQElOmXQr.d.ts +86 -0
  41. package/data/auto3d-njL5J99VwCmnjtQElOmXQr.js +709 -0
  42. package/data/oPzy3ApbjjpD8YdR.d.ts +83 -0
  43. package/data/oPzy3ApbjjpD8YdR.js +281 -0
  44. package/data/qjAxMG4XbPn96wKG.d.ts +104 -0
  45. package/data/qjAxMG4XbPn96wKG.js +635 -0
  46. package/data/rXel3aPQRRBD4JQn.d.ts +86 -0
  47. package/data/rXel3aPQRRBD4JQn.js +620 -0
  48. package/data/vLykj3NWrllMrG06.d.ts +89 -0
  49. package/data/vLykj3NWrllMrG06.js +2532 -0
  50. package/data/wYnRjQ4KZoV1yPoG.d.ts +114 -0
  51. package/data/wYnRjQ4KZoV1yPoG.js +512 -0
  52. package/data/wz0QV9KA4ugyo9ME.d.ts +39 -0
  53. package/data/wz0QV9KA4ugyo9ME.js +134 -0
  54. package/examples/FiveStateController/index.js +140 -0
  55. package/examples/VRHouse/Mobile.js +22 -0
  56. package/examples/VRHouse/PC.js +22 -0
  57. package/examples/VRHouse/index.js +22 -0
  58. package/index.d.ts +15 -0
  59. package/index.js +43 -0
  60. package/package.json +19 -0
  61. package/plugins/CSS3DRenderPlugin/components/Marker/index.d.ts +12 -0
  62. package/plugins/CSS3DRenderPlugin/components/Marker/index.js +113 -0
  63. package/plugins/CSS3DRenderPlugin/index.d.ts +49 -0
  64. package/plugins/CSS3DRenderPlugin/index.js +220 -0
  65. package/plugins/CameraMovementPlugin/index.d.ts +7 -0
  66. package/plugins/CameraMovementPlugin/index.js +338 -0
  67. package/plugins/CameraMovementPlugin/typing.d.ts +68 -0
  68. package/plugins/CameraMovementPlugin/typing.js +35 -0
  69. package/plugins/ModelChassisCompassPlugin/index.d.ts +15 -0
  70. package/plugins/ModelChassisCompassPlugin/index.js +156 -0
  71. package/plugins/ModelEntryDoorGuidePlugin/index.d.ts +10 -0
  72. package/plugins/ModelEntryDoorGuidePlugin/index.js +16 -0
  73. package/plugins/ModelTVVideoPlugin/index.d.ts +21 -0
  74. package/plugins/ModelTVVideoPlugin/index.js +313 -0
  75. package/plugins/ModelViewPlugin/index.d.ts +17 -0
  76. package/plugins/ModelViewPlugin/index.js +199 -0
  77. package/plugins/PanoCursorRaycasterPlugin/PanoCursorRaycasterPluginUsage.d.ts +48 -0
  78. package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.d.ts +9 -0
  79. package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.js +113 -0
  80. package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.d.ts +11 -0
  81. package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.js +25 -0
  82. package/plugins/PanoCursorRaycasterPlugin/index.d.ts +49 -0
  83. package/plugins/PanoCursorRaycasterPlugin/index.js +119 -0
  84. package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.d.ts +5 -0
  85. package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.js +25 -0
  86. package/plugins/PanoCursorRaycasterPlugin/utils/createLine.d.ts +3 -0
  87. package/plugins/PanoCursorRaycasterPlugin/utils/createLine.js +34 -0
  88. package/plugins/PanoCursorRaycasterPlugin/utils/vecror3.d.ts +7 -0
  89. package/plugins/PanoCursorRaycasterPlugin/utils/vecror3.js +18 -0
  90. package/plugins/PanoDoorLabelPlugin/index.d.ts +4 -0
  91. package/plugins/PanoDoorLabelPlugin/index.js +12 -0
  92. package/plugins/PanoIRobotPlugin/index.d.ts +10 -0
  93. package/plugins/PanoIRobotPlugin/index.js +16 -0
  94. package/plugins/PanoRulerPlugin/data/roomInfo.d.ts +3 -0
  95. package/plugins/PanoRulerPlugin/data/roomInfo.js +49 -0
  96. package/plugins/PanoRulerPlugin/data/roomRules.d.ts +3 -0
  97. package/plugins/PanoRulerPlugin/data/roomRules.js +233 -0
  98. package/plugins/PanoRulerPlugin/index.d.ts +27 -0
  99. package/plugins/PanoRulerPlugin/index.js +589 -0
  100. package/plugins/PanoRulerPlugin/typings.d.ts +21 -0
  101. package/plugins/PanoRulerPlugin/typings.js +5 -0
  102. package/plugins/PanoTVVideoPlugin/index.d.ts +24 -0
  103. package/plugins/PanoTVVideoPlugin/index.js +351 -0
  104. package/plugins/TreasurePlugin/Controller.d.ts +32 -0
  105. package/plugins/TreasurePlugin/Controller.js +175 -0
  106. package/plugins/TreasurePlugin/TreasureFaceAnime.d.ts +23 -0
  107. package/plugins/TreasurePlugin/TreasureFaceAnime.js +128 -0
  108. package/plugins/TreasurePlugin/TreasureObject.d.ts +35 -0
  109. package/plugins/TreasurePlugin/TreasureObject.js +186 -0
  110. package/plugins/TreasurePlugin/TreasureOpenAnime.d.ts +23 -0
  111. package/plugins/TreasurePlugin/TreasureOpenAnime.js +103 -0
  112. package/plugins/TreasurePlugin/constants.d.ts +12 -0
  113. package/plugins/TreasurePlugin/constants.js +30 -0
  114. package/plugins/TreasurePlugin/index.d.ts +11 -0
  115. package/plugins/TreasurePlugin/index.js +16 -0
  116. package/plugins/TreasurePlugin/treasureDataMap.d.ts +7 -0
  117. package/plugins/TreasurePlugin/treasureDataMap.js +20 -0
  118. package/plugins/TreasurePlugin/typings.d.ts +2 -0
  119. package/plugins/TreasurePlugin/typings.js +5 -0
  120. package/plugins/TreasurePlugin/utils/loadTreasureTextures.d.ts +7 -0
  121. package/plugins/TreasurePlugin/utils/loadTreasureTextures.js +115 -0
  122. package/plugins/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
  123. package/plugins/floorplan/Assets/floorplanExtraObject.js +8 -0
  124. package/plugins/floorplan/ModelFloorplanPlugin/Controller.d.ts +100 -0
  125. package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +643 -0
  126. package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.d.ts +13 -0
  127. package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +58 -0
  128. package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.d.ts +5 -0
  129. package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +69 -0
  130. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.d.ts +10 -0
  131. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.js +105 -0
  132. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.d.ts +13 -0
  133. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +95 -0
  134. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +13 -0
  135. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +48 -0
  136. package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +20 -0
  137. package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +66 -0
  138. package/plugins/floorplan/ModelFloorplanPlugin/controller.style.d.ts +1 -0
  139. package/plugins/floorplan/ModelFloorplanPlugin/controller.style.js +14 -0
  140. package/plugins/floorplan/ModelFloorplanPlugin/index.d.ts +9 -0
  141. package/plugins/floorplan/ModelFloorplanPlugin/index.js +18 -0
  142. package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.d.ts +23 -0
  143. package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.js +5 -0
  144. package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +15 -0
  145. package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +31 -0
  146. package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.d.ts +14 -0
  147. package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +162 -0
  148. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.d.ts +13 -0
  149. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.js +91 -0
  150. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.d.ts +3 -0
  151. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +35 -0
  152. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.d.ts +5 -0
  153. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +50 -0
  154. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.d.ts +9 -0
  155. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.js +102 -0
  156. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.d.ts +11 -0
  157. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.js +42 -0
  158. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.d.ts +17 -0
  159. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.js +75 -0
  160. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.d.ts +2 -0
  161. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.js +13 -0
  162. package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +33 -0
  163. package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.js +214 -0
  164. package/plugins/floorplan/PanoFloorplanRadarPlugin/index.d.ts +8 -0
  165. package/plugins/floorplan/PanoFloorplanRadarPlugin/index.js +18 -0
  166. package/plugins/floorplan/TopviewFloorplanPlugin/Controller.d.ts +55 -0
  167. package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +267 -0
  168. package/plugins/floorplan/TopviewFloorplanPlugin/index.d.ts +5 -0
  169. package/plugins/floorplan/TopviewFloorplanPlugin/index.js +16 -0
  170. package/plugins/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  171. package/plugins/floorplan/TopviewFloorplanPlugin/style.js +14 -0
  172. package/plugins/floorplan/components/FloorplanImage.d.ts +7 -0
  173. package/plugins/floorplan/components/FloorplanImage.js +76 -0
  174. package/plugins/floorplan/typings/floorplanData.d.ts +127 -0
  175. package/plugins/floorplan/typings/floorplanData.js +5 -0
  176. package/plugins/floorplan/typings/floorplanServerData.d.ts +125 -0
  177. package/plugins/floorplan/typings/floorplanServerData.js +380 -0
  178. package/plugins/floorplan/utils/formatData.d.ts +5 -0
  179. package/plugins/floorplan/utils/formatData.js +220 -0
  180. package/plugins/floorplan/utils/formatPosition.d.ts +37 -0
  181. package/plugins/floorplan/utils/formatPosition.js +87 -0
  182. package/shared-utils/Preloader.d.ts +6 -0
  183. package/shared-utils/Preloader.js +51 -0
  184. package/shared-utils/Subscribe.d.ts +45 -0
  185. package/shared-utils/Subscribe.js +210 -0
  186. package/shared-utils/animationFrame/BetterTween.d.ts +11 -0
  187. package/shared-utils/animationFrame/BetterTween.js +102 -0
  188. package/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
  189. package/shared-utils/animationFrame/calculateProgress.js +38 -0
  190. package/shared-utils/animationFrame/formatRad.d.ts +15 -0
  191. package/shared-utils/animationFrame/formatRad.js +34 -0
  192. package/shared-utils/animationFrame/index.d.ts +15 -0
  193. package/shared-utils/animationFrame/index.js +69 -0
  194. package/shared-utils/animationFrame/tween.d.ts +75 -0
  195. package/shared-utils/animationFrame/tween.js +76 -0
  196. package/shared-utils/changeModelCanvansOpacity.d.ts +2 -0
  197. package/shared-utils/changeModelCanvansOpacity.js +24 -0
  198. package/shared-utils/createFiveContainer.d.ts +10 -0
  199. package/shared-utils/createFiveContainer.js +165 -0
  200. package/shared-utils/createLine/index.d.ts +3 -0
  201. package/shared-utils/createLine/index.js +29 -0
  202. package/shared-utils/debounce.d.ts +6 -0
  203. package/shared-utils/debounce.js +26 -0
  204. package/shared-utils/equal.d.ts +11 -0
  205. package/shared-utils/equal.js +96 -0
  206. package/shared-utils/filter.d.ts +27 -0
  207. package/shared-utils/filter.js +93 -0
  208. package/shared-utils/five/changeMode.d.ts +2 -0
  209. package/shared-utils/five/changeMode.js +86 -0
  210. package/shared-utils/five/useFivePlugin.d.ts +1 -0
  211. package/shared-utils/five/useFivePlugin.js +15 -0
  212. package/shared-utils/formatRad.d.ts +7 -0
  213. package/shared-utils/formatRad.js +16 -0
  214. package/shared-utils/getPxmm.d.ts +6 -0
  215. package/shared-utils/getPxmm.js +37 -0
  216. package/shared-utils/getRandomColor.d.ts +1 -0
  217. package/shared-utils/getRandomColor.js +13 -0
  218. package/shared-utils/isTruelyObject.d.ts +18 -0
  219. package/shared-utils/isTruelyObject.js +27 -0
  220. package/shared-utils/math/evenNumber.d.ts +1 -0
  221. package/shared-utils/math/evenNumber.js +11 -0
  222. package/shared-utils/math/planimetry.d.ts +116 -0
  223. package/shared-utils/math/planimetry.js +342 -0
  224. package/shared-utils/math/rad2Deg.d.ts +1 -0
  225. package/shared-utils/math/rad2Deg.js +10 -0
  226. package/shared-utils/nearlyEqual.d.ts +7 -0
  227. package/shared-utils/nearlyEqual.js +17 -0
  228. package/shared-utils/nextFrame.d.ts +1 -0
  229. package/shared-utils/nextFrame.js +13 -0
  230. package/shared-utils/noop.d.ts +5 -0
  231. package/shared-utils/noop.js +17 -0
  232. package/shared-utils/object3d2LocalMatrix.d.ts +12 -0
  233. package/shared-utils/object3d2LocalMatrix.js +73 -0
  234. package/shared-utils/px2rem.d.ts +1 -0
  235. package/shared-utils/px2rem.js +12 -0
  236. package/shared-utils/tap.d.ts +8 -0
  237. package/shared-utils/tap.js +19 -0
  238. package/shared-utils/three/centerPoint.d.ts +2 -0
  239. package/shared-utils/three/centerPoint.js +12 -0
  240. package/shared-utils/three/getNormal.d.ts +2 -0
  241. package/shared-utils/three/getNormal.js +13 -0
  242. package/shared-utils/three/loadFbxObj.d.ts +3 -0
  243. package/shared-utils/three/loadFbxObj.js +42 -0
  244. package/shared-utils/three/loadTexture.d.ts +2 -0
  245. package/shared-utils/three/loadTexture.js +38 -0
  246. package/shared-utils/three/vecror3.d.ts +7 -0
  247. package/shared-utils/three/vecror3.js +18 -0
  248. package/shared-utils/throttle.d.ts +7 -0
  249. package/shared-utils/throttle.js +25 -0
  250. package/shared-utils/to.d.ts +9 -0
  251. package/shared-utils/to.js +25 -0
  252. package/shared-utils/useDebounce.d.ts +8 -0
  253. package/shared-utils/useDebounce.js +43 -0
  254. package/shared-utils/useThrottle.d.ts +8 -0
  255. package/shared-utils/useThrottle.js +41 -0
  256. package/shared-utils/uuid.d.ts +4 -0
  257. package/shared-utils/uuid.js +20 -0
  258. package/shared-utils/vectorTocoordinates.d.ts +7 -0
  259. package/shared-utils/vectorTocoordinates.js +16 -0
  260. package/typedoc/components.d.ts +6 -0
  261. package/typedoc/components.js +5 -0
  262. package/typedoc/plugins.d.ts +17 -0
  263. package/typedoc/plugins.js +113 -0
  264. package/typedoc/shared-utils.d.ts +3 -0
  265. package/typedoc/shared-utils.js +5 -0
  266. package/typedoc/typings.d.ts +3 -0
  267. package/typedoc/typings.js +5 -0
  268. package/typings/math.type.d.ts +44 -0
  269. package/typings/math.type.js +5 -0
  270. package/typings/utils.type.d.ts +2 -0
  271. 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,4 @@
1
+ /**
2
+ * @todo
3
+ */
4
+ export declare function PanoDoorLabelPlugin(): void;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PanoDoorLabelPlugin = PanoDoorLabelPlugin;
7
+
8
+ /**
9
+ * @todo
10
+ */
11
+ function PanoDoorLabelPlugin() {//
12
+ }
@@ -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,3 @@
1
+ import { RoomInfo } from '../typings';
2
+ declare const roomInfo: RoomInfo;
3
+ export default roomInfo;
@@ -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,3 @@
1
+ import { RoomRules } from '../typings';
2
+ declare const roomRules: RoomRules;
3
+ export default roomRules;
@@ -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;