@realsee/dnalogel 2.25.0 → 2.26.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 (363) hide show
  1. package/dist/CruisePlugin/typing.d.ts +1 -1
  2. package/dist/GuideLinePlugin/typing.d.ts +1 -1
  3. package/dist/PanoCompassPlugin/typings.d.ts +1 -1
  4. package/dist/PipelinePlugin/Controller.d.ts +108 -0
  5. package/dist/PipelinePlugin/index.d.ts +6 -0
  6. package/dist/PipelinePlugin/typing/PluginData.d.ts +20 -0
  7. package/dist/PipelinePlugin/typing/ServerData.d.ts +28 -0
  8. package/dist/PipelinePlugin/typing/index.d.ts +79 -0
  9. package/dist/PipelinePlugin/utils/Objects/FlowPipe.d.ts +34 -0
  10. package/dist/PipelinePlugin/utils/Objects/Pipe.d.ts +49 -0
  11. package/dist/PipelinePlugin/utils/formatData.d.ts +12 -0
  12. package/dist/base/BasePluginWithData.d.ts +3 -15
  13. package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +1 -1
  14. package/dist/floorplan/typings/index.d.ts +1 -1
  15. package/dist/index.cjs.js +100 -65
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.js +9269 -8673
  18. package/dist/index.umd.js +93 -58
  19. package/dist/shared-utils/three/Extras/Core/Interpolations.d.ts +11 -0
  20. package/dist/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
  21. package/docs/assets/search.js +1 -1
  22. package/docs/classes/CSS3DRender.html +33 -30
  23. package/docs/classes/CruisePluginController.html +28 -25
  24. package/docs/classes/GuideLineItem.GuideLineItem.html +22 -19
  25. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +37 -34
  26. package/docs/classes/Magnifier.html +22 -19
  27. package/docs/classes/ModelRoomLabelController.html +13 -10
  28. package/docs/classes/Object3DHelperController.html +27 -24
  29. package/docs/classes/PaintBrush.html +17 -14
  30. package/docs/classes/PanoMeasurePluginLine.html +29 -26
  31. package/docs/classes/PanoMeasurePluginModel.html +29 -26
  32. package/docs/classes/PanoMeasurePluginPoint.html +16 -13
  33. package/docs/classes/PanoMeasurePluginPolyline.html +29 -26
  34. package/docs/classes/PanoTagPluginController.html +49 -46
  35. package/docs/classes/Util.BetterTween.html +11 -8
  36. package/docs/classes/Util.Interval.html +14 -11
  37. package/docs/classes/Util.Magnifier.html +22 -19
  38. package/docs/classes/Util.PointDomHelper.html +13 -10
  39. package/docs/classes/Util.PointHelper.html +13 -10
  40. package/docs/classes/Util.PointSelectorHelper.html +18 -15
  41. package/docs/classes/Util.Rectangle.html +15 -12
  42. package/docs/enums/CameraMovementEffect.html +9 -6
  43. package/docs/enums/ContentType.html +22 -19
  44. package/docs/enums/DIRECTION.html +11 -8
  45. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -8
  46. package/docs/enums/DimensionType.html +9 -6
  47. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -7
  48. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -8
  49. package/docs/enums/PaintBrushTypeEnum.html +10 -7
  50. package/docs/enums/PointType.html +9 -6
  51. package/docs/enums/Rotation.html +10 -7
  52. package/docs/functions/CSS3DRenderPlugin.html +6 -3
  53. package/docs/functions/CameraMovementPlugin.html +6 -3
  54. package/docs/functions/CruisePlugin.html +6 -3
  55. package/docs/functions/GuideLinePlugin.html +7 -4
  56. package/docs/functions/ItemLabelPlugin.html +6 -3
  57. package/docs/functions/MapviewFloorplanPlugin.html +6 -3
  58. package/docs/functions/ModelChassisCompassPlugin.html +6 -3
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -3
  60. package/docs/functions/ModelFloorplanPlugin.html +6 -3
  61. package/docs/functions/ModelItemLabelPlugin.html +6 -3
  62. package/docs/functions/ModelRoomLabelPlugin.html +6 -3
  63. package/docs/functions/ModelTVVideoPlugin.html +6 -3
  64. package/docs/functions/ModelViewPlugin.html +6 -3
  65. package/docs/functions/Object3DHelperPlugin.html +6 -3
  66. package/docs/functions/PanoCompassPlugin.html +6 -3
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -3
  68. package/docs/functions/PanoDoorLabelPlugin.html +6 -3
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -3
  70. package/docs/functions/PanoMeasurePlugin.html +6 -3
  71. package/docs/functions/PanoRulerPlugin.html +6 -3
  72. package/docs/functions/PanoRulerProPlugin.html +6 -3
  73. package/docs/functions/PanoSpatialTagPlugin.html +6 -3
  74. package/docs/functions/PanoTagPlugin.html +6 -3
  75. package/docs/functions/PanoVideoPlugin.html +6 -3
  76. package/docs/functions/PipelinePlugin.html +280 -0
  77. package/docs/functions/TopviewFloorplanPlugin.html +6 -3
  78. package/docs/functions/Util.absoluteUrl.html +7 -4
  79. package/docs/functions/Util.getCoordsFromClient.html +7 -4
  80. package/docs/functions/Util.getCoordsFromElement.html +7 -4
  81. package/docs/functions/Util.getFrameTime.html +7 -4
  82. package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -4
  83. package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -4
  84. package/docs/functions/Util.isAbsoluteURL.html +7 -4
  85. package/docs/functions/Util.isModelLike.html +7 -4
  86. package/docs/functions/Util.isNil.html +7 -4
  87. package/docs/functions/Util.isPanoramaLike.html +7 -4
  88. package/docs/functions/Util.nextFrame.html +7 -4
  89. package/docs/functions/Util.notNil.html +7 -4
  90. package/docs/functions/Util.requestAnimationFrameInterval.html +7 -4
  91. package/docs/functions/Util.tweenProgress.html +7 -4
  92. package/docs/functions/Util.uuid.html +7 -4
  93. package/docs/functions/pluginFlag.html +7 -4
  94. package/docs/index.html +7 -4
  95. package/docs/interfaces/AddTagConfig.html +8 -5
  96. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -10
  97. package/docs/interfaces/CSS3DRenderPluginState.html +10 -7
  98. package/docs/interfaces/CameraMovementPluginExportType.html +9 -6
  99. package/docs/interfaces/CruisePluginTypes.Config.html +10 -7
  100. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +14 -11
  101. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -19
  102. package/docs/interfaces/CruisePluginTypes.MoveAction.html +14 -11
  103. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -13
  104. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -13
  105. package/docs/interfaces/CruisePluginTypes.PluginData.html +11 -8
  106. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -21
  107. package/docs/interfaces/CruisePluginTypes.PluginState.html +13 -10
  108. package/docs/interfaces/EventMap.html +17 -14
  109. package/docs/interfaces/FloorplanBounding.html +10 -7
  110. package/docs/interfaces/FloorplanData.html +12 -9
  111. package/docs/interfaces/FloorplanEntrance.html +13 -10
  112. package/docs/interfaces/FloorplanExtraObject.html +12 -9
  113. package/docs/interfaces/FloorplanExtraObject3D.html +10 -7
  114. package/docs/interfaces/FloorplanFloorData.html +11 -8
  115. package/docs/interfaces/FloorplanImagePosition.html +9 -6
  116. package/docs/interfaces/FloorplanObserver.html +11 -8
  117. package/docs/interfaces/FloorplanOutlineItem.html +11 -8
  118. package/docs/interfaces/FloorplanPosition.html +9 -6
  119. package/docs/interfaces/FloorplanRoomItem.html +15 -12
  120. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -6
  121. package/docs/interfaces/FloorplanServerBounding.html +10 -7
  122. package/docs/interfaces/FloorplanServerComputedData.html +12 -9
  123. package/docs/interfaces/FloorplanServerData.html +9 -6
  124. package/docs/interfaces/FloorplanServerDoorItem.html +12 -9
  125. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -7
  126. package/docs/interfaces/FloorplanServerEntrance.html +13 -10
  127. package/docs/interfaces/FloorplanServerFloorData.html +11 -8
  128. package/docs/interfaces/FloorplanServerImagePosition.html +9 -6
  129. package/docs/interfaces/FloorplanServerObserver.html +11 -8
  130. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -8
  131. package/docs/interfaces/FloorplanServerPosition.html +9 -6
  132. package/docs/interfaces/FloorplanServerRoomItem.html +16 -13
  133. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -6
  134. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -7
  135. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +12 -9
  136. package/docs/interfaces/GuideLinePluginType.EventMap.html +15 -12
  137. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +10 -7
  138. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +8 -5
  139. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +15 -12
  140. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +10 -7
  141. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -17
  142. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -6
  143. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -17
  144. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -4
  145. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -21
  146. package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -7
  147. package/docs/interfaces/GuideLinePluginType.Route.html +13 -10
  148. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +11 -8
  149. package/docs/interfaces/HelperOffset.html +10 -7
  150. package/docs/interfaces/ImagePlaneGroup.html +8 -5
  151. package/docs/interfaces/ItemLabelPluginData.html +8 -5
  152. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -10
  153. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -8
  154. package/docs/interfaces/MinMax.html +9 -6
  155. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -6
  156. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -7
  157. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -6
  158. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -7
  159. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -7
  160. package/docs/interfaces/ModelItemLabelPluginData.html +8 -5
  161. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -10
  162. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -6
  163. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -5
  164. package/docs/interfaces/ModelTVVideoPluginData.html +11 -8
  165. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -7
  166. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -5
  167. package/docs/interfaces/ModelViewPluginExportType.html +13 -10
  168. package/docs/interfaces/Object3DHelperState.html +10 -7
  169. package/docs/interfaces/ObjectHelperControllers.html +11 -8
  170. package/docs/interfaces/PaintBrushAction.html +14 -11
  171. package/docs/interfaces/PaintBrushConfigs.html +14 -11
  172. package/docs/interfaces/PaintBrushState.html +12 -9
  173. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -9
  174. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -4
  175. package/docs/interfaces/PanoMeasureParameterType.html +18 -15
  176. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -7
  177. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -6
  178. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -6
  179. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -7
  180. package/docs/interfaces/PanoRulerPluginExportType.html +12 -9
  181. package/docs/interfaces/PanoRulerPluginOptions.html +9 -6
  182. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -7
  183. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -8
  184. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -6
  185. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -6
  186. package/docs/interfaces/PanoRulerProPluginState.html +10 -7
  187. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -4
  188. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -4
  189. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -10
  190. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -9
  191. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -12
  192. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -9
  193. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -12
  194. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -10
  195. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -9
  196. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -5
  197. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -7
  198. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -5
  199. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -8
  200. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -5
  201. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -7
  202. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -9
  203. package/docs/interfaces/Point.html +10 -7
  204. package/docs/interfaces/Room.html +11 -8
  205. package/docs/interfaces/RoomInfo.html +9 -6
  206. package/docs/interfaces/RoomLabel.html +16 -13
  207. package/docs/interfaces/RoomRules.html +7 -4
  208. package/docs/interfaces/Rooms.html +7 -4
  209. package/docs/interfaces/Scissor.html +11 -8
  210. package/docs/interfaces/State.html +10 -7
  211. package/docs/interfaces/TagCacheInterface.html +14 -11
  212. package/docs/interfaces/TagConfig.html +15 -12
  213. package/docs/interfaces/TagGLTFObjectGroup.html +8 -5
  214. package/docs/interfaces/TagIconUrl.html +14 -11
  215. package/docs/interfaces/TagObjectGroup.html +8 -5
  216. package/docs/interfaces/TagStyle.html +8 -5
  217. package/docs/interfaces/Tags.html +11 -8
  218. package/docs/interfaces/TemporaryState.html +8 -5
  219. package/docs/interfaces/Util.MagnifierParameter.html +13 -10
  220. package/docs/interfaces/Util.MouseGroupParameter.html +10 -7
  221. package/docs/interfaces/Util.PointIntersection.html +10 -7
  222. package/docs/modules/CruisePluginTypes.html +7 -4
  223. package/docs/modules/GuideLineItem.html +7 -4
  224. package/docs/modules/GuideLineModeItem.html +7 -4
  225. package/docs/modules/GuideLinePluginType.html +7 -4
  226. package/docs/modules/PanoVideoPluginType.html +7 -4
  227. package/docs/modules/Util.html +7 -4
  228. package/docs/modules.html +10 -4
  229. package/docs/types/ArrayPosition.html +7 -4
  230. package/docs/types/AudioAppearance.html +7 -4
  231. package/docs/types/AudioTagTypeConfigKey.html +7 -4
  232. package/docs/types/CSS3DRenderExportType.html +7 -4
  233. package/docs/types/CSS3DRenderPluginExportType.html +7 -4
  234. package/docs/types/CSS3DRenderPluginParameterType.html +7 -4
  235. package/docs/types/ClassFunctionParameters.html +7 -4
  236. package/docs/types/Color.html +7 -4
  237. package/docs/types/ContentTypeConfigKey.html +7 -4
  238. package/docs/types/ContentTypeConfigKeySplit.html +7 -4
  239. package/docs/types/ContentTypeMap.html +7 -4
  240. package/docs/types/Create3DDomContainerReturnType.html +7 -4
  241. package/docs/types/Create3DElementReturnType.html +7 -4
  242. package/docs/types/CruisePluginExportType.html +7 -4
  243. package/docs/types/CruisePluginTypes.CruiseData.html +7 -4
  244. package/docs/types/CruisePluginTypes.MoveEffect.html +7 -4
  245. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -4
  246. package/docs/types/DeprecatedTagProperty.html +7 -4
  247. package/docs/types/Direction-1.html +7 -4
  248. package/docs/types/Direction4.html +7 -4
  249. package/docs/types/ElementRenderer.html +7 -4
  250. package/docs/types/FloorplanRuleLabels.html +7 -4
  251. package/docs/types/FloorplanServerRuleLabels.html +7 -4
  252. package/docs/types/GuideLinePluginExportType.html +7 -4
  253. package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -4
  254. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +7 -4
  255. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +7 -4
  256. package/docs/types/GuideLinePluginType.GuideLineStyle.html +7 -4
  257. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +7 -4
  258. package/docs/types/GuideLinePluginType.PathItem.html +7 -4
  259. package/docs/types/GuideLinePluginType.PluginData.html +7 -4
  260. package/docs/types/HelperEventMap.html +7 -4
  261. package/docs/types/LoadTagConfig.html +7 -4
  262. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -4
  263. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -4
  264. package/docs/types/MediaData.html +7 -4
  265. package/docs/types/MediaStore.html +7 -4
  266. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -4
  267. package/docs/types/ModelFloorplanPluginParameterType.html +7 -4
  268. package/docs/types/ModelFloorplanPluginReturnType.html +7 -4
  269. package/docs/types/ModelRoomLabelPluginParameters.html +7 -4
  270. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -4
  271. package/docs/types/MoveArgs.html +7 -4
  272. package/docs/types/MoveOpts.html +7 -4
  273. package/docs/types/Object3DHelperEventMap.html +7 -4
  274. package/docs/types/ObjectFit.html +7 -4
  275. package/docs/types/PaintBrushEventMap.html +7 -4
  276. package/docs/types/PanoCompassPluginData.html +7 -4
  277. package/docs/types/PanoCompassPluginExportType.html +7 -4
  278. package/docs/types/PanoCompassPluginParameterType.html +7 -4
  279. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -4
  280. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -4
  281. package/docs/types/PanoIndex.html +7 -4
  282. package/docs/types/PanoMeasurePluginEvent.html +7 -4
  283. package/docs/types/PanoMeasureReturnType.html +7 -4
  284. package/docs/types/PanoSpatialTagPluginId.html +7 -4
  285. package/docs/types/PanoTagPluginExportInterface.html +7 -4
  286. package/docs/types/PanoTagPluginParamsInterface.html +7 -4
  287. package/docs/types/PanoVideoPluginParameterType.html +7 -4
  288. package/docs/types/PanoVideoPluginReturnType.html +7 -4
  289. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -4
  290. package/docs/types/PipelinePluginParameterType.html +271 -0
  291. package/docs/types/PipelinePluginReturnType.html +271 -0
  292. package/docs/types/PlaneTag.html +7 -4
  293. package/docs/types/Point2DTag.html +7 -4
  294. package/docs/types/Point3DTag.html +7 -4
  295. package/docs/types/PointTag.html +7 -4
  296. package/docs/types/PointTagInstance.html +7 -4
  297. package/docs/types/Position.html +7 -4
  298. package/docs/types/RotateArgs.html +7 -4
  299. package/docs/types/RotateOpts.html +7 -4
  300. package/docs/types/RuleLabelsKey.html +7 -4
  301. package/docs/types/RuleLabelsValue.html +7 -4
  302. package/docs/types/StickType.html +7 -4
  303. package/docs/types/Tag.html +7 -4
  304. package/docs/types/Tag2D.html +7 -4
  305. package/docs/types/Tag3D.html +7 -4
  306. package/docs/types/TagContentType.html +7 -4
  307. package/docs/types/TagDimensionType.html +7 -4
  308. package/docs/types/TagElement.html +7 -4
  309. package/docs/types/TagEvents.html +7 -4
  310. package/docs/types/TagGLTFObject.html +7 -4
  311. package/docs/types/TagHooks.html +7 -4
  312. package/docs/types/TagId.html +7 -4
  313. package/docs/types/TagInstance.html +7 -4
  314. package/docs/types/TagPointType.html +7 -4
  315. package/docs/types/TagRendererMap.html +7 -4
  316. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -4
  317. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -4
  318. package/docs/types/WorkCode.html +7 -4
  319. package/docs/variables/FLOOR_TYPE_MAP.html +7 -4
  320. package/docs/variables/PLUGIN.html +7 -4
  321. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -4
  322. package/docs/variables/ROOM_TYPE_MAP.html +7 -4
  323. package/docs/variables/itemLabelPluginServerParams.html +7 -4
  324. package/docs/variables/modelItemLabelPluginServerParams.html +7 -4
  325. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -4
  326. package/libs/CruisePlugin/typing.d.ts +1 -1
  327. package/libs/GuideLinePlugin/typing.d.ts +1 -1
  328. package/libs/PanoCompassPlugin/typings.d.ts +1 -1
  329. package/libs/PipelinePlugin/Controller.d.ts +108 -0
  330. package/libs/PipelinePlugin/Controller.js +344 -0
  331. package/libs/PipelinePlugin/index.d.ts +6 -0
  332. package/libs/PipelinePlugin/index.js +39 -0
  333. package/libs/PipelinePlugin/typing/PluginData/index.js +6 -0
  334. package/libs/PipelinePlugin/typing/PluginData.d.ts +20 -0
  335. package/libs/PipelinePlugin/typing/PluginData.js +1 -0
  336. package/libs/PipelinePlugin/typing/ServerData/index.js +6 -0
  337. package/libs/PipelinePlugin/typing/ServerData.d.ts +28 -0
  338. package/libs/PipelinePlugin/typing/ServerData.js +1 -0
  339. package/libs/PipelinePlugin/typing/index.d.ts +79 -0
  340. package/libs/PipelinePlugin/typing/index.js +6 -0
  341. package/libs/PipelinePlugin/utils/Objects/FlowPipe.d.ts +34 -0
  342. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +106 -0
  343. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.d.ts +11 -0
  344. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +52 -0
  345. package/libs/PipelinePlugin/utils/Objects/Pipe.d.ts +49 -0
  346. package/libs/PipelinePlugin/utils/Objects/Pipe.js +179 -0
  347. package/libs/PipelinePlugin/utils/formatData.d.ts +12 -0
  348. package/libs/PipelinePlugin/utils/formatData.js +46 -0
  349. package/libs/base/BasePlugin.js +1 -1
  350. package/libs/base/BasePluginWithData.d.ts +3 -15
  351. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +87 -88
  352. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +75 -76
  353. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +1 -1
  354. package/libs/floorplan/typings/index.d.ts +1 -1
  355. package/libs/index.d.ts +1 -0
  356. package/libs/index.js +117 -108
  357. package/libs/shared-utils/logger.js +1 -1
  358. package/libs/shared-utils/three/Extras/Core/Interpolations.d.ts +11 -0
  359. package/libs/shared-utils/three/Extras/Core/Interpolations.js +28 -0
  360. package/libs/shared-utils/three/Extras/Core/Interpolations2.js +34 -0
  361. package/libs/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
  362. package/libs/shared-utils/three/Extras/Curves/BezierCurve3.js +30 -0
  363. package/package.json +1 -1
