@realsee/dnalogel 2.1.2-alpha.9 → 2.2.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 (473) hide show
  1. package/README.md +45 -0
  2. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +167 -0
  3. package/dist/CSS3DRenderPlugin/Controller.d.ts +81 -0
  4. package/dist/CSS3DRenderPlugin/index.d.ts +5 -0
  5. package/dist/CSS3DRenderPlugin/typing.d.ts +26 -0
  6. package/dist/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +34 -0
  7. package/dist/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  8. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  9. package/dist/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  10. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  11. package/dist/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  12. package/dist/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
  13. package/dist/CameraMovementPlugin/index.d.ts +5 -0
  14. package/dist/CameraMovementPlugin/typing.d.ts +68 -0
  15. package/dist/CruisePlugin/Controller.d.ts +172 -0
  16. package/dist/CruisePlugin/index.d.ts +6 -0
  17. package/dist/CruisePlugin/typing.d.ts +134 -0
  18. package/dist/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
  19. package/dist/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
  20. package/dist/CruisePlugin/utils/formatRad.d.ts +7 -0
  21. package/dist/CruisePlugin/utils/linerValue.d.ts +1 -0
  22. package/dist/CruisePlugin/utils/safeCall.d.ts +1 -0
  23. package/dist/CruisePlugin/utils/sleep.d.ts +1 -0
  24. package/dist/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
  25. package/dist/GuideLinePlugin/Controller.d.ts +51 -0
  26. package/dist/GuideLinePlugin/index.d.ts +5 -0
  27. package/dist/GuideLinePlugin/typing.d.ts +34 -0
  28. package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
  29. package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
  30. package/dist/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
  31. package/dist/ItemLabelPlugin/Plugin.d.ts +4 -0
  32. package/dist/ItemLabelPlugin/events.type.d.ts +9 -0
  33. package/dist/ItemLabelPlugin/index.d.ts +9 -0
  34. package/dist/ItemLabelPlugin/typings.d.ts +65 -0
  35. package/dist/ItemLabelPlugin/utils/getLabelTransform.d.ts +1 -0
  36. package/dist/ItemLabelPlugin/utils/getStrokeLength.d.ts +5 -0
  37. package/dist/ItemLabelPlugin/utils/isImpacted.d.ts +8 -0
  38. package/dist/ItemLabelPlugin/utils/parseData.d.ts +3 -0
  39. package/dist/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
  40. package/dist/ModelChassisCompassPlugin/Plugin.d.ts +19 -0
  41. package/dist/ModelChassisCompassPlugin/index.d.ts +4 -0
  42. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
  43. package/dist/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
  44. package/dist/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
  45. package/dist/ModelItemLabelPlugin/events.type.d.ts +9 -0
  46. package/dist/ModelItemLabelPlugin/index.d.ts +9 -0
  47. package/dist/ModelItemLabelPlugin/typings.d.ts +56 -0
  48. package/dist/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
  49. package/dist/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
  50. package/dist/ModelRoomLabelPlugin/Controller.d.ts +36 -0
  51. package/dist/ModelRoomLabelPlugin/index.d.ts +12 -0
  52. package/dist/ModelRoomLabelPlugin/typings.d.ts +35 -0
  53. package/dist/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
  54. package/dist/ModelTVVideoPlugin/Plugin.d.ts +4 -0
  55. package/dist/ModelTVVideoPlugin/index.d.ts +5 -0
  56. package/dist/ModelTVVideoPlugin/typings.d.ts +25 -0
  57. package/dist/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
  58. package/dist/ModelViewPlugin/Plugin.d.ts +28 -0
  59. package/dist/ModelViewPlugin/index.d.ts +4 -0
  60. package/dist/Object3DHelperPlugin/Controller.d.ts +65 -0
  61. package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  62. package/dist/Object3DHelperPlugin/index.d.ts +6 -0
  63. package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
  64. package/dist/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
  65. package/dist/PanoCompassPlugin/Controller.d.ts +84 -0
  66. package/dist/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
  67. package/dist/PanoCompassPlugin/index.d.ts +7 -0
  68. package/dist/PanoCompassPlugin/typings.d.ts +57 -0
  69. package/dist/PanoCursorRaycasterPlugin/index.d.ts +48 -0
  70. package/dist/PanoDoorLabelPlugin/BaseController.d.ts +60 -0
  71. package/dist/PanoDoorLabelPlugin/Controller.d.ts +37 -0
  72. package/dist/PanoDoorLabelPlugin/index.d.ts +7 -0
  73. package/dist/PanoDoorLabelPlugin/typings.d.ts +38 -0
  74. package/dist/PanoDoorLabelPlugin/utils.d.ts +5 -0
  75. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +43 -0
  76. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +48 -0
  77. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +42 -0
  78. package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
  79. package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +16 -0
  80. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +26 -0
  81. package/dist/PanoMeasurePlugin/Controller/index.d.ts +73 -0
  82. package/dist/PanoMeasurePlugin/Model/index.d.ts +35 -0
  83. package/dist/PanoMeasurePlugin/Model/line.d.ts +30 -0
  84. package/dist/PanoMeasurePlugin/Model/point.d.ts +16 -0
  85. package/dist/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
  86. package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
  87. package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
  88. package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
  89. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +25 -0
  90. package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
  91. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
  92. package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +59 -0
  93. package/dist/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +2 -0
  94. package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +15 -0
  95. package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +13 -0
  96. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +20 -0
  97. package/dist/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +4 -0
  98. package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +12 -0
  99. package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +16 -0
  100. package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
  101. package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +44 -0
  102. package/dist/PanoMeasurePlugin/index.d.ts +10 -0
  103. package/dist/PanoMeasurePlugin/typings/data.d.ts +37 -0
  104. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +37 -0
  105. package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
  106. package/dist/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
  107. package/dist/PanoMeasurePlugin/utils/constants.d.ts +4 -0
  108. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
  109. package/dist/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
  110. package/dist/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
  111. package/dist/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
  112. package/dist/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
  113. package/dist/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
  114. package/dist/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
  115. package/dist/PanoMeasurePlugin/utils/line.d.ts +17 -0
  116. package/dist/PanoMeasurePlugin/utils/math.d.ts +17 -0
  117. package/dist/PanoMeasurePlugin/utils/mouseGroup.d.ts +7 -0
  118. package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
  119. package/dist/PanoRulerPlugin/Plugin.d.ts +34 -0
  120. package/dist/PanoRulerPlugin/index.d.ts +5 -0
  121. package/dist/PanoRulerPlugin/style.d.ts +2 -0
  122. package/dist/PanoRulerPlugin/typings.d.ts +21 -0
  123. package/dist/PanoRulerProPlugin/Controller.d.ts +15 -0
  124. package/dist/PanoRulerProPlugin/index.d.ts +8 -0
  125. package/dist/PanoRulerProPlugin/typings.d.ts +46 -0
  126. package/dist/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
  127. package/dist/PanoSpatialTagPlugin/index.d.ts +5 -0
  128. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  129. package/dist/PanoSpatialTagPlugin/style.d.ts +1 -0
  130. package/dist/PanoSpatialTagPlugin/typings.d.ts +40 -0
  131. package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -0
  132. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  133. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  134. package/dist/PanoTagPlugin/controller/index.d.ts +144 -0
  135. package/dist/PanoTagPlugin/index.d.ts +8 -0
  136. package/dist/PanoTagPlugin/tag.config.d.ts +7 -0
  137. package/dist/PanoTagPlugin/typings/controller.d.ts +103 -0
  138. package/dist/PanoTagPlugin/typings/index.d.ts +2 -0
  139. package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
  140. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  141. package/dist/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  142. package/dist/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  143. package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
  144. package/dist/PanoTagPlugin/utils/debounce.d.ts +7 -0
  145. package/dist/PanoTagPlugin/utils/doUtil.d.ts +1 -0
  146. package/dist/PanoTagPlugin/utils/index.d.ts +12 -0
  147. package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  148. package/dist/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  149. package/dist/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  150. package/dist/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  151. package/dist/PanoTagPlugin/utils/search.d.ts +11 -0
  152. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  153. package/dist/PanoTagPlugin/utils/throttle.d.ts +7 -0
  154. package/dist/base/BasePlugin.d.ts +106 -0
  155. package/dist/base/BasePluginWithData.d.ts +34 -0
  156. package/dist/components/PaintBrush/Controller.d.ts +43 -0
  157. package/dist/components/PaintBrush/Subscribe.d.ts +76 -0
  158. package/dist/components/PaintBrush/index.d.ts +27 -0
  159. package/dist/components/PaintBrush/style.d.ts +2 -0
  160. package/dist/components/PaintBrush/tween.d.ts +7 -0
  161. package/dist/components/PaintBrush/typings.d.ts +58 -0
  162. package/dist/components/PaintBrush/utils.d.ts +26 -0
  163. package/dist/components/index.d.ts +2 -0
  164. package/dist/env.d.ts +1 -0
  165. package/dist/floorplan/Assets/camera.d.ts +1 -0
  166. package/dist/floorplan/Assets/compass.d.ts +1 -0
  167. package/dist/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
  168. package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +97 -0
  169. package/dist/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
  170. package/dist/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -0
  171. package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +99 -0
  172. package/dist/floorplan/ModelFloorplanPlugin/index.d.ts +7 -0
  173. package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -0
  174. package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +36 -0
  175. package/dist/floorplan/PanoFloorplanRadarPlugin/index.d.ts +7 -0
  176. package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
  177. package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +69 -0
  178. package/dist/floorplan/TopviewFloorplanPlugin/index.d.ts +7 -0
  179. package/dist/floorplan/TopviewFloorplanPlugin/typing.d.ts +11 -0
  180. package/dist/floorplan/constant.d.ts +5 -0
  181. package/dist/floorplan/index.d.ts +7 -0
  182. package/dist/floorplan/typings/floorplanData.d.ts +137 -0
  183. package/dist/floorplan/typings/floorplanServerData.d.ts +144 -0
  184. package/dist/floorplan/typings/index.d.ts +117 -0
  185. package/dist/floorplan/typings/utility.d.ts +2 -0
  186. package/dist/floorplan/utils/constant.d.ts +22 -0
  187. package/dist/floorplan/utils/correctFiveState.d.ts +15 -0
  188. package/dist/floorplan/utils/formatData.d.ts +5 -0
  189. package/dist/floorplan/utils/formatPosition.d.ts +36 -0
  190. package/dist/index.d.ts +23 -0
  191. package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +48 -0
  192. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +91 -0
  193. package/dist/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  194. package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  195. package/dist/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  196. package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  197. package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  198. package/dist/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  199. package/dist/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  200. package/dist/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  201. package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  202. package/dist/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  203. package/dist/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  204. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +40 -0
  205. package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +55 -0
  206. package/dist/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  207. package/dist/shared-utils/Object3DHelper/index.d.ts +71 -0
  208. package/dist/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  209. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +45 -0
  210. package/dist/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  211. package/dist/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  212. package/dist/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  213. package/dist/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  214. package/dist/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  215. package/dist/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  216. package/dist/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  217. package/dist/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  218. package/dist/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  219. package/dist/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  220. package/dist/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
  221. package/dist/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  222. package/dist/shared-utils/Subscribe.d.ts +60 -0
  223. package/dist/shared-utils/animationFrame/BetterTween.d.ts +11 -0
  224. package/dist/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
  225. package/dist/shared-utils/animationFrame/formatRad.d.ts +15 -0
  226. package/dist/shared-utils/animationFrame/index.d.ts +16 -0
  227. package/dist/shared-utils/animationFrame/tween.d.ts +75 -0
  228. package/dist/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
  229. package/dist/shared-utils/createCanvasTextTexture.d.ts +8 -0
  230. package/dist/shared-utils/createLine/index.d.ts +3 -0
  231. package/dist/shared-utils/debounce.d.ts +6 -0
  232. package/dist/shared-utils/equal.d.ts +11 -0
  233. package/dist/shared-utils/filter.d.ts +27 -0
  234. package/dist/shared-utils/five/changeMode.d.ts +5 -0
  235. package/dist/shared-utils/getPxmm.d.ts +19 -0
  236. package/dist/shared-utils/index.d.ts +4 -0
  237. package/dist/shared-utils/isNil.d.ts +10 -0
  238. package/dist/shared-utils/isTruelyObject.d.ts +18 -0
  239. package/dist/shared-utils/math/Interval.d.ts +13 -0
  240. package/dist/shared-utils/math/Rectangle.d.ts +27 -0
  241. package/dist/shared-utils/math/index.d.ts +2 -0
  242. package/dist/shared-utils/math/planimetry.d.ts +116 -0
  243. package/dist/shared-utils/math/rad2Deg.d.ts +1 -0
  244. package/dist/shared-utils/nearlyEqual.d.ts +7 -0
  245. package/dist/shared-utils/nextFrame.d.ts +1 -0
  246. package/dist/shared-utils/noop.d.ts +5 -0
  247. package/dist/shared-utils/object3d2LocalMatrix.d.ts +12 -0
  248. package/dist/shared-utils/removeArrayItem.d.ts +7 -0
  249. package/dist/shared-utils/tap.d.ts +8 -0
  250. package/dist/shared-utils/three/Assets/index.d.ts +3 -0
  251. package/dist/shared-utils/three/FivePointSelector.d.ts +36 -0
  252. package/dist/shared-utils/three/Magnifier.d.ts +53 -0
  253. package/dist/shared-utils/three/PointDomHelper.d.ts +18 -0
  254. package/dist/shared-utils/three/PointHelper.d.ts +21 -0
  255. package/dist/shared-utils/three/getCoords.d.ts +9 -0
  256. package/dist/shared-utils/three/getIntersect.d.ts +6 -0
  257. package/dist/shared-utils/three/getRaycaster.d.ts +6 -0
  258. package/dist/shared-utils/three/index.d.ts +7 -0
  259. package/dist/shared-utils/three/loadTexture.d.ts +2 -0
  260. package/dist/shared-utils/three/transformPositionToVector3.d.ts +7 -0
  261. package/dist/shared-utils/three/transfromToMeshBasicMaterial.d.ts +2 -0
  262. package/dist/shared-utils/throttle.d.ts +7 -0
  263. package/dist/shared-utils/tinyEJSrender.d.ts +5 -0
  264. package/dist/shared-utils/to.d.ts +8 -0
  265. package/dist/shared-utils/uuid.d.ts +5 -0
  266. package/dist/typings/math.type.d.ts +44 -0
  267. package/docs/assets/highlight.css +35 -0
  268. package/docs/classes/CruisePluginController.html +24 -24
  269. package/docs/classes/Magnifier.html +16 -16
  270. package/docs/classes/ModelRoomLabelController.html +11 -11
  271. package/docs/classes/Object3DHelperController.html +24 -24
  272. package/docs/classes/PaintBrush.html +15 -15
  273. package/docs/classes/PanoTagPluginController.html +39 -39
  274. package/docs/classes/Util.BetterTween.html +8 -8
  275. package/docs/classes/Util.FivePointSelector.html +12 -12
  276. package/docs/classes/Util.Interval.html +12 -12
  277. package/docs/classes/Util.Magnifier.html +17 -17
  278. package/docs/classes/Util.PointDomHelper.html +11 -11
  279. package/docs/classes/Util.PointHelper.html +11 -11
  280. package/docs/classes/Util.Rectangle.html +13 -13
  281. package/docs/enums/CameraMovementEffect.html +7 -7
  282. package/docs/enums/ContentType.html +12 -12
  283. package/docs/enums/DIRECTION.html +9 -9
  284. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  285. package/docs/enums/DimensionType.html +7 -7
  286. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  287. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  288. package/docs/enums/LinkType.html +7 -7
  289. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  290. package/docs/enums/PointType.html +7 -7
  291. package/docs/enums/Rotation.html +8 -8
  292. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  293. package/docs/functions/CameraMovementPlugin.html +4 -4
  294. package/docs/functions/CruisePlugin.html +4 -4
  295. package/docs/functions/GuideLinePlugin.html +5 -5
  296. package/docs/functions/ItemLabelPlugin.html +4 -4
  297. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  298. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  299. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  300. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  301. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  302. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  303. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  304. package/docs/functions/ModelViewPlugin.html +4 -4
  305. package/docs/functions/Object3DHelperPlugin.html +4 -4
  306. package/docs/functions/PanoCompassPlugin.html +4 -4
  307. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  308. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  309. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  310. package/docs/functions/PanoMeasurePlugin.html +4 -4
  311. package/docs/functions/PanoRulerPlugin.html +4 -4
  312. package/docs/functions/PanoRulerProPlugin.html +4 -4
  313. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  314. package/docs/functions/PanoTagPlugin.html +4 -4
  315. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  316. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  317. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  318. package/docs/functions/Util.getFrameTime.html +5 -5
  319. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  320. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  321. package/docs/functions/Util.isNil.html +5 -5
  322. package/docs/functions/Util.nextFrame.html +5 -5
  323. package/docs/functions/Util.notNil.html +5 -5
  324. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  325. package/docs/functions/Util.tweenProgress.html +5 -5
  326. package/docs/functions/pluginFlag.html +5 -5
  327. package/docs/index.html +25 -4
  328. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  329. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  330. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  331. package/docs/interfaces/ContentTypeMap.html +12 -12
  332. package/docs/interfaces/FloorplanBounding.html +8 -8
  333. package/docs/interfaces/FloorplanData.html +10 -10
  334. package/docs/interfaces/FloorplanEntrance.html +11 -11
  335. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  336. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  337. package/docs/interfaces/FloorplanFloorData.html +9 -9
  338. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  339. package/docs/interfaces/FloorplanObserver.html +9 -9
  340. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  341. package/docs/interfaces/FloorplanPosition.html +7 -7
  342. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  343. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  344. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  345. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  346. package/docs/interfaces/FloorplanServerData.html +7 -7
  347. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  348. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  349. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  350. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  351. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  352. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  353. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  354. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  355. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  356. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  357. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  358. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  359. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  360. package/docs/interfaces/LineJson.html +7 -7
  361. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  362. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  363. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  364. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  365. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  366. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  367. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  368. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  369. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  370. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  371. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  372. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  373. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  374. package/docs/interfaces/Object3DHelperState.html +8 -8
  375. package/docs/interfaces/OpenParameter.html +7 -7
  376. package/docs/interfaces/PaintBrushAction.html +12 -12
  377. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  378. package/docs/interfaces/PaintBrushState.html +10 -10
  379. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  380. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  381. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  382. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  383. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  384. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  385. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  386. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  387. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  388. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  389. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  390. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  391. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  392. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  393. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  394. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  395. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  396. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  397. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  398. package/docs/interfaces/Point.html +8 -8
  399. package/docs/interfaces/PointJson.html +8 -8
  400. package/docs/interfaces/Room.html +9 -9
  401. package/docs/interfaces/RoomInfo.html +7 -7
  402. package/docs/interfaces/RoomLabel.html +14 -14
  403. package/docs/interfaces/RoomRules.html +5 -5
  404. package/docs/interfaces/Rooms.html +5 -5
  405. package/docs/interfaces/Scissor.html +9 -9
  406. package/docs/interfaces/TagConfig.html +10 -10
  407. package/docs/interfaces/Tags.html +9 -9
  408. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  409. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  410. package/docs/modules/Util.html +5 -5
  411. package/docs/modules.html +4 -4
  412. package/docs/types/ArrayPosition.html +5 -5
  413. package/docs/types/CSS3DRenderExportType.html +5 -5
  414. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  415. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  416. package/docs/types/Color.html +5 -5
  417. package/docs/types/ContentTypeConfigKey.html +5 -5
  418. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  419. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  420. package/docs/types/Create3DElementReturnType.html +5 -5
  421. package/docs/types/CruisePluginExportType.html +5 -5
  422. package/docs/types/Direction-1.html +5 -5
  423. package/docs/types/Direction4.html +5 -5
  424. package/docs/types/FloorplanRuleLabels.html +5 -5
  425. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  426. package/docs/types/GuideLinePluginExportType.html +5 -5
  427. package/docs/types/HelperEventMap.html +5 -5
  428. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  429. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  430. package/docs/types/MediaData.html +5 -5
  431. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  432. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  433. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  434. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  435. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  436. package/docs/types/MoveArgs.html +5 -5
  437. package/docs/types/MoveOpts.html +5 -5
  438. package/docs/types/Object3DHelperEventMap.html +5 -5
  439. package/docs/types/ObjectFit.html +5 -5
  440. package/docs/types/PaintBrushEventMap.html +5 -5
  441. package/docs/types/PanoCompassPluginData.html +5 -5
  442. package/docs/types/PanoCompassPluginExportType.html +5 -5
  443. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  444. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  445. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  446. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  447. package/docs/types/PanoMeasureReturnType.html +5 -5
  448. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  449. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  450. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  451. package/docs/types/PlaneTag.html +5 -5
  452. package/docs/types/PointTag.html +5 -5
  453. package/docs/types/Position.html +5 -5
  454. package/docs/types/RotateArgs.html +5 -5
  455. package/docs/types/RotateOpts.html +5 -5
  456. package/docs/types/RuleLabelsKey.html +5 -5
  457. package/docs/types/RuleLabelsValue.html +5 -5
  458. package/docs/types/Tag.html +5 -5
  459. package/docs/types/Tag2D.html +5 -5
  460. package/docs/types/Tag3D.html +5 -5
  461. package/docs/types/TagId.html +5 -5
  462. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  463. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  464. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  465. package/docs/variables/PLUGIN.html +5 -5
  466. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  467. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  468. package/docs/variables/VERSION.html +5 -5
  469. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  470. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  471. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  472. package/package.json +4 -8
  473. package/dist/index.es.js +0 -16650
