@realsee/dnalogel 2.16.0-1 → 2.16.0-3

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 (297) hide show
  1. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +2 -0
  2. package/dist/GuideLinePlugin/index.d.ts +2 -1
  3. package/dist/GuideLinePlugin/typing.d.ts +4 -0
  4. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +1 -0
  5. package/dist/index.cjs.js +19 -18
  6. package/dist/index.js +552 -529
  7. package/dist/index.umd.js +20 -19
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/CSS3DRender.html +32 -31
  10. package/docs/classes/CruisePluginController.html +29 -28
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -20
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +47 -31
  13. package/docs/classes/Magnifier.html +21 -20
  14. package/docs/classes/ModelRoomLabelController.html +12 -11
  15. package/docs/classes/Object3DHelperController.html +26 -25
  16. package/docs/classes/PaintBrush.html +16 -15
  17. package/docs/classes/PanoMeasurePluginLine.html +24 -23
  18. package/docs/classes/PanoMeasurePluginModel.html +23 -22
  19. package/docs/classes/PanoMeasurePluginPoint.html +15 -14
  20. package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
  21. package/docs/classes/PanoTagPluginController.html +48 -47
  22. package/docs/classes/Util.BetterTween.html +9 -8
  23. package/docs/classes/Util.FivePointSelector.html +13 -12
  24. package/docs/classes/Util.Interval.html +13 -12
  25. package/docs/classes/Util.Magnifier.html +18 -17
  26. package/docs/classes/Util.PointDomHelper.html +12 -11
  27. package/docs/classes/Util.PointHelper.html +12 -11
  28. package/docs/classes/Util.Rectangle.html +14 -13
  29. package/docs/enums/CameraMovementEffect.html +8 -7
  30. package/docs/enums/ContentType.html +20 -19
  31. package/docs/enums/DIRECTION.html +10 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  33. package/docs/enums/DimensionType.html +8 -7
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  36. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  37. package/docs/enums/Rotation.html +9 -8
  38. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  39. package/docs/functions/CameraMovementPlugin.html +5 -4
  40. package/docs/functions/CruisePlugin.html +5 -4
  41. package/docs/functions/GuideLinePlugin.html +6 -5
  42. package/docs/functions/ItemLabelPlugin.html +5 -4
  43. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  44. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  46. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  47. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  48. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  49. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  50. package/docs/functions/ModelViewPlugin.html +5 -4
  51. package/docs/functions/Object3DHelperPlugin.html +5 -4
  52. package/docs/functions/PanoCompassPlugin.html +5 -4
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  54. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  56. package/docs/functions/PanoMeasurePlugin.html +5 -4
  57. package/docs/functions/PanoRulerPlugin.html +5 -4
  58. package/docs/functions/PanoRulerProPlugin.html +5 -4
  59. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  60. package/docs/functions/PanoTagPlugin.html +5 -4
  61. package/docs/functions/PanoVideoPlugin.html +5 -4
  62. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  64. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  65. package/docs/functions/Util.getFrameTime.html +6 -5
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  68. package/docs/functions/Util.isAbsoluteURL.html +6 -5
  69. package/docs/functions/Util.isModelLike.html +6 -5
  70. package/docs/functions/Util.isNil.html +6 -5
  71. package/docs/functions/Util.isPanoramaLike.html +6 -5
  72. package/docs/functions/Util.nextFrame.html +6 -5
  73. package/docs/functions/Util.notNil.html +6 -5
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  75. package/docs/functions/Util.tweenProgress.html +6 -5
  76. package/docs/functions/Util.uuid.html +6 -5
  77. package/docs/functions/pluginFlag.html +6 -5
  78. package/docs/index.html +5 -4
  79. package/docs/interfaces/AddTagConfig.html +7 -6
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  81. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  82. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  83. package/docs/interfaces/EventMap.html +16 -15
  84. package/docs/interfaces/FloorplanBounding.html +9 -8
  85. package/docs/interfaces/FloorplanData.html +11 -10
  86. package/docs/interfaces/FloorplanEntrance.html +12 -11
  87. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  88. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  89. package/docs/interfaces/FloorplanFloorData.html +10 -9
  90. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  91. package/docs/interfaces/FloorplanObserver.html +10 -9
  92. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  93. package/docs/interfaces/FloorplanPosition.html +8 -7
  94. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  95. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  96. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  97. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  98. package/docs/interfaces/FloorplanServerData.html +8 -7
  99. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  100. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  101. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  102. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  103. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  104. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  105. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  106. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  107. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  108. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  109. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +97 -0
  110. package/docs/interfaces/GuideLinePluginType.EventMap.html +258 -0
  111. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +92 -0
  112. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +87 -0
  113. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +126 -0
  114. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +85 -0
  115. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +76 -0
  116. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +71 -0
  117. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +82 -0
  118. package/docs/interfaces/GuideLinePluginType.PluginState.html +99 -0
  119. package/docs/interfaces/GuideLinePluginType.Route.html +103 -0
  120. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +92 -0
  121. package/docs/interfaces/HelperOffset.html +9 -8
  122. package/docs/interfaces/ImagePlaneGroup.html +7 -6
  123. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  124. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  125. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  126. package/docs/interfaces/MinMax.html +8 -7
  127. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  128. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  129. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  130. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  131. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  132. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  133. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  134. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  135. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  136. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  137. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  138. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  139. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  140. package/docs/interfaces/Object3DHelperState.html +9 -8
  141. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  142. package/docs/interfaces/PaintBrushAction.html +13 -12
  143. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  144. package/docs/interfaces/PaintBrushState.html +11 -10
  145. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  146. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  147. package/docs/interfaces/PanoMeasureParameterType.html +15 -14
  148. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  149. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  150. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  151. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  152. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  153. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  154. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  155. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  156. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  157. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  158. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  159. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  160. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  161. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  162. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  163. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  164. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  165. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  166. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  167. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  168. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
  169. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
  170. package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
  171. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +16 -15
  172. package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
  173. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
  174. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
  175. package/docs/interfaces/Point.html +9 -8
  176. package/docs/interfaces/Room.html +10 -9
  177. package/docs/interfaces/RoomInfo.html +8 -7
  178. package/docs/interfaces/RoomLabel.html +15 -14
  179. package/docs/interfaces/RoomRules.html +6 -5
  180. package/docs/interfaces/Rooms.html +6 -5
  181. package/docs/interfaces/Scissor.html +10 -9
  182. package/docs/interfaces/State.html +9 -8
  183. package/docs/interfaces/TagCacheInterface.html +13 -12
  184. package/docs/interfaces/TagConfig.html +12 -11
  185. package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
  186. package/docs/interfaces/TagIconUrl.html +12 -11
  187. package/docs/interfaces/TagObjectGroup.html +7 -6
  188. package/docs/interfaces/TagStyle.html +7 -6
  189. package/docs/interfaces/Tags.html +10 -9
  190. package/docs/interfaces/TemporaryState.html +7 -6
  191. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  192. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  193. package/docs/modules/GuideLineItem.html +6 -5
  194. package/docs/modules/GuideLineModeItem.html +6 -5
  195. package/docs/modules/GuideLinePluginType.html +99 -0
  196. package/docs/modules/PanoVideoPluginType.html +6 -5
  197. package/docs/modules/Util.html +6 -5
  198. package/docs/modules.html +6 -4
  199. package/docs/types/ArrayPosition.html +6 -5
  200. package/docs/types/AudioAppearance.html +6 -5
  201. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  202. package/docs/types/CSS3DRenderExportType.html +6 -5
  203. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  204. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  205. package/docs/types/ClassFunctionParameters.html +6 -5
  206. package/docs/types/Color.html +6 -5
  207. package/docs/types/ContentTypeConfigKey.html +6 -5
  208. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  209. package/docs/types/ContentTypeMap.html +6 -5
  210. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  211. package/docs/types/Create3DElementReturnType.html +6 -5
  212. package/docs/types/CruisePluginExportType.html +6 -5
  213. package/docs/types/Direction-1.html +6 -5
  214. package/docs/types/Direction4.html +6 -5
  215. package/docs/types/FloorplanRuleLabels.html +6 -5
  216. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  217. package/docs/types/GuideLinePluginExportType.html +6 -5
  218. package/docs/types/GuideLinePluginType.GuideLineItem.html +67 -0
  219. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +65 -0
  220. package/docs/types/GuideLinePluginType.GuideLineStyle.html +67 -0
  221. package/docs/types/GuideLinePluginType.PathItem.html +67 -0
  222. package/docs/types/GuideLinePluginType.PluginData.html +65 -0
  223. package/docs/types/HelperEventMap.html +6 -5
  224. package/docs/types/LoadTagConfig.html +6 -5
  225. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  226. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  227. package/docs/types/MediaData.html +6 -5
  228. package/docs/types/MediaStore.html +6 -5
  229. package/docs/types/ModelElement.html +6 -5
  230. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  231. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  232. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  233. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  234. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  235. package/docs/types/MoveArgs.html +6 -5
  236. package/docs/types/MoveOpts.html +6 -5
  237. package/docs/types/Object3DHelperEventMap.html +6 -5
  238. package/docs/types/ObjectFit.html +6 -5
  239. package/docs/types/PaintBrushEventMap.html +6 -5
  240. package/docs/types/PanoCompassPluginData.html +6 -5
  241. package/docs/types/PanoCompassPluginExportType.html +6 -5
  242. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  243. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  244. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  245. package/docs/types/PanoIndex.html +6 -5
  246. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  247. package/docs/types/PanoMeasureReturnType.html +6 -5
  248. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  249. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  250. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  251. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  252. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  253. package/docs/types/PlaneTag.html +6 -5
  254. package/docs/types/PlaneTagElement.html +6 -5
  255. package/docs/types/Point2DElement.html +6 -5
  256. package/docs/types/Point2DTag.html +6 -5
  257. package/docs/types/Point3DElement.html +6 -5
  258. package/docs/types/Point3DTag.html +6 -5
  259. package/docs/types/PointTag.html +6 -5
  260. package/docs/types/PointTagElement.html +6 -5
  261. package/docs/types/Position.html +6 -5
  262. package/docs/types/RotateArgs.html +6 -5
  263. package/docs/types/RotateOpts.html +6 -5
  264. package/docs/types/RuleLabelsKey.html +6 -5
  265. package/docs/types/RuleLabelsValue.html +6 -5
  266. package/docs/types/StickType.html +6 -5
  267. package/docs/types/Tag.html +6 -5
  268. package/docs/types/Tag2D.html +6 -5
  269. package/docs/types/Tag3D.html +6 -5
  270. package/docs/types/TagContentType.html +6 -5
  271. package/docs/types/TagDimensionType.html +6 -5
  272. package/docs/types/TagElement.html +6 -5
  273. package/docs/types/TagEvents.html +6 -5
  274. package/docs/types/TagGLTFObject.html +6 -5
  275. package/docs/types/TagHooks.html +6 -5
  276. package/docs/types/TagIconSize.html +6 -5
  277. package/docs/types/TagId.html +6 -5
  278. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  279. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  280. package/docs/types/WorkCode.html +6 -5
  281. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  282. package/docs/variables/PLUGIN.html +6 -5
  283. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  284. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  285. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  286. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  287. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  288. package/libs/GuideLinePlugin/GuideLineItem/index.js +8 -8
  289. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +50 -34
  290. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +2 -0
  291. package/libs/GuideLinePlugin/index.d.ts +2 -1
  292. package/libs/GuideLinePlugin/typing.d.ts +4 -0
  293. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +1 -0
  294. package/libs/GuideLinePlugin/utils/createLineGeometry.js +31 -24
  295. package/libs/base/BasePlugin.js +1 -1
  296. package/libs/index.js +1 -1
  297. package/package.json +1 -1
