@realsee/dnalogel 3.20.7 → 3.21.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 (587) hide show
  1. package/dist/Object3DHelperPlugin/Controller.d.ts +25 -18
  2. package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -0
  3. package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +2 -55
  4. package/dist/Sculpt/Meshes/Area.d.ts +30 -0
  5. package/dist/Sculpt/Meshes/Box.d.ts +35 -0
  6. package/dist/Sculpt/Meshes/Circle.d.ts +26 -0
  7. package/dist/Sculpt/Meshes/CircleWithEdge.d.ts +11 -0
  8. package/dist/Sculpt/Meshes/Cylinder.d.ts +34 -0
  9. package/dist/Sculpt/Meshes/Line.d.ts +27 -0
  10. package/dist/Sculpt/Meshes/LineWithDots.d.ts +30 -0
  11. package/dist/Sculpt/Meshes/Point.d.ts +22 -0
  12. package/dist/Sculpt/Meshes/Polygon.d.ts +31 -0
  13. package/dist/Sculpt/Meshes/Polyline.d.ts +34 -0
  14. package/dist/Sculpt/Meshes/Prism.d.ts +31 -0
  15. package/dist/Sculpt/Meshes/Rectangle.d.ts +24 -0
  16. package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +20 -0
  17. package/dist/Sculpt/Modules/Cursor.d.ts +13 -0
  18. package/dist/Sculpt/Modules/Global.d.ts +20 -0
  19. package/dist/Sculpt/Objects/Base/Editor.d.ts +21 -0
  20. package/dist/Sculpt/Objects/Base/index.d.ts +60 -0
  21. package/dist/Sculpt/Objects/Box/Editor.d.ts +5 -0
  22. package/dist/Sculpt/Objects/Box/index.d.ts +28 -0
  23. package/dist/Sculpt/Objects/Circle/Editor.d.ts +5 -0
  24. package/dist/Sculpt/Objects/Circle/index.d.ts +28 -0
  25. package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +5 -0
  26. package/dist/Sculpt/Objects/Cylinder/index.d.ts +30 -0
  27. package/dist/Sculpt/Objects/Point/Editor.d.ts +8 -0
  28. package/dist/Sculpt/Objects/Point/index.d.ts +35 -0
  29. package/dist/Sculpt/Objects/Polygon/Editor.d.ts +8 -0
  30. package/dist/Sculpt/Objects/Polygon/index.d.ts +28 -0
  31. package/dist/Sculpt/Objects/Polyline/Editor.d.ts +25 -0
  32. package/dist/Sculpt/Objects/Polyline/index.d.ts +31 -0
  33. package/dist/Sculpt/Objects/Prism/Editor.d.ts +5 -0
  34. package/dist/Sculpt/Objects/Prism/index.d.ts +28 -0
  35. package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +5 -0
  36. package/dist/Sculpt/Objects/Rectangle/index.d.ts +29 -0
  37. package/dist/Sculpt/index.d.ts +184 -0
  38. package/dist/Sculpt/typings/index.d.ts +16 -0
  39. package/dist/Sculpt/typings/utils.type.d.ts +12 -0
  40. package/dist/Sculpt/utils/color.d.ts +40 -0
  41. package/dist/Sculpt/utils/data.d.ts +7 -0
  42. package/dist/Sculpt/utils/getBetterNormal.d.ts +2 -0
  43. package/dist/Sculpt/utils/radiusToSegments.d.ts +1 -0
  44. package/dist/Sculpt/utils/three/ColoredMesh.d.ts +17 -0
  45. package/dist/Sculpt/utils/three/RectangleGeometry.d.ts +6 -0
  46. package/dist/Sculpt/utils/three/rayOnLine.d.ts +5 -0
  47. package/dist/index.cjs.js +70 -70
  48. package/dist/index.d.ts +1 -0
  49. package/dist/index.js +11537 -9326
  50. package/dist/index.umd.js +63 -63
  51. package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +13 -5
  52. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +17 -6
  53. package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
  54. package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +14 -7
  55. package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +4 -2
  56. package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  57. package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +12 -3
  58. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
  59. package/dist/shared-utils/Object3DHelper/typings/index.d.ts +11 -0
  60. package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +2 -0
  61. package/dist/shared-utils/five/FiveDomEvents.d.ts +50 -13
  62. package/dist/shared-utils/five/getPosition.d.ts +14 -0
  63. package/dist/shared-utils/five/getRaycasterByNdcPosition.d.ts +6 -0
  64. package/dist/shared-utils/positionToVector3.d.ts +1 -0
  65. package/dist/shared-utils/three/IObject3D.d.ts +4 -0
  66. package/dist/shared-utils/three/Magnifier.d.ts +33 -19
  67. package/dist/shared-utils/three/PointSelector.d.ts +25 -11
  68. package/dist/shared-utils/three/PointSelectorHelper.d.ts +2 -0
  69. package/{libs/PanoMeasurePlugin/utils → dist/shared-utils/three}/geometryUtil.d.ts +1 -1
  70. package/dist/shared-utils/three/getIntersect.d.ts +16 -2
  71. package/dist/shared-utils/three/getNormal.d.ts +1 -1
  72. package/dist/shared-utils/three/recurveFindObject.d.ts +2 -0
  73. package/dist/shared-utils/three/vector3ToArray.d.ts +3 -0
  74. package/docs/assets/search.js +1 -1
  75. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +9 -4
  76. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +9 -4
  77. package/docs/classes/CSS3DRender.html +10 -5
  78. package/docs/classes/GuideLineItem.GuideLineItem.html +10 -5
  79. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +10 -5
  80. package/docs/classes/ModelRoomLabelController.html +10 -5
  81. package/docs/classes/MoveController.html +10 -5
  82. package/docs/classes/Object3DHelperController.html +26 -39
  83. package/docs/classes/PaintBrush.html +10 -5
  84. package/docs/classes/PanoMeasurePluginLine.html +10 -5
  85. package/docs/classes/PanoMeasurePluginModel.html +10 -5
  86. package/docs/classes/PanoMeasurePluginPoint.html +10 -5
  87. package/docs/classes/PanoMeasurePluginPolyline.html +10 -5
  88. package/docs/classes/PanoTagPluginController.html +10 -5
  89. package/docs/classes/Sculpt.html +847 -0
  90. package/docs/classes/Util.BetterTween.html +10 -5
  91. package/docs/classes/Util.Interval.html +10 -5
  92. package/docs/classes/Util.LineSegments.html +10 -5
  93. package/docs/classes/Util.Magnifier.html +82 -58
  94. package/docs/classes/Util.Object3D.html +10 -5
  95. package/docs/classes/Util.PointDomHelper.html +10 -5
  96. package/docs/classes/Util.PointHelper.html +10 -5
  97. package/docs/classes/Util.PointSelectorHelper.html +23 -18
  98. package/docs/classes/Util.Rectangle.html +10 -5
  99. package/docs/classes/WalkController.html +10 -5
  100. package/docs/enums/CameraMovementEffect.html +10 -5
  101. package/docs/enums/ContentType.html +10 -5
  102. package/docs/enums/DIRECTION.html +10 -5
  103. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -5
  104. package/docs/enums/DimensionType.html +10 -5
  105. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -5
  106. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -5
  107. package/docs/enums/PaintBrushTypeEnum.html +10 -5
  108. package/docs/enums/PointType.html +10 -5
  109. package/docs/enums/Rotation.html +10 -5
  110. package/docs/functions/AreaMakerPlugin.html +10 -5
  111. package/docs/functions/CSS3DRenderPlugin.html +10 -5
  112. package/docs/functions/CameraMovementPlugin.html +10 -5
  113. package/docs/functions/CruisePlugin.html +10 -5
  114. package/docs/functions/CurrentPanoImagePlugin.html +10 -5
  115. package/docs/functions/GuideLinePlugin.html +10 -5
  116. package/docs/functions/ItemLabelPlugin.html +10 -5
  117. package/docs/functions/MapviewFloorplanPlugin.html +10 -5
  118. package/docs/functions/ModelChassisCompassPlugin.html +10 -5
  119. package/docs/functions/ModelEntryDoorGuidePlugin.html +10 -5
  120. package/docs/functions/ModelFloorplanPlugin.html +10 -5
  121. package/docs/functions/ModelItemLabelPlugin.html +10 -5
  122. package/docs/functions/ModelRoomLabelPlugin.html +10 -5
  123. package/docs/functions/ModelTVVideoPlugin.html +10 -5
  124. package/docs/functions/ModelViewPlugin.html +10 -5
  125. package/docs/functions/MovePlugin.html +10 -5
  126. package/docs/functions/Object3DHelperPlugin.html +10 -5
  127. package/docs/functions/PanoCompassPlugin.html +10 -5
  128. package/docs/functions/PanoCursorRaycasterPlugin.html +10 -5
  129. package/docs/functions/PanoDoorLabelPlugin.html +10 -5
  130. package/docs/functions/PanoFloorplanRadarPlugin.html +10 -5
  131. package/docs/functions/PanoMeasurePlugin.html +10 -5
  132. package/docs/functions/PanoRulerPlugin.html +10 -5
  133. package/docs/functions/PanoRulerProPlugin.html +10 -5
  134. package/docs/functions/PanoSpatialTagPlugin.html +10 -5
  135. package/docs/functions/PanoTagPlugin.html +10 -5
  136. package/docs/functions/PanoVideoPlugin.html +10 -5
  137. package/docs/functions/PipelinePlugin.html +10 -5
  138. package/docs/functions/TopviewFloorplanPlugin.html +10 -5
  139. package/docs/functions/Util.absoluteUrl.html +10 -5
  140. package/docs/functions/Util.checkFiveModelLoaded.html +10 -5
  141. package/docs/functions/Util.equal.html +10 -5
  142. package/docs/functions/Util.getCoordsFromClient.html +10 -5
  143. package/docs/functions/Util.getCoordsFromElement.html +10 -5
  144. package/docs/functions/Util.getFrameTime.html +10 -5
  145. package/docs/functions/Util.getIntersectFromRelativePosition.html +17 -7
  146. package/docs/functions/Util.getRaycasterFromFivePointer.html +10 -5
  147. package/docs/functions/Util.isAbsoluteURL.html +10 -5
  148. package/docs/functions/Util.isModelLike.html +10 -5
  149. package/docs/functions/Util.isNil.html +10 -5
  150. package/docs/functions/Util.isPanoramaLike.html +10 -5
  151. package/docs/functions/Util.nextFrame.html +10 -5
  152. package/docs/functions/Util.notNil.html +10 -5
  153. package/docs/functions/Util.requestAnimationFrameInterval.html +10 -5
  154. package/docs/functions/Util.tweenProgress.html +10 -5
  155. package/docs/functions/Util.uuid.html +10 -5
  156. package/docs/functions/pluginFlag.html +10 -5
  157. package/docs/index.html +11 -6
  158. package/docs/interfaces/AddTagConfig.html +10 -5
  159. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +9 -4
  160. package/docs/interfaces/AreaMakerPluginType.Config.html +9 -4
  161. package/docs/interfaces/AreaMakerPluginType.EventMap.html +9 -4
  162. package/docs/interfaces/AreaMakerPluginType.Params.html +9 -4
  163. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +9 -4
  164. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -4
  165. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -4
  166. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +9 -4
  167. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +9 -4
  168. package/docs/interfaces/AreaMakerPluginType.State.html +9 -4
  169. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -5
  170. package/docs/interfaces/CSS3DRenderPluginState.html +10 -5
  171. package/docs/interfaces/CameraMovementPluginExportType.html +10 -5
  172. package/docs/interfaces/CruisePluginTypes.Config.html +9 -4
  173. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +9 -4
  174. package/docs/interfaces/CruisePluginTypes.EventMap.html +9 -4
  175. package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -4
  176. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -4
  177. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +9 -4
  178. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -4
  179. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +9 -4
  180. package/docs/interfaces/CruisePluginTypes.PluginState.html +9 -4
  181. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -5
  182. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +10 -5
  183. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +10 -5
  184. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +10 -5
  185. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -5
  186. package/docs/interfaces/EventMap.html +10 -5
  187. package/docs/interfaces/FloorplanBounding.html +10 -5
  188. package/docs/interfaces/FloorplanData.html +10 -5
  189. package/docs/interfaces/FloorplanEntrance.html +10 -5
  190. package/docs/interfaces/FloorplanExtraObject.html +10 -5
  191. package/docs/interfaces/FloorplanExtraObject3D.html +10 -5
  192. package/docs/interfaces/FloorplanFloorData.html +10 -5
  193. package/docs/interfaces/FloorplanImagePosition.html +10 -5
  194. package/docs/interfaces/FloorplanObserver.html +10 -5
  195. package/docs/interfaces/FloorplanOutlineItem.html +10 -5
  196. package/docs/interfaces/FloorplanPosition.html +10 -5
  197. package/docs/interfaces/FloorplanRoomItem.html +10 -5
  198. package/docs/interfaces/FloorplanRoomLabelItem.html +10 -5
  199. package/docs/interfaces/FloorplanServerBounding.html +10 -5
  200. package/docs/interfaces/FloorplanServerComputedData.html +10 -5
  201. package/docs/interfaces/FloorplanServerData.html +10 -5
  202. package/docs/interfaces/FloorplanServerDoorItem.html +10 -5
  203. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -5
  204. package/docs/interfaces/FloorplanServerEntrance.html +10 -5
  205. package/docs/interfaces/FloorplanServerFloorData.html +10 -5
  206. package/docs/interfaces/FloorplanServerImagePosition.html +10 -5
  207. package/docs/interfaces/FloorplanServerObserver.html +10 -5
  208. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -5
  209. package/docs/interfaces/FloorplanServerPosition.html +10 -5
  210. package/docs/interfaces/FloorplanServerRoomItem.html +10 -5
  211. package/docs/interfaces/FloorplanServerRoomLabelItem.html +10 -5
  212. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -5
  213. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -4
  214. package/docs/interfaces/GuideLinePluginType.EventMap.html +9 -4
  215. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -4
  216. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -4
  217. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +9 -4
  218. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +9 -4
  219. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -4
  220. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +9 -4
  221. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -4
  222. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +9 -4
  223. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +9 -4
  224. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +9 -4
  225. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -4
  226. package/docs/interfaces/GuideLinePluginType.Route.html +9 -4
  227. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -4
  228. package/docs/interfaces/HelperOffset.html +10 -5
  229. package/docs/interfaces/ImagePlaneGroup.html +10 -5
  230. package/docs/interfaces/ItemLabelPluginData.html +10 -5
  231. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -5
  232. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -5
  233. package/docs/interfaces/MinMax.html +10 -5
  234. package/docs/interfaces/ModelChassisCompassPluginData.html +10 -5
  235. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -5
  236. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +10 -5
  237. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -5
  238. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -5
  239. package/docs/interfaces/ModelItemLabelPluginData.html +10 -5
  240. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -5
  241. package/docs/interfaces/ModelItemLabelPluginParametersType.html +10 -5
  242. package/docs/interfaces/ModelRoomLabelPluginData.html +10 -5
  243. package/docs/interfaces/ModelTVVideoPluginData.html +10 -5
  244. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -5
  245. package/docs/interfaces/ModelTVVideoPluginParameterType.html +10 -5
  246. package/docs/interfaces/ModelViewPluginExportType.html +10 -5
  247. package/docs/interfaces/Object3DHelperState.html +14 -9
  248. package/docs/interfaces/ObjectHelperControllers.html +16 -11
  249. package/docs/interfaces/PaintBrushAction.html +10 -5
  250. package/docs/interfaces/PaintBrushConfigs.html +10 -5
  251. package/docs/interfaces/PaintBrushState.html +10 -5
  252. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -5
  253. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +10 -5
  254. package/docs/interfaces/PanoMeasureParameterType.html +10 -5
  255. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -5
  256. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +10 -5
  257. package/docs/interfaces/PanoMeasurePluginPointJson.html +10 -5
  258. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -5
  259. package/docs/interfaces/PanoRulerPluginExportType.html +10 -5
  260. package/docs/interfaces/PanoRulerPluginOptions.html +10 -5
  261. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -5
  262. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -5
  263. package/docs/interfaces/PanoRulerProPluginOptions.html +10 -5
  264. package/docs/interfaces/PanoRulerProPluginParameterType.html +10 -5
  265. package/docs/interfaces/PanoRulerProPluginState.html +10 -5
  266. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +10 -5
  267. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +10 -5
  268. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -5
  269. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -5
  270. package/docs/interfaces/PanoSpatialTagPluginExportType.html +10 -5
  271. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -5
  272. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +10 -5
  273. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -5
  274. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -5
  275. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +10 -5
  276. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -5
  277. package/docs/interfaces/PanoVideoPluginType.PluginData.html +10 -5
  278. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -5
  279. package/docs/interfaces/PanoVideoPluginType.PluginState.html +10 -5
  280. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -5
  281. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -5
  282. package/docs/interfaces/Point.html +10 -5
  283. package/docs/interfaces/Room.html +10 -5
  284. package/docs/interfaces/RoomInfo.html +10 -5
  285. package/docs/interfaces/RoomLabel.html +10 -5
  286. package/docs/interfaces/RoomRules.html +10 -5
  287. package/docs/interfaces/Rooms.html +10 -5
  288. package/docs/interfaces/Scissor.html +10 -5
  289. package/docs/interfaces/State.html +10 -5
  290. package/docs/interfaces/TagCacheInterface.html +10 -5
  291. package/docs/interfaces/TagConfig.html +12 -7
  292. package/docs/interfaces/TagGLTFObjectGroup.html +10 -5
  293. package/docs/interfaces/TagIconUrl.html +10 -5
  294. package/docs/interfaces/TagObjectGroup.html +10 -5
  295. package/docs/interfaces/TagStyle.html +10 -5
  296. package/docs/interfaces/Tags.html +10 -5
  297. package/docs/interfaces/TemporaryState.html +10 -5
  298. package/docs/interfaces/Util.MagnifierParameter.html +32 -22
  299. package/docs/interfaces/Util.MouseGroupParameter.html +10 -5
  300. package/docs/interfaces/Util.PointIntersection.html +19 -7
  301. package/docs/modules/AreaMakerPluginType.html +9 -4
  302. package/docs/modules/CruisePluginTypes.html +9 -4
  303. package/docs/modules/CurrentPanoImagePluginType.html +10 -5
  304. package/docs/modules/GuideLineItem.html +10 -5
  305. package/docs/modules/GuideLineModeItem.html +10 -5
  306. package/docs/modules/GuideLinePluginType.html +9 -4
  307. package/docs/modules/PanoVideoPluginType.html +10 -5
  308. package/docs/modules/Util.html +10 -5
  309. package/docs/modules.html +22 -9
  310. package/docs/types/AddObject3DHelperConfig.html +310 -0
  311. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +9 -4
  312. package/docs/types/AreaMakerPluginType.ItemRenderer.html +9 -4
  313. package/docs/types/AreaMakerPluginType.PluginData.html +9 -4
  314. package/docs/types/AreaMakerPluginType.ServerData.html +9 -4
  315. package/docs/types/ArrayPosition.html +10 -5
  316. package/docs/types/AudioAppearance.html +10 -5
  317. package/docs/types/AudioTagTypeConfigKey.html +10 -5
  318. package/docs/types/CSS3DRenderExportType.html +10 -5
  319. package/docs/types/CSS3DRenderPluginExportType.html +10 -5
  320. package/docs/types/CSS3DRenderPluginParameterType.html +10 -5
  321. package/docs/types/ClassFunctionParameters.html +10 -5
  322. package/docs/types/Color.html +10 -5
  323. package/docs/types/ContentTypeConfigKey.html +10 -5
  324. package/docs/types/ContentTypeConfigKeySplit.html +10 -5
  325. package/docs/types/ContentTypeMap.html +10 -5
  326. package/docs/types/Create3DDomContainerReturnType.html +10 -5
  327. package/docs/types/Create3DElementReturnType.html +10 -5
  328. package/docs/types/CruisePluginExportType.html +10 -5
  329. package/docs/types/CruisePluginTypes.CruiseData.html +9 -4
  330. package/docs/types/CruisePluginTypes.MoveEffect.html +9 -4
  331. package/docs/types/CurrentPanoImagePluginExportType.html +10 -5
  332. package/docs/types/DeprecatedMediaPlaneProperty.html +10 -5
  333. package/docs/types/DeprecatedTagProperty.html +10 -5
  334. package/docs/types/Direction-1.html +10 -5
  335. package/docs/types/Direction4.html +10 -5
  336. package/docs/types/ElementRenderer.html +10 -5
  337. package/docs/types/FloorplanRuleLabels.html +10 -5
  338. package/docs/types/FloorplanServerRuleLabels.html +10 -5
  339. package/docs/types/GuideLinePluginExportType.html +10 -5
  340. package/docs/types/GuideLinePluginType.GuideLineItem.html +9 -4
  341. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +9 -4
  342. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +9 -4
  343. package/docs/types/GuideLinePluginType.GuideLineStyle.html +9 -4
  344. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +9 -4
  345. package/docs/types/GuideLinePluginType.PathItem.html +9 -4
  346. package/docs/types/GuideLinePluginType.PluginData.html +9 -4
  347. package/docs/types/HelperEventMap.html +10 -5
  348. package/docs/types/InternalHelperEventMap.html +22 -9
  349. package/docs/types/LoadTagConfig.html +10 -5
  350. package/docs/types/MapviewFloorplanPluginParameterType.html +10 -5
  351. package/docs/types/MapviewFloorplanPluginReturnType.html +10 -5
  352. package/docs/types/MediaData.html +10 -5
  353. package/docs/types/MediaStore.html +10 -5
  354. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +10 -5
  355. package/docs/types/ModelFloorplanPluginParameterType.html +10 -5
  356. package/docs/types/ModelFloorplanPluginReturnType.html +10 -5
  357. package/docs/types/ModelId.html +10 -5
  358. package/docs/types/ModelRoomLabelPluginParameters.html +10 -5
  359. package/docs/types/ModelRoomLabelPluginReturnType.html +10 -5
  360. package/docs/types/MoveArgs.html +10 -5
  361. package/docs/types/MoveOpts.html +10 -5
  362. package/docs/types/Object3DHelperEventMap.html +11 -6
  363. package/docs/types/ObjectFit.html +10 -5
  364. package/docs/types/PaintBrushEventMap.html +10 -5
  365. package/docs/types/PanoCompassPluginData.html +10 -5
  366. package/docs/types/PanoCompassPluginExportType.html +10 -5
  367. package/docs/types/PanoCompassPluginParameterType.html +10 -5
  368. package/docs/types/PanoFloorplanRadarPluginParameterType.html +10 -5
  369. package/docs/types/PanoFloorplanRadarPluginReturnType.html +10 -5
  370. package/docs/types/PanoIndex.html +10 -5
  371. package/docs/types/PanoMeasurePluginEvent.html +10 -5
  372. package/docs/types/PanoMeasureReturnType.html +10 -5
  373. package/docs/types/PanoSpatialTagPluginId.html +10 -5
  374. package/docs/types/PanoTagPluginExportInterface.html +10 -5
  375. package/docs/types/PanoTagPluginParamsInterface.html +10 -5
  376. package/docs/types/PanoVideoPluginParameterType.html +10 -5
  377. package/docs/types/PanoVideoPluginReturnType.html +10 -5
  378. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +10 -5
  379. package/docs/types/PipelinePluginParameterType.html +10 -5
  380. package/docs/types/PipelinePluginReturnType.html +10 -5
  381. package/docs/types/PlaneTag.html +10 -5
  382. package/docs/types/Point2DTag.html +10 -5
  383. package/docs/types/Point3DTag.html +10 -5
  384. package/docs/types/PointTag.html +10 -5
  385. package/docs/types/PointTagInstance.html +10 -5
  386. package/docs/types/Position.html +10 -5
  387. package/docs/types/PositionFrom.html +297 -0
  388. package/docs/types/RotateArgs.html +10 -5
  389. package/docs/types/RotateOpts.html +10 -5
  390. package/docs/types/RuleLabelsKey.html +10 -5
  391. package/docs/types/RuleLabelsValue.html +10 -5
  392. package/docs/types/ScaleCallback.html +309 -0
  393. package/docs/types/ScalePosition.html +298 -0
  394. package/docs/types/StickType.html +10 -5
  395. package/docs/types/Tag.html +10 -5
  396. package/docs/types/Tag2D.html +10 -5
  397. package/docs/types/Tag3D.html +10 -5
  398. package/docs/types/TagConfigByKey.html +10 -5
  399. package/docs/types/TagContentType.html +10 -5
  400. package/docs/types/TagContentTypeMapping.html +10 -5
  401. package/docs/types/TagDimensionType.html +10 -5
  402. package/docs/types/TagElement.html +10 -5
  403. package/docs/types/TagEvents.html +10 -5
  404. package/docs/types/TagGLTFObject.html +10 -5
  405. package/docs/types/TagHooks.html +10 -5
  406. package/docs/types/TagId.html +10 -5
  407. package/docs/types/TagInstance.html +10 -5
  408. package/docs/types/TagPointType.html +10 -5
  409. package/docs/types/TagRendererMap.html +10 -5
  410. package/docs/types/TopviewFloorplanPluginParameterType.html +10 -5
  411. package/docs/types/TopviewFloorplanPluginReturnType.html +10 -5
  412. package/docs/types/WorkCode.html +10 -5
  413. package/docs/variables/FLOOR_TYPE_MAP.html +10 -5
  414. package/docs/variables/PLUGIN.html +11 -6
  415. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +10 -5
  416. package/docs/variables/ROOM_TYPE_MAP.html +10 -5
  417. package/docs/variables/defaultGlobalConfig.html +10 -5
  418. package/docs/variables/itemLabelPluginServerParams.html +10 -5
  419. package/docs/variables/modelItemLabelPluginServerParams.html +10 -5
  420. package/docs/variables/modelRoomLabelPluginServerParams.html +10 -5
  421. package/libs/GuideLinePlugin/Controller.js +15 -15
  422. package/libs/Object3DHelperPlugin/Controller.d.ts +25 -18
  423. package/libs/Object3DHelperPlugin/Controller.js +91 -91
  424. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -0
  425. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +22 -18
  426. package/libs/Object3DHelperPlugin/index.js +8 -6
  427. package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -7
  428. package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -7
  429. package/libs/PanoMeasurePlugin/Controller/EditController.js +7 -8
  430. package/libs/PanoMeasurePlugin/Controller/MixedController.js +7 -7
  431. package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -2
  432. package/libs/PanoMeasurePlugin/Controller/index.js +5 -5
  433. package/libs/PanoMeasurePlugin/Model/area.js +2 -2
  434. package/libs/PanoMeasurePlugin/Model/polygon.js +1 -1
  435. package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +2 -55
  436. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +22 -156
  437. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +6 -7
  438. package/libs/PanoMeasurePlugin/index.js +24 -25
  439. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
  440. package/libs/PanoTagPlugin/controller/TagRender.js +18 -13
  441. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +20 -10
  442. package/libs/Sculpt/Meshes/Area.d.ts +30 -0
  443. package/libs/Sculpt/Meshes/Area.js +56 -0
  444. package/libs/Sculpt/Meshes/Box.d.ts +35 -0
  445. package/libs/Sculpt/Meshes/Box.js +88 -0
  446. package/libs/Sculpt/Meshes/Circle.d.ts +26 -0
  447. package/libs/Sculpt/Meshes/Circle.js +42 -0
  448. package/libs/Sculpt/Meshes/CircleWithEdge.d.ts +11 -0
  449. package/libs/Sculpt/Meshes/CircleWithEdge.js +41 -0
  450. package/libs/Sculpt/Meshes/Cylinder.d.ts +34 -0
  451. package/libs/Sculpt/Meshes/Cylinder.js +88 -0
  452. package/libs/Sculpt/Meshes/Line.d.ts +27 -0
  453. package/libs/Sculpt/Meshes/Line.js +108 -0
  454. package/libs/Sculpt/Meshes/LineWithDots.d.ts +30 -0
  455. package/libs/Sculpt/Meshes/LineWithDots.js +70 -0
  456. package/libs/Sculpt/Meshes/Point.d.ts +22 -0
  457. package/libs/Sculpt/Meshes/Point.js +74 -0
  458. package/libs/Sculpt/Meshes/Polygon.d.ts +31 -0
  459. package/libs/Sculpt/Meshes/Polygon.js +52 -0
  460. package/libs/Sculpt/Meshes/Polyline.d.ts +34 -0
  461. package/libs/Sculpt/Meshes/Polyline.js +105 -0
  462. package/libs/Sculpt/Meshes/Prism.d.ts +31 -0
  463. package/libs/Sculpt/Meshes/Prism.js +78 -0
  464. package/libs/Sculpt/Meshes/Rectangle.d.ts +24 -0
  465. package/libs/Sculpt/Meshes/Rectangle.js +49 -0
  466. package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +20 -0
  467. package/libs/Sculpt/Meshes/RectangleWithEdge.js +49 -0
  468. package/libs/Sculpt/Modules/Cursor.d.ts +13 -0
  469. package/libs/Sculpt/Modules/Cursor.js +37 -0
  470. package/libs/Sculpt/Modules/Global.d.ts +20 -0
  471. package/libs/Sculpt/Modules/Global.js +45 -0
  472. package/libs/Sculpt/Objects/Base/Editor.d.ts +21 -0
  473. package/libs/Sculpt/Objects/Base/Editor.js +52 -0
  474. package/libs/Sculpt/Objects/Base/index.d.ts +60 -0
  475. package/libs/Sculpt/Objects/Base/index.js +77 -0
  476. package/libs/Sculpt/Objects/Box/Editor.d.ts +5 -0
  477. package/libs/Sculpt/Objects/Box/Editor.js +44 -0
  478. package/libs/Sculpt/Objects/Box/index.d.ts +28 -0
  479. package/libs/Sculpt/Objects/Box/index.js +107 -0
  480. package/libs/Sculpt/Objects/Circle/Editor.d.ts +5 -0
  481. package/libs/Sculpt/Objects/Circle/Editor.js +9 -0
  482. package/libs/Sculpt/Objects/Circle/index.d.ts +28 -0
  483. package/libs/Sculpt/Objects/Circle/index.js +114 -0
  484. package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +5 -0
  485. package/libs/Sculpt/Objects/Cylinder/Editor.js +41 -0
  486. package/libs/Sculpt/Objects/Cylinder/index.d.ts +30 -0
  487. package/libs/Sculpt/Objects/Cylinder/index.js +100 -0
  488. package/libs/Sculpt/Objects/Point/Editor.d.ts +8 -0
  489. package/libs/Sculpt/Objects/Point/Editor.js +25 -0
  490. package/libs/Sculpt/Objects/Point/index.d.ts +35 -0
  491. package/libs/Sculpt/Objects/Point/index.js +92 -0
  492. package/libs/Sculpt/Objects/Polygon/Editor.d.ts +8 -0
  493. package/libs/Sculpt/Objects/Polygon/Editor.js +23 -0
  494. package/libs/Sculpt/Objects/Polygon/index.d.ts +28 -0
  495. package/libs/Sculpt/Objects/Polygon/index.js +113 -0
  496. package/libs/Sculpt/Objects/Polyline/Editor.d.ts +25 -0
  497. package/libs/Sculpt/Objects/Polyline/Editor.js +68 -0
  498. package/libs/Sculpt/Objects/Polyline/index.d.ts +31 -0
  499. package/libs/Sculpt/Objects/Polyline/index.js +96 -0
  500. package/libs/Sculpt/Objects/Prism/Editor.d.ts +5 -0
  501. package/libs/Sculpt/Objects/Prism/Editor.js +44 -0
  502. package/libs/Sculpt/Objects/Prism/index.d.ts +28 -0
  503. package/libs/Sculpt/Objects/Prism/index.js +105 -0
  504. package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +5 -0
  505. package/libs/Sculpt/Objects/Rectangle/Editor.js +9 -0
  506. package/libs/Sculpt/Objects/Rectangle/index.d.ts +29 -0
  507. package/libs/Sculpt/Objects/Rectangle/index.js +105 -0
  508. package/libs/Sculpt/index.d.ts +184 -0
  509. package/libs/Sculpt/index.js +209 -0
  510. package/libs/Sculpt/typings/index.d.ts +16 -0
  511. package/libs/Sculpt/typings/utils.type.d.ts +12 -0
  512. package/libs/Sculpt/utils/color.d.ts +40 -0
  513. package/libs/Sculpt/utils/color.js +7 -0
  514. package/libs/Sculpt/utils/data.d.ts +7 -0
  515. package/libs/Sculpt/utils/getBetterNormal.d.ts +2 -0
  516. package/libs/Sculpt/utils/getBetterNormal.js +8 -0
  517. package/libs/Sculpt/utils/radiusToSegments.d.ts +1 -0
  518. package/libs/Sculpt/utils/radiusToSegments.js +6 -0
  519. package/libs/Sculpt/utils/three/ColoredMesh.d.ts +17 -0
  520. package/libs/Sculpt/utils/three/ColoredMesh.js +58 -0
  521. package/libs/Sculpt/utils/three/RectangleGeometry.d.ts +6 -0
  522. package/libs/Sculpt/utils/three/RectangleGeometry.js +19 -0
  523. package/libs/Sculpt/utils/three/rayOnLine.d.ts +5 -0
  524. package/libs/Sculpt/utils/three/rayOnLine.js +8 -0
  525. package/libs/base/BasePlugin.js +1 -1
  526. package/libs/index.d.ts +1 -0
  527. package/libs/index.js +172 -127
  528. package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +13 -5
  529. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +95 -80
  530. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +17 -6
  531. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +40 -35
  532. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +9 -9
  533. package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
  534. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +54 -53
  535. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +14 -7
  536. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +49 -15
  537. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +4 -2
  538. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +16 -12
  539. package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +8 -5
  540. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  541. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +21 -12
  542. package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +12 -3
  543. package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +38 -5
  544. package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
  545. package/libs/shared-utils/Object3DHelper/typings/index.d.ts +11 -0
  546. package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +22 -21
  547. package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +2 -0
  548. package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +7 -0
  549. package/libs/shared-utils/Subscribe.js +1 -1
  550. package/libs/shared-utils/five/FiveDomEvents.d.ts +50 -13
  551. package/libs/shared-utils/five/FiveDomEvents.js +135 -90
  552. package/libs/shared-utils/five/getPosition.d.ts +14 -0
  553. package/libs/shared-utils/five/getPosition.js +45 -0
  554. package/libs/shared-utils/five/getRaycasterByNdcPosition.d.ts +6 -0
  555. package/libs/shared-utils/five/getRaycasterByNdcPosition.js +8 -0
  556. package/libs/shared-utils/logger.js +1 -1
  557. package/libs/shared-utils/positionToVector3.d.ts +1 -0
  558. package/libs/shared-utils/positionToVector3.js +7 -4
  559. package/libs/shared-utils/three/IObject3D.d.ts +4 -0
  560. package/libs/shared-utils/three/IObject3D.js +22 -9
  561. package/libs/shared-utils/three/Magnifier.d.ts +33 -19
  562. package/libs/shared-utils/three/Magnifier.js +112 -70
  563. package/libs/shared-utils/three/PointSelector.d.ts +25 -11
  564. package/libs/shared-utils/three/PointSelector.js +70 -78
  565. package/libs/shared-utils/three/PointSelectorHelper.d.ts +2 -0
  566. package/libs/shared-utils/three/PointSelectorHelper.js +14 -14
  567. package/libs/shared-utils/three/generatePolygonGeometry.js +15 -0
  568. package/{dist/PanoMeasurePlugin/utils → libs/shared-utils/three}/geometryUtil.d.ts +1 -1
  569. package/libs/shared-utils/three/geometryUtil.js +37 -0
  570. package/libs/shared-utils/three/getIntersect.d.ts +16 -2
  571. package/libs/shared-utils/three/getIntersect.js +20 -5
  572. package/libs/shared-utils/three/getNormal.d.ts +1 -1
  573. package/libs/shared-utils/three/getNormal.js +8 -7
  574. package/libs/shared-utils/three/recurveFindObject.d.ts +2 -0
  575. package/libs/shared-utils/three/recurveFindObject.js +6 -0
  576. package/libs/shared-utils/three/vector3ToArray.d.ts +3 -0
  577. package/libs/shared-utils/three/vector3ToArray.js +6 -0
  578. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +372 -0
  579. package/package.json +4 -3
  580. package/dist/shared-utils/getIntersectionFromEvent.d.ts +0 -4
  581. package/docs/classes/Magnifier.html +0 -485
  582. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +0 -13
  583. package/libs/PanoMeasurePlugin/utils/geometryUtil.js +0 -39
  584. package/libs/shared-utils/getIntersectionFromEvent.d.ts +0 -4
  585. package/libs/shared-utils/getIntersectionFromEvent.js +0 -9
  586. /package/dist/{PanoMeasurePlugin/utils → shared-utils/three}/generatePolygonGeometry.d.ts +0 -0
  587. /package/libs/{PanoMeasurePlugin/utils → shared-utils/three}/generatePolygonGeometry.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.20.7</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.21.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.20.7</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.21.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,9 +38,10 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.20.7</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.21.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
