@realsee/dnalogel 3.5.0 → 3.6.0-dev.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.
- package/dist/CruisePlugin/BaseController.d.ts +159 -0
- package/dist/CruisePlugin/Move.d.ts +40 -0
- package/dist/CruisePlugin/Work.d.ts +120 -0
- package/dist/CruisePlugin/index.d.ts +4 -3
- package/dist/CruisePlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
- package/dist/GuideLinePlugin/Controller.d.ts +1 -6
- package/dist/index.cjs.js +52 -52
- package/dist/index.js +3249 -3160
- package/dist/index.umd.js +54 -54
- package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +120 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +728 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +681 -0
- package/docs/classes/CSS3DRender.html +776 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +479 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +859 -0
- package/docs/classes/Magnifier.html +483 -0
- package/docs/classes/ModelRoomLabelController.html +401 -0
- package/docs/classes/MoveController.html +652 -0
- package/docs/classes/Object3DHelperController.html +643 -0
- package/docs/classes/PaintBrush.html +505 -0
- package/docs/classes/PanoMeasurePluginLine.html +525 -0
- package/docs/classes/PanoMeasurePluginModel.html +574 -0
- package/docs/classes/PanoMeasurePluginPoint.html +365 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +570 -0
- package/docs/classes/PanoTagPluginController.html +1114 -0
- package/docs/classes/Util.BetterTween.html +419 -0
- package/docs/classes/Util.Interval.html +435 -0
- package/docs/classes/Util.LineSegments.html +387 -0
- package/docs/classes/Util.Magnifier.html +506 -0
- package/docs/classes/Util.Object3D.html +409 -0
- package/docs/classes/Util.PointDomHelper.html +410 -0
- package/docs/classes/Util.PointHelper.html +401 -0
- package/docs/classes/Util.PointSelectorHelper.html +457 -0
- package/docs/classes/Util.Rectangle.html +458 -0
- package/docs/classes/WalkController.html +671 -0
- package/docs/enums/CameraMovementEffect.html +313 -0
- package/docs/enums/ContentType.html +459 -0
- package/docs/enums/DIRECTION.html +323 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +323 -0
- package/docs/enums/DimensionType.html +313 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +316 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +323 -0
- package/docs/enums/PaintBrushTypeEnum.html +316 -0
- package/docs/enums/PointType.html +313 -0
- package/docs/enums/Rotation.html +320 -0
- package/docs/functions/AreaMakerPlugin.html +293 -0
- package/docs/functions/CSS3DRenderPlugin.html +291 -0
- package/docs/functions/CameraMovementPlugin.html +296 -0
- package/docs/functions/CruisePlugin.html +293 -0
- package/docs/functions/CurrentPanoImagePlugin.html +293 -0
- package/docs/functions/GuideLinePlugin.html +293 -0
- package/docs/functions/ItemLabelPlugin.html +293 -0
- package/docs/functions/MapviewFloorplanPlugin.html +293 -0
- package/docs/functions/ModelChassisCompassPlugin.html +296 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +296 -0
- package/docs/functions/ModelFloorplanPlugin.html +293 -0
- package/docs/functions/ModelItemLabelPlugin.html +293 -0
- package/docs/functions/ModelRoomLabelPlugin.html +291 -0
- package/docs/functions/ModelTVVideoPlugin.html +293 -0
- package/docs/functions/ModelViewPlugin.html +296 -0
- package/docs/functions/Object3DHelperPlugin.html +291 -0
- package/docs/functions/PanoCompassPlugin.html +293 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +297 -0
- package/docs/functions/PanoDoorLabelPlugin.html +293 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +293 -0
- package/docs/functions/PanoMeasurePlugin.html +293 -0
- package/docs/functions/PanoRulerPlugin.html +296 -0
- package/docs/functions/PanoRulerProPlugin.html +296 -0
- package/docs/functions/PanoSpatialTagPlugin.html +296 -0
- package/docs/functions/PanoTagPlugin.html +298 -0
- package/docs/functions/PanoVideoPlugin.html +302 -0
- package/docs/functions/PipelinePlugin.html +291 -0
- package/docs/functions/TopviewFloorplanPlugin.html +293 -0
- package/docs/functions/Util.absoluteUrl.html +329 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +332 -0
- package/docs/functions/Util.equal.html +341 -0
- package/docs/functions/Util.getCoordsFromClient.html +331 -0
- package/docs/functions/Util.getCoordsFromElement.html +331 -0
- package/docs/functions/Util.getFrameTime.html +323 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +331 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +331 -0
- package/docs/functions/Util.isAbsoluteURL.html +324 -0
- package/docs/functions/Util.isModelLike.html +324 -0
- package/docs/functions/Util.isNil.html +332 -0
- package/docs/functions/Util.isPanoramaLike.html +324 -0
- package/docs/functions/Util.nextFrame.html +337 -0
- package/docs/functions/Util.notNil.html +332 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +353 -0
- package/docs/functions/Util.tweenProgress.html +326 -0
- package/docs/functions/Util.uuid.html +322 -0
- package/docs/functions/pluginFlag.html +291 -0
- package/docs/index.html +357 -0
- package/docs/interfaces/AddTagConfig.html +306 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +332 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +337 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +623 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +336 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +386 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +371 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +336 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +329 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +328 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +357 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +452 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +328 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +361 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +362 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +364 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +699 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +388 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +424 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +414 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +354 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +322 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +390 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +385 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +524 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +326 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +318 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +340 -0
- package/docs/interfaces/EventMap.html +545 -0
- package/docs/interfaces/FloorplanBounding.html +335 -0
- package/docs/interfaces/FloorplanData.html +338 -0
- package/docs/interfaces/FloorplanEntrance.html +363 -0
- package/docs/interfaces/FloorplanExtraObject.html +353 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +342 -0
- package/docs/interfaces/FloorplanFloorData.html +331 -0
- package/docs/interfaces/FloorplanImagePosition.html +317 -0
- package/docs/interfaces/FloorplanObserver.html +335 -0
- package/docs/interfaces/FloorplanOutlineItem.html +331 -0
- package/docs/interfaces/FloorplanPosition.html +317 -0
- package/docs/interfaces/FloorplanRoomItem.html +382 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +323 -0
- package/docs/interfaces/FloorplanServerBounding.html +335 -0
- package/docs/interfaces/FloorplanServerComputedData.html +334 -0
- package/docs/interfaces/FloorplanServerData.html +317 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +334 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +320 -0
- package/docs/interfaces/FloorplanServerEntrance.html +363 -0
- package/docs/interfaces/FloorplanServerFloorData.html +331 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +317 -0
- package/docs/interfaces/FloorplanServerObserver.html +335 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +331 -0
- package/docs/interfaces/FloorplanServerPosition.html +317 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +394 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +323 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +326 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +365 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +529 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +360 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +351 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +418 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +340 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +350 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +486 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +347 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +486 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +312 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +333 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +358 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +374 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +356 -0
- package/docs/interfaces/HelperOffset.html +335 -0
- package/docs/interfaces/ImagePlaneGroup.html +309 -0
- package/docs/interfaces/ItemLabelPluginData.html +306 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +391 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +327 -0
- package/docs/interfaces/MinMax.html +313 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +313 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +349 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +313 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +320 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +357 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +306 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +391 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +313 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +306 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +327 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +351 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +306 -0
- package/docs/interfaces/ModelViewPluginExportType.html +419 -0
- package/docs/interfaces/Object3DHelperState.html +320 -0
- package/docs/interfaces/ObjectHelperControllers.html +327 -0
- package/docs/interfaces/PaintBrushAction.html +366 -0
- package/docs/interfaces/PaintBrushConfigs.html +364 -0
- package/docs/interfaces/PaintBrushState.html +348 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +428 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +285 -0
- package/docs/interfaces/PanoMeasureParameterType.html +452 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +320 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +317 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +313 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +323 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +380 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +329 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +320 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +356 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +326 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +313 -0
- package/docs/interfaces/PanoRulerProPluginState.html +320 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +299 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +288 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +356 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +338 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +434 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +334 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +355 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +341 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +334 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +326 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +344 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +317 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +423 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +317 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +352 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +371 -0
- package/docs/interfaces/Point.html +320 -0
- package/docs/interfaces/Room.html +327 -0
- package/docs/interfaces/RoomInfo.html +313 -0
- package/docs/interfaces/RoomLabel.html +389 -0
- package/docs/interfaces/RoomRules.html +288 -0
- package/docs/interfaces/Rooms.html +288 -0
- package/docs/interfaces/Scissor.html +347 -0
- package/docs/interfaces/State.html +334 -0
- package/docs/interfaces/TagCacheInterface.html +365 -0
- package/docs/interfaces/TagConfig.html +568 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +309 -0
- package/docs/interfaces/TagIconUrl.html +366 -0
- package/docs/interfaces/TagObjectGroup.html +309 -0
- package/docs/interfaces/TagStyle.html +319 -0
- package/docs/interfaces/Tags.html +2823 -0
- package/docs/interfaces/TemporaryState.html +306 -0
- package/docs/interfaces/Util.MagnifierParameter.html +394 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +353 -0
- package/docs/interfaces/Util.PointIntersection.html +368 -0
- package/docs/modules/AreaMakerPluginType.html +326 -0
- package/docs/modules/CruisePluginTypes.html +331 -0
- package/docs/modules/CurrentPanoImagePluginType.html +300 -0
- package/docs/modules/GuideLineItem.html +292 -0
- package/docs/modules/GuideLineModeItem.html +297 -0
- package/docs/modules/GuideLinePluginType.html +353 -0
- package/docs/modules/PanoVideoPluginType.html +304 -0
- package/docs/modules/Util.html +354 -0
- package/docs/modules.html +560 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +334 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +304 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +304 -0
- package/docs/types/ArrayPosition.html +282 -0
- package/docs/types/AudioAppearance.html +282 -0
- package/docs/types/AudioTagTypeConfigKey.html +282 -0
- package/docs/types/CSS3DRenderExportType.html +282 -0
- package/docs/types/CSS3DRenderPluginExportType.html +282 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +282 -0
- package/docs/types/ClassFunctionParameters.html +289 -0
- package/docs/types/Color.html +282 -0
- package/docs/types/ContentTypeConfigKey.html +282 -0
- package/docs/types/ContentTypeConfigKeySplit.html +282 -0
- package/docs/types/ContentTypeMap.html +282 -0
- package/docs/types/Create3DDomContainerReturnType.html +282 -0
- package/docs/types/Create3DElementReturnType.html +282 -0
- package/docs/types/CruisePluginExportType.html +282 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +321 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +298 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +282 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +294 -0
- package/docs/types/DeprecatedTagProperty.html +297 -0
- package/docs/types/Direction-1.html +282 -0
- package/docs/types/Direction4.html +282 -0
- package/docs/types/ElementRenderer.html +306 -0
- package/docs/types/FloorplanRuleLabels.html +285 -0
- package/docs/types/FloorplanServerRuleLabels.html +282 -0
- package/docs/types/GuideLinePluginExportType.html +282 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +355 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +376 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +309 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +312 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +312 -0
- package/docs/types/GuideLinePluginType.PathItem.html +312 -0
- package/docs/types/GuideLinePluginType.PluginData.html +321 -0
- package/docs/types/HelperEventMap.html +520 -0
- package/docs/types/LoadTagConfig.html +282 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +282 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +282 -0
- package/docs/types/MediaData.html +303 -0
- package/docs/types/MediaStore.html +287 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +289 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +282 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +282 -0
- package/docs/types/ModelId.html +282 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +282 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +282 -0
- package/docs/types/MoveArgs.html +292 -0
- package/docs/types/MoveOpts.html +290 -0
- package/docs/types/Object3DHelperEventMap.html +375 -0
- package/docs/types/ObjectFit.html +282 -0
- package/docs/types/PaintBrushEventMap.html +313 -0
- package/docs/types/PanoCompassPluginData.html +282 -0
- package/docs/types/PanoCompassPluginExportType.html +282 -0
- package/docs/types/PanoCompassPluginParameterType.html +282 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +282 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +282 -0
- package/docs/types/PanoIndex.html +282 -0
- package/docs/types/PanoMeasurePluginEvent.html +282 -0
- package/docs/types/PanoMeasureReturnType.html +282 -0
- package/docs/types/PanoSpatialTagPluginId.html +282 -0
- package/docs/types/PanoTagPluginExportInterface.html +282 -0
- package/docs/types/PanoTagPluginParamsInterface.html +282 -0
- package/docs/types/PanoVideoPluginParameterType.html +282 -0
- package/docs/types/PanoVideoPluginReturnType.html +282 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +290 -0
- package/docs/types/PipelinePluginParameterType.html +282 -0
- package/docs/types/PipelinePluginReturnType.html +282 -0
- package/docs/types/PlaneTag.html +290 -0
- package/docs/types/Point2DTag.html +290 -0
- package/docs/types/Point3DTag.html +290 -0
- package/docs/types/PointTag.html +287 -0
- package/docs/types/PointTagInstance.html +287 -0
- package/docs/types/Position.html +282 -0
- package/docs/types/RotateArgs.html +294 -0
- package/docs/types/RotateOpts.html +290 -0
- package/docs/types/RuleLabelsKey.html +282 -0
- package/docs/types/RuleLabelsValue.html +282 -0
- package/docs/types/StickType.html +282 -0
- package/docs/types/Tag.html +348 -0
- package/docs/types/Tag2D.html +290 -0
- package/docs/types/Tag3D.html +290 -0
- package/docs/types/TagConfigByKey.html +287 -0
- package/docs/types/TagContentType.html +282 -0
- package/docs/types/TagContentTypeMapping.html +282 -0
- package/docs/types/TagDimensionType.html +284 -0
- package/docs/types/TagElement.html +292 -0
- package/docs/types/TagEvents.html +335 -0
- package/docs/types/TagGLTFObject.html +305 -0
- package/docs/types/TagHooks.html +282 -0
- package/docs/types/TagId.html +282 -0
- package/docs/types/TagInstance.html +360 -0
- package/docs/types/TagPointType.html +285 -0
- package/docs/types/TagRendererMap.html +287 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +282 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +282 -0
- package/docs/types/WorkCode.html +282 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +292 -0
- package/docs/variables/PLUGIN.html +282 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +285 -0
- package/docs/variables/ROOM_TYPE_MAP.html +292 -0
- package/docs/variables/defaultGlobalConfig.html +282 -0
- package/docs/variables/itemLabelPluginServerParams.html +289 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +289 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +289 -0
- package/libs/CruisePlugin/BaseController.d.ts +159 -0
- package/libs/CruisePlugin/BaseController.js +231 -0
- package/libs/CruisePlugin/Move.d.ts +40 -0
- package/libs/CruisePlugin/Move.js +120 -0
- package/libs/CruisePlugin/Work.d.ts +120 -0
- package/libs/CruisePlugin/Work.js +597 -0
- package/libs/CruisePlugin/index.d.ts +4 -3
- package/libs/CruisePlugin/index.js +17 -12
- package/libs/CruisePlugin/typing.d.ts +2 -2
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
- package/libs/GuideLinePlugin/Controller.d.ts +1 -6
- package/libs/GuideLinePlugin/Controller.js +48 -62
- package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
- package/libs/GuideLinePlugin/GuideLineItem.js +13 -10
- package/libs/GuideLinePlugin/index.js +20 -17
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +124 -119
- package/libs/shared-utils/five/fiveLoaded.d.ts +2 -0
- package/libs/shared-utils/five/fiveLoaded.js +30 -0
- package/libs/shared-utils/formatRad.d.ts +7 -0
- package/libs/shared-utils/formatRad.js +7 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/CruisePlugin/Controller.d.ts +0 -171
- package/dist/CruisePlugin/utils/linerValue.d.ts +0 -1
- package/libs/CruisePlugin/Controller.d.ts +0 -171
- package/libs/CruisePlugin/Controller.js +0 -760
- /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
- /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
- /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
- /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type { Five, State } from '@realsee/five';
|
|
2
|
+
import type { BaseOptions } from '../base/BasePlugin';
|
|
3
|
+
import type { GuideLinePluginExportType } from '../GuideLinePlugin';
|
|
4
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
5
|
+
import type { PluginState, EventMap, MoveEffect } from './typing';
|
|
6
|
+
import type { PartialDeep } from 'type-fest';
|
|
7
|
+
export declare const pluginFlag: (name: string) => string;
|
|
8
|
+
export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
|
|
9
|
+
state: PluginState;
|
|
10
|
+
protected data?: PluginData & {
|
|
11
|
+
id: string | number;
|
|
12
|
+
};
|
|
13
|
+
protected config?: Config;
|
|
14
|
+
protected privateState: {
|
|
15
|
+
/**
|
|
16
|
+
* privateState.playing 和 state.playing 的区别:
|
|
17
|
+
* state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
|
|
18
|
+
* 其实就是加了一个不允许重复执行handleplay的逻辑
|
|
19
|
+
*/
|
|
20
|
+
playing: boolean;
|
|
21
|
+
broke: boolean;
|
|
22
|
+
playId?: string;
|
|
23
|
+
moveToFirstPanoEffect?: MoveEffect;
|
|
24
|
+
moveToFirstPanoDuration?: number;
|
|
25
|
+
modeChanging?: boolean;
|
|
26
|
+
};
|
|
27
|
+
protected GuideLine?: GuideLinePluginExportType;
|
|
28
|
+
constructor(five: Five, config?: Config);
|
|
29
|
+
/**
|
|
30
|
+
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
31
|
+
*/
|
|
32
|
+
play(options?: {
|
|
33
|
+
userAction?: boolean;
|
|
34
|
+
}): void;
|
|
35
|
+
/**
|
|
36
|
+
* @description Pause
|
|
37
|
+
*/
|
|
38
|
+
pause(options?: {
|
|
39
|
+
userAction?: boolean;
|
|
40
|
+
}): void;
|
|
41
|
+
/**
|
|
42
|
+
* @description Show guide line
|
|
43
|
+
*/
|
|
44
|
+
show(options?: {
|
|
45
|
+
userAction?: boolean;
|
|
46
|
+
}): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Hide guide line
|
|
49
|
+
*/
|
|
50
|
+
hide(options?: {
|
|
51
|
+
userAction?: boolean;
|
|
52
|
+
}): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* @description Enable
|
|
55
|
+
*/
|
|
56
|
+
enable(options?: {
|
|
57
|
+
userAction?: boolean;
|
|
58
|
+
}): void;
|
|
59
|
+
/**
|
|
60
|
+
* @description Disable
|
|
61
|
+
*/
|
|
62
|
+
disable(options?: {
|
|
63
|
+
userAction?: boolean;
|
|
64
|
+
}): void;
|
|
65
|
+
/**
|
|
66
|
+
* @description Dispose
|
|
67
|
+
*/
|
|
68
|
+
dispose(): void;
|
|
69
|
+
/**
|
|
70
|
+
* @description Set state
|
|
71
|
+
*/
|
|
72
|
+
setState(state: PartialDeep<PluginState>, options?: BaseOptions & Record<string, any>): void;
|
|
73
|
+
/**
|
|
74
|
+
* @description Clear pause data
|
|
75
|
+
*/
|
|
76
|
+
protected clearPauseData(): boolean;
|
|
77
|
+
protected changePlayState(play: boolean, options?: {
|
|
78
|
+
userAction?: boolean;
|
|
79
|
+
playFromIndex?: number;
|
|
80
|
+
playFromId?: string;
|
|
81
|
+
}): void;
|
|
82
|
+
protected handleEnable(enabled: boolean, userAction?: boolean): void;
|
|
83
|
+
protected handleVisible(visible: boolean, userAction?: boolean): void;
|
|
84
|
+
/**
|
|
85
|
+
* @description: listen interupted by five gesture
|
|
86
|
+
*/
|
|
87
|
+
protected addInterruptListener(interrupt: () => void): () => void;
|
|
88
|
+
/**
|
|
89
|
+
* @description Get duration by speed
|
|
90
|
+
*/
|
|
91
|
+
protected getSpeededDuration(duration: number): number;
|
|
92
|
+
/**
|
|
93
|
+
* @description Force interupt five updateCamera
|
|
94
|
+
*/
|
|
95
|
+
protected forceInteruptUpdateCamera(): void;
|
|
96
|
+
protected getPauseData(): {
|
|
97
|
+
fiveState: Partial<State>;
|
|
98
|
+
id?: string | number;
|
|
99
|
+
playedProgress: number;
|
|
100
|
+
duration?: number;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @description Set pause data
|
|
104
|
+
*/
|
|
105
|
+
protected setPauseData(): Map<string | number, {
|
|
106
|
+
fiveState: Partial<State>;
|
|
107
|
+
id?: string | number;
|
|
108
|
+
playedProgress: number;
|
|
109
|
+
duration?: number;
|
|
110
|
+
}>;
|
|
111
|
+
/**
|
|
112
|
+
* @description: Restore state that before loaded
|
|
113
|
+
*/
|
|
114
|
+
protected clear(): void;
|
|
115
|
+
protected handleDispose(): void;
|
|
116
|
+
/**
|
|
117
|
+
* @description Action function if plugin is enable
|
|
118
|
+
*/
|
|
119
|
+
protected actionIfStateIsEnabled<T = any>(func: () => T, options?: {
|
|
120
|
+
warnLog?: true;
|
|
121
|
+
}): T;
|
|
122
|
+
protected disposedErrorLog: () => void;
|
|
123
|
+
protected disableWarnLog: () => void;
|
|
124
|
+
protected disableErrorLog: () => void;
|
|
125
|
+
/**
|
|
126
|
+
* @description Load Data and State
|
|
127
|
+
*/
|
|
128
|
+
abstract load(serverData: unknown, state?: PluginState, userAction?: boolean): Promise<void>;
|
|
129
|
+
/**
|
|
130
|
+
* @description Play from first keyframe
|
|
131
|
+
*/
|
|
132
|
+
abstract playFromStart(): void;
|
|
133
|
+
/**
|
|
134
|
+
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
135
|
+
* @param {number} options.playFromIndex play from keyframes index
|
|
136
|
+
* @param {string} options.playFromId play from keyframes id
|
|
137
|
+
*/
|
|
138
|
+
protected abstract handlePlay(options?: {
|
|
139
|
+
userAction?: boolean;
|
|
140
|
+
playFromIndex?: number;
|
|
141
|
+
playFromId?: string;
|
|
142
|
+
notEmitEvent?: true;
|
|
143
|
+
}): Promise<string>;
|
|
144
|
+
/**
|
|
145
|
+
* @description: Change play speed
|
|
146
|
+
*/
|
|
147
|
+
protected abstract changeSpeed(speed: number): void;
|
|
148
|
+
/**
|
|
149
|
+
* @description Get ratate progress
|
|
150
|
+
*/
|
|
151
|
+
protected abstract getProgress(): number;
|
|
152
|
+
/**
|
|
153
|
+
* @description: Pause and record pause state
|
|
154
|
+
*/
|
|
155
|
+
protected abstract handlePause(options?: {
|
|
156
|
+
userAction?: boolean;
|
|
157
|
+
notEmitEvent?: true;
|
|
158
|
+
}): void;
|
|
159
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
import CruiseController from './BaseController';
|
|
3
|
+
import type { PluginState } from './typing';
|
|
4
|
+
import type { PartialDeep } from 'type-fest';
|
|
5
|
+
import type * as THREE from 'three';
|
|
6
|
+
type Data = {
|
|
7
|
+
path: THREE.CurvePath<THREE.Vector3>;
|
|
8
|
+
offset?: Partial<{
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
z: number;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
type Config = {
|
|
15
|
+
offset?: Partial<{
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
z: number;
|
|
19
|
+
}>;
|
|
20
|
+
allowBroke?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export default class MoveController extends CruiseController<Data, Config> {
|
|
23
|
+
private curve;
|
|
24
|
+
private baseCurveOffset;
|
|
25
|
+
private curveOffset;
|
|
26
|
+
private playStartedTime;
|
|
27
|
+
private duration;
|
|
28
|
+
constructor(five: Five, config?: Config);
|
|
29
|
+
load(data: Data, state?: PartialDeep<PluginState>): Promise<void>;
|
|
30
|
+
changeSpeed: (speed: number, userAction?: boolean) => void;
|
|
31
|
+
moveToStart: () => void;
|
|
32
|
+
playFromStart: () => void;
|
|
33
|
+
protected getDuration: () => number;
|
|
34
|
+
protected getProgress: () => number;
|
|
35
|
+
protected handlePlay(): Promise<string>;
|
|
36
|
+
protected handlePause(options?: {
|
|
37
|
+
userAction?: boolean;
|
|
38
|
+
}): void;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { Five, State } from '@realsee/five';
|
|
2
|
+
import type { PluginState, PluginServerData, PluginData, CruiseKeyframe, MoveEffect, Config } from './typing';
|
|
3
|
+
import CruiseController from './BaseController';
|
|
4
|
+
export default class WalkController extends CruiseController<PluginData, Config> {
|
|
5
|
+
state: PluginState;
|
|
6
|
+
protected privateState: {
|
|
7
|
+
/**
|
|
8
|
+
* privateState.playing 和 state.playing 的区别:
|
|
9
|
+
* state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
|
|
10
|
+
* 其实就是加了一个不允许重复执行handleplay的逻辑
|
|
11
|
+
*/
|
|
12
|
+
playing: boolean;
|
|
13
|
+
currentPlayKeyframe: {
|
|
14
|
+
keyframe: CruiseKeyframe;
|
|
15
|
+
originDuration?: number;
|
|
16
|
+
} | null;
|
|
17
|
+
currentPlayQueue: Promise<any>[];
|
|
18
|
+
broke: boolean;
|
|
19
|
+
playId?: string;
|
|
20
|
+
moveToFirstPanoEffect?: MoveEffect;
|
|
21
|
+
moveToFirstPanoDuration?: number;
|
|
22
|
+
modeChanging?: boolean;
|
|
23
|
+
};
|
|
24
|
+
constructor(five: Five, config?: Config);
|
|
25
|
+
/**
|
|
26
|
+
* @description Load Data and State
|
|
27
|
+
*/
|
|
28
|
+
load(serverData: PluginServerData | PluginServerData['data'], state?: PluginState, userAction?: boolean): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* @description If playing, first pause, then play from keyframes index/id
|
|
31
|
+
* @param {number} options.index play from keyframes index
|
|
32
|
+
* @param {string} options.id play from keyframes id
|
|
33
|
+
*/
|
|
34
|
+
playFrom(options: {
|
|
35
|
+
userAction?: boolean;
|
|
36
|
+
index?: number;
|
|
37
|
+
id?: string;
|
|
38
|
+
}): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description Play from first keyframe
|
|
41
|
+
*/
|
|
42
|
+
playFromStart(options?: {
|
|
43
|
+
userAction?: boolean;
|
|
44
|
+
}): void;
|
|
45
|
+
/**
|
|
46
|
+
* @description Format data
|
|
47
|
+
*/
|
|
48
|
+
protected formatData(serverData: PluginServerData | PluginServerData['data']): Promise<PluginData>;
|
|
49
|
+
/**
|
|
50
|
+
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
51
|
+
* @param {number} options.playFromIndex play from keyframes index
|
|
52
|
+
* @param {string} options.playFromId play from keyframes id
|
|
53
|
+
*/
|
|
54
|
+
protected handlePlay(options?: {
|
|
55
|
+
userAction?: boolean;
|
|
56
|
+
playFromIndex?: number;
|
|
57
|
+
playFromId?: string;
|
|
58
|
+
notEmitEvent?: true;
|
|
59
|
+
}): Promise<string>;
|
|
60
|
+
/**
|
|
61
|
+
* @description: Pause and record pause state
|
|
62
|
+
*/
|
|
63
|
+
protected handlePause(options?: {
|
|
64
|
+
userAction?: boolean;
|
|
65
|
+
notEmitEvent?: true;
|
|
66
|
+
}): void;
|
|
67
|
+
/**
|
|
68
|
+
* @description: Change play speed
|
|
69
|
+
*/
|
|
70
|
+
protected changeSpeed(speed: number, userAction?: boolean): void;
|
|
71
|
+
/**
|
|
72
|
+
* @description Get ratate progress
|
|
73
|
+
*/
|
|
74
|
+
protected getProgress(): any;
|
|
75
|
+
/**
|
|
76
|
+
* @description Set pause data
|
|
77
|
+
*/
|
|
78
|
+
protected setPauseData(): Map<string, {
|
|
79
|
+
fiveState: Partial<State>;
|
|
80
|
+
id?: string | number;
|
|
81
|
+
playedProgress: number;
|
|
82
|
+
duration?: number;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* @description: Restore state that before loaded
|
|
86
|
+
*/
|
|
87
|
+
protected clear(): void;
|
|
88
|
+
/**
|
|
89
|
+
* @description Play single keyframe
|
|
90
|
+
*/
|
|
91
|
+
private playKeyframe;
|
|
92
|
+
/**
|
|
93
|
+
* @description: getPlayPromise
|
|
94
|
+
*/
|
|
95
|
+
private getPlayPromise;
|
|
96
|
+
/**
|
|
97
|
+
* @description Action promise queue in sequence
|
|
98
|
+
*/
|
|
99
|
+
private actionPromiseQueue;
|
|
100
|
+
/**
|
|
101
|
+
* @description Action move keyframe
|
|
102
|
+
*/
|
|
103
|
+
private move;
|
|
104
|
+
/**
|
|
105
|
+
* @description Action rotate keyframe
|
|
106
|
+
*/
|
|
107
|
+
private rotate;
|
|
108
|
+
/**
|
|
109
|
+
* @description Update five camera
|
|
110
|
+
*/
|
|
111
|
+
private updateCamera;
|
|
112
|
+
/**
|
|
113
|
+
* @description: Change five pano
|
|
114
|
+
*/
|
|
115
|
+
private changePano;
|
|
116
|
+
/**
|
|
117
|
+
* @description Change five mode
|
|
118
|
+
*/
|
|
119
|
+
private changeMode;
|
|
120
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
|
-
import CruisePluginController from './Controller';
|
|
3
2
|
import * as CruisePluginTypes from './typing';
|
|
4
3
|
import type { Config } from './typing';
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import WalkController from './Work';
|
|
5
|
+
import MoveController from './Move';
|
|
6
|
+
export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
|
|
7
|
+
export { WalkController, MoveController, MoveController as CruisePluginController };
|
|
7
8
|
export type { CruisePluginExportType } from './typing';
|
|
8
9
|
export default CruisePlugin;
|
|
9
10
|
export { CruisePluginTypes };
|
|
@@ -82,7 +82,7 @@ export interface PluginState extends BasePluginWithData.State {
|
|
|
82
82
|
speed: number;
|
|
83
83
|
config?: {
|
|
84
84
|
/** 速度配置 */
|
|
85
|
-
speedConfig?: {
|
|
85
|
+
speedConfig?: Partial<{
|
|
86
86
|
/** 旋转速度 */
|
|
87
87
|
rotateSpeed: number;
|
|
88
88
|
/** 旋转速度单位 */
|
|
@@ -91,7 +91,7 @@ export interface PluginState extends BasePluginWithData.State {
|
|
|
91
91
|
moveSpeed: number;
|
|
92
92
|
/** 移动速度单位 */
|
|
93
93
|
moveSpeedUnit: 'm/s' | 'm/ms';
|
|
94
|
-
}
|
|
94
|
+
}>;
|
|
95
95
|
/** five 走点动画 */
|
|
96
96
|
moveEffect?: MoveEffect;
|
|
97
97
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare function getFiveStateOnCurve(curve: THREE.Curve<THREE.Vector3>, progress: number, curveOffset: Partial<{
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
z: number;
|
|
6
|
+
}>): {
|
|
7
|
+
offset: THREE.Vector3;
|
|
8
|
+
longitude: number;
|
|
9
|
+
latitude: number;
|
|
10
|
+
distance: number;
|
|
11
|
+
};
|
|
@@ -4,10 +4,9 @@ import type { EventMap, PluginData, PluginServerData, PluginState } from './typi
|
|
|
4
4
|
import type * as PluginType from './typing';
|
|
5
5
|
import type { Config } from '../base/BasePlugin';
|
|
6
6
|
import { GuideLineItem } from './GuideLineItem';
|
|
7
|
-
import CruisePluginController from '../CruisePlugin/
|
|
7
|
+
import CruisePluginController from '../CruisePlugin/Move';
|
|
8
8
|
export declare const pluginFlag: (name: string) => string;
|
|
9
9
|
export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
10
|
-
readonly version = "v1.1.0";
|
|
11
10
|
readonly name = "GuideLinePlugin";
|
|
12
11
|
readonly cruisePlugin: CruisePluginController;
|
|
13
12
|
/** GuideLineItem 索引 */
|
|
@@ -60,9 +59,5 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
|
|
|
60
59
|
private handleEnable;
|
|
61
60
|
private handleVisible;
|
|
62
61
|
private disposedErrorLog;
|
|
63
|
-
/**
|
|
64
|
-
* @description: Wait for five model ready
|
|
65
|
-
*/
|
|
66
|
-
private waitFiveLoaded;
|
|
67
62
|
private getDataWithoutVersion;
|
|
68
63
|
}
|