@@ -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>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.16.0-1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.0-1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="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>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.16.0-3</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.0-3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="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,13 +6,13 @@
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">如视看房插件合集 - v2.16.0-1</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.16.0-3</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-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">如视看房插件合集 - v2.16.0-1</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.16.0-3</a></li>
16
16
  <li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/95dfd50/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/01f4151/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
28
28
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
29
29
  <div class="tsd-navigation settings">
30
30
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -41,10 +41,11 @@
41
41
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
42
42
  <div class="tsd-accordion-details">
43
43
  <ul>
44
- <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.0-<wbr/>1</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.0-<wbr/>3</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/GuideLineItem.html">Guide<wbr/>Line<wbr/>Item</a></li>
47
47
  <li class="tsd-kind-namespace"><a href="../modules/GuideLineModeItem.html">Guide<wbr/>Line<wbr/>Mode<wbr/>Item</a></li>
48
+ <li class="tsd-kind-namespace"><a href="../modules/GuideLinePluginType.html">Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</a></li>
48
49
  <li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
49
50
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
50
51
  <nav class="tsd-navigation secondary menu-sticky">
@@ -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 | 如视看房插件合集 - v2.16.0-1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.0-1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="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 | 如视看房插件合集 - v2.16.0-3</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.0-3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="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,13 +6,13 @@
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">如视看房插件合集 - v2.16.0-1</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.16.0-3</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-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">如视看房插件合集 - v2.16.0-1</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.16.0-3</a></li>
16
16
  <li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/95dfd50/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/01f4151/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