+ <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
44
45
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
45
46
  <li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
46
47
  <li><a href="../modules/CurrentPanoImagePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Current<wbr/>Pano<wbr/>Image<wbr/>Plugin<wbr/>Type</span></a></li>
@@ -60,7 +61,6 @@
60
61
  <li><a href="../enums/PointType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Point<wbr/>Type</span></a></li>
61
62
  <li><a href="../enums/Rotation.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Rotation</span></a></li>
62
63
  <li><a href="../classes/CSS3DRender.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>CSS3DRender</span></a></li>
63
- <li><a href="../classes/Magnifier.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Magnifier</span></a></li>
64
64
  <li><a href="../classes/ModelRoomLabelController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Controller</span></a></li>
65
65
  <li><a href="../classes/MoveController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Move<wbr/>Controller</span></a></li>
66
66
  <li><a href="../classes/Object3DHelperController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Object3DHelper<wbr/>Controller</span></a></li>
@@ -70,6 +70,7 @@
70
70
  <li><a href="../classes/PanoMeasurePluginPoint.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point</span></a></li>
71
71
  <li><a href="../classes/PanoMeasurePluginPolyline.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline</span></a></li>
72
72
  <li><a href="../classes/PanoTagPluginController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Controller</span></a></li>
73
+ <li><a href="../classes/Sculpt.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Sculpt</span></a></li>
73
74
  <li><a href="../classes/WalkController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Walk<wbr/>Controller</span></a></li>
