@realsee/dnalogel 3.34.6 → 3.35.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/CHANGELOG.md +0 -9
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/dist/PanoVideoPlugin/Controller.d.ts +1 -2
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +94 -89
- package/dist/index.umd.js +4 -4
- package/dist/shared-utils/tag.d.ts +4 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +111 -203
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +126 -234
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +8 -20
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -1
- package/libs/ModelMakerPlugin/Controller.js +86 -88
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +26 -23
- package/libs/PanoRulerPlugin/Plugin.js +15 -15
- package/libs/PanoVideoPlugin/Controller.d.ts +1 -2
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/base/BasePlugin.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +30 -26
- package/package.json +2 -2
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.20.2</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.20.2</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><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 src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div>
|
|
27
|
+
<li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,19 +38,16 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.20.2</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
44
|
-
<li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
|
|
45
44
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
46
45
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
47
46
|
<li><a href="../modules/CurrentPanoImagePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Current<wbr/>Pano<wbr/>Image<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
48
47
|
<li><a href="../modules/GuideLineItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Item</span></a></li>
|
|
49
48
|
<li><a href="../modules/GuideLineModeItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Mode<wbr/>Item</span></a></li>
|
|
50
49
|
<li><a href="../modules/GuideLinePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
51
|
-
<li><a href="../modules/ModelMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
52
50
|
<li><a href="../modules/PanoVideoPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
53
|
-
<li><a href="../modules/SculptData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Sculpt<wbr/>Data</span></a></li>
|
|
54
51
|
<li><a href="../modules/Util.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Util</span></a></li>
|
|
55
52
|
<li><a href="../enums/CameraMovementEffect.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Movement<wbr/>Effect</span></a></li>
|
|
56
53
|
<li><a href="../enums/ContentType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Content<wbr/>Type</span></a></li>
|
|
@@ -63,7 +60,7 @@
|
|
|
63
60
|
<li><a href="../enums/PointType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Point<wbr/>Type</span></a></li>
|
|
64
61
|
<li><a href="../enums/Rotation.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Rotation</span></a></li>
|
|
65
62
|
<li><a href="../classes/CSS3DRender.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>CSS3DRender</span></a></li>
|
|
66
|
-
<li><a href="../classes/
|
|
63
|
+
<li><a href="../classes/Magnifier.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Magnifier</span></a></li>
|
|
67
64
|
<li><a href="../classes/ModelRoomLabelController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Controller</span></a></li>
|
|
68
65
|
<li><a href="../classes/MoveController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Move<wbr/>Controller</span></a></li>
|
|
69
66
|
<li><a href="../classes/Object3DHelperController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Object3DHelper<wbr/>Controller</span></a></li>
|
|
@@ -73,13 +70,11 @@
|
|
|
73
70
|
<li><a href="../classes/PanoMeasurePluginPoint.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point</span></a></li>
|
|
74
71
|
<li><a href="../classes/PanoMeasurePluginPolyline.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline</span></a></li>
|
|
75
72
|
<li><a href="../classes/PanoTagPluginController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
76
|
-
<li><a href="../classes/Sculpt.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Sculpt</span></a></li>
|
|
77
73
|
<li><a href="../classes/WalkController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Walk<wbr/>Controller</span></a></li>
|
|
78
74
|
<li><a href="../interfaces/AddTagConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Add<wbr/>Tag<wbr/>Config</span></a></li>
|
|
79
75
|
<li><a href="../interfaces/CSS3DRenderPluginEventMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</span></a></li>
|
|
80
76
|
<li><a href="../interfaces/CSS3DRenderPluginState.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>State</span></a></li>
|
|
81
77
|
<li><a href="../interfaces/CameraMovementPluginExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Camera<wbr/>Movement<wbr/>Plugin<wbr/>Export<wbr/>Type</span></a></li>
|
|
82
|
-
<li><a href="../interfaces/ContentTypeMapInterface.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Content<wbr/>Type<wbr/>Map<wbr/>Interface</span></a></li>
|
|
83
78
|
<li><a href="../interfaces/EventMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Event<wbr/>Map</span></a></li>
|
|
84
79
|
<li><a href="../interfaces/FloorplanBounding.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Floorplan<wbr/>Bounding</span></a></li>
|
|
85
80
|
<li><a href="../interfaces/FloorplanData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Floorplan<wbr/>Data</span></a></li>
|
|
@@ -169,9 +164,9 @@
|
|
|
169
164
|
<li><a href="../interfaces/TagStyle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Tag<wbr/>Style</span></a></li>
|
|
170
165
|
<li><a href="../interfaces/Tags.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Tags</span></a></li>
|
|
171
166
|
<li><a href="../interfaces/TemporaryState.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Temporary<wbr/>State</span></a></li>
|
|
172
|
-
<li><a href="../types/
|
|
173
|
-
<li><a href="../types/ArrayPosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Array<wbr/>Position</span></a></li>
|
|
167
|
+
<li><a href="../types/ArrayPosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Array<wbr/>Position</span></a></li>
|
|
174
168
|
<li><a href="../types/AudioAppearance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Audio<wbr/>Appearance</span></a></li>
|
|
169
|
+
<li><a href="../types/AudioTagTypeConfigKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Audio<wbr/>Tag<wbr/>Type<wbr/>Config<wbr/>Key</span></a></li>
|
|
175
170
|
<li><a href="../types/CSS3DRenderExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Export<wbr/>Type</span></a></li>
|
|
176
171
|
<li><a href="../types/CSS3DRenderPluginExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Export<wbr/>Type</span></a></li>
|
|
177
172
|
<li><a href="../types/CSS3DRenderPluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
@@ -232,13 +227,10 @@
|
|
|
232
227
|
<li><a href="../types/PointTag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Point<wbr/>Tag</span></a></li>
|
|
233
228
|
<li><a href="../types/PointTagInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Point<wbr/>Tag<wbr/>Instance</span></a></li>
|
|
234
229
|
<li><a href="../types/Position.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Position</span></a></li>
|
|
235
|
-
<li><a href="../types/PositionFrom.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Position<wbr/>From</span></a></li>
|
|
236
230
|
<li><a href="../types/RotateArgs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rotate<wbr/>Args</span></a></li>
|
|
237
231
|
<li><a href="../types/RotateOpts.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rotate<wbr/>Opts</span></a></li>
|
|
238
232
|
<li><a href="../types/RuleLabelsKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rule<wbr/>Labels<wbr/>Key</span></a></li>
|
|
239
233
|
<li><a href="../types/RuleLabelsValue.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rule<wbr/>Labels<wbr/>Value</span></a></li>
|
|
240
|
-
<li><a href="../types/ScaleCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Scale<wbr/>Callback</span></a></li>
|
|
241
|
-
<li><a href="../types/ScalePosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Scale<wbr/>Position</span></a></li>
|
|
242
234
|
<li><a href="../types/StickType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Stick<wbr/>Type</span></a></li>
|
|
243
235
|
<li><a href="../types/Tag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Tag</span></a></li>
|
|
244
236
|
<li><a href="../types/Tag2D.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Tag2D</span></a></li>
|
|
@@ -278,7 +270,6 @@
|
|
|
278
270
|
<li><a href="../functions/ModelEntryDoorGuidePlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin</span></a></li>
|
|
279
271
|
<li><a href="../functions/ModelFloorplanPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin</span></a></li>
|
|
280
272
|
<li><a href="../functions/ModelItemLabelPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Item<wbr/>Label<wbr/>Plugin</span></a></li>
|
|
281
|
-
<li><a href="../functions/ModelMakerPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin</span></a></li>
|
|
282
273
|
<li><a href="../functions/ModelRoomLabelPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin</span></a></li>
|
|
283
274
|
<li><a href="../functions/ModelTVVideoPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>ModelTVVideo<wbr/>Plugin</span></a></li>
|
|
284
275
|
<li><a href="../functions/ModelViewPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>View<wbr/>Plugin</span></a></li>
|
|
@@ -295,7 +286,6 @@
|
|
|
295
286
|
<li><a href="../functions/PanoTagPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Pano<wbr/>Tag<wbr/>Plugin</span></a></li>
|
|
296
287
|
<li><a href="../functions/PanoVideoPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin</span></a></li>
|
|
297
288
|
<li><a href="../functions/PipelinePlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Pipeline<wbr/>Plugin</span></a></li>
|
|
298
|
-
<li><a href="../functions/SculptPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Sculpt<wbr/>Plugin</span></a></li>
|
|
299
289
|
<li><a href="../functions/TopviewFloorplanPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Topview<wbr/>Floorplan<wbr/>Plugin</span></a></li>
|
|
300
290
|
<li><a href="../functions/pluginFlag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>plugin<wbr/>Flag</span></a></li></ul></nav></div></div></div>
|
|
301
291
|
<div class="overlay"></div></body></html>
|
|
@@ -10,7 +10,7 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
|
|
|
10
10
|
private tagRendererMap;
|
|
11
11
|
private fiveDomEvents;
|
|
12
12
|
private zFightingOffset;
|
|
13
|
-
private
|
|
13
|
+
private tagContainerZIndex?;
|
|
14
14
|
constructor(five: Five, config?: {
|
|
15
15
|
tagContainerZIndex?: number;
|
|
16
16
|
});
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var I = Object.defineProperty;
|
|
2
|
+
var P = (l, n, e) => n in l ? I(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e;
|
|
3
|
+
var r = (l, n, e) => (P(l, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
+
var M = (l, n, e) => new Promise((i, d) => {
|
|
5
|
+
var t = (s) => {
|
|
6
6
|
try {
|
|
7
|
-
|
|
8
|
-
} catch (
|
|
9
|
-
|
|
7
|
+
o(e.next(s));
|
|
8
|
+
} catch (a) {
|
|
9
|
+
d(a);
|
|
10
10
|
}
|
|
11
|
-
},
|
|
11
|
+
}, c = (s) => {
|
|
12
12
|
try {
|
|
13
|
-
|
|
14
|
-
} catch (
|
|
15
|
-
|
|
13
|
+
o(e.throw(s));
|
|
14
|
+
} catch (a) {
|
|
15
|
+
d(a);
|
|
16
16
|
}
|
|
17
|
-
},
|
|
18
|
-
|
|
17
|
+
}, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(t, c);
|
|
18
|
+
o((e = e.apply(l, n)).next());
|
|
19
19
|
});
|
|
20
|
-
import { Controller as
|
|
20
|
+
import { Controller as D } from "../base/BasePluginWithData.js";
|
|
21
21
|
import * as h from "three";
|
|
22
|
-
import { ModelMakerBoxItem as
|
|
23
|
-
import { PrismMesh as
|
|
24
|
-
import { anyPositionToVector3 as
|
|
25
|
-
import { PolygonWithEdgeMesh as
|
|
22
|
+
import { ModelMakerBoxItem as A } from "./item/boxItem.js";
|
|
23
|
+
import { PrismMesh as j } from "../Sculpt/Meshes/Prism.js";
|
|
24
|
+
import { anyPositionToVector3 as T } from "../shared-utils/positionToVector3.js";
|
|
25
|
+
import { PolygonWithEdgeMesh as H } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
26
26
|
import "hammerjs";
|
|
27
27
|
import "@realsee/five";
|
|
28
28
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
29
29
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
30
30
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
31
31
|
import "animejs";
|
|
32
|
-
import { notNil as
|
|
33
|
-
import { tagRendererMap as
|
|
34
|
-
import { ModelMakerPrismItem as
|
|
35
|
-
import { ModelMakerPolygonItem as
|
|
36
|
-
import { boxVertex as
|
|
37
|
-
import { getFiveDomEvent as
|
|
32
|
+
import { notNil as V } from "../shared-utils/isNil.js";
|
|
33
|
+
import { tagRendererMap as F } from "./utils/tagRenderer.js";
|
|
34
|
+
import { ModelMakerPrismItem as L } from "./item/prismItem.js";
|
|
35
|
+
import { ModelMakerPolygonItem as O } from "./item/polygonItem.js";
|
|
36
|
+
import { boxVertex as m } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
37
|
+
import { getFiveDomEvent as Z } from "./utils/getFiveDomEvent.js";
|
|
38
38
|
import "../base/BasePlugin.js";
|
|
39
39
|
import "../shared-utils/Subscribe.js";
|
|
40
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -75,105 +75,103 @@ import "../shared-utils/tag.js";
|
|
|
75
75
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
76
76
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
77
77
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
78
|
-
class
|
|
79
|
-
constructor(e,
|
|
78
|
+
class Se extends D {
|
|
79
|
+
constructor(e, i) {
|
|
80
80
|
super(e);
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
this.five.scene.add(this.group), (o = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || o.appendChild(this.tagWrapper), this.five.needsRender = !0;
|
|
81
|
+
r(this, "state");
|
|
82
|
+
r(this, "items", []);
|
|
83
|
+
r(this, "data");
|
|
84
|
+
r(this, "group", new h.Group());
|
|
85
|
+
r(this, "tagRendererMap", {});
|
|
86
|
+
r(this, "fiveDomEvents");
|
|
87
|
+
r(this, "zFightingOffset", 0);
|
|
88
|
+
r(this, "tagContainerZIndex");
|
|
89
|
+
r(this, "handleEnable", () => {
|
|
90
|
+
this.items.forEach((e) => e.enable());
|
|
92
91
|
});
|
|
93
|
-
|
|
94
|
-
this.
|
|
92
|
+
r(this, "handleDisable", () => {
|
|
93
|
+
this.items.forEach((e) => e.disable());
|
|
95
94
|
});
|
|
96
|
-
|
|
95
|
+
r(this, "updateTagRenderer", () => {
|
|
97
96
|
this.items.forEach((e) => {
|
|
98
|
-
var
|
|
99
|
-
const
|
|
100
|
-
|
|
97
|
+
var d;
|
|
98
|
+
const i = (d = this.tagRendererMap[e.type]) != null ? d : F[e.type];
|
|
99
|
+
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
|
|
101
100
|
});
|
|
102
101
|
});
|
|
103
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents =
|
|
104
|
-
var l;
|
|
105
|
-
const t = document.createElement("div");
|
|
106
|
-
return t.style.position = "absolute", t.style.top = "0", t.style.left = "0", t.style.width = "100%", t.style.height = "100%", t.style.pointerEvents = "none", t.style.zIndex = `${(l = o == null ? void 0 : o.tagContainerZIndex) != null ? l : ""}`, t;
|
|
107
|
-
})(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
102
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = Z(e), this.tagContainerZIndex = i == null ? void 0 : i.tagContainerZIndex, e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
108
103
|
}
|
|
109
104
|
load(e) {
|
|
110
|
-
return
|
|
111
|
-
var
|
|
112
|
-
this.clear(), this.data = e
|
|
113
|
-
|
|
105
|
+
return M(this, null, function* () {
|
|
106
|
+
var d;
|
|
107
|
+
this.clear(), this.data = e;
|
|
108
|
+
const i = this.tagContainerZIndex;
|
|
109
|
+
(d = e == null ? void 0 : e.list) == null || d.forEach((t) => {
|
|
110
|
+
var c;
|
|
114
111
|
if (t.type === "triangles") {
|
|
115
|
-
const
|
|
116
|
-
|
|
112
|
+
const o = new H();
|
|
113
|
+
o.setPoints(t.object_data.points), o.setStyle({
|
|
117
114
|
color: t.object_data.color,
|
|
118
115
|
opacity: t.object_data.opacity,
|
|
119
116
|
lineColor: t.object_data.color,
|
|
120
117
|
occlusionVisibility: !1
|
|
121
|
-
}), this.fiveDomEvents.addEventListener(
|
|
122
|
-
const
|
|
118
|
+
}), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
|
|
119
|
+
const s = new O({
|
|
123
120
|
five: this.five,
|
|
124
|
-
|
|
125
|
-
model: i,
|
|
121
|
+
model: o,
|
|
126
122
|
group: this.group,
|
|
127
123
|
type: t.type,
|
|
128
|
-
rawData: t
|
|
124
|
+
rawData: t,
|
|
125
|
+
tagContainerZIndex: i
|
|
129
126
|
});
|
|
130
|
-
this.items.push(
|
|
127
|
+
this.items.push(s);
|
|
131
128
|
} else if (t.type === "prism") {
|
|
132
|
-
const
|
|
133
|
-
this.zFightingOffset += 1e-4
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
129
|
+
const o = new j();
|
|
130
|
+
this.zFightingOffset += 1e-4, o.setPoints({
|
|
131
|
+
points: t.object_data.points.map((a) => {
|
|
132
|
+
var b;
|
|
133
|
+
return [a[0], a[1] + ((b = t.object_data.fixedY) != null ? b : 0), a[2]];
|
|
134
|
+
}),
|
|
135
|
+
heightPoint: T(t.object_data.points[0]).add(new h.Vector3().setY(t.object_data.height + ((c = t.object_data.fixedHeight) != null ? c : 0))).add(new h.Vector3().setY(this.zFightingOffset))
|
|
136
|
+
}), o.setStyle({
|
|
139
137
|
color: t.object_data.color,
|
|
140
138
|
opacity: t.object_data.opacity,
|
|
141
139
|
lineColor: t.object_data.color,
|
|
142
140
|
occlusionVisibility: !1
|
|
143
141
|
});
|
|
144
|
-
const
|
|
142
|
+
const s = new L({
|
|
145
143
|
five: this.five,
|
|
146
|
-
|
|
147
|
-
model: i,
|
|
144
|
+
model: o,
|
|
148
145
|
group: this.group,
|
|
149
146
|
type: t.type,
|
|
150
|
-
rawData: t
|
|
147
|
+
rawData: t,
|
|
148
|
+
tagContainerZIndex: i
|
|
151
149
|
});
|
|
152
|
-
this.items.push(
|
|
150
|
+
this.items.push(s);
|
|
153
151
|
} else if (t.type === "box") {
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
points: [
|
|
157
|
-
heightPoint:
|
|
158
|
-
}),
|
|
159
|
-
const
|
|
152
|
+
const o = new j(), { start: s, end: a, rotation: b = [0, 0, 0, 0], opacity: R, color: f } = t.object_data, u = new h.Vector3().fromArray(s), g = new h.Vector3().fromArray(a), k = new h.Euler().fromArray(b), y = new h.Quaternion().setFromEuler(k), _ = y.clone().inverse(), w = new h.Vector3().lerpVectors(u, g, 0.5), v = w.clone().negate(), E = u.clone().add(v).applyQuaternion(_), x = g.clone().add(v).applyQuaternion(_), p = new h.Box3(E.clone().max(x), E.clone().min(x));
|
|
153
|
+
o.setPoints({
|
|
154
|
+
points: [m(p, 2), m(p, 3), m(p, 7), m(p, 6)],
|
|
155
|
+
heightPoint: m(p, 0)
|
|
156
|
+
}), o.position.copy(w), o.quaternion.copy(y), o.setStyle({ color: f, opacity: R, lineColor: f, occlusionVisibility: !1 });
|
|
157
|
+
const C = new A({
|
|
160
158
|
five: this.five,
|
|
161
|
-
|
|
162
|
-
model: i,
|
|
159
|
+
model: o,
|
|
163
160
|
group: this.group,
|
|
164
161
|
type: t.type,
|
|
165
|
-
rawData: t
|
|
162
|
+
rawData: t,
|
|
163
|
+
tagContainerZIndex: i
|
|
166
164
|
});
|
|
167
|
-
this.items.push(
|
|
165
|
+
this.items.push(C);
|
|
168
166
|
}
|
|
169
167
|
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
|
|
170
168
|
});
|
|
171
169
|
}
|
|
172
170
|
setState(e) {
|
|
173
|
-
|
|
171
|
+
V(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), V(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
174
172
|
}
|
|
175
173
|
getItemById(e) {
|
|
176
|
-
return this.items.find((
|
|
174
|
+
return this.items.find((i) => i.rawData.id === e);
|
|
177
175
|
}
|
|
178
176
|
registerTagRenderer(e) {
|
|
179
177
|
this.tagRendererMap = e, this.updateTagRenderer();
|
|
@@ -197,12 +195,12 @@ class Ge extends C {
|
|
|
197
195
|
this.hooks.emit("dispose"), this.handleDisable();
|
|
198
196
|
}
|
|
199
197
|
handleShow() {
|
|
200
|
-
this.
|
|
198
|
+
this.items.forEach((e) => e.show());
|
|
201
199
|
}
|
|
202
200
|
handleHide() {
|
|
203
|
-
this.
|
|
201
|
+
this.items.forEach((e) => e.hide());
|
|
204
202
|
}
|
|
205
203
|
}
|
|
206
204
|
export {
|
|
207
|
-
|
|
205
|
+
Se as Controller
|
|
208
206
|
};
|
|
@@ -22,6 +22,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
|
|
|
22
22
|
};
|
|
23
23
|
protected five: Five;
|
|
24
24
|
protected group: THREE.Object3D;
|
|
25
|
+
protected enabled: boolean;
|
|
25
26
|
protected fiveDomEvents: FiveDomEvents;
|
|
26
27
|
constructor(params: {
|
|
27
28
|
five: Five;
|
|
@@ -29,7 +30,6 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
|
|
|
29
30
|
group: THREE.Object3D;
|
|
30
31
|
type: string;
|
|
31
32
|
rawData?: any;
|
|
32
|
-
tagWrapper?: HTMLElement;
|
|
33
33
|
visibleMode?: Mode[];
|
|
34
34
|
position?: THREE.Vector3;
|
|
35
35
|
tagContainerZIndex?: number;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var m = (s,
|
|
3
|
-
var
|
|
4
|
-
import * as
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var m = (s, i, e) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
|
|
3
|
+
var t = (s, i, e) => (m(s, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
|
+
import * as a from "three";
|
|
5
5
|
import { addIfNotExists as v } from "../../shared-utils/three/addIfNotExists.js";
|
|
6
|
-
import { Subscribe as
|
|
7
|
-
import { tag as
|
|
8
|
-
import { boundingBox as
|
|
9
|
-
import { getFiveDomEvent as
|
|
6
|
+
import { Subscribe as f } from "../../shared-utils/Subscribe.js";
|
|
7
|
+
import { tag as b } from "../../shared-utils/tag.js";
|
|
8
|
+
import { boundingBox as c } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
9
|
+
import { getFiveDomEvent as u } from "../utils/getFiveDomEvent.js";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
12
12
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
13
13
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
14
14
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
15
|
-
class B extends
|
|
15
|
+
class B extends f {
|
|
16
16
|
constructor(e) {
|
|
17
|
-
var o, r, h;
|
|
17
|
+
var o, r, n, h;
|
|
18
18
|
super();
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
this
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
t(this, "type");
|
|
20
|
+
t(this, "tag");
|
|
21
|
+
t(this, "rawData");
|
|
22
|
+
t(this, "model");
|
|
23
|
+
t(this, "five");
|
|
24
|
+
t(this, "group");
|
|
25
|
+
t(this, "enabled", !1);
|
|
26
|
+
t(this, "fiveDomEvents");
|
|
27
|
+
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = u(this.five);
|
|
28
|
+
const d = (n = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? n : c(this.model).getCenter(new a.Vector3());
|
|
29
|
+
this.tag = b(this.five, d, { wrapperStyle: { zIndex: `${(h = e.tagContainerZIndex) != null ? h : ""}` } });
|
|
29
30
|
}
|
|
30
31
|
get container() {
|
|
31
32
|
return this.tag.container;
|
|
@@ -33,7 +34,7 @@ class B extends a {
|
|
|
33
34
|
get state() {
|
|
34
35
|
return {
|
|
35
36
|
visible: this.model.visible,
|
|
36
|
-
enabled: this.
|
|
37
|
+
enabled: this.enabled
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
show() {
|
|
@@ -43,12 +44,14 @@ class B extends a {
|
|
|
43
44
|
this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
|
|
44
45
|
}
|
|
45
46
|
enable() {
|
|
46
|
-
|
|
47
|
+
if (this.enabled)
|
|
48
|
+
return;
|
|
49
|
+
this.enabled = !0, v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
|
|
47
50
|
const e = this.onClick.bind(this);
|
|
48
51
|
this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
|
|
49
52
|
}
|
|
50
53
|
disable() {
|
|
51
|
-
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
|
|
54
|
+
this.enabled && (this.enabled = !1, this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable"));
|
|
52
55
|
}
|
|
53
56
|
onClick() {
|
|
54
57
|
return this.emit("click", this);
|
|
@@ -70,7 +70,10 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
|
|
|
70
70
|
`, o = document.createElement("div");
|
|
71
71
|
return o.setAttribute("class", "PanoRulerPlugin-rule"), o.setAttribute("data-name", r), o.setAttribute("style", "display: none"), o.innerHTML = c, o;
|
|
72
72
|
}, h = document.createElement("div");
|
|
73
|
-
h.setAttribute(
|
|
73
|
+
h.setAttribute(
|
|
74
|
+
"style",
|
|
75
|
+
"position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
|
|
76
|
+
);
|
|
74
77
|
const S = document.createElement("div");
|
|
75
78
|
S.innerHTML = ce, h.appendChild(S);
|
|
76
79
|
const l = {}, u = (r, a) => {
|
|
@@ -126,7 +129,9 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
|
|
|
126
129
|
const o = r || n.roomInfo, i = a || n.roomRules;
|
|
127
130
|
if (!o || !i)
|
|
128
131
|
throw new Error("标尺数据依赖不齐全!");
|
|
129
|
-
return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise(
|
|
132
|
+
return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise(
|
|
133
|
+
(y) => t.once("modelLoaded", () => y(u(o, i)))
|
|
134
|
+
);
|
|
130
135
|
});
|
|
131
136
|
n.roomInfo && n.roomRules && x(n.roomInfo, n.roomRules);
|
|
132
137
|
const v = (r, a, c, o) => {
|
|
@@ -213,29 +218,24 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
|
|
|
213
218
|
continue;
|
|
214
219
|
}
|
|
215
220
|
const K = w.distanceTo(_);
|
|
216
|
-
if (_.clone().sub(
|
|
217
|
-
_.clone().sub(w).divide(new L(2, 2, 2))
|
|
218
|
-
).distanceTo(y) / K > 8) {
|
|
221
|
+
if (_.clone().sub(_.clone().sub(w).divide(new L(2, 2, 2))).distanceTo(y) / K > 8) {
|
|
219
222
|
g.style.display = "none";
|
|
220
223
|
continue;
|
|
221
224
|
}
|
|
222
225
|
const O = w.clone().project(c), R = (O.x + 1) / 2 * m, F = (-O.y + 1) / 2 * d, V = _.clone().project(c), N = (V.x + 1) / 2 * m, D = (-V.y + 1) / 2 * d, E = Math.sqrt(Math.pow(N - R, 2) + Math.pow(D - F, 2));
|
|
223
226
|
let H = E, z = 50;
|
|
224
|
-
const M = v(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
y: ~~D
|
|
229
|
-
},
|
|
230
|
-
m,
|
|
231
|
-
d
|
|
232
|
-
);
|
|
227
|
+
const M = v({ x: ~~R, y: ~~F }, {
|
|
228
|
+
x: ~~N,
|
|
229
|
+
y: ~~D
|
|
230
|
+
}, m, d);
|
|
233
231
|
if (M && M.length === 1 && (f === w ? (H = Math.sqrt(Math.pow(M[0].x - R, 2) + Math.pow(M[0].y - F, 2)), z = H / E * 50) : f === _ && (H = Math.sqrt(Math.pow(M[0].x - N, 2) + Math.pow(M[0].y - D, 2)), z = 100 - H / E * 50)), M && M.length === 2) {
|
|
234
232
|
const G = {
|
|
235
233
|
x: (M[0].x + M[1].x) / 2,
|
|
236
234
|
y: (M[0].y + M[1].y) / 2
|
|
237
235
|
};
|
|
238
|
-
z = Math.sqrt(
|
|
236
|
+
z = Math.sqrt(
|
|
237
|
+
Math.pow(G.x - R, 2) + Math.pow(G.y - F, 2)
|
|
238
|
+
) / E * 100;
|
|
239
239
|
}
|
|
240
240
|
const te = (Math.PI / 2 - Math.atan2(N - R, F - D)) / Math.PI * 180, W = T.querySelector(".PanoRulerPlugin-rule-label"), U = W.children[0].clientWidth;
|
|
241
241
|
U >= E || U / 2 >= z / 100 * E || U / 2 >= (1 - z / 100) * E ? T.style.display = "none" : (T.style.display = "block", T.style.width = E + "px", T.style.left = R + "px", T.style.top = F + "px", T.style.transform = `rotate(${-te}deg)`, W.style.left = `${z}%`);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type { LoadParams, PluginEventMap, PluginState, PluginData, VideoItem } from './typings';
|
|
3
|
-
import { VideoMeshController } from './VideoMeshController';
|
|
4
3
|
import * as BasePlugin from '../base/BasePlugin';
|
|
5
4
|
export declare class PanoVideoPluginController extends BasePlugin.Controller<PluginState, PluginEventMap> {
|
|
6
5
|
/** 插件 State */
|
|
@@ -9,8 +8,8 @@ export declare class PanoVideoPluginController extends BasePlugin.Controller<Plu
|
|
|
9
8
|
};
|
|
10
9
|
/** 插件是否已被销毁 */
|
|
11
10
|
get disposed(): boolean;
|
|
12
|
-
controllerMap: Map<string, VideoMeshController>;
|
|
13
11
|
private enabled;
|
|
12
|
+
private controllerMap;
|
|
14
13
|
private _disposed;
|
|
15
14
|
constructor(five: Five);
|
|
16
15
|
/** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
|
|
@@ -41,8 +41,8 @@ import "../shared-utils/url/absoluteUrl.js";
|
|
|
41
41
|
class T extends _ {
|
|
42
42
|
constructor(r) {
|
|
43
43
|
super(r);
|
|
44
|
-
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
45
44
|
s(this, "enabled", !0);
|
|
45
|
+
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
46
46
|
s(this, "_disposed", !1);
|
|
47
47
|
this.five = r;
|
|
48
48
|
}
|