package/libs/index.d.ts CHANGED
@@ -21,4 +21,5 @@ export * from './CruisePlugin';
21
21
  export * from './PanoTagPlugin';
22
22
  export * from './Object3DHelperPlugin';
23
23
  export * from './PanoVideoPlugin';
24
+ export * from './PipelinePlugin';
24
25
  export * as Util from './shared-utils';
package/libs/index.js CHANGED
@@ -1,55 +1,56 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Rp } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as Op } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Sp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Dp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as bp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Yp, modelRoomLabelPluginServerParams as vp } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as Vp } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as hp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as Bp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as Up } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as $p } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as qp, ROOM_FETILE_TYPE_MAP as zp, ROOM_TYPE_MAP as Jp } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Qp } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as Xp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as oe } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as te, Rotation as ie } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as pe } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as ne } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as ae } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as ue } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as xe } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as se } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as Me } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Le } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as _e } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as Re } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as Oe } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Se } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as De } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as be } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as Ye } from "./PanoVideoPlugin/index.js";
34
- import { index as ce } from "./shared-utils/index.js";
35
- import { CSS3DRender as Ne } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
- import { Model as we } from "./PanoMeasurePlugin/Model/index.js";
37
- import { default as He } from "./PanoMeasurePlugin/Model/point.js";
38
- import { default as je } from "./PanoMeasurePlugin/Model/line.js";
39
- import { Polyline as ke } from "./PanoMeasurePlugin/Model/polyline.js";
40
- import { default as ze } from "./PanoMeasurePlugin/Modules/Magnifier.js";
41
- import { DISPLAY_STRATEGY_TYPE as Ke } from "./ModelItemLabelPlugin/typings.js";
42
- import { ModelItemLabelPlugin as We } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
43
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Ze } from "./ItemLabelPlugin/typings.js";
44
- import { Plugin as rn } from "./ItemLabelPlugin/Plugin.js";
45
- import { GuideLineItem$1 as mn } from "./GuideLinePlugin/GuideLineItem/index.js";
46
- import { GuideLineModeItem$1 as en } from "./GuideLinePlugin/GuideLineModeItem/index.js";
47
- import { default as ln } from "./CruisePlugin/Controller.js";
48
- import { typing as Pn } from "./CruisePlugin/typing/index.js";
49
- import { default as fn, pluginFlag as xn } from "./PanoTagPlugin/controller/index.js";
50
- import { ContentType as sn, DimensionType as dn, PointType as Mn } from "./PanoTagPlugin/Archive/deprecated.js";
51
- import { Object3DHelperController as Ln, PLUGIN as Cn } from "./Object3DHelperPlugin/Controller.js";
52
- import { typings as En } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as Gp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Fp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as vp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Vp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as hp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Bp, modelRoomLabelPluginServerParams as Hp } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as jp } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as kp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as zp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as Kp } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as Wp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as Zp, ROOM_FETILE_TYPE_MAP as oe, ROOM_TYPE_MAP as re } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as ie } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as pe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as ne } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as ae, Rotation as Pe } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as fe } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as ge } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as de } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Te } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Ce } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Ee } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Ie } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as ye } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Ae } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as Ge } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Fe } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as ve } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as Ve } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as he } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as Be } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as Ue } from "./PipelinePlugin/index.js";
35
+ import { index as $e } from "./shared-utils/index.js";
36
+ import { CSS3DRender as qe } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
37
+ import { Model as Je } from "./PanoMeasurePlugin/Model/index.js";
38
+ import { default as Qe } from "./PanoMeasurePlugin/Model/point.js";
39
+ import { default as Xe } from "./PanoMeasurePlugin/Model/line.js";
40
+ import { Polyline as on } from "./PanoMeasurePlugin/Model/polyline.js";
41
+ import { default as tn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
42
+ import { DISPLAY_STRATEGY_TYPE as pn } from "./ModelItemLabelPlugin/typings.js";
43
+ import { ModelItemLabelPlugin as nn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
44
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as an } from "./ItemLabelPlugin/typings.js";
45
+ import { Plugin as un } from "./ItemLabelPlugin/Plugin.js";
46
+ import { GuideLineItem$1 as xn } from "./GuideLinePlugin/GuideLineItem/index.js";
47
+ import { GuideLineModeItem$1 as sn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
48
+ import { default as Mn } from "./CruisePlugin/Controller.js";
49
+ import { typing as Ln } from "./CruisePlugin/typing/index.js";
50
+ import { default as _n, pluginFlag as En } from "./PanoTagPlugin/controller/index.js";
51
+ import { ContentType as In, DimensionType as On, PointType as yn } from "./PanoTagPlugin/Archive/deprecated.js";
52
+ import { Object3DHelperController as An, PLUGIN as Dn } from "./Object3DHelperPlugin/Controller.js";
53
+ import { typings as bn } from "./PanoVideoPlugin/typings/index.js";
53
54
  import "./components/PaintBrush/Controller.js";
54
55
  import "./components/PaintBrush/utils.js";
55
56
  import "./components/PaintBrush/tween.js";
@@ -386,6 +387,13 @@ import "./PanoVideoPlugin/Controller.js";
386
387
  import "./PanoVideoPlugin/VideoMeshController.js";
387
388
  import "./PanoVideoPlugin/utils/shader.js";
388
389
  import "./PanoVideoPlugin/utils/index.js";
390
+ import "./PipelinePlugin/Controller.js";
391
+ import "./PipelinePlugin/utils/formatData.js";
392
+ import "./PipelinePlugin/utils/Objects/FlowPipe.js";
393
+ import "./PipelinePlugin/utils/Objects/Pipe.js";
394
+ import "./shared-utils/three/Extras/Curves/BezierCurve3.js";
395
+ import "./shared-utils/three/Extras/Core/Interpolations.js";
396
+ import "./shared-utils/three/Extras/Core/Interpolations2.js";
389
397
  import "./shared-utils/math/Interval.js";
390
398
  import "./shared-utils/math/Rectangle.js";
391
399
  import "./shared-utils/three/getCoords.js";
@@ -393,62 +401,63 @@ import "./shared-utils/three/getRaycaster.js";
393
401
  r();
394
402
  o();
395
403
  export {
396
- Ne as CSS3DRender,
397
- Dp as CSS3DRenderPlugin,
398
- te as CameraMovementEffect,
399
- oe as CameraMovementPlugin,
400
- sn as ContentType,
401
- Se as CruisePlugin,
402
- ln as CruisePluginController,
403
- Pn as CruisePluginTypes,
404
- Le as DIRECTION,
405
- Ke as DISPLAY_STRATEGY_TYPE,
406
- dn as DimensionType,
407
- Vp as FLOOR_PLAN_ATTACHED_TO,
408
- qp as FLOOR_TYPE_MAP,
409
- mn as GuideLineItem,
410
- en as GuideLineModeItem,
411
- Oe as GuideLinePlugin,
412
- Ze as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
413
- rn as ItemLabelPlugin,
414
- ze as Magnifier,
415
- Bp as MapviewFloorplanPlugin,
416
- Qp as ModelChassisCompassPlugin,
417
- Xp as ModelEntryDoorGuidePlugin,
418
- hp as ModelFloorplanPlugin,
419
- We as ModelItemLabelPlugin,
420
- Yp as ModelRoomLabelPlugin,
421
- Me as ModelTVVideoPlugin,
422
- Sp as ModelViewPlugin,
423
- Ln as Object3DHelperController,
424
- be as Object3DHelperPlugin,
425
- Cn as PLUGIN,
426
- Rp as PaintBrush,
427
- Op as PaintBrushTypeEnum,
428
- ae as PanoCompassPlugin,
429
- bp as PanoCursorRaycasterPlugin,
430
- Re as PanoDoorLabelPlugin,
431
- $p as PanoFloorplanRadarPlugin,
432
- ue as PanoMeasurePlugin,
433
- je as PanoMeasurePluginLine,
434
- we as PanoMeasurePluginModel,
435
- He as PanoMeasurePluginPoint,
436
- ke as PanoMeasurePluginPolyline,
437
- pe as PanoRulerPlugin,
438
- ne as PanoRulerProPlugin,
439
- xe as PanoSpatialTagPlugin,
440
- De as PanoTagPlugin,
441
- fn as PanoTagPluginController,
442
- Ye as PanoVideoPlugin,
443
- En as PanoVideoPluginType,
444
- Mn as PointType,
445
- zp as ROOM_FETILE_TYPE_MAP,
446
- Jp as ROOM_TYPE_MAP,
447
- ie as Rotation,
448
- Up as TopviewFloorplanPlugin,
449
- ce as Util,
450
- _e as itemLabelPluginServerParams,
451
- se as modelItemLabelPluginServerParams,
452
- vp as modelRoomLabelPluginServerParams,
453
- xn as pluginFlag
404
+ qe as CSS3DRender,
405
+ Vp as CSS3DRenderPlugin,
406
+ ae as CameraMovementEffect,
407
+ ne as CameraMovementPlugin,
408
+ In as ContentType,
409
+ ve as CruisePlugin,
410
+ Mn as CruisePluginController,
411
+ Ln as CruisePluginTypes,
412
+ ye as DIRECTION,
413
+ pn as DISPLAY_STRATEGY_TYPE,
414
+ On as DimensionType,
415
+ jp as FLOOR_PLAN_ATTACHED_TO,
416
+ Zp as FLOOR_TYPE_MAP,
417
+ xn as GuideLineItem,
418
+ sn as GuideLineModeItem,
419
+ Fe as GuideLinePlugin,
420
+ an as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
421
+ un as ItemLabelPlugin,
422
+ tn as Magnifier,
423
+ zp as MapviewFloorplanPlugin,
424
+ ie as ModelChassisCompassPlugin,
425
+ pe as ModelEntryDoorGuidePlugin,
426
+ kp as ModelFloorplanPlugin,
427
+ nn as ModelItemLabelPlugin,
428
+ Bp as ModelRoomLabelPlugin,
429
+ Ie as ModelTVVideoPlugin,
430
+ vp as ModelViewPlugin,
431
+ An as Object3DHelperController,
432
+ he as Object3DHelperPlugin,
433
+ Dn as PLUGIN,
434
+ Gp as PaintBrush,
435
+ Fp as PaintBrushTypeEnum,
436
+ de as PanoCompassPlugin,
437
+ hp as PanoCursorRaycasterPlugin,
438
+ Ge as PanoDoorLabelPlugin,
439
+ Wp as PanoFloorplanRadarPlugin,
440
+ Te as PanoMeasurePlugin,
441
+ Xe as PanoMeasurePluginLine,
442
+ Je as PanoMeasurePluginModel,
443
+ Qe as PanoMeasurePluginPoint,
444
+ on as PanoMeasurePluginPolyline,
445
+ fe as PanoRulerPlugin,
446
+ ge as PanoRulerProPlugin,
447
+ Ce as PanoSpatialTagPlugin,
448
+ Ve as PanoTagPlugin,
449
+ _n as PanoTagPluginController,
450
+ Be as PanoVideoPlugin,
451
+ bn as PanoVideoPluginType,
452
+ Ue as PipelinePlugin,
453
+ yn as PointType,
454
+ oe as ROOM_FETILE_TYPE_MAP,
455
+ re as ROOM_TYPE_MAP,
456
+ Pe as Rotation,
457
+ Kp as TopviewFloorplanPlugin,
458
+ $e as Util,
459
+ Ae as itemLabelPluginServerParams,
460
+ Ee as modelItemLabelPluginServerParams,
461
+ Hp as modelRoomLabelPluginServerParams,
462
+ En as pluginFlag
454
463
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.25.0",
3
+ "%c %c@realsee/dnalogel %cv2.26.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -0,0 +1,11 @@
1
+ import * as THREE from 'three';
2
+ /**
3
+ * N 阶贝塞尔曲线
4
+ *
5
+ * @param points points.length 阶数是 points.length - 1
6
+ *
7
+ * @description
8
+ *
9
+ * N 阶贝塞尔就是递归求插值, 从 N 阶一直降阶到 1 阶,也就是求直线线性插值
10
+ */
11
+ export declare function Bezier(t: number, points: THREE.Vector3[]): THREE.Vector3;
@@ -0,0 +1,28 @@
1
+ import * as l from "three";
2
+ import { QuadraticBezier as x, CubicBezier as a } from "./Interpolations2.js";
3
+ function y(e, r) {
4
+ const c = r.length - 1;
5
+ if (c < 1)
6
+ throw new Error("length of points must greater than 2");
7
+ if (c === 2)
8
+ return new l.Vector3(
9
+ x(e, r[0].x, r[1].x, r[2].x),
10
+ x(e, r[0].y, r[1].y, r[2].y),
11
+ x(e, r[0].z, r[1].z, r[2].z)
12
+ );
13
+ if (c === 3)
14
+ return new l.Vector3(
15
+ a(e, r[0].x, r[1].x, r[2].x, r[3].x),
16
+ a(e, r[0].y, r[1].y, r[2].y, r[3].y),
17
+ a(e, r[0].z, r[1].z, r[2].z, r[3].z)
18
+ );
19
+ if (c === 1) {
20
+ const [u, z] = r;
21
+ return u.clone().add(z.clone().sub(u).multiplyScalar(e));
22
+ }
23
+ const f = [];
24
+ return r.reduce((u, z) => (f.push(y(e, [u, z])), z)), y(e, f);
25
+ }
26
+ export {
27
+ y as Bezier
28
+ };
@@ -0,0 +1,34 @@
1
+ function c(r, n) {
2
+ const e = 1 - r;
3
+ return e * e * n;
4
+ }
5
+ function t(r, n) {
6
+ return 2 * (1 - r) * r * n;
7
+ }
8
+ function o(r, n) {
9
+ return r * r * n;
10
+ }
11
+ function P(r, n, e, i) {
12
+ return c(r, n) + t(r, e) + o(r, i);
13
+ }
14
+ function f(r, n) {
15
+ const e = 1 - r;
16
+ return e * e * e * n;
17
+ }
18
+ function z(r, n) {
19
+ const e = 1 - r;
20
+ return 3 * e * e * r * n;
21
+ }
22
+ function B(r, n) {
23
+ return 3 * (1 - r) * r * r * n;
24
+ }
25
+ function a(r, n) {
26
+ return r * r * r * n;
27
+ }
28
+ function b(r, n, e, i, u) {
29
+ return f(r, n) + z(r, e) + B(r, i) + a(r, u);
30
+ }
31
+ export {
32
+ b as CubicBezier,
33
+ P as QuadraticBezier
34
+ };
@@ -0,0 +1,13 @@
1
+ import * as THREE from 'three';
2
+ declare class CustomBezierCurve3 extends THREE.Curve<THREE.Vector3> {
3
+ type: string;
4
+ controlPoints: THREE.Vector3[];
5
+ constructor(controlPoints?: THREE.Vector3[]);
6
+ getPoint(t: number, optionalTarget?: THREE.Vector3): THREE.Vector3;
7
+ copy(source: CustomBezierCurve3): this;
8
+ toJSON(): object & {
9
+ controlPoints: number[][];
10
+ };
11
+ fromJSON(json: any): this;
12
+ }
13
+ export { CustomBezierCurve3 };
@@ -0,0 +1,30 @@
1
+ var p = Object.defineProperty;
2
+ var a = (n, o, t) => o in n ? p(n, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[o] = t;
3
+ var i = (n, o, t) => (a(n, typeof o != "symbol" ? o + "" : o, t), t);
4
+ import * as c from "three";
5
+ import { Bezier as u } from "../Core/Interpolations.js";
6
+ class P extends c.Curve {
7
+ constructor(t = []) {
8
+ super();
9
+ i(this, "type");
10
+ i(this, "controlPoints");
11
+ this.type = "CustomBezierCurve3", this.controlPoints = t;
12
+ }
13
+ getPoint(t, r = new c.Vector3()) {
14
+ const s = r, e = u(t, this.controlPoints);
15
+ return s.copy(e), s;
16
+ }
17
+ copy(t) {
18
+ return super.copy(t), this.controlPoints = t.controlPoints.map((r) => r.clone()), this;
19
+ }
20
+ toJSON() {
21
+ const t = super.toJSON(), r = this.controlPoints.map((e) => e.toArray());
22
+ return Object.assign(t, { controlPoints: r });
23
+ }
24
+ fromJSON(t) {
25
+ return super.fromJSON(t), this.controlPoints = t.controlPoints.map((r) => new c.Vector3().fromArray(r)), this;
26
+ }
27
+ }
28
+ export {
29
+ P as CustomBezierCurve3
30
+ };
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.25.0",
10
+ "version": "2.26.0",
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*",