@@ -0,0 +1,134 @@
1
+ import type { MovePanoOptions, Pose, State } from '@realsee/five';
2
+ import type CruisePlugin from '.';
3
+ import type * as BasePluginWithData from '../base/BasePluginWithData';
4
+ import type { Route } from '../GuideLinePlugin/typing';
5
+ declare type FivePoseAndState = Partial<Pose> & Partial<State>;
6
+ export declare type MoveEffect = MovePanoOptions['effect'];
7
+ export declare type CruiseData = {
8
+ /** 移动/旋转 */
9
+ effect: 'Move' | 'Rotate';
10
+ /** five走点动画 */
11
+ moveEffect?: MoveEffect;
12
+ /** 移动速度 */
13
+ moveSpeed?: number;
14
+ /** 旋转速度 */
15
+ rotateSpeed?: number;
16
+ } & FivePoseAndState;
17
+ export interface CruiseKeyframe {
18
+ id: string;
19
+ index: number;
20
+ moveIndex: number;
21
+ stay?: number;
22
+ start?: number;
23
+ end?: number;
24
+ data: CruiseData;
25
+ }
26
+ export interface PluginData {
27
+ keyframesId: string;
28
+ keyframes: CruiseKeyframe[];
29
+ }
30
+ export interface PluginServerData extends BasePluginWithData.ServerData {
31
+ data: {
32
+ keyframes: {
33
+ uuid?: string;
34
+ id?: string;
35
+ start?: number;
36
+ end?: number;
37
+ data: CruiseData;
38
+ }[];
39
+ /** for ts check, no care */
40
+ panoIndexList?: undefined;
41
+ /** for ts check, no care */
42
+ moveEffect?: undefined;
43
+ /** for ts check, no care */
44
+ moveType?: undefined;
45
+ /** for ts check, no care */
46
+ moveToFirstPanoEffect?: undefined;
47
+ /** for ts check, no care */
48
+ stay?: undefined;
49
+ } | {
50
+ /** 点位列表 */
51
+ panoIndexList: number[];
52
+ /** five走点动画 */
53
+ moveEffect?: MoveEffect;
54
+ /** 到第一个点的走点动画 / 续播到暂停处的走点动画 */
55
+ moveToFirstPanoEffect?: MoveEffect;
56
+ /** 漫游方式:justMove 为移动到指定点位,且朝向为下一个点的朝向;moveAndRotate 为先移动到指定点位且朝向不变,然后旋转到下一个点的朝向 */
57
+ moveType?: 'justMove' | 'moveAndRotate';
58
+ /** 停留时长 */
59
+ stay?: number;
60
+ /** 传递给 GuildPlugin 的参数 */
61
+ guildPluginOptions?: {
62
+ route: Omit<Route, 'panoIndexList'>;
63
+ };
64
+ /** for ts check, no care */
65
+ keyframes?: undefined;
66
+ };
67
+ }
68
+ export interface PluginState extends BasePluginWithData.State {
69
+ /** 是否可见 */
70
+ visible: boolean;
71
+ /** 是否正在播放 */
72
+ playing: boolean;
73
+ /** 是否销毁 */
74
+ disposed: boolean;
75
+ /** 播放速度 */
76
+ speed: number;
77
+ config?: {
78
+ /** 速度配置 */
79
+ speedConfig?: {
80
+ /** 旋转速度 */
81
+ rotateSpeed: number;
82
+ /** 旋转速度单位 */
83
+ rotateSpeedUnit: 'rad/s' | 'rad/ms';
84
+ /** 移动速度 */
85
+ moveSpeed: number;
86
+ /** 移动速度单位 */
87
+ moveSpeedUnit: 'm/s' | 'm/ms';
88
+ };
89
+ /** five 走点动画 */
90
+ moveEffect?: MoveEffect;
91
+ };
92
+ }
93
+ export interface EventMap extends BasePluginWithData.EventMap<PluginState, PluginData> {
94
+ /** 展示 */
95
+ show: (options: {
96
+ userAction: boolean;
97
+ }) => void;
98
+ /** 隐藏 */
99
+ hide: (options: {
100
+ userAction: boolean;
101
+ }) => void;
102
+ /** 开启 */
103
+ enable: (options: {
104
+ userAction: boolean;
105
+ }) => void;
106
+ /** 关闭 */
107
+ disable: (options: {
108
+ userAction: boolean;
109
+ }) => void;
110
+ /** 播放状态改变,playingState: playing 表示播放;pause 表示暂停 */
111
+ playStateChange: (playingState: 'playing' | 'pause', options: {
112
+ userAction: boolean;
113
+ }) => void;
114
+ /** 开始播放,相当于 playStateChange: ('playing') => void */
115
+ play: (options: {
116
+ userAction: boolean;
117
+ }) => void;
118
+ /** 暂停播放,相当于 playStateChange: ('pause') => void */
119
+ pause: (options: {
120
+ userAction: boolean;
121
+ }) => void;
122
+ /** 播放的帧改变,index表示开始播放第{index}个帧 */
123
+ playIndexChange: (index: number, keyframe: CruiseKeyframe) => void;
124
+ /** 播放被手势操作打断,同时会触发 ”pause“ 事件 */
125
+ broke: () => void;
126
+ /** 播放结束 */
127
+ end: () => void;
128
+ /** 播放速度改变,speed表示播放速度 */
129
+ speedChange: (speed: number, options: {
130
+ userAction: boolean;
131
+ }) => void;
132
+ }
133
+ export declare type CruisePluginExportType = ReturnType<typeof CruisePlugin>;
134
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @description: 获取coordinates间的夹角
3
+ * @return {number} 夹角角度
4
+ */
5
+ declare function coordinatesAngle(coordinates1: {
6
+ longitude: number;
7
+ latitude: number;
8
+ }, coordinates2: {
9
+ longitude: number;
10
+ latitude: number;
11
+ }): number;
12
+ export { coordinatesAngle };
@@ -0,0 +1,7 @@
1
+ import * as THREE from 'three';
2
+ /** 坐标转换成单位向量 */
3
+ declare function coordinatesToVector(coordinates: {
4
+ longitude: number;
5
+ latitude: number;
6
+ }): THREE.Vector3;
7
+ export { coordinatesToVector };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 将弧度转成 0 - 2PI 中的值
3
+ * @param rad - 任意弧度值
4
+ * @return 0 - 2PI 的数值
5
+ */
6
+ declare function formatRad(rad: number): number;
7
+ export { formatRad };
@@ -0,0 +1 @@
1
+ export default function linerValue(x0: number, v0: number, t1: number, t: number): number;
@@ -0,0 +1 @@
1
+ export declare const safeCall: (fn: () => Promise<any>) => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function sleep(duration: number): Promise<void>;
@@ -0,0 +1,7 @@
1
+ import type * as THREE from 'three';
2
+ /** 单位向量转换成坐标 */
3
+ declare function vectorToCoordinates(vector: THREE.Vector3): {
4
+ longitude: number;
5
+ latitude: number;
6
+ };
7
+ export { vectorToCoordinates };
@@ -0,0 +1,51 @@
1
+ import * as BasePluginWithData from '../base/BasePluginWithData';
2
+ import type { Five } from '@realsee/five';
3
+ import type { EventMap, PluginData, PluginServerData, PluginState } from './typing';
4
+ import type { Config } from '../base/BasePlugin';
5
+ export declare const pluginFlag: (name: string) => string;
6
+ export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
7
+ static lasestVersion: string;
8
+ state: {
9
+ visible: boolean;
10
+ enabled: boolean;
11
+ disposed: boolean;
12
+ };
13
+ protected data?: PluginData;
14
+ private linesGroup?;
15
+ constructor(five: Five, config?: Config);
16
+ load(serverData: PluginServerData | PluginData, state?: PluginState, userAction?: boolean): Promise<void>;
17
+ formatData(serverData: any): Promise<PluginData>;
18
+ show(options?: {
19
+ userAction?: boolean;
20
+ }): Promise<void>;
21
+ hide(options?: {
22
+ userAction?: boolean;
23
+ }): Promise<void>;
24
+ enable(options?: {
25
+ userAction?: boolean;
26
+ }): void;
27
+ disable(options?: {
28
+ userAction?: boolean;
29
+ }): void;
30
+ dispose(): void;
31
+ setState(state: Partial<PluginState>, options?: {
32
+ userAction?: boolean;
33
+ }): void;
34
+ private handleEnable;
35
+ private handleVisible;
36
+ private handleDispose;
37
+ /**
38
+ * 获取多条路线的 Mesh Group
39
+ */
40
+ private getLinesGroup;
41
+ /**
42
+ * 获取单条路线
43
+ */
44
+ private getLine;
45
+ private disposedErrorLog;
46
+ private actionWhenEnabled;
47
+ /**
48
+ * @description: Wait for five model ready
49
+ */
50
+ private waitFiveModelLoaded;
51
+ }
@@ -0,0 +1,5 @@
1
+ import type { Five } from '@realsee/five';
2
+ import Controller from './Controller';
3
+ export declare const GuideLinePlugin: (five: Five, config?: ConstructorParameters<typeof Controller>[1]) => Controller;
4
+ export type { GuideLinePluginExportType } from './typing';
5
+ export default GuideLinePlugin;
@@ -0,0 +1,34 @@
1
+ import type GuideLinePlugin from '.';
2
+ import type * as BasePluginWithData from '../base/BasePluginWithData';
3
+ export interface Route {
4
+ panoIndexList: number[];
5
+ arrowTextureUrl?: string;
6
+ skipPanoIndexMesh?: boolean;
7
+ unitWidth?: number;
8
+ unitHeight?: number;
9
+ }
10
+ export interface PluginData {
11
+ routes: Route[];
12
+ }
13
+ export interface PluginServerData extends BasePluginWithData.ServerData {
14
+ data: PluginData;
15
+ }
16
+ export interface PluginState extends BasePluginWithData.State {
17
+ visible: boolean;
18
+ disposed: boolean;
19
+ }
20
+ export interface EventMap extends BasePluginWithData.EventMap<PluginState, PluginData> {
21
+ show: (options: {
22
+ userAction: boolean;
23
+ }) => void;
24
+ hide: (options: {
25
+ userAction: boolean;
26
+ }) => void;
27
+ enable: (options: {
28
+ userAction: boolean;
29
+ }) => void;
30
+ disable: (options: {
31
+ userAction: boolean;
32
+ }) => void;
33
+ }
34
+ export declare type GuideLinePluginExportType = ReturnType<typeof GuideLinePlugin>;
@@ -0,0 +1,4 @@
1
+ import * as THREE from 'three';
2
+ export declare function getArrowMaterial(params: {
3
+ textureUrl: string;
4
+ }): THREE.MeshBasicMaterial;
@@ -0,0 +1,16 @@
1
+ import * as THREE from 'three';
2
+ export interface LineGeometriesConfig {
3
+ /** 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示 */
4
+ skipPanoIndexMesh?: boolean;
5
+ unitWidth?: number;
6
+ unitHeight?: number;
7
+ }
8
+ /**
9
+ * @description: 根据坐标获取平滑曲线
10
+ * @param {Vector3[]} positionList 坐标点数组
11
+ * @param {number} config.unitWidth 宽
12
+ * @param {number} config.unitHeight 高
13
+ * @param {boolean} config.skipPanoIndexMesh 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示
14
+ * @return {THREE.BufferGeometry[]} THREE.BufferGeometry[]
15
+ */
16
+ export default function getLineGeometries(positionList: THREE.Vector3[], config?: LineGeometriesConfig): THREE.BufferGeometry[];
@@ -0,0 +1,3 @@
1
+ declare module 'polyline-normals' {
2
+ export default function getNormals(points: number[][], closed?: boolean): [number, number][][]
3
+ }
@@ -0,0 +1,4 @@
1
+ import type { FivePlugin } from "@realsee/five";
2
+ import { ItemLabelPluginExportReturnsType, ItemLabelPluginParametersType } from "./typings";
3
+ export declare const Plugin: FivePlugin<ItemLabelPluginParametersType, ItemLabelPluginExportReturnsType>;
4
+ export default Plugin;
@@ -0,0 +1,9 @@
1
+ import type { SubscribeEventMap } from '@realsee/five';
2
+ import type { ItemLabel } from "./typings";
3
+ export interface ItemLabelEvent extends SubscribeEventMap {
4
+ /**
5
+ * 点击标签
6
+ */
7
+ onLabelClick: (itemLabel: ItemLabel) => void;
8
+ }
9
+ export declare type PluginEvent = ItemLabelEvent;
@@ -0,0 +1,9 @@
1
+ import ItemLabelPlugin from './Plugin';
2
+ export { ItemLabelPlugin };
3
+ export default ItemLabelPlugin;
4
+ export declare const itemLabelPluginServerParams: {
5
+ name: string;
6
+ version: number;
7
+ };
8
+ export type { ItemLabelPluginParametersType, ItemLabelPluginData, ItemLabelPluginExportReturnsType } from './typings';
9
+ export { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE } from './typings';
@@ -0,0 +1,65 @@
1
+ import type { Subscribe } from "@realsee/five";
2
+ import type { PluginEvent } from "./events.type";
3
+ import type ItemLabelComponent from './ItemLabelComponent.svelte';
4
+ export declare enum ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE {
5
+ SMALL = "small",
6
+ MIDLLE = "middle",
7
+ LARGE = "large",
8
+ EXTRA_LARGE = "x-large"
9
+ }
10
+ export interface ItemLabelPluginParametersType {
11
+ maxVisibleDistance?: number;
12
+ modelOcclusionEnable?: boolean;
13
+ onlyVisibleInPanorama?: boolean;
14
+ displayStrategyType?: Partial<ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE>;
15
+ }
16
+ export interface ItemLabelPluginData {
17
+ item_labels: Readonly<{
18
+ panoIndex: number;
19
+ id: string;
20
+ code: string;
21
+ name: string;
22
+ position: [number, number, number];
23
+ type?: string[];
24
+ icon?: string;
25
+ render?: (data: ItemLabel) => HTMLDivElement;
26
+ [key: string]: any;
27
+ }>[];
28
+ }
29
+ export interface ItemLabel {
30
+ panoIndex: number;
31
+ id: string;
32
+ code: string;
33
+ name: string;
34
+ position: [number, number, number];
35
+ modelPosition: [number, number, number];
36
+ type?: string[];
37
+ icon?: string;
38
+ observerIndex?: number | undefined;
39
+ visible?: boolean;
40
+ isFold?: boolean;
41
+ render?: (data: ItemLabel) => HTMLDivElement;
42
+ [key: string]: any;
43
+ }
44
+ export interface ItemLabelPluginExportReturnsType {
45
+ appendTo: (wrapper: Element) => void;
46
+ load: (data: ItemLabelPluginData) => void;
47
+ disable: () => void;
48
+ enable: () => void;
49
+ dispose: () => void;
50
+ hooks: Subscribe<PluginEvent>;
51
+ }
52
+ export interface ItemLabelPluginState {
53
+ container: HTMLDivElement;
54
+ data: ItemLabelPluginData | null;
55
+ enabled: boolean;
56
+ itemLabels: ItemLabel[];
57
+ wrapper: HTMLElement | null;
58
+ fiveModeEnabled: boolean;
59
+ app?: ItemLabelComponent | undefined;
60
+ hooks: Subscribe<PluginEvent>;
61
+ modelOcclusionEnable: boolean;
62
+ onlyVisibleInPanorama: boolean;
63
+ displayStrategyType: Partial<ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE>;
64
+ maxVisibleDistance: number | undefined;
65
+ }
@@ -0,0 +1 @@
1
+ export declare const getLabelTransform: (cssOffset: [number, number]) => string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * 展示策略
3
+ * */
4
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE } from "../typings";
5
+ export declare const getStrokeLength: (itemSpaceHeight: number, type: ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE) => number;
@@ -0,0 +1,8 @@
1
+ import * as THREE from 'three';
2
+ import type { Five } from "@realsee/five";
3
+ declare const Vector3: typeof THREE.Vector3;
4
+ /**
5
+ * 碰撞检测可见性
6
+ * */
7
+ export declare const isImpacted: (five: Five, sourceVector: THREE.Vector3, targetVector: THREE.Vector3, distance: number) => boolean;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { ItemLabelPluginData, ItemLabel } from '../typings';
2
+ /** @description 转成内部所需数据 */
3
+ export declare function parseItemLabelPluginData(data: ItemLabelPluginData): ItemLabel[];
@@ -0,0 +1,3 @@
1
+ import type { ItemLabel } from '../typings';
2
+ /** @description 转成内部所需数据 */
3
+ export declare function transform2RenderData(data: any): ItemLabel[];
@@ -0,0 +1,19 @@
1
+ import type { FivePlugin } from '@realsee/five';
2
+ export interface ModelChassisCompassPluginParameterType {
3
+ north_rad?: number;
4
+ fbx_url?: string;
5
+ }
6
+ export interface ModelChassisCompassPluginData {
7
+ north_rad?: number;
8
+ fbx_url?: string;
9
+ }
10
+ export interface ModelChassisCompassPluginExportType {
11
+ enable: () => void;
12
+ disable: () => void;
13
+ load: (data?: ModelChassisCompassPluginData) => Promise<boolean>;
14
+ }
15
+ /**
16
+ * 模型底盘指南针插件
17
+ */
18
+ export declare const ModelChassisCompassPlugin: FivePlugin<ModelChassisCompassPluginParameterType, ModelChassisCompassPluginExportType>;
19
+ export default ModelChassisCompassPlugin;
@@ -0,0 +1,4 @@
1
+ import ModelChassisCompassPlugin from './Plugin';
2
+ export { ModelChassisCompassPlugin };
3
+ export default ModelChassisCompassPlugin;
4
+ export type { ModelChassisCompassPluginParameterType, ModelChassisCompassPluginData, ModelChassisCompassPluginExportType } from './Plugin';
@@ -0,0 +1,26 @@
1
+ import type { FivePlugin } from '@realsee/five';
2
+ import type { Vector3Position } from '../typings/math.type';
3
+ export interface ModelEntryDoorGuidePluginData {
4
+ position?: Vector3Position;
5
+ rad?: number;
6
+ fbx_url?: string;
7
+ }
8
+ export declare type ModelEntryDoorGuidePluginParameterType = {
9
+ animationEnabled?: boolean;
10
+ } & ModelEntryDoorGuidePluginData;
11
+ export interface ModelEntryDoorGuidePluginExportType {
12
+ enable: (config?: {
13
+ animationEnable?: boolean;
14
+ }) => boolean;
15
+ disable: () => boolean;
16
+ load: (data?: Partial<ModelEntryDoorGuidePluginData>) => Promise<boolean>;
17
+ }
18
+ /**
19
+ * 模型入户门引导插件
20
+ */
21
+ export declare const ModelEntryDoorGuidePlugin: FivePlugin<ModelEntryDoorGuidePluginParameterType, ModelEntryDoorGuidePluginExportType>;
22
+ export declare const modelEntryDoorGuidePluginServerParams: {
23
+ name: string;
24
+ version: number;
25
+ };
26
+ export default ModelEntryDoorGuidePlugin;
@@ -0,0 +1,4 @@
1
+ import ModelEntryDoorGuidePlugin from './Plugin';
2
+ export { ModelEntryDoorGuidePlugin };
3
+ export default ModelEntryDoorGuidePlugin;
4
+ export type { ModelEntryDoorGuidePluginData, ModelEntryDoorGuidePluginParameterType, ModelEntryDoorGuidePluginExportType } from './Plugin';
@@ -0,0 +1,4 @@
1
+ import type { FivePlugin } from "@realsee/five";
2
+ import { ModelItemLabelPluginExportReturnsType, ModelItemLabelPluginParametersType } from "./typings";
3
+ export declare const ModelItemLabelPlugin: FivePlugin<ModelItemLabelPluginParametersType, ModelItemLabelPluginExportReturnsType>;
4
+ export default ModelItemLabelPlugin;
@@ -0,0 +1,9 @@
1
+ import type { SubscribeEventMap } from '@realsee/five';
2
+ import type { ItemLabel } from "./typings";
3
+ export interface ItemLabelEvent extends SubscribeEventMap {
4
+ /**
5
+ * 点击标签
6
+ */
7
+ onLabelClick: (itemLabel: ItemLabel) => void;
8
+ }
9
+ export declare type PluginEvent = ItemLabelEvent;
@@ -0,0 +1,9 @@
1
+ import ModelItemLabelPlugin from './ModelItemLabelPlugin';
2
+ export { ModelItemLabelPlugin };
3
+ export default ModelItemLabelPlugin;
4
+ export declare const modelItemLabelPluginServerParams: {
5
+ name: string;
6
+ version: number;
7
+ };
8
+ export type { ModelItemLabelPluginParametersType, ModelItemLabelPluginData, ModelItemLabelPluginExportReturnsType } from './typings';
9
+ export { DISPLAY_STRATEGY_TYPE } from './typings';
@@ -0,0 +1,56 @@
1
+ import type { Subscribe } from "@realsee/five";
2
+ import type { PluginEvent } from "./events.type";
3
+ import type ItemLabelComponent from './ItemLabelComponent.svelte';
4
+ export declare enum DISPLAY_STRATEGY_TYPE {
5
+ SMALL = "small",
6
+ MIDLLE = "middle",
7
+ LARGE = "large",
8
+ EXTRA_LARGE = "x-large"
9
+ }
10
+ export interface ModelItemLabelPluginParametersType {
11
+ modelOcclusionEnable?: boolean;
12
+ displayStrategyType?: Partial<DISPLAY_STRATEGY_TYPE>;
13
+ }
14
+ export interface ModelItemLabelPluginData {
15
+ model_item_labels: Readonly<{
16
+ id: string;
17
+ library: string;
18
+ name: string;
19
+ size: [number, number, number];
20
+ center: [number, number, number];
21
+ position: [number, number, number];
22
+ type: string[];
23
+ [key: string]: any;
24
+ }>[];
25
+ }
26
+ export interface ItemLabel {
27
+ id: string;
28
+ library: string;
29
+ name: string;
30
+ size: [number, number, number];
31
+ center: [number, number, number];
32
+ position: [number, number, number];
33
+ type: string[];
34
+ modelPosition: [number, number, number];
35
+ [key: string]: any;
36
+ }
37
+ export interface ModelItemLabelPluginExportReturnsType {
38
+ appendTo: (wrapper: Element) => void;
39
+ load: (data: ModelItemLabelPluginData) => void;
40
+ disable: () => void;
41
+ enable: () => void;
42
+ dispose: () => void;
43
+ hooks: Subscribe<PluginEvent>;
44
+ }
45
+ export interface ModelItemLabelPluginState {
46
+ container: HTMLDivElement;
47
+ data: ModelItemLabelPluginData | null;
48
+ enabled: boolean;
49
+ itemLabels: ItemLabel[];
50
+ wrapper: HTMLElement | null;
51
+ fiveModeEnabled: boolean;
52
+ app?: ItemLabelComponent | undefined;
53
+ hooks: Subscribe<PluginEvent>;
54
+ modelOcclusionEnable: boolean;
55
+ displayStrategyType: Partial<DISPLAY_STRATEGY_TYPE>;
56
+ }
@@ -0,0 +1,3 @@
1
+ import type { ModelItemLabelPluginData, ItemLabel } from '../typings';
2
+ /** @description 转成内部所需数据 */
3
+ export declare function parseModelItemLabelPluginData(data: ModelItemLabelPluginData): ItemLabel[];
@@ -0,0 +1 @@
1
+ export declare const ROOM_LABEL_BG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzX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ErkJggg==";
@@ -0,0 +1,36 @@
1
+ import type { Five } from '@realsee/five';
2
+ import type { ModelRoomLabelPluginData } from './typings';
3
+ export declare type ModelRoomLabelPluginParameters = undefined;
4
+ export declare class ModelRoomLabelController {
5
+ private five;
6
+ private enabled;
7
+ private fiveModeEnabled;
8
+ private app?;
9
+ private wrapper?;
10
+ private roomLabels;
11
+ private container;
12
+ constructor(five: Five);
13
+ dispose(): void;
14
+ /** 加载数据 */
15
+ load(data: ModelRoomLabelPluginData): void;
16
+ /** 设置插件容器 */
17
+ appendTo(wrapper: Element): this;
18
+ /** 禁用插件功能
19
+ * @description
20
+ * - 如果当前正在展示中,会清除所有展示的 DOM
21
+ * - 如果当前未展示,即使后续 Five 状态满足展示要求,也不会展示
22
+ * */
23
+ disable(): this;
24
+ /** 启用插件功能
25
+ * @description
26
+ * - 如果当前符合展示条件,会立刻展示
27
+ * - 如果不符合展示条件,会等待 Five 状态满足条件后再展示
28
+ */
29
+ enable(): this;
30
+ /** 监听 Five Mode 变化
31
+ * @description
32
+ * Mode 不符合要求时,立刻消失,满足要求时,需要等待动画结束再展示
33
+ */
34
+ private onFiveModeChange;
35
+ private render;
36
+ }
@@ -0,0 +1,12 @@
1
+ import * as Controller from './Controller';
2
+ import type { FivePlugin } from '@realsee/five';
3
+ export declare const ModelRoomLabelPlugin: FivePlugin<Controller.ModelRoomLabelPluginParameters, ModelRoomLabelPluginReturnType>;
4
+ export default ModelRoomLabelPlugin;
5
+ export declare const modelRoomLabelPluginServerParams: {
6
+ name: string;
7
+ version: number;
8
+ };
9
+ export type { ModelRoomLabelController } from './Controller';
10
+ export type { ModelRoomLabelPluginData, RoomLabel } from './typings';
11
+ export declare type ModelRoomLabelPluginReturnType = Controller.ModelRoomLabelController;
12
+ export type { ModelRoomLabelPluginParameters } from './Controller';