28
28
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
29
29
  <div class="tsd-navigation settings">
30
30
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -41,10 +41,11 @@
41
41
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
42
42
  <div class="tsd-accordion-details">
43
43
  <ul>
44
- <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.0-<wbr/>1</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.0-<wbr/>3</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/GuideLineItem.html">Guide<wbr/>Line<wbr/>Item</a></li>
47
47
  <li class="tsd-kind-namespace"><a href="../modules/GuideLineModeItem.html">Guide<wbr/>Line<wbr/>Mode<wbr/>Item</a></li>
48
+ <li class="tsd-kind-namespace"><a href="../modules/GuideLinePluginType.html">Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</a></li>
48
49
  <li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
49
50
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
50
51
  <nav class="tsd-navigation secondary menu-sticky">
@@ -1,9 +1,9 @@
1
1
  var u = Object.defineProperty;
2
2
  var h = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var i = (o, e, t) => (h(o, typeof e != "symbol" ? e + "" : e, t), t);
4
- import c from "object-assign-deep";
4
+ import g from "object-assign-deep";
5
5
  import { GuideLineModeItem as s } from "../GuideLineModeItem/index.js";
6
- class d {
6
+ class c {
7
7
  constructor(e) {
8
8
  i(this, "id");
9
9
  i(this, "renderID");
@@ -18,18 +18,18 @@ class d {
18
18
  this.setDataByMode("panorama", e), this.setDataByMode("model", e);
19
19
  }
20
20
  setDataByMode(e, t) {
21
- const r = e === "panorama" ? this.panoramaItem : this.modelItem, a = e === "panorama" ? t.panorama_style : t.model_style;
22
- if (!a)
21
+ const r = e === "panorama" ? this.panoramaItem : this.modelItem, n = e === "panorama" ? t.panorama_style : t.model_style;
22
+ if (!n)
23
23
  return;
24
- const m = t.path, l = { url: this.plugin.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }, n = a, p = c({ texture: l }, a);
25
- t.path ? r.setGeometryByPath(m, n) : t.pano_group && r.setGeometryByPanoGroup(t.pano_group, n), r.setMartial(p);
24
+ const p = t.path, m = { url: this.plugin.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }, a = n, l = g({ texture: m }, n);
25
+ t.pano_group && e === "panorama" && r.setSkippedPanoGroup(t.pano_group), t.path ? r.setGeometryByPath(p, a) : t.pano_group && r.setGeometryByPanoGroup(t.pano_group, a), r.setMartial(l);
26
26
  }
27
27
  }
28
28
  const I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
29
  __proto__: null,
30
- GuideLineItem: d
30
+ GuideLineItem: c
31
31
  }, Symbol.toStringTag, { value: "Module" }));
