@realsee/dnalogel 3.39.0 → 3.40.0-alpha.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/GuideLinePlugin/typing.d.ts +1 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/dist/index.cjs.js +65 -61
- package/dist/index.js +4918 -4822
- package/dist/index.umd.js +58 -54
- package/dist/shared-utils/math/intersecting.d.ts +25 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +35 -83
- 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 +53 -77
- package/docs/{modules/ModelMakerPluginType.html → classes/Magnifier.html} +216 -70
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +34 -60
- package/docs/classes/Object3DHelperController.html +52 -87
- 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 -61
- package/docs/classes/PanoTagPluginController.html +129 -253
- package/docs/classes/Util.BetterTween.html +13 -28
- package/docs/classes/Util.Interval.html +15 -30
- package/docs/classes/Util.LineSegments.html +11 -26
- package/docs/classes/Util.Magnifier.html +60 -94
- package/docs/classes/Util.Object3D.html +12 -27
- package/docs/classes/Util.PointDomHelper.html +14 -29
- package/docs/classes/Util.PointHelper.html +14 -29
- package/docs/classes/Util.PointSelectorHelper.html +20 -35
- package/docs/classes/Util.Rectangle.html +16 -31
- package/docs/classes/WalkController.html +30 -56
- 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 -23
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -23
- package/docs/functions/Util.equal.html +8 -23
- package/docs/functions/Util.getCoordsFromClient.html +8 -23
- package/docs/functions/Util.getCoordsFromElement.html +8 -23
- package/docs/functions/Util.getFrameTime.html +8 -23
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -30
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -23
- package/docs/functions/Util.isAbsoluteURL.html +8 -23
- package/docs/functions/Util.isModelLike.html +8 -23
- package/docs/functions/Util.isNil.html +8 -23
- package/docs/functions/Util.isPanoramaLike.html +8 -23
- package/docs/functions/Util.nextFrame.html +8 -23
- package/docs/functions/Util.notNil.html +8 -23
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -23
- package/docs/functions/Util.tweenProgress.html +8 -23
- package/docs/functions/Util.uuid.html +8 -23
- 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 -28
- 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 +28 -67
- 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 +19 -21
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +16 -19
- 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 -30
- 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 +18 -112
- 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 -44
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -26
- package/docs/interfaces/Util.PointIntersection.html +12 -34
- 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 -28
- 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/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -59
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/typing.d.ts +1 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +116 -57
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +126 -125
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/intersecting.d.ts +25 -0
- package/libs/shared-utils/math/intersecting.js +25 -0
- package/package.json +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +0 -647
- 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.awaitNextFrame.html +0 -336
- package/docs/functions/Util.blink.html +0 -352
- package/docs/functions/Util.reblink.html +0 -350
- package/docs/interfaces/ContentTypeMapInterface.html +0 -755
- 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 -381
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -388
- 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>
|
|
@@ -75,6 +75,7 @@ import "../vendor/gl-vec2/set.js";
|
|
|
75
75
|
import "../vendor/gl-vec2/normalize.js";
|
|
76
76
|
import "../vendor/gl-vec2/subtract.js";
|
|
77
77
|
import "../vendor/gl-vec2/dot.js";
|
|
78
|
+
import "../shared-utils/math/intersecting.js";
|
|
78
79
|
import "../shared-utils/five/mode.js";
|
|
79
80
|
import "../shared-utils/isNil.js";
|
|
80
81
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
@@ -206,7 +207,7 @@ import "./utils/coordinatesAngle.js";
|
|
|
206
207
|
import "./utils/coordinatesToVector.js";
|
|
207
208
|
import "./utils/safeCall.js";
|
|
208
209
|
import "../shared-utils/five/fiveLoaded.js";
|
|
209
|
-
class
|
|
210
|
+
class to extends z {
|
|
210
211
|
constructor(t, r) {
|
|
211
212
|
var h;
|
|
212
213
|
super(t, r);
|
|
@@ -314,5 +315,5 @@ class $r extends z {
|
|
|
314
315
|
}
|
|
315
316
|
}
|
|
316
317
|
export {
|
|
317
|
-
|
|
318
|
+
to as default
|
|
318
319
|
};
|
|
@@ -63,6 +63,7 @@ import "../vendor/gl-vec2/set.js";
|
|
|
63
63
|
import "../vendor/gl-vec2/normalize.js";
|
|
64
64
|
import "../vendor/gl-vec2/subtract.js";
|
|
65
65
|
import "../vendor/gl-vec2/dot.js";
|
|
66
|
+
import "../shared-utils/math/intersecting.js";
|
|
66
67
|
import "../shared-utils/five/mode.js";
|
|
67
68
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
68
69
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -206,7 +207,7 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
206
207
|
import "../shared-utils/formatRad.js";
|
|
207
208
|
import "./Work.js";
|
|
208
209
|
import "./utils/coordinatesToVector.js";
|
|
209
|
-
class
|
|
210
|
+
class rr extends G {
|
|
210
211
|
constructor(t, e) {
|
|
211
212
|
super(t, e);
|
|
212
213
|
k(this, "state", {
|
|
@@ -594,5 +595,5 @@ class ir extends G {
|
|
|
594
595
|
}
|
|
595
596
|
}
|
|
596
597
|
export {
|
|
597
|
-
|
|
598
|
+
rr as default
|
|
598
599
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as ht } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -42,6 +42,7 @@ import "../vendor/gl-vec2/set.js";
|
|
|
42
42
|
import "../vendor/gl-vec2/normalize.js";
|
|
43
43
|
import "../vendor/gl-vec2/subtract.js";
|
|
44
44
|
import "../vendor/gl-vec2/dot.js";
|
|
45
|
+
import "../shared-utils/math/intersecting.js";
|
|
45
46
|
import "../shared-utils/five/mode.js";
|
|
46
47
|
import "../shared-utils/isNil.js";
|
|
47
48
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
@@ -178,13 +179,13 @@ import "../shared-utils/formatRad.js";
|
|
|
178
179
|
import "./BaseController.js";
|
|
179
180
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
180
181
|
import "./utils/getFiveStateOnCurve.js";
|
|
181
|
-
const
|
|
182
|
+
const kt = (o, r) => new t(o, r), Tt = (o, r) => new i(o, r);
|
|
182
183
|
export {
|
|
183
|
-
|
|
184
|
+
kt as CruisePlugin,
|
|
184
185
|
t as CruisePluginController,
|
|
185
|
-
|
|
186
|
+
ht as CruisePluginTypes,
|
|
186
187
|
i as MoveController,
|
|
187
|
-
|
|
188
|
+
Tt as MovePlugin,
|
|
188
189
|
t as WalkController,
|
|
189
|
-
|
|
190
|
+
kt as default
|
|
190
191
|
};
|
|
@@ -56,6 +56,7 @@ import "../vendor/gl-vec2/set.js";
|
|
|
56
56
|
import "../vendor/gl-vec2/normalize.js";
|
|
57
57
|
import "../vendor/gl-vec2/subtract.js";
|
|
58
58
|
import "../vendor/gl-vec2/dot.js";
|
|
59
|
+
import "../shared-utils/math/intersecting.js";
|
|
59
60
|
import "../shared-utils/five/mode.js";
|
|
60
61
|
import "../shared-utils/isNil.js";
|
|
61
62
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
@@ -205,8 +206,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
|
205
206
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
206
207
|
import "../CruisePlugin/utils/safeCall.js";
|
|
207
208
|
import "../shared-utils/five/fiveLoaded.js";
|
|
208
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
209
|
-
class
|
|
209
|
+
const b = "GuideLinePlugin", g = `${b}`, me = (s) => `${g}--${s}`;
|
|
210
|
+
class pe extends x {
|
|
210
211
|
constructor(t, i) {
|
|
211
212
|
super(t, i);
|
|
212
213
|
h(this, "name", b);
|
|
@@ -348,6 +349,6 @@ class me extends x {
|
|
|
348
349
|
}
|
|
349
350
|
}
|
|
350
351
|
export {
|
|
351
|
-
|
|
352
|
-
|
|
352
|
+
pe as default,
|
|
353
|
+
me as pluginFlag
|
|
353
354
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as jo } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -15,6 +15,7 @@ import "../vendor/gl-vec2/set.js";
|
|
|
15
15
|
import "../vendor/gl-vec2/normalize.js";
|
|
16
16
|
import "../vendor/gl-vec2/subtract.js";
|
|
17
17
|
import "../vendor/gl-vec2/dot.js";
|
|
18
|
+
import "../shared-utils/math/intersecting.js";
|
|
18
19
|
import "../shared-utils/five/mode.js";
|
|
19
20
|
import "hammerjs";
|
|
20
21
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -178,5 +179,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
178
179
|
import "../CruisePlugin/utils/safeCall.js";
|
|
179
180
|
import "../shared-utils/five/fiveLoaded.js";
|
|
180
181
|
export {
|
|
181
|
-
|
|
182
|
+
jo as GuideLineItem
|
|
182
183
|
};
|
|
@@ -1,39 +1,42 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var M = Object.defineProperty, x = Object.defineProperties;
|
|
2
|
+
var w = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
4
|
var P = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var W = (m, e, t) => e in m ? M(m, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[e] = t, f = (m, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
P.call(e, t) &&
|
|
7
|
+
P.call(e, t) && W(m, t, e[t]);
|
|
8
8
|
if (D)
|
|
9
9
|
for (var t of D(e))
|
|
10
|
-
U.call(e, t) &&
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var i = (
|
|
10
|
+
U.call(e, t) && W(m, t, e[t]);
|
|
11
|
+
return m;
|
|
12
|
+
}, T = (m, e) => x(m, w(e));
|
|
13
|
+
var i = (m, e, t) => (W(m, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
14
|
import * as h from "three";
|
|
15
15
|
import { logWarning as F, logError as L } from "../../shared-utils/log.js";
|
|
16
16
|
import { createLineGeometry as S } from "../utils/createLineGeometry.js";
|
|
17
|
-
import { isPanoramaLike as
|
|
17
|
+
import { isPanoramaLike as A, isModelLike as O } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
20
20
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
22
|
import "animejs";
|
|
23
23
|
import { notNil as V } from "../../shared-utils/isNil.js";
|
|
24
|
-
import { BetterTween as
|
|
24
|
+
import { BetterTween as _, tweenProgress as E } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
25
25
|
import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
|
|
26
26
|
import k from "../../PanoTagPlugin/controller/index.js";
|
|
27
|
-
import
|
|
28
|
-
import { filterAdjacentDistinct as
|
|
29
|
-
import { objectAssignDeepExports as
|
|
27
|
+
import I from "../Components/Tag.js";
|
|
28
|
+
import { filterAdjacentDistinct as B } from "../utils/index.js";
|
|
29
|
+
import { objectAssignDeepExports as N } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
30
30
|
const R = (
|
|
31
31
|
/* glsl */
|
|
32
32
|
`
|
|
33
33
|
varying vec2 vUv;
|
|
34
|
+
varying float ignoreAnimationMap;
|
|
35
|
+
attribute float animationWillError;
|
|
34
36
|
|
|
35
37
|
void main() {
|
|
36
38
|
vUv = uv;
|
|
39
|
+
ignoreAnimationMap = animationWillError;
|
|
37
40
|
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
38
41
|
}
|
|
39
42
|
`
|
|
@@ -76,12 +79,17 @@ const R = (
|
|
|
76
79
|
uniform float flicker;
|
|
77
80
|
// 纹理坐标
|
|
78
81
|
varying vec2 vUv;
|
|
82
|
+
varying float ignoreAnimationMap;
|
|
79
83
|
|
|
80
84
|
// 获取纹理颜色
|
|
81
85
|
vec4 getImage() {
|
|
82
86
|
vec2 uv = vUv;
|
|
83
87
|
uv.y = uv.y - vOffset;
|
|
84
88
|
|
|
89
|
+
if (ignoreAnimationMap == 1.0) {
|
|
90
|
+
return vec4(0.0, 0.0, 0.0, 0.0);
|
|
91
|
+
}
|
|
92
|
+
|
|
85
93
|
// 原始贴图颜色
|
|
86
94
|
vec4 image = texture2D(map, uv);
|
|
87
95
|
// 如果使用颜色
|
|
@@ -142,10 +150,6 @@ const R = (
|
|
|
142
150
|
if (v < includeMinV || v > includeMaxV) {
|
|
143
151
|
gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
|
|
144
152
|
return;
|
|
145
|
-
} else {
|
|
146
|
-
// debug
|
|
147
|
-
// gl_FragColor = vec4(255.0, 255.0, 255.0, 0.6);
|
|
148
|
-
// return;
|
|
149
153
|
}
|
|
150
154
|
}
|
|
151
155
|
if (excludeMinV != -1.0 && excludeMaxV != -1.0) {
|
|
@@ -208,7 +212,7 @@ class Y {
|
|
|
208
212
|
i(this, "plugin");
|
|
209
213
|
i(this, "textureHasLoaded", !1);
|
|
210
214
|
i(this, "disposed", !1);
|
|
211
|
-
i(this, "flowAnime", new
|
|
215
|
+
i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
212
216
|
i(this, "flickerAnime", E(300).yoyo(!0).repeat(5));
|
|
213
217
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
214
218
|
i(this, "cacheLengths", []);
|
|
@@ -230,18 +234,18 @@ class Y {
|
|
|
230
234
|
});
|
|
231
235
|
/** 模型状态变更 */
|
|
232
236
|
i(this, "onFiveModeChange", (e) => {
|
|
233
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
237
|
+
this.modeVisible = this.mode === "panorama" ? A(e) : O(e), this.updateVisible();
|
|
234
238
|
});
|
|
235
239
|
/** 走点 */
|
|
236
240
|
i(this, "onFivePanoArrived", (e) => {
|
|
237
|
-
var
|
|
238
|
-
const t = this.panoMap[e];
|
|
239
|
-
if (t === void 0)
|
|
241
|
+
var s, o, a, n, l, u, d, p;
|
|
242
|
+
const t = (a = (o = (s = this.path) == null ? void 0 : s[0]) == null ? void 0 : o.panoIndexMap) == null ? void 0 : a[e], r = this.panoMap[t != null ? t : e];
|
|
243
|
+
if (console.log(this.panoMap, (l = (n = this.path) == null ? void 0 : n[0]) == null ? void 0 : l.panoIndexMap, t, e, r), r === void 0)
|
|
240
244
|
this.group.children.includes(this.meshWithoutDepthTest) && this.group.remove(this.meshWithoutDepthTest), this.meshWithDepthTest.material.uniforms.excludeMinV.value = -1, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = -1;
|
|
241
245
|
else {
|
|
242
246
|
this.group.children.includes(this.meshWithoutDepthTest) || this.group.add(this.meshWithoutDepthTest), this.meshWithoutDepthTest.visible = !0;
|
|
243
|
-
const
|
|
244
|
-
this.meshWithDepthTest.material.uniforms.excludeMinV.value =
|
|
247
|
+
const g = this.meshWithDepthTest.geometry.getAttribute("uv"), c = 100 * ((u = this.autoDepthTestEffectDistance) != null ? u : 2), v = (d = g.getY((r - c) * 2)) != null ? d : 0, b = (p = g.getY((r + c) * 2)) != null ? p : g.getY(g.count - 1);
|
|
248
|
+
this.meshWithDepthTest.material.uniforms.excludeMinV.value = v, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = b, this.meshWithoutDepthTest.material.uniforms.includeMinV.value = v, this.meshWithoutDepthTest.material.uniforms.includeMaxV.value = b;
|
|
245
249
|
}
|
|
246
250
|
this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
247
251
|
});
|
|
@@ -260,11 +264,11 @@ class Y {
|
|
|
260
264
|
i(this, "onFlickerAnimeUpdate", (e) => {
|
|
261
265
|
var s, o, a, n;
|
|
262
266
|
const { progress: t } = e, r = 1 - t;
|
|
263
|
-
this.meshWithDepthTest.material.uniforms.flicker.value = r, this.meshWithoutDepthTest.material.uniforms.flicker.value = r, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag &&
|
|
267
|
+
this.meshWithDepthTest.material.uniforms.flicker.value = r, this.meshWithoutDepthTest.material.uniforms.flicker.value = r, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && C(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(T(f({}, this.startTagContainer.tag.data), {
|
|
264
268
|
opacity: r,
|
|
265
269
|
name: this.name,
|
|
266
270
|
distance: Math.round((o = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? o : 0)
|
|
267
|
-
}))), this.endTagContainer.tag &&
|
|
271
|
+
}))), this.endTagContainer.tag && C(this.endTagContainer.tag) && ((n = this.endTagContainer.app) == null || n.$set(T(f({}, this.endTagContainer.tag.data), { opacity: r })));
|
|
268
272
|
});
|
|
269
273
|
i(this, "logWarning", (e) => F("GuideLineModeItem: ", e));
|
|
270
274
|
i(this, "logError", (e) => L("GuideLineModeItem: ", e));
|
|
@@ -342,7 +346,7 @@ class Y {
|
|
|
342
346
|
return this.logError("disposed");
|
|
343
347
|
if (!this.five.work)
|
|
344
348
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
345
|
-
const r =
|
|
349
|
+
const r = B(e);
|
|
346
350
|
if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
|
|
347
351
|
const o = t.skipPanoGroup ? r.map((a) => this.plugin.workUtil.getObserverStandingPosition(a)).filter(V) : null;
|
|
348
352
|
this.skippedPositions = o;
|
|
@@ -352,22 +356,22 @@ class Y {
|
|
|
352
356
|
}
|
|
353
357
|
/** 通过路径设置线条形状 */
|
|
354
358
|
setGeometryByPath(e, t) {
|
|
355
|
-
var
|
|
359
|
+
var g, c, v, b;
|
|
356
360
|
if (this.disposed)
|
|
357
361
|
return this.logError("disposed");
|
|
358
|
-
const r = (
|
|
362
|
+
const r = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, s = (c = t == null ? void 0 : t.width) != null ? c : this.width, o = (v = t == null ? void 0 : t.unit_length) != null ? v : this.unitLength;
|
|
359
363
|
this.scale = r, this.width = s, this.unitLength = o;
|
|
360
|
-
const { geometry: a, maxV: n, curvePath:
|
|
364
|
+
const { geometry: a, maxV: n, curvePath: l, curvePoints: u, panoMap: d, totalLength: p } = S({
|
|
361
365
|
path: e,
|
|
362
366
|
width: s * r,
|
|
363
367
|
unitLength: o * r,
|
|
364
368
|
skipPositions: this.skippedPositions,
|
|
365
369
|
useAutoDepthTest: t.useAutoDepthTest
|
|
366
370
|
});
|
|
367
|
-
this.autoDepthTestEffectDistance = (
|
|
368
|
-
const
|
|
369
|
-
return
|
|
370
|
-
})(), this.panoMap =
|
|
371
|
+
this.autoDepthTestEffectDistance = (b = t.autoDepthTestEffectDistance) != null ? b : (() => {
|
|
372
|
+
const y = p / 10;
|
|
373
|
+
return y > 3 ? 3 : y < 1 ? 1 : y;
|
|
374
|
+
})(), this.panoMap = d, this._curvePath = l, this._curvePoints = u, this.meshWithDepthTest.geometry.copy(a), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.meshWithDepthTest.material.needsUpdate = !0, this.meshWithDepthTest.material.uniforms.maxV.value = n, this.meshWithoutDepthTest.material.needsUpdate = !0, this.meshWithoutDepthTest.material.uniforms.maxV.value = n, this.five.needsRender = !0, this.path = e, this.geometryStyle = f(f({}, this.geometryStyle), t);
|
|
371
375
|
}
|
|
372
376
|
/** 设置线条材质 */
|
|
373
377
|
setMartial(e) {
|
|
@@ -375,7 +379,7 @@ class Y {
|
|
|
375
379
|
if (this.disposed)
|
|
376
380
|
return this.logError("disposed");
|
|
377
381
|
this.setDefaultVisible((r = e == null ? void 0 : e.visible) != null ? r : !1), this.setColor((s = e == null ? void 0 : e.color) != null ? s : "#ffffff"), this.setOpacity((o = e == null ? void 0 : e.opacity) != null ? o : 0.5), this.setTextureUrl((n = (a = e == null ? void 0 : e.texture) == null ? void 0 : a.url) != null ? n : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
|
|
378
|
-
const t =
|
|
382
|
+
const t = f(f({}, this.materialStyle), e);
|
|
379
383
|
this.materialStyle = t;
|
|
380
384
|
}
|
|
381
385
|
/** 设置模型状态 */
|
|
@@ -384,7 +388,7 @@ class Y {
|
|
|
384
388
|
const s = new h.Vector3(), o = new h.Vector3().fromArray(e.translate);
|
|
385
389
|
o.y += this.heightOffset, s.add(o), this.group.position.copy(s), r(this.startTagContainer, o), r(this.endTagContainer, o);
|
|
386
390
|
}
|
|
387
|
-
const t =
|
|
391
|
+
const t = f(f({}, this.meshStyle), e);
|
|
388
392
|
this.meshStyle = t;
|
|
389
393
|
function r(s, o) {
|
|
390
394
|
if (!s.tag)
|
|
@@ -491,16 +495,16 @@ class Y {
|
|
|
491
495
|
return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
|
|
492
496
|
}
|
|
493
497
|
getPanoGroupLengths() {
|
|
494
|
-
var
|
|
498
|
+
var l;
|
|
495
499
|
if (!this.curvePoints || !this.curvePath)
|
|
496
500
|
return [];
|
|
497
|
-
const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (
|
|
501
|
+
const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (l = this.curvePath.getLengths(r)) != null ? l : [], a = [];
|
|
498
502
|
let n = 0;
|
|
499
|
-
for (let
|
|
500
|
-
const
|
|
501
|
-
if (!
|
|
503
|
+
for (let u = 0; u < e; u++) {
|
|
504
|
+
const d = this.curvePoints[u], p = this.plugin.workUtil.getObserverStandingPosition(n);
|
|
505
|
+
if (!p)
|
|
502
506
|
break;
|
|
503
|
-
|
|
507
|
+
p.clone().setY(0).distanceTo(d.clone().setY(0)) < s && (a.push(o[u]), n += 1);
|
|
504
508
|
}
|
|
505
509
|
return a;
|
|
506
510
|
}
|
|
@@ -508,25 +512,25 @@ class Y {
|
|
|
508
512
|
const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
|
|
509
513
|
if (!(t != null && t.data))
|
|
510
514
|
return s.plugin.clearTags();
|
|
511
|
-
const a =
|
|
515
|
+
const a = N({}, {
|
|
512
516
|
contentType: "Custom",
|
|
513
517
|
stickType: "2DPoint",
|
|
514
518
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
515
519
|
style: { point: { enabled: !1 } },
|
|
516
520
|
data: {}
|
|
517
521
|
}, t);
|
|
518
|
-
s.tag = a,
|
|
519
|
-
var
|
|
520
|
-
(
|
|
521
|
-
const
|
|
522
|
-
return s.app =
|
|
522
|
+
s.tag = a, C(a) && (s.tag.element = (l) => {
|
|
523
|
+
var p, g;
|
|
524
|
+
(p = s.app) == null || p.$destroy();
|
|
525
|
+
const u = e === "start" ? T(f({}, a.data), { name: this.name, distance: Math.round((g = r.getLength()) != null ? g : 0), i18n: this.plugin.config.i18n }) : a.data, d = new I({ target: l, intro: !0, props: u });
|
|
526
|
+
return s.app = d, () => d.$destroy();
|
|
523
527
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
524
528
|
const n = this.meshStyle.translate;
|
|
525
529
|
if (n && a.position) {
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
const
|
|
529
|
-
s.plugin.changeTagById(s.tag.id, { position:
|
|
530
|
+
const l = new h.Vector3().fromArray(a.position), u = new h.Vector3().fromArray(n);
|
|
531
|
+
l.add(u), l.y += this.heightOffset;
|
|
532
|
+
const d = l.toArray();
|
|
533
|
+
s.plugin.changeTagById(s.tag.id, { position: d });
|
|
530
534
|
}
|
|
531
535
|
}
|
|
532
536
|
doShow() {
|
|
@@ -539,15 +543,28 @@ class Y {
|
|
|
539
543
|
getPathFromPanoGroup(e, t, r) {
|
|
540
544
|
if (e.length < 2)
|
|
541
545
|
return [];
|
|
542
|
-
const s = e.map((
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
546
|
+
const s = {}, o = e.map((l, u) => {
|
|
547
|
+
const d = this.plugin.workUtil.getObserverStandingPosition(l);
|
|
548
|
+
if (!d)
|
|
549
|
+
return;
|
|
550
|
+
const p = e[u - 1];
|
|
551
|
+
if ((u === 0 ? 999 : d.distanceTo(this.plugin.workUtil.getObserverStandingPosition(p))) < 0.05) {
|
|
552
|
+
let c = p;
|
|
553
|
+
for (; s[c] !== void 0; )
|
|
554
|
+
c = s[c];
|
|
555
|
+
s[l] = c;
|
|
556
|
+
return;
|
|
557
|
+
}
|
|
558
|
+
return {
|
|
559
|
+
position: d,
|
|
560
|
+
panoIndex: l
|
|
561
|
+
};
|
|
562
|
+
}).filter(V), a = o.map((l) => l.position.toArray()), n = o.map((l) => l.panoIndex);
|
|
563
|
+
return [T(f({ type: "CatmullRomCurve3", points: a }, r), { panoIndexList: n, panoIndexMap: s })];
|
|
547
564
|
}
|
|
548
565
|
}
|
|
549
|
-
function
|
|
550
|
-
return
|
|
566
|
+
function C(m) {
|
|
567
|
+
return m.contentType === "Custom";
|
|
551
568
|
}
|
|
552
569
|
const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
553
570
|
__proto__: null,
|
|
@@ -14,7 +14,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
14
14
|
import "./Components/Tag.js";
|
|
15
15
|
import "./utils/index.js";
|
|
16
16
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
17
|
-
import { GuideLineModeItem as
|
|
17
|
+
import { GuideLineModeItem as om } from "./GuideLineModeItem/index.js";
|
|
18
18
|
import "../vendor/polyline-normals/index.js";
|
|
19
19
|
import "../vendor/polyline-miter-util/index.js";
|
|
20
20
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -22,6 +22,7 @@ import "../vendor/gl-vec2/set.js";
|
|
|
22
22
|
import "../vendor/gl-vec2/normalize.js";
|
|
23
23
|
import "../vendor/gl-vec2/subtract.js";
|
|
24
24
|
import "../vendor/gl-vec2/dot.js";
|
|
25
|
+
import "../shared-utils/math/intersecting.js";
|
|
25
26
|
import "../shared-utils/positionToVector3.js";
|
|
26
27
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
27
28
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -158,5 +159,5 @@ import "../shared-utils/three/blink.js";
|
|
|
158
159
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
159
160
|
import "../CruisePlugin/utils/sleep.js";
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
+
om as GuideLineModeItem
|
|
162
163
|
};
|