74
75
  <li><a href="../interfaces/AddTagConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Add<wbr/>Tag<wbr/>Config</span></a></li>
75
76
  <li><a href="../interfaces/CSS3DRenderPluginEventMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</span></a></li>
@@ -164,7 +165,8 @@
164
165
  <li><a href="../interfaces/TagStyle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Tag<wbr/>Style</span></a></li>
165
166
  <li><a href="../interfaces/Tags.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Tags</span></a></li>
166
167
  <li><a href="../interfaces/TemporaryState.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Temporary<wbr/>State</span></a></li>
167
- <li><a href="../types/ArrayPosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Array<wbr/>Position</span></a></li>
168
+ <li><a href="../types/AddObject3DHelperConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Add<wbr/>Object3DHelper<wbr/>Config</span></a></li>
169
+ <li><a href="../types/ArrayPosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Array<wbr/>Position</span></a></li>
168
170
  <li><a href="../types/AudioAppearance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Audio<wbr/>Appearance</span></a></li>
169
171
  <li><a href="../types/AudioTagTypeConfigKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Audio<wbr/>Tag<wbr/>Type<wbr/>Config<wbr/>Key</span></a></li>
170
172
  <li><a href="../types/CSS3DRenderExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Export<wbr/>Type</span></a></li>