32
32
  export {
33
- d as GuideLineItem,
33
+ c as GuideLineItem,
34
34
  I as GuideLineItem$1
35
35
  };
@@ -1,33 +1,34 @@
1
- var g = Object.defineProperty;
2
- var n = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var d = (r, e, i) => e in r ? g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i, m = (r, e) => {
1
+ var f = Object.defineProperty;
2
+ var g = Object.getOwnPropertySymbols;
3
+ var c = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
4
+ var d = (r, e, i) => e in r ? f(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i, p = (r, e) => {
5
5
  for (var i in e || (e = {}))
6
- p.call(e, i) && d(r, i, e[i]);
7
- if (n)
8
- for (var i of n(e))
9
- f.call(e, i) && d(r, i, e[i]);
6
+ c.call(e, i) && d(r, i, e[i]);
7
+ if (g)
8
+ for (var i of g(e))
9
+ v.call(e, i) && d(r, i, e[i]);
10
10
  return r;
11
11
  };
12
12
  var t = (r, e, i) => (d(r, typeof e != "symbol" ? e + "" : e, i), i);
13
13
  import * as o from "three";
14
- import { logWarning as v, logError as c } from "../../shared-utils/log.js";
15
- import { createLineGeometry as C } from "../utils/createLineGeometry.js";
16
- import { isPanoramaLike as b, isModelLike as y } from "../../shared-utils/five/mode.js";
14
+ import { logWarning as C, logError as b } from "../../shared-utils/log.js";
15
+ import { createLineGeometry as y } from "../utils/createLineGeometry.js";
16
+ import { isPanoramaLike as E, isModelLike as k } from "../../shared-utils/five/mode.js";
17
17
  import "hammerjs";
18
18
  import "@realsee/five";
19
19
  import "@tweenjs/tween.js";
20
20
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
21
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
22
  import "../../shared-utils/animationFrame/BetterTween.js";
23
- import { loadTexture as E } from "../../shared-utils/three/loadTexture.js";
24
- const F = `
23
+ import { loadTexture as F } from "../../shared-utils/three/loadTexture.js";
24
+ const P = `
25
25
  varying vec2 vUv;
26
+
26
27
  void main() {
27
28
  vUv = uv;
28
29
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
29
30
  }
30
- `, P = `
31
+ `, w = `
31
32
  // \u662F\u5426\u4F7F\u7528\u989C\u8272
32
33
  uniform int useMapColor;
33
34
  // \u8D34\u56FE
@@ -68,12 +69,13 @@ const F = `
68
69
  gl_FragColor.a = gl_FragColor.a * opacity;
69
70
  }
70
71
  `;
71
- class w {
72
+ class M {
72
73
  constructor(e, i) {
73
74
  t(this, "mesh");
74
75
  t(this, "five");
75
76
  t(this, "mode");
76
77
  t(this, "path", []);
78
+ t(this, "skippedPositions", null);
77
79
  t(this, "textureUrl", "");
78
80
  t(this, "scale", 1);
79
81
  t(this, "width", 0.5);
@@ -97,14 +99,14 @@ class w {
97
99
  this.updateVisible();
98
100
  });
99
101
  t(this, "onFiveModeChange", (e) => {
100
- this.modeVisible = this.mode === "panorama" ? b(e) : y(e), this.updateVisible();
102
+ this.modeVisible = this.mode === "panorama" ? E(e) : k(e), this.updateVisible();
101
103
  });
102
- t(this, "logWarning", (e) => v("GuideLineModeItem: ", e));
103
- t(this, "logError", (e) => c("GuideLineModeItem: ", e));
104
+ t(this, "logWarning", (e) => C("GuideLineModeItem: ", e));
105
+ t(this, "logError", (e) => b("GuideLineModeItem: ", e));
104
106
  this.five = e, this.mode = i.mode, this.plugin = i.plugin;
105
- const s = new o.BufferGeometry(), a = new o.ShaderMaterial({
106
- vertexShader: F,
107
- fragmentShader: P,
107
+ const s = new o.BufferGeometry(), u = new o.ShaderMaterial({
108
+ vertexShader: P,
109
+ fragmentShader: w,
108
110
  transparent: !0,
109
111
  uniforms: {
110
112
  map: { value: null },
@@ -116,7 +118,7 @@ class w {
116
118
  opacity: { value: 1 }
117
119
  }
118
120
  });
119
- this.mesh = new o.Mesh(s, a), this.mesh.name = "GuideLineModeItem", this.plugin.hooks.on("show", this.onPluginShow), this.plugin.hooks.on("hide", this.onPluginHide), this.plugin.hooks.on("enable", this.onPluginEnable), this.plugin.hooks.on("disable", this.onPluginDisable), this.five.on("modeChange", this.onFiveModeChange), this.onFiveModeChange(this.five.getCurrentState().mode);
121
+ this.mesh = new o.Mesh(s, u), this.mesh.name = "GuideLineModeItem", this.plugin.hooks.on("show", this.onPluginShow), this.plugin.hooks.on("hide", this.onPluginHide), this.plugin.hooks.on("enable", this.onPluginEnable), this.plugin.hooks.on("disable", this.onPluginDisable), this.five.on("modeChange", this.onFiveModeChange), this.onFiveModeChange(this.five.getCurrentState().mode);
120
122
  }
121
123
  setCustomVisible(e) {
122
124
  if (this.disposed)
@@ -150,18 +152,32 @@ class w {
150
152
  this.path = s, this.setGeometryByPath(s, i);
151
153
  }
152
154
  setGeometryByPath(e, i) {
153
- var l;
155
+ var n, l, m;
156
+ if (this.disposed)
157
+ return this.logError("disposed");
158
+ const s = (n = i == null ? void 0 : i.scale) != null ? n : this.scale, u = (l = i == null ? void 0 : i.width) != null ? l : this.width, h = (m = i == null ? void 0 : i.unit_length) != null ? m : this.unitLength;
159
+ this.path = e, this.scale = s, this.width = u, this.unitLength = h;
160
+ const a = y({
161
+ path: e,
162
+ width: u * s,
163
+ unitLength: h * s,
164
+ skipPositions: this.skippedPositions
165
+ });
166
+ this.mesh.geometry = a;
167
+ }
168
+ setSkippedPanoGroup(e) {
154
169
  if (this.disposed)
155
170
  return this.logError("disposed");
156
- this.path = e;
157
- const s = (l = i == null ? void 0 : i.scale) != null ? l : this.scale, a = i != null && i.width ? i.width * s : this.width * s, h = i != null && i.unit_length ? i.unit_length * s : this.unitLength * s, u = C({ path: e, width: a, unitLength: h });
158
- this.mesh.geometry = u;
171
+ if (!this.five.work)
172
+ return this.logError("setSkippedPanoGroup: work is not ready");
173
+ const i = e ? e.map((s) => this.five.work.observers[s]).map((s) => s.standingPosition.clone()) : null;
174
+ this.skippedPositions = i;
159
175
  }
160
176
  setMartial(e) {
161
177
  var i;
162
178
  if (this.disposed)
163
179
  return this.logError("disposed");
164
- e != null && e.color && this.setColor(e.color), e != null && e.opacity && this.setOpacity(e.opacity), (i = e == null ? void 0 : e.texture) != null && i.url && this.setTextureUrl(e.texture.url);
180
+ e != null && e.color && this.setColor(e.color), e != null && e.opacity && this.setOpacity(e.opacity), (i = e == null ? void 0 : e.texture) != null && i.url && this.setTextureUrl(e.texture.url), e != null && e.background_color && this.setBackgroundColor(e.background_color), e != null && e.background_opacity && this.setBackgroundOpacity(e.background_opacity);
165
181
  }
166
182
  setColor(e) {
167
183
  if (this.disposed)
@@ -191,7 +207,7 @@ class w {
191
207
  setTextureUrl(e) {
192
208
  if (this.disposed)
193
209
  return this.logError("disposed");
194
- this.textureUrl = e, E(e).then((i) => {
210
+ this.textureUrl = e, F(e).then((i) => {
195
211
  this.disposed || this.textureUrl === e && (i.wrapT = o.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = i, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
196
212
  });
197
213
  }
@@ -206,15 +222,15 @@ class w {
206
222
  this.five.scene.remove(this.mesh), this.five.needsRender = !0;
207
223
  }
208
224
  getPathFromPanoGroup(e, i, s) {
209
- const h = e.map((u) => i.observers[u]).map((u) => u.standingPosition.toArray());
210
- return [m({ type: "CatmullRomCurve3", points: h }, s)];
225
+ const h = e.map((a) => i.observers[a]).map((a) => a.standingPosition.toArray());
226
+ return [p({ type: "CatmullRomCurve3", points: h }, s)];
211
227
  }
212
228
  }
213
- const _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
229
+ const H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
214
230
  __proto__: null,
215
- GuideLineModeItem: w
231
+ GuideLineModeItem: M
216
232
  }, Symbol.toStringTag, { value: "Module" }));
217
233
  export {
218
- w as GuideLineModeItem,
219
- _ as GuideLineModeItem$1
234
+ M as GuideLineModeItem,
235
+ H as GuideLineModeItem$1
220
236
  };
@@ -10,6 +10,7 @@ declare class GuideLineModeItem {
10
10
  private five;
11
11
  private mode;
12
12
  private path;
13
+ private skippedPositions;
13
14
  private textureUrl;
14
15
  private scale;
15
16
  private width;
@@ -38,6 +39,7 @@ declare class GuideLineModeItem {
38
39
  setGeometryByPanoGroup(panoGroup: number[], options?: CatmullRomCurve3RestParams & PluginType.GuideLineGeometryStyle): void;
39
40
  /** 通过路径设置线条形状 */
40
41
  setGeometryByPath(path: PluginType.PathItem[], options?: PluginType.GuideLineGeometryStyle): void;
42
+ setSkippedPanoGroup(panoGroup: null | number[]): void;
41
43
  /** 设置线条材质 */
42
44
  setMartial(options?: PluginType.GuideLineMaterialStyle): void;
43
45
  setColor(color: null | number[]): void;
@@ -1,8 +1,9 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import Controller from './Controller';
3
+ import type * as GuideLinePluginType from './typing';
3
4
  import * as GuideLineItem from './GuideLineItem';
4
5
  import * as GuideLineModeItem from './GuideLineModeItem';
5
6
  export declare const GuideLinePlugin: (five: Five, config?: ConstructorParameters<typeof Controller>[1]) => Controller;
6
7
  export type { GuideLinePluginExportType } from './typing';
7
8
  export default GuideLinePlugin;
8
- export { GuideLineItem, GuideLineModeItem };
9
+ export { GuideLineItem, GuideLineModeItem, GuideLinePluginType };
@@ -85,6 +85,10 @@ export interface GuideLineMaterialStyle {
85
85
  visible?: boolean;
86
86
  /** rgb 颜色 [r, g, b] */
87
87
  color?: number[];
88
+ /** 背景颜色 */
89
+ background_color?: number[];
90
+ /** 背景透明度 */
91
+ background_opacity?: number;
88
92
  /** 透明度 */
89
93
  opacity?: number;
90
94
  /** 贴图 */
@@ -8,6 +8,7 @@ interface LineGeometryOption {
8
8
  width: number;
9
9
  /** 每一段的长度,默认是 0.5 */
10
10
  unitLength: number;
11
+ skipPositions?: THREE.Vector3[];
11
12
  }
12
13
  /** 创建路线的几何体
13
14
  * @param curvePoints 三维点位
@@ -1,35 +1,42 @@
1
- import * as c from "three";
1
+ import * as n from "three";
2
2
  import { Vector3 as b } from "three";
3
- import U from "polyline-normals";
4
- const F = 2, V = 3, z = 3, G = 2;
5
- function D(e) {
6
- const u = e.width, g = e.unitLength / u, s = u / 2, y = e.path, m = new c.CurvePath();
3
+ import F from "polyline-normals";
4
+ const z = 2, G = 3, M = 3, X = 2;
5
+ function H(e) {
6
+ const i = e.width, E = e.unitLength / i, c = i / 2, y = e.path, f = new n.CurvePath();
7
7
  y.forEach((t) => {
8
- const a = M(t);
9
- a && m.add(a);
8
+ const a = k(t);
9
+ a && f.add(a);
10
10
  });
11
- const d = Math.ceil(m.getLength() * 100), n = m.getPoints(d), L = n.length, P = U(n.map((t) => [t.x, t.z])), x = (n.length - 1) * F * V, E = 2 * L, C = E * z, B = E * G, o = new Uint32Array(x), r = new Float32Array(C), i = new Float32Array(B);
12
- let N = 0;
13
- for (let t = 0; t < n.length; t++) {
14
- const [a, R] = P[t][0], T = n[t], { x: p, y: w, z: A } = T, v = new b(p + a * s, w + 0.05, A + R * s);
15
- r[t * 6 + 0] = v.x, r[t * 6 + 1] = v.y, r[t * 6 + 2] = v.z;
16
- const h = new b(p - a * s, w + 0.05, A - R * s);
17
- r[t * 6 + 3] = h.x, r[t * 6 + 4] = h.y, r[t * 6 + 5] = h.z, N += t > 0 ? n[t - 1].clone().sub(n[t]).length() : 0;
18
- const _ = N / u / g;
19
- i[t * 4 + 0] = 0, i[t * 4 + 1] = _, i[t * 4 + 2] = 1, i[t * 4 + 3] = _, t !== n.length - 1 && (o[t * 6 + 0] = t * 2 + 0, o[t * 6 + 1] = t * 2 + 2, o[t * 6 + 2] = t * 2 + 1, o[t * 6 + 3] = t * 2 + 2, o[t * 6 + 4] = t * 2 + 3, o[t * 6 + 5] = t * 2 + 1);
11
+ const P = Math.ceil(f.getLength() * 100), o = f.getPoints(P), g = o.length, L = F(o.map((t) => [t.x, t.z])), x = (g - 1) * z * G, p = 2 * g, C = p * M, B = p * X, r = new Uint32Array(x), s = new Float32Array(C), u = new Float32Array(B);
12
+ let d = 0;
13
+ for (let t = 0; t < o.length; t++) {
14
+ const [a, w] = L[t][0], T = o[t], { x: N, y: R, z: A } = T;
15
+ d += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
16
+ const m = new b(N + a * c, R + 0.05, A + w * c);
17
+ s[t * 6 + 0] = m.x, s[t * 6 + 1] = m.y, s[t * 6 + 2] = m.z;
18
+ const v = new b(N - a * c, R + 0.05, A - w * c);
19
+ s[t * 6 + 3] = v.x, s[t * 6 + 4] = v.y, s[t * 6 + 5] = v.z;
20
+ const _ = d / i / E;
21
+ if (u[t * 4 + 0] = 0, u[t * 4 + 1] = _, u[t * 4 + 2] = 1, u[t * 4 + 3] = _, e.skipPositions) {
22
+ const V = new n.Vector3().lerpVectors(m, v, 0.5);
23
+ if (e.skipPositions.some((U) => U.distanceTo(V) < 0.26))
24
+ continue;
25
+ }
26
+ t !== o.length - 1 && (r[t * 6 + 0] = t * 2 + 0, r[t * 6 + 1] = t * 2 + 2, r[t * 6 + 2] = t * 2 + 1, r[t * 6 + 3] = t * 2 + 2, r[t * 6 + 4] = t * 2 + 3, r[t * 6 + 5] = t * 2 + 1);
20
27
  }
21
- const l = new c.BufferGeometry();
22
- return l.setAttribute("position", new c.BufferAttribute(r, 3)), l.setAttribute("uv", new c.BufferAttribute(i, 2)), l.setIndex(new c.BufferAttribute(o, 1)), l;
28
+ const l = new n.BufferGeometry();
29
+ return l.setAttribute("position", new n.BufferAttribute(s, 3)), l.setAttribute("uv", new n.BufferAttribute(u, 2)), l.setIndex(new n.BufferAttribute(r, 1)), l;
23
30
  }
24
- function M(e) {
25
- if (X(e)) {
26
- const u = [e.closed, e.curve_type, e.tension], f = e.points.map((s) => new c.Vector3().fromArray(s));
27
- return new c.CatmullRomCurve3(f, ...u);
31
+ function k(e) {
32
+ if (I(e)) {
33
+ const i = [e.closed, e.curve_type, e.tension], h = e.points.map((c) => new n.Vector3().fromArray(c));
34
+ return new n.CatmullRomCurve3(h, ...i);
28
35
  }
29
36
  }
30
- function X(e) {
37
+ function I(e) {
31
38
  return e.type === "CatmullRomCurve3";
32
39
  }
33
40
  export {
34
- D as createLineGeometry
41
+ H as createLineGeometry
35
42
  };
@@ -12,7 +12,7 @@ import { isAbsoluteURL as a } from "../shared-utils/isAbsoluteURL.js";
12
12
  import "../shared-utils/animationFrame/BetterTween.js";
13
13
  class R {
14
14
  constructor(t, r) {
15
- s(this, "VERSION", "2.16.0-1");
15
+ s(this, "VERSION", "2.16.0-3");
16
16
  s(this, "five");
17
17
  s(this, "hooks", new m());
18
18
  s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
package/libs/index.js CHANGED
@@ -353,7 +353,7 @@ import "./shared-utils/three/PointHelper.js";
353
353
  import "./shared-utils/three/Assets/index.js";
354
354
  import "./shared-utils/three/PointDomHelper.js";
355
355
  import "./shared-utils/three/FivePointSelector.js";
356
- console.info("@realsee/dnalogel %cv2.16.0-1", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
356
+ console.info("@realsee/dnalogel %cv2.16.0-3", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
357
357
  export {
358
358
  Xp as CSS3DRender,
359
359
  jm as CSS3DRenderPlugin,
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.16.0-1",
10
+ "version": "2.16.0-3",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",