@@ -227,10 +229,13 @@
227
229
  <li><a href="../types/PointTag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Point<wbr/>Tag</span></a></li>
228
230
  <li><a href="../types/PointTagInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Point<wbr/>Tag<wbr/>Instance</span></a></li>
229
231
  <li><a href="../types/Position.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Position</span></a></li>
232
+ <li><a href="../types/PositionFrom.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Position<wbr/>From</span></a></li>
230
233
  <li><a href="../types/RotateArgs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rotate<wbr/>Args</span></a></li>
231
234
  <li><a href="../types/RotateOpts.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rotate<wbr/>Opts</span></a></li>
232
235
  <li><a href="../types/RuleLabelsKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rule<wbr/>Labels<wbr/>Key</span></a></li>
233
236
  <li><a href="../types/RuleLabelsValue.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rule<wbr/>Labels<wbr/>Value</span></a></li>
237
+ <li><a href="../types/ScaleCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Scale<wbr/>Callback</span></a></li>
238
+ <li><a href="../types/ScalePosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Scale<wbr/>Position</span></a></li>
234
239
  <li><a href="../types/StickType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Stick<wbr/>Type</span></a></li>
235
240
  <li><a href="../types/Tag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Tag</span></a></li>
236
241
  <li><a href="../types/Tag2D.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Tag2D</span></a></li>
@@ -1,11 +1,11 @@
1
1
  var S = Object.defineProperty;
2
- var _ = Object.getOwnPropertySymbols;
2
+ var C = Object.getOwnPropertySymbols;
3
3
  var V = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
4
4
  var c = (s, o, t) => o in s ? S(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, f = (s, o) => {
5
5
  for (var t in o || (o = {}))
6
6
  V.call(o, t) && c(s, t, o[t]);
7
- if (_)
8
- for (var t of _(o))
7
+ if (C)
8
+ for (var t of C(o))
9
9
  M.call(o, t) && c(s, t, o[t]);
10
10
  return s;
11
11
  };
@@ -30,8 +30,8 @@ import { Controller as O } from "../base/BasePluginWithData.js";
30
30
  import { equal as U } from "../shared-utils/equal.js";
31
31
  import { GuideLineItem as x } from "./GuideLineItem/index.js";
32
32
  import N from "../CruisePlugin/Work.js";
33
- import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
- import * as T from "three";
33
+ import { objectAssignDeepExports as T } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
+ import * as A from "three";
35
35
  import { waitFiveLoaded as W } from "../shared-utils/five/fiveLoaded.js";
36
36
  import { WorkUtil as $ } from "../shared-utils/Utils/WorkUtil.js";
37
37
  import "hammerjs";
@@ -242,21 +242,21 @@ class me extends O {
242
242
  }
243
243
  load(t, i, a = !0) {
244
244
  return u(this, null, function* () {
245
- var v, w, I, E, y, k, D;
245
+ var w, I, E, y, k, D, L;
246
246
  const m = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, e = yield this.formatData(t);
247
247
  this.hooks.emit("dataChange", e, m), this.data = e;
248
248
  const r = e.config, n = {
249
249
  panorama_style: {
250
250
  visible: !!(!e.lines && e.routes),
251
- unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
252
- width: (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.6,
253
- texture: { url: (I = r == null ? void 0 : r.arrowTextureUrl) != null ? I : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
251
+ unit_length: (w = r == null ? void 0 : r.unitHeight) != null ? w : 0.4,
252
+ width: (I = r == null ? void 0 : r.unitWidth) != null ? I : 0.6,
253
+ texture: { url: (E = r == null ? void 0 : r.arrowTextureUrl) != null ? E : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
254
254
  }
255
- }, d = (y = (E = e.routes) == null ? void 0 : E.map((l) => {
256
- var L;
257
- return C({}, n, { id: (L = l.id) != null ? L : P(), pano_group: l.panoIndexList });
258
- })) != null ? y : [], A = (D = (k = e.lines) == null ? void 0 : k.map((l) => C({}, n, l))) != null ? D : [], G = [...d, ...A];
259
- yield W(this.five), this.clear(), G.forEach((l) => {
255
+ }, d = (k = (y = e.routes) == null ? void 0 : y.map((l) => {
256
+ var _;
257
+ return T({}, n, { id: (_ = l.id) != null ? _ : P(), pano_group: l.panoIndexList });
258
+ })) != null ? k : [], G = (L = (D = e.lines) == null ? void 0 : D.map((l) => T({}, n, l))) != null ? L : [], v = [...d, ...G];
259
+ yield W(this.five), this.clear(), console.log(v), v.forEach((l) => {
260
260
  this.addGuideLineItem(l);
261
261
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
262
262
  });
@@ -319,7 +319,7 @@ class me extends O {
319
319
  return Array.isArray(e) && e.every((r) => typeof r == "number");
320
320
  }
321
321
  function a(e, r) {
322
- return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
322
+ return new A.Vector3().fromArray(e).distanceTo(new A.Vector3().fromArray(r)) < 0.01;
323
323
  }
324
324
  function m(e) {
325
325
  var p;
@@ -2,9 +2,32 @@ import type { Five } from '@realsee/five';
2
2
  import * as BasePlugin from '../base/BasePlugin';
3
3
  import type * as THREE from 'three';
4
4
  import { Object3DHelper } from '../shared-utils/Object3DHelper/index';
5
- import type { Object3DHelperState, ObjectHelperControllers } from '../shared-utils/Object3DHelper/typings';
5
+ import type { Object3DHelperState, ObjectHelperControllers, PositionFrom, ScaleCallback, ScalePosition } from '../shared-utils/Object3DHelper/typings';
6
6
  import type { HelperConfig, HelperOffset, Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
7
7
  export declare const PLUGIN = "Object3DHelperPlugin";
8
+ export type AddObject3DHelperConfig = {
9
+ positionFrom?: PositionFrom;
10
+ offset?: HelperOffset;
11
+ yAxis?: THREE.Vector3;
12
+ xAxis?: THREE.Vector3;
13
+ zAxis?: THREE.Vector3;
14
+ moveHelper?: HelperConfig<{
15
+ xArrowEnable?: boolean;
16
+ yArrowEnable?: boolean;
17
+ zArrowEnable?: boolean;
18
+ }>;
19
+ rotateHelper?: HelperConfig<{
20
+ yzCircleEnable?: boolean;
21
+ xzCircleEnable?: boolean;
22
+ xyCircleEnable?: boolean;
23
+ angleTipsEnable?: boolean;
24
+ }>;
25
+ scaleHelper?: HelperConfig<{
26
+ positions?: Array<ScalePosition> | (() => Array<ScalePosition>);
27
+ scaleCallback?: ScaleCallback;
28
+ }>;
29
+ boundingBoxHelper?: HelperConfig;
30
+ };
8
31
  export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
9
32
  name: string;
10
33
  state: Object3DHelperState;
@@ -57,23 +80,7 @@ export declare class Object3DHelperController extends BasePlugin.Controller<Obje
57
80
  * @param { boolean } config.rotateHelper 旋转helper
58
81
  * @param { boolean } config.scaleHelper 缩放helper
59
82
  */
60
- addObject3DHelper(object3D: THREE.Object3D, config?: {
61
- moveHelper?: HelperConfig<{
62
- offset?: HelperOffset;
63
- xArrowEnable?: boolean;
64
- yArrowEnable?: boolean;
65
- zArrowEnable?: boolean;
66
- }>;
67
- rotateHelper?: HelperConfig<{
68
- offset?: HelperOffset;
69
- yzCircleEnable?: boolean;
70
- xzCircleEnable?: boolean;
71
- xyCircleEnable?: boolean;
72
- angleTipsEnable?: boolean;
73
- }>;
74
- scaleHelper?: HelperConfig;
75
- boundingBoxHelper?: HelperConfig;
76
- }): ObjectHelperControllers | undefined;
83
+ addObject3DHelper(object3D: THREE.Object3D, paramsConfig?: AddObject3DHelperConfig): ObjectHelperControllers | undefined;
77
84
  removeObject3DHelper(object3D: THREE.Object3D): void;
78
85
  private handleEnable;
79
86
  private handleVisible;
@@ -1,49 +1,49 @@
1
- var k = Object.defineProperty;
2
- var R = Object.getOwnPropertySymbols;
3
- var j = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
4
- var S = (n, o, e) => o in n ? k(n, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[o] = e, m = (n, o) => {
1
+ var x = Object.defineProperty;
2
+ var P = Object.getOwnPropertySymbols;
3
+ var I = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
4
+ var S = (l, o, e) => o in l ? x(l, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[o] = e, n = (l, o) => {
5
5
  for (var e in o || (o = {}))
6
- j.call(o, e) && S(n, e, o[e]);
7
- if (R)
8
- for (var e of R(o))
9
- x.call(o, e) && S(n, e, o[e]);
10
- return n;
6
+ I.call(o, e) && S(l, e, o[e]);
7
+ if (P)
8
+ for (var e of P(o))
9
+ W.call(o, e) && S(l, e, o[e]);
10
+ return l;
11
11
  };
12
- var c = (n, o, e) => (S(n, typeof o != "symbol" ? o + "" : o, e), e);
13
- var w = (n, o, e) => new Promise((t, r) => {
14
- var s = (p) => {
12
+ var f = (l, o, e) => (S(l, typeof o != "symbol" ? o + "" : o, e), e);
13
+ var g = (l, o, e) => new Promise((t, r) => {
14
+ var s = (c) => {
15
15
  try {
16
- f(e.next(p));
17
- } catch (b) {
18
- r(b);
16
+ b(e.next(c));
17
+ } catch (p) {
18
+ r(p);
19
19
  }
20
- }, a = (p) => {
20
+ }, h = (c) => {
21
21
  try {
22
- f(e.throw(p));
23
- } catch (b) {
24
- r(b);
22
+ b(e.throw(c));
23
+ } catch (p) {
24
+ r(p);
25
25
  }
26
- }, f = (p) => p.done ? t(p.value) : Promise.resolve(p.value).then(s, a);
27
- f((e = e.apply(n, o)).next());
26
+ }, b = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(s, h);
27
+ b((e = e.apply(l, o)).next());
28
28
  });
29
- import { Subscribe as y } from "@realsee/five";
30
- import { Controller as I } from "../base/BasePlugin.js";
29
+ import { Subscribe as R } from "@realsee/five";
30
+ import { Controller as L } from "../base/BasePlugin.js";
31
31
  import "three";
32
- import { MoveHelper as W } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
33
- import { RotateHelper as L } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
34
- import { CSS3DScaleHelper as _ } from "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
35
- import { BoundingBoxHelper as $ } from "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
36
- import { MoveController as G } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
37
- import { ControllerWrapper as C } from "./FiveControllerWrapper.js";
38
- import { Object3DHelper as U } from "../shared-utils/Object3DHelper/index.js";
39
- import { RotateController as N } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
40
- import { CSS3DScaleController as F } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
41
- import { CSS3DRender as V } from "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
42
- import q from "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
43
- import z from "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
44
- import { BoundingBoxController as A } from "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
45
- import { ScaleHelper as J } from "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
46
- import { ScaleController as K } from "../shared-utils/Object3DHelper/Controller/ScaleController.js";
32
+ import { MoveHelper as _ } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
33
+ import { RotateHelper as $ } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
34
+ import { CSS3DScaleHelper as F } from "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
35
+ import { BoundingBoxHelper as G } from "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
36
+ import { MoveController as U } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
37
+ import { ControllerWrapper as H } from "./FiveControllerWrapper.js";
38
+ import { Object3DHelper as N } from "../shared-utils/Object3DHelper/index.js";
39
+ import { RotateController as V } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
40
+ import { CSS3DScaleController as q } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
41
+ import { CSS3DRender as z } from "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
42
+ import A from "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
43
+ import J from "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
44
+ import { BoundingBoxController as K } from "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
45
+ import { ScaleHelper as Q } from "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
46
+ import { ScaleController as T } from "../shared-utils/Object3DHelper/Controller/ScaleController.js";
47
47
  import "../shared-utils/Subscribe.js";
48
48
  import "hammerjs";
49
49
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -51,16 +51,18 @@ import "../shared-utils/url/absoluteUrl.js";
51
51
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
52
52
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
53
53
  import "../shared-utils/three/IObject3D.js";
54
+ import "../shared-utils/Object3DHelper/utils/boundingBox.js";
54
55
  import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
55
56
  import "../shared-utils/Object3DHelper/utils/direction.js";
56
57
  import "../shared-utils/Object3DHelper/Constants/color.js";
58
+ import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
57
59
  import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
58
60
  import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
59
61
  import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
60
- import "../shared-utils/Object3DHelper/utils/boundingBox.js";
61
62
  import "../shared-utils/Object3DHelper/Base/BaseController.js";
62
63
  import "../shared-utils/threex/domevents/index.js";
63
64
  import "../shared-utils/isNil.js";
65
+ import "../shared-utils/util.js";
64
66
  import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
65
67
  import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
66
68
  import "../shared-utils/math/rad2Deg.js";
@@ -71,7 +73,6 @@ import "../shared-utils/positionToVector3.js";
71
73
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
72
74
  import "three/examples/jsm/renderers/CSS3DRenderer";
73
75
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
74
- import "../shared-utils/util.js";
75
76
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
76
77
  import "../CSS3DRenderPlugin/utils/even.js";
77
78
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
@@ -80,32 +81,33 @@ import "../shared-utils/three/centerPoint.js";
80
81
  import "../shared-utils/three/getObjectVisible.js";
81
82
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
82
83
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
83
- const g = "Object3DHelperPlugin", D = g, Q = () => {
84
+ import "../Sculpt/utils/three/rayOnLine.js";
85
+ const w = "Object3DHelperPlugin", D = w, X = () => {
84
86
  console.error(`${D} is disposed`);
85
- }, T = () => {
87
+ }, Y = () => {
86
88
  console.warn(`${D} is disabled`);
87
- }, X = () => {
89
+ }, Z = () => {
88
90
  console.error(`${D} is disabled`);
89
91
  };
90
- class Ze extends I {
92
+ class ir extends L {
91
93
  constructor(e) {
92
94
  super(e);
93
- c(this, "name", g);
94
- c(this, "state", {
95
+ f(this, "name", w);
96
+ f(this, "state", {
95
97
  visible: !0,
96
98
  enabled: !0,
97
99
  disposed: !1
98
100
  });
99
- c(this, "objectHelperMap", /* @__PURE__ */ new Map());
100
- c(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
101
- c(this, "css3DRender");
102
- this.five = e, this.css3DRender = new V(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${g.toUpperCase()}_DEBUG__`]: this });
101
+ f(this, "objectHelperMap", /* @__PURE__ */ new Map());
102
+ f(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
103
+ f(this, "css3DRender");
104
+ this.five = e, this.css3DRender = new z(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${w.toUpperCase()}_DEBUG__`]: this });
103
105
  }
104
106
  /**
105
107
  * @description Show guide line
106
108
  */
107
109
  show(e) {
108
- return w(this, null, function* () {
110
+ return g(this, null, function* () {
109
111
  this.setState({ visible: !0 }, e);
110
112
  });
111
113
  }
@@ -113,7 +115,7 @@ class Ze extends I {
113
115
  * @description Hide guide line
114
116
  */
115
117
  hide(e) {
116
- return w(this, null, function* () {
118
+ return g(this, null, function* () {
117
119
  this.setState({ visible: !1 }, e);
118
120
  });
119
121
  }
@@ -137,11 +139,11 @@ class Ze extends I {
137
139
  }
138
140
  setState(e, t) {
139
141
  if (this.state.disposed)
140
- return Q();
141
- if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
142
142
  return X();
143
- const r = m({}, this.state);
144
- this.state = m(m({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
143
+ if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
144
+ return Z();
145
+ const r = n({}, this.state);
146
+ this.state = n(n({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
145
147
  }
146
148
  getObject3DHelper(e) {
147
149
  return this.objectHelperMap.get(e);
@@ -163,62 +165,60 @@ class Ze extends I {
163
165
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
164
166
  return;
165
167
  }
166
- const r = new U(), s = [], a = (M = this.five.getElement()) == null ? void 0 : M.parentElement, f = this.five.camera, { moveHelper: p = !0, rotateHelper: b = !0, scaleHelper: P = !0, boundingBoxHelper: B = !1 } = t, u = new y(), v = new y(), H = (i) => {
168
+ const r = new N(), s = [], h = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
169
+ moveHelper: !0,
170
+ rotateHelper: !0,
171
+ scaleHelper: !0,
172
+ boundingBoxHelper: !1,
173
+ positionFrom: "objectPosition"
174
+ }), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k, positionFrom: ee } = p, u = new R(), v = new R(), C = (i) => {
167
175
  if (i)
168
176
  return typeof i == "boolean" ? i : i.enable;
169
177
  };
170
- if (H(p)) {
171
- const i = this.getConfig(t.moveHelper), l = new W(e, m({}, i)), d = new C(this.five, G, e, l, i, u, v);
172
- r.addControllers({ moveController: d.helperController }), s.push(() => d.dispose());
178
+ if (C(y)) {
179
+ const i = n(n({}, this.getConfig(p.moveHelper)), p), d = new _(e, n({}, i)), a = new H(this.five, U, e, d, i, u, v);
180
+ r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
173
181
  }
174
- if (H(b)) {
175
- const i = this.getConfig(t.rotateHelper), l = new L(e, m({ container: a }, i)), d = new C(this.five, N, e, l, i, u, v);
176
- r.addControllers({ rotateController: d.helperController }), s.push(() => d.dispose());
182
+ if (C(B)) {
183
+ const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container: h }, i)), a = new H(this.five, V, e, d, i, u, v);
184
+ r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
177
185
  }
178
- if (H(B)) {
179
- const i = new $(e), l = new C(
186
+ if (C(k)) {
187
+ const i = new G(e), d = new H(
180
188
  this.five,
181
- A,
189
+ K,
182
190
  e,
183
191
  i,
184
192
  void 0,
185
193
  u,
186
194
  v
187
195
  );
188
- r.addControllers({ boundingBoxController: l.helperController });
196
+ r.addControllers({ boundingBoxController: d.helperController });
189
197
  }
190
- if (H(P))
191
- if (e.isCSS3DObjectPlus && a) {
192
- const i = new _(e, a, f, this.five.scene), l = new C(
198
+ if (C(j))
199
+ if (e.isCSS3DObjectPlus && h) {
200
+ const i = new F(e, h, b, this.five.scene), d = new H(
193
201
  this.five,
194
- F,
202
+ q,
195
203
  e,
196
204
  i,
197
205
  void 0,
198
206
  u,
199
207
  v
200
208
  );
201
- r.addControllers({ scaleController: l.helperController }), s.push(() => l.dispose()), q(this.five).then(() => {
202
- var d, O;
209
+ r.addControllers({ scaleController: d.helperController }), s.push(() => d.dispose()), A(this.five).then(() => {
210
+ var a, O;
203
211
  if (e.isCSS3DObjectPlus) {
204
- const h = e;
205
- if (!h || h.mode !== "front")
212
+ const m = e;
213
+ if (!m || m.mode !== "front")
206
214
  return;
207
- const E = (d = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? d : z(this.five);
208
- E && (this.css3DObjectParentMap.set(h, h.parent), h.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(E), (O = this.css3DRender.getBehindCSS3DObjectGroup()) == null || O.add(h), this.css3DRender.render(this.five.camera));
215
+ const E = (a = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? a : J(this.five);
216
+ E && (this.css3DObjectParentMap.set(m, m.parent), m.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(E), (O = this.css3DRender.getBehindCSS3DObjectGroup()) == null || O.add(m), this.css3DRender.render(this.five.camera));
209
217
  }
210
218
  });
211
219
  } else {
212
- const i = new J(e), l = new C(
213
- this.five,
214
- K,
215
- e,
216
- i,
217
- void 0,
218
- u,
219
- v
220
- );
221
- r.addControllers({ scaleController: l.helperController }), s.push(() => l.dispose());
220
+ const i = n(n({}, this.getConfig(p.scaleHelper)), p), d = new Q(e, i), a = new H(this.five, T, e, d, i, u, v);
221
+ r.addControllers({ scaleController: a.helperController }), s.push(() => a.dispose());
222
222
  }
223
223
  return this.objectHelperMap.set(e, { helper: r, disposers: s }), r.controllers;
224
224
  }
@@ -228,8 +228,8 @@ class Ze extends I {
228
228
  const { helper: t, disposers: r } = this.objectHelperMap.get(e);
229
229
  if (t) {
230
230
  if (e.isCSS3DObjectPlus) {
231
- const s = e, a = this.css3DObjectParentMap.get(s);
232
- a && a.add(s), this.css3DRender.render(this.five.camera);
231
+ const s = e, h = this.css3DObjectParentMap.get(s);
232
+ h && h.add(s), this.css3DRender.render(this.five.camera);
233
233
  }
234
234
  this.objectHelperMap.delete(e), t.dispose(), r == null || r.forEach((s) => s == null ? void 0 : s());
235
235
  }
@@ -253,7 +253,7 @@ class Ze extends I {
253
253
  actionIfStateIsEnabled(e, t) {
254
254
  if (this.state.enabled)
255
255
  return e();
256
- t != null && t.warnLog && T();
256
+ t != null && t.warnLog && Y();
257
257
  }
258
258
  getConfig(e) {
259
259
  if (e && typeof e != "boolean" && e.enable)
@@ -261,6 +261,6 @@ class Ze extends I {
261
261
  }
262
262
  }
263
263
  export {
264
- Ze as Object3DHelperController,
264
+ ir as Object3DHelperController,
265
265
  D as PLUGIN
266
266
  };
@@ -9,6 +9,7 @@ declare class ControllerWrapper<HelperControllerInterface extends new (...params
9
9
  private five;
10
10
  constructor(five: Five, HelperController: HelperControllerInterface, object: THREE.Object3D, helperObject3D: InstanceType<HelperControllerInterface>['helperObject3D'], HelperControllerConfig?: ConstructorParameters<HelperControllerInterface>[1], hooks?: Subscribe<any>, internalHooks?: Subscribe<any>);
11
11
  dispose(): void;
12
+ private onFiveWantsUpdateCameraDistance;
12
13
  private onFiveWantsTapGesture;
13
14
  private onFiveWantsGesture;
14
15
  private onFiveIntersectionOnModelUpdate;
@@ -1,11 +1,15 @@
1
- var f = Object.defineProperty;
2
- var v = (r, e, t) => e in r ? f(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var n = (r, e, t) => (v(r, typeof e != "symbol" ? e + "" : e, t), t);
4
- class G {
1
+ var v = Object.defineProperty;
2
+ var C = (r, e, t) => e in r ? v(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var n = (r, e, t) => (C(r, typeof e != "symbol" ? e + "" : e, t), t);
4
+ class F {
5
5
  // eslint-disable-next-line max-params
6
- constructor(e, t, a, h, p, u, d) {
6
+ constructor(e, t, l, h, p, d, c) {
7
7
  n(this, "helperController");
8
8
  n(this, "five");
9
+ n(this, "onFiveWantsUpdateCameraDistance", () => {
10
+ var e, t;
11
+ this.helperController && ((t = (e = this.helperController).onWantsUpdateCameraDistance) == null || t.call(e));
12
+ });
9
13
  n(this, "onFiveWantsTapGesture", (e) => {
10
14
  if (!this.helperController)
11
15
  return;
@@ -23,33 +27,33 @@ class G {
23
27
  n(this, "onFiveIntersectionOnModelUpdate", (...e) => {
24
28
  this.helperController && this.helperController.onIntersectionOnModelUpdate(...e);
25
29
  });
26
- const { camera: s, model: o, scene: i } = e, l = e.getElement();
27
- if (this.five = e, !s || !o || !l || !i)
30
+ const { camera: s, model: o, scene: a } = e, i = e.getElement();
31
+ if (this.five = e, !s || !o || !i || !a)
28
32
  return;
29
- const c = () => {
33
+ const u = () => {
30
34
  e.needsRender = !0;
31
35
  };
32
36
  this.helperController = new t(
33
37
  {
34
38
  camera: s,
35
39
  model: o,
36
- originObject3D: a,
40
+ originObject3D: l,
37
41
  helperObject3D: h,
38
- container: l,
39
- scene: i,
40
- onRender: c,
41
- sharedHooks: u,
42
- sharedInternalHooks: d
42
+ container: i,
43
+ scene: a,
44
+ onRender: u,
45
+ sharedHooks: d,
46
+ sharedInternalHooks: c
43
47
  },
44
48
  p
45
- ), e.on("wantsTapGesture", this.onFiveWantsTapGesture), e.on("wantsGesture", this.onFiveWantsGesture), e.on("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate);
49
+ ), e.on("wantsTapGesture", this.onFiveWantsTapGesture), e.on("wantsGesture", this.onFiveWantsGesture), e.on("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), e.on("cameraFovUpdate", this.onFiveWantsUpdateCameraDistance), e.on("cameraPositionUpdate", this.onFiveWantsUpdateCameraDistance);
46
50
  }
47
51
  dispose() {
48
52
  var e;
49
- this.five.off("wantsTapGesture", this.onFiveWantsTapGesture), this.five.off("wantsGesture", this.onFiveWantsGesture), this.five.off("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), (e = this.helperController) == null || e.dispose();
53
+ this.five.off("wantsTapGesture", this.onFiveWantsTapGesture), this.five.off("wantsGesture", this.onFiveWantsGesture), this.five.off("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), this.five.off("cameraFovUpdate", this.onFiveWantsUpdateCameraDistance), this.five.off("cameraPositionUpdate", this.onFiveWantsUpdateCameraDistance), (e = this.helperController) == null || e.dispose();
50
54
  }
51
55
  }
52
56
  export {
53
- G as ControllerWrapper,
54
- G as FiveControllerWrapper
57
+ F as ControllerWrapper,
58
+ F as FiveControllerWrapper
55
59
  };