@realsee/dnalogel 3.81.16-dev.1 → 3.81.18
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 +21 -6
- package/README.md +10 -0
- package/dist/MeasurePlugin/Controller.d.ts +12 -0
- package/dist/MeasurePlugin/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -0
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +3 -0
- package/dist/index.cjs.js +104 -104
- package/dist/index.d.ts +0 -1
- package/dist/index.js +7224 -7458
- package/dist/index.umd.js +98 -98
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AnimationScriptAdapterSafetyError.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/DigitalHuman.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
- package/docs/classes/DigitalPlayground.html +2 -2
- package/docs/classes/DigitalStateMachine.html +2 -2
- package/docs/classes/FireControl.html +2 -2
- package/docs/classes/FireScenePlayer.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +15 -15
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +15 -15
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +4 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +15 -15
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +15 -15
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/DigitalPerformancePlugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -2
- package/docs/functions/FloorplanGuidePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.cleanup.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.generatePolygonGeometry.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.replaceStaticPrefix.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.sculpt.transformUnit.html +2 -2
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/classifyMovementTrack.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/getAreaBox3.html +2 -2
- package/docs/functions/getAreaVertices.html +2 -2
- package/docs/functions/getEffectivePointActionDuration.html +1 -1
- package/docs/functions/getEntryArea.html +2 -2
- package/docs/functions/getMovementActionDuration.html +1 -1
- package/docs/functions/hasMovementV2Signal.html +1 -1
- package/docs/functions/isConverterSafeMovementMatrix.html +1 -1
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/functions/transformAnimationDetailToDigitalScript.html +2 -2
- package/docs/functions/transformScriptData.html +2 -2
- package/docs/functions/validatePolygon.html +1 -0
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +9 -2
- package/docs/interfaces/AnimationScriptAdapterOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/BoxAnimationConfig.html +2 -2
- package/docs/interfaces/BoxPosition.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ChapterLocation.html +2 -2
- package/docs/interfaces/ChapterTimeInfo.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalCameraState.html +2 -2
- package/docs/interfaces/DigitalChapter.html +2 -2
- package/docs/interfaces/DigitalDataPlayer.html +2 -2
- package/docs/interfaces/DigitalDataState.html +2 -2
- package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
- package/docs/interfaces/DigitalEffectState.html +2 -2
- package/docs/interfaces/DigitalItemKeyframe.html +2 -2
- package/docs/interfaces/DigitalItemState.html +2 -2
- package/docs/interfaces/DigitalModelKeyframe.html +2 -2
- package/docs/interfaces/DigitalModelPlayer.html +2 -2
- package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
- package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
- package/docs/interfaces/DigitalModelState.html +2 -2
- package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
- package/docs/interfaces/DigitalScript.html +2 -2
- package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
- package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
- package/docs/interfaces/DigitalSubTitleState.html +2 -2
- package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
- package/docs/interfaces/FireArea.html +2 -2
- package/docs/interfaces/FireModel.html +2 -2
- package/docs/interfaces/FireSceneConfig.html +2 -2
- package/docs/interfaces/FireSequencePlayerOptions.html +2 -2
- package/docs/interfaces/FireSequenceStep.html +2 -2
- package/docs/interfaces/FireVector3.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerStyledFloorplan.html +2 -2
- package/docs/interfaces/FloorplanServerStyledImage.html +2 -2
- package/docs/interfaces/GlobalProgress.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/LegacyScriptTransformer.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PlaybackController.html +2 -2
- package/docs/interfaces/PlaybackManager.html +2 -2
- package/docs/interfaces/PlaybackSession.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/ProgressBarEvents.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/StyledFloorplan.html +2 -2
- package/docs/interfaces/StyledFloorplanImage.html +2 -2
- package/docs/interfaces/StyledFloorplanRoomLabel.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconAnimationConfig.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/TraceManager.html +2 -2
- package/docs/interfaces/TracePoint.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.ObjectInitialState.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/DigitalPerformanceV2.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +7 -7
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/BoxTag.html +2 -2
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/CanonicalMovementTrackPlan.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
- package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FireModelType.html +2 -2
- package/docs/types/FireSequenceKind.html +2 -2
- package/docs/types/FireSpreadBounds.html +2 -2
- package/docs/types/FloorplanAffineTransform.html +1 -1
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerAffineTransform.html +1 -1
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/KeyframeType.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MaskPosition.html +2 -2
- package/docs/types/MaskTag.html +2 -2
- package/docs/types/MeasureEndReason.html +1 -0
- package/docs/types/MeasureInteractionState.html +2 -0
- package/docs/types/MeasurePluginConfig.html +10 -0
- package/docs/types/MeasurePluginEventMap.html +1 -0
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaOperations.html +1 -1
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/MovementConfig.html +1 -1
- package/docs/types/MovementPosition.html +1 -1
- package/docs/types/MovementTrackClassification.html +1 -1
- package/docs/types/MovementTrackConflictReason.html +1 -1
- package/docs/types/MovementTrackProjection.html +1 -1
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointAction.html +1 -1
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/PolygonPosition.html +2 -2
- package/docs/types/PolygonTag.html +2 -2
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/ProgressListener.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StateType.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/TrackPoint.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -1
- package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -2
- package/docs/variables/FIRE_SPREAD_SPEED.html +2 -2
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/MODEL_SCALE_RANGE.html +2 -2
- package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -1
- package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -1
- package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -1
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/MeasurePlugin/Controller.d.ts +12 -0
- package/libs/MeasurePlugin/Controller.js +186 -175
- package/libs/MeasurePlugin/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +38 -56
- package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Model/line.js +14 -7
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +3 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +50 -38
- package/libs/Sculpt/Meshes/Line.js +12 -12
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.d.ts +0 -1
- package/libs/index.js +190 -195
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/MeasurePluginV2/Controller.d.ts +0 -20
- package/dist/MeasurePluginV2/Magnifier.d.ts +0 -36
- package/dist/MeasurePluginV2/PointOverlay.d.ts +0 -66
- package/dist/MeasurePluginV2/index.d.ts +0 -25
- package/docs/classes/MeasureV2.MeasureControllerV2.html +0 -74
- package/docs/classes/MeasureV2.MeasureMagnifier.html +0 -33
- package/docs/functions/MeasureV2.MeasurePluginV2.html +0 -1
- package/docs/functions/MeasureV2.drawMeasureOverlay.html +0 -3
- package/docs/functions/MeasureV2.getWorldNormal.html +0 -3
- package/docs/functions/MeasureV2.validatePolygon.html +0 -1
- package/docs/interfaces/MeasureV2.MagnifierViewport.html +0 -17
- package/docs/interfaces/MeasureV2.MeasureMagnifierOptions.html +0 -15
- package/docs/modules/MeasureV2.html +0 -16
- package/docs/types/MeasureV2.MeasureControllerV2Interface.html +0 -1
- package/docs/types/MeasureV2.MeasureEndReason.html +0 -1
- package/docs/types/MeasureV2.MeasurePluginConfig.html +0 -10
- package/docs/types/MeasureV2.MeasurePluginEventMap.html +0 -1
- package/docs/types/MeasureV2.MeasurePluginV2ParamsInterface.html +0 -1
- package/docs/variables/MeasureV2.OVERLAY_STYLE.html +0 -14
- package/libs/MeasurePluginV2/Controller.d.ts +0 -20
- package/libs/MeasurePluginV2/Controller.js +0 -51
- package/libs/MeasurePluginV2/Magnifier.d.ts +0 -36
- package/libs/MeasurePluginV2/Magnifier.js +0 -91
- package/libs/MeasurePluginV2/PointOverlay.d.ts +0 -66
- package/libs/MeasurePluginV2/PointOverlay.js +0 -142
- package/libs/MeasurePluginV2/index.d.ts +0 -25
- package/libs/MeasurePluginV2/index.js +0 -34
|
@@ -12,6 +12,6 @@ export type MeasurePluginConfig = {
|
|
|
12
12
|
*/
|
|
13
13
|
precision?: number;
|
|
14
14
|
};
|
|
15
|
-
export type { MeasureEndReason, MeasurePluginEventMap } from './Controller';
|
|
15
|
+
export type { MeasureEndReason, MeasurePluginEventMap, MeasureInteractionState } from './Controller';
|
|
16
16
|
export { validatePolygon } from './utils/validatePolygon';
|
|
17
17
|
export declare const MeasurePlugin: (five: Five, config?: MeasurePluginConfig) => MeasureController;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { hammerExports as
|
|
5
|
-
import
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var a = (d, o, e) => o in d ? l(d, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[o] = e;
|
|
3
|
+
var t = (d, o, e) => (a(d, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
|
+
import { hammerExports as m } from "../../vendor/hammerjs/hammer.js";
|
|
5
|
+
import f from "./BaseController.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "../Model/line.js";
|
|
8
8
|
import "../../shared-utils/uuid.js";
|
|
@@ -17,69 +17,51 @@ import "../utils/isNDCPointInScreen.js";
|
|
|
17
17
|
import "../../shared-utils/three/centerPoint.js";
|
|
18
18
|
import "../Model/point.js";
|
|
19
19
|
import "../utils/ironbox.js";
|
|
20
|
-
class
|
|
21
|
-
constructor(
|
|
22
|
-
super(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
class I extends f {
|
|
21
|
+
constructor(e) {
|
|
22
|
+
super(e);
|
|
23
|
+
t(this, "type", "view");
|
|
24
|
+
t(this, "hammer");
|
|
25
|
+
t(this, "polylineRemoved", (e) => {
|
|
26
|
+
e.lines.forEach((i) => this.removeLine(i)), this.hook.emit(
|
|
27
27
|
"selectedChange",
|
|
28
|
-
this.model.getAllLines().filter((
|
|
28
|
+
this.model.getAllLines().filter((i) => i.selected).map((i) => i)
|
|
29
29
|
);
|
|
30
30
|
});
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}), this.updateDistanceUI();
|
|
31
|
+
t(this, "polylineAdded", (e) => {
|
|
32
|
+
e.lines.forEach((i) => {
|
|
33
|
+
i.setModelOcclusion(!0), this.group.add(i.mesh), i.mesh.updateMatrixWorld(), i.distanceItem.appendTo(this.container);
|
|
34
|
+
}), this.updatePolylineVisibility(e, this.five.getCurrentState()), this.five.needsRender = !0;
|
|
36
35
|
});
|
|
37
|
-
|
|
36
|
+
t(this, "onCameraUpdate", () => {
|
|
38
37
|
this.updateDistanceUI();
|
|
39
38
|
});
|
|
40
|
-
|
|
41
|
-
i
|
|
42
|
-
|
|
43
|
-
t.mesh.visible = !1, t.distanceItem.update(this.five);
|
|
44
|
-
});
|
|
45
|
-
}), this.five.ready().then(() => {
|
|
46
|
-
const e = this.five.getCurrentState().mode;
|
|
47
|
-
e !== "Panorama" && this.model.polylines.forEach((t) => {
|
|
48
|
-
t.visibleFiveMode && t.visibleFiveMode.includes(e) && t.lines.forEach((d) => {
|
|
49
|
-
d.mesh.visible = !0, d.distanceItem.update(this.five);
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
}));
|
|
39
|
+
t(this, "onFiveModeChange", (e) => {
|
|
40
|
+
const { panoIndex: i } = this.five.getCurrentState();
|
|
41
|
+
this.model.polylines.forEach((s) => this.updatePolylineVisibility(s, { panoIndex: i, mode: e })), this.five.needsRender = !0;
|
|
53
42
|
});
|
|
54
|
-
|
|
55
|
-
this.
|
|
56
|
-
|
|
57
|
-
t.mesh.visible = !1, t.distanceItem.update(this.five);
|
|
58
|
-
});
|
|
59
|
-
});
|
|
43
|
+
t(this, "onFivePanoWillArrive", (e) => {
|
|
44
|
+
const { mode: i } = this.five.getCurrentState();
|
|
45
|
+
this.model.polylines.forEach((s) => this.updatePolylineVisibility(s, { panoIndex: e, mode: i }, !0)), this.five.needsRender = !0;
|
|
60
46
|
});
|
|
61
|
-
|
|
62
|
-
this.
|
|
63
|
-
|
|
64
|
-
t.mesh.visible = !0, t.distanceItem.update(this.five);
|
|
65
|
-
});
|
|
66
|
-
});
|
|
47
|
+
t(this, "onFivePanoArrived", (e) => {
|
|
48
|
+
const { mode: i } = this.five.getCurrentState();
|
|
49
|
+
this.model.polylines.forEach((s) => this.updatePolylineVisibility(s, { panoIndex: e, mode: i })), this.five.needsRender = !0;
|
|
67
50
|
});
|
|
68
|
-
this.
|
|
69
|
-
|
|
70
|
-
});
|
|
71
|
-
const e = this.five.getElement();
|
|
72
|
-
if (e) {
|
|
73
|
-
const t = new h(e);
|
|
74
|
-
this.hammer = t;
|
|
75
|
-
}
|
|
76
|
-
this.onFiveModeChange(this.five.getCurrentState().mode), this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
|
|
51
|
+
const i = this.five.getElement();
|
|
52
|
+
i && (this.hammer = new m(i)), this.model.polylines.forEach(this.polylineAdded), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("models.load", this.onCameraUpdate), this.five.on("models.refined", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
|
|
77
53
|
}
|
|
78
54
|
dispose() {
|
|
79
|
-
var
|
|
80
|
-
super.dispose(), this.model.hook.off("polylineAdded", this.polylineAdded), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("modeChange", this.onFiveModeChange), this.five.off("panoWillArrive", this.onFivePanoWillArrive), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (
|
|
55
|
+
var e;
|
|
56
|
+
this.model.getAllLines().forEach((i) => i.setModelOcclusion(!1)), super.dispose(), this.model.hook.off("polylineAdded", this.polylineAdded), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("models.load", this.onCameraUpdate), this.five.off("models.refined", this.onCameraUpdate), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("modeChange", this.onFiveModeChange), this.five.off("panoWillArrive", this.onFivePanoWillArrive), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (e = this.hammer) == null || e.destroy();
|
|
57
|
+
}
|
|
58
|
+
updatePolylineVisibility(e, { panoIndex: i, mode: s }, h = !1) {
|
|
59
|
+
const n = (!e.visiblePanoIndexes || e.visiblePanoIndexes.includes(i)) && (!e.visibleFiveMode || e.visibleFiveMode.includes(s));
|
|
60
|
+
h && n || e.lines.forEach((r) => {
|
|
61
|
+
r.mesh.visible = n, r.distanceItem.update(this.five);
|
|
62
|
+
});
|
|
81
63
|
}
|
|
82
64
|
}
|
|
83
65
|
export {
|
|
84
|
-
|
|
66
|
+
I as default
|
|
85
67
|
};
|
|
@@ -24,6 +24,8 @@ export default class Line {
|
|
|
24
24
|
private polyline?;
|
|
25
25
|
private visible?;
|
|
26
26
|
constructor(point: Point, anotherPoint: Point, model: Model);
|
|
27
|
+
/** 查看时遮挡线段;编辑时保留端点与选中线的可操作性。 */
|
|
28
|
+
setModelOcclusion(enabled: boolean): void;
|
|
27
29
|
hide(): void;
|
|
28
30
|
show(): void;
|
|
29
31
|
setPoints(startPoint: THREE.Vector3, endPoint: THREE.Vector3): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
|
-
var m = (
|
|
3
|
-
var e = (
|
|
4
|
-
import { uuid as
|
|
2
|
+
var m = (o, t, i) => t in o ? l(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
|
+
var e = (o, t, i) => (m(o, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
+
import { uuid as c } from "../../shared-utils/uuid.js";
|
|
5
5
|
import { createLineMesh as n } from "../utils/line.js";
|
|
6
|
-
import { Subscribe as
|
|
6
|
+
import { Subscribe as p } from "@realsee/five";
|
|
7
7
|
import { DistanceItem as d } from "../utils/dom/distanceItem.js";
|
|
8
8
|
import "../../shared-utils/five/FiveLine.js";
|
|
9
9
|
import "@realsee/five/line";
|
|
@@ -13,7 +13,7 @@ import "../utils/dom/base.js";
|
|
|
13
13
|
import "../utils/isNDCPointInScreen.js";
|
|
14
14
|
import "../../shared-utils/three/centerPoint.js";
|
|
15
15
|
class r {
|
|
16
|
-
constructor(t, i,
|
|
16
|
+
constructor(t, i, s) {
|
|
17
17
|
e(this, "id");
|
|
18
18
|
e(this, "selected", !1);
|
|
19
19
|
e(this, "text");
|
|
@@ -27,14 +27,21 @@ class r {
|
|
|
27
27
|
e(this, "polyline");
|
|
28
28
|
e(this, "visible");
|
|
29
29
|
var h;
|
|
30
|
-
if (this.id =
|
|
30
|
+
if (this.id = c(), this.model = s, t.id === i.id)
|
|
31
31
|
throw new Error("无效的线段, 一个点无法构成线段");
|
|
32
|
-
typeof
|
|
32
|
+
typeof s.config.defaultText == "string" && (this.text = s.config.defaultText), this.hook = new p(), this.points = [t, i], this.mesh = n(this, "normal"), this.lightMesh = n(this, "light"), this.distanceItem = new d({
|
|
33
33
|
line: this,
|
|
34
34
|
clickCallback: () => this.hook.emit("selected", this),
|
|
35
35
|
userDistanceItem: (h = this.model.config) != null && h.userDistanceItemCreator ? this.model.config.userDistanceItemCreator() : void 0
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
/** 查看时遮挡线段;编辑时保留端点与选中线的可操作性。 */
|
|
39
|
+
setModelOcclusion(t) {
|
|
40
|
+
for (const i of [this.mesh, this.lightMesh])
|
|
41
|
+
for (const s of [i.line.material, i.points.material])
|
|
42
|
+
s.depthTest = t, s.depthWrite = !t;
|
|
43
|
+
this.distanceItem.modelOcclusion = t;
|
|
44
|
+
}
|
|
38
45
|
hide() {
|
|
39
46
|
this.visible && (this.visible = !1, this.mesh.visible = !1, this.distanceItem.hide());
|
|
40
47
|
}
|
|
@@ -17,7 +17,9 @@ interface DistanceItemParams extends ItemDomParams {
|
|
|
17
17
|
userDistanceItem?: UserDistanceItem;
|
|
18
18
|
}
|
|
19
19
|
export declare class DistanceItem extends ItemDom {
|
|
20
|
+
modelOcclusion: boolean;
|
|
20
21
|
protected params: DistanceItemParams;
|
|
22
|
+
private readonly raycaster;
|
|
21
23
|
private line;
|
|
22
24
|
private lastFOV;
|
|
23
25
|
private cameraUpdateHandler;
|
|
@@ -27,6 +29,7 @@ export declare class DistanceItem extends ItemDom {
|
|
|
27
29
|
/** 获取内容文本 */
|
|
28
30
|
getCurrentContent(): string;
|
|
29
31
|
update(five: Five): void;
|
|
32
|
+
private isOccluded;
|
|
30
33
|
private getFiveInstance;
|
|
31
34
|
private onCameraUpdate;
|
|
32
35
|
private onPanoChange;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var e in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
import { ItemDom as
|
|
15
|
-
import { Vector2 as I } from "three";
|
|
16
|
-
import { isNDCPointInFront as
|
|
17
|
-
import { centerPoint as
|
|
18
|
-
class
|
|
1
|
+
var W = Object.defineProperty, V = Object.defineProperties;
|
|
2
|
+
var j = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var v = Object.getOwnPropertySymbols;
|
|
4
|
+
var $ = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var g = (a, i, e) => i in a ? W(a, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[i] = e, D = (a, i) => {
|
|
6
|
+
for (var e in i || (i = {}))
|
|
7
|
+
$.call(i, e) && g(a, e, i[e]);
|
|
8
|
+
if (v)
|
|
9
|
+
for (var e of v(i))
|
|
10
|
+
A.call(i, e) && g(a, e, i[e]);
|
|
11
|
+
return a;
|
|
12
|
+
}, H = (a, i) => V(a, j(i));
|
|
13
|
+
var c = (a, i, e) => (g(a, typeof i != "symbol" ? i + "" : i, e), e);
|
|
14
|
+
import { ItemDom as B } from "./base.js";
|
|
15
|
+
import { Raycaster as L, Vector2 as I } from "three";
|
|
16
|
+
import { isNDCPointInFront as y } from "../isNDCPointInScreen.js";
|
|
17
|
+
import { centerPoint as R } from "../../../shared-utils/three/centerPoint.js";
|
|
18
|
+
class Q extends B {
|
|
19
19
|
constructor(e) {
|
|
20
20
|
var n;
|
|
21
|
-
e.contentStyle = D(
|
|
21
|
+
e.contentStyle = H(D({}, e.contentStyle), {
|
|
22
22
|
background: "#FFFFFF",
|
|
23
23
|
color: "#041066",
|
|
24
24
|
fontFamily: "Arial-BoldMT",
|
|
@@ -34,16 +34,18 @@ class K extends L {
|
|
|
34
34
|
transition: "font-size 0.5s ease"
|
|
35
35
|
});
|
|
36
36
|
super(e);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
c(this, "modelOcclusion", !1);
|
|
38
|
+
c(this, "raycaster", new L());
|
|
39
|
+
c(this, "line");
|
|
40
|
+
c(this, "lastFOV");
|
|
41
|
+
c(this, "cameraUpdateHandler", null);
|
|
42
|
+
c(this, "onPanoChange", () => {
|
|
41
43
|
const e = this.getFiveInstance();
|
|
42
44
|
e && setTimeout(() => this.update(e), 100);
|
|
43
45
|
});
|
|
44
46
|
if (this.line = e.line, (n = this.params.userDistanceItem) != null && n.element ? this.containerDom.appendChild(this.params.userDistanceItem.element) : this.containerDom.appendChild(this.contentDom), !document.getElementById("PanoMeasurePluginFontSizes")) {
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
+
const t = document.createElement("style");
|
|
48
|
+
t.id = "PanoMeasurePluginFontSizes", document.head.appendChild(t), t.innerHTML = `
|
|
47
49
|
.pano-measure-item-content {
|
|
48
50
|
transition: font-size 0.5s ease; /* Smooth transition for font size */
|
|
49
51
|
}
|
|
@@ -103,14 +105,14 @@ class K extends L {
|
|
|
103
105
|
}
|
|
104
106
|
/** 获取内容文本 */
|
|
105
107
|
getCurrentContent() {
|
|
106
|
-
var
|
|
108
|
+
var d, m, o, r;
|
|
107
109
|
if (this.line.points.length < 2)
|
|
108
110
|
return "";
|
|
109
|
-
const [e, n] = this.line.points,
|
|
110
|
-
return
|
|
111
|
+
const [e, n] = this.line.points, t = e.position.clone().distanceTo(n.position), s = (m = this.line.text) != null ? m : (d = this.line.model.config) == null ? void 0 : d.defaultText, h = (r = (o = this.line.model.config) == null ? void 0 : o.getDistanceText) == null ? void 0 : r.call(o, t), l = s != null ? s : h;
|
|
112
|
+
return l != null ? l : t.toFixed(2) + "m";
|
|
111
113
|
}
|
|
112
114
|
update(e) {
|
|
113
|
-
var
|
|
115
|
+
var F;
|
|
114
116
|
if (this.line.mesh.visible === !1) {
|
|
115
117
|
this.hide();
|
|
116
118
|
return;
|
|
@@ -118,20 +120,30 @@ class K extends L {
|
|
|
118
120
|
const n = e.getElement();
|
|
119
121
|
if (!n)
|
|
120
122
|
return;
|
|
121
|
-
const
|
|
123
|
+
const t = n.clientWidth, s = n.clientHeight, h = t / 2, l = s / 2;
|
|
122
124
|
if (this.line.points.length < 2)
|
|
123
125
|
return;
|
|
124
|
-
const [
|
|
125
|
-
if ((() => !(Math.abs(
|
|
126
|
+
const [d, m] = this.line.points.map((E) => E.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), o = d.clone().project(e.camera), r = m.clone().project(e.camera), p = R(d, m), f = p.clone().project(e.camera), u = new I(o.x * h, o.y * l), x = new I(r.x * h, r.y * l), P = u.distanceTo(x);
|
|
127
|
+
if ((() => !(Math.abs(o.z) > 1 || Math.abs(r.z) > 1 || !y(o) && !y(r) || !y(f) || P === 0))() === !1 || this.modelOcclusion && this.isOccluded(e, p)) {
|
|
126
128
|
this.hide();
|
|
127
129
|
return;
|
|
128
130
|
}
|
|
129
|
-
const
|
|
131
|
+
const U = p.distanceTo(e.camera.position), C = e.camera.fov || 60, M = 2 * Math.tan(0.5 * C / 180 * Math.PI), z = Math.max(Math.min(1 - M * U / 40, 1), 0);
|
|
130
132
|
this.contentDom.style.setProperty("--distance-scale", z.toString());
|
|
131
|
-
const
|
|
132
|
-
this.containerDom.style.transform = `translate(${
|
|
133
|
-
const
|
|
134
|
-
this.contentDom.innerText =
|
|
133
|
+
const w = (f.x + 1) / 2 * t, S = -(f.y - 1) / 2 * s, T = -(Math.atan((u.y - x.y) / (u.x - x.x)) * 180) / Math.PI, b = this.containerDom.parentElement && this.contentDom.clientWidth > P ? -20 : 0;
|
|
134
|
+
this.containerDom.style.transform = `translate(${w}px, ${S}px) rotate(${T}deg) translateY(${b}px)`, this.show(), (F = this.params.userDistanceItem) == null || F.update({ line: this.line, polyline: this.line.getPolyline() });
|
|
135
|
+
const O = this.getCurrentContent();
|
|
136
|
+
this.contentDom.innerText = O;
|
|
137
|
+
}
|
|
138
|
+
isOccluded(e, n) {
|
|
139
|
+
if (!e.model.loaded)
|
|
140
|
+
return !1;
|
|
141
|
+
const t = this.raycaster;
|
|
142
|
+
if (e.camera.getWorldPosition(t.ray.origin), t.ray.direction.subVectors(n, t.ray.origin), t.far = t.ray.direction.length() - 0.05, t.far <= 0)
|
|
143
|
+
return !1;
|
|
144
|
+
t.ray.direction.normalize(), t.firstHitOnly = !0;
|
|
145
|
+
const [s] = e.model.intersectRaycaster(t);
|
|
146
|
+
return !!s && s.distance < t.far;
|
|
135
147
|
}
|
|
136
148
|
getFiveInstance() {
|
|
137
149
|
var e, n;
|
|
@@ -143,5 +155,5 @@ class K extends L {
|
|
|
143
155
|
}
|
|
144
156
|
}
|
|
145
157
|
export {
|
|
146
|
-
|
|
158
|
+
Q as DistanceItem
|
|
147
159
|
};
|
|
@@ -11,7 +11,7 @@ var T = (a, n, e) => n in a ? $(a, n, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return a;
|
|
12
12
|
}, M = (a, n) => Y(a, q(n));
|
|
13
13
|
var o = (a, n, e) => (T(a, typeof n != "symbol" ? n + "" : n, e), e);
|
|
14
|
-
import * as
|
|
14
|
+
import * as g from "three";
|
|
15
15
|
import { DEFAULT_LINE_COLOR as Q, DEFAULT_LINE_WIDTH as X, DEFAULT_HIGHLIGHT_OPACITY as Z } from "../typings/style.js";
|
|
16
16
|
import { anyPositionToVector3 as ee } from "../../shared-utils/positionToVector3.js";
|
|
17
17
|
import { IObject3D as te } from "../../shared-utils/three/IObject3D.js";
|
|
@@ -80,7 +80,7 @@ class We extends te {
|
|
|
80
80
|
});
|
|
81
81
|
this.paramsStyle = p({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new E();
|
|
82
82
|
const i = {
|
|
83
|
-
color: new
|
|
83
|
+
color: new g.Color((r = e == null ? void 0 : e.lineColor) != null ? r : Q),
|
|
84
84
|
linewidth: (h = e == null ? void 0 : e.lineWidth) != null ? h : X,
|
|
85
85
|
dashScale: 1,
|
|
86
86
|
dashSize: 0.02,
|
|
@@ -117,7 +117,7 @@ class We extends te {
|
|
|
117
117
|
}
|
|
118
118
|
get color() {
|
|
119
119
|
var e;
|
|
120
|
-
return new
|
|
120
|
+
return new g.Color((e = this.line1.material.three_color) != null ? e : this.paramsStyle.lineColor);
|
|
121
121
|
}
|
|
122
122
|
get dashed() {
|
|
123
123
|
return this.paramsStyle.dashed;
|
|
@@ -144,7 +144,7 @@ class We extends te {
|
|
|
144
144
|
if (!e || this.fiveListenersInited)
|
|
145
145
|
return;
|
|
146
146
|
this.fiveListenersInited = !0, this.fiveRef = e;
|
|
147
|
-
const i = (s = e.renderer) == null ? void 0 : s.getSize(new
|
|
147
|
+
const i = (s = e.renderer) == null ? void 0 : s.getSize(new g.Vector2());
|
|
148
148
|
i && this.setResolution(i.width, i.height), e.on("cameraUpdate", this.onCameraUpdate), e.on("cameraFovUpdate", this.onCameraUpdate), e.on("panoArrived", this.onPanoArrived);
|
|
149
149
|
}
|
|
150
150
|
removeFiveListeners() {
|
|
@@ -163,14 +163,14 @@ class We extends te {
|
|
|
163
163
|
const i = e.map(ee).filter(m);
|
|
164
164
|
if (this.points = i, i.length < 2) {
|
|
165
165
|
const t = new E();
|
|
166
|
-
this.
|
|
166
|
+
this.geometry = t, this.updateDomItems();
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
169
169
|
const s = i.flatMap((t) => [t.x, t.y, t.z]);
|
|
170
170
|
if (s.length > 2) {
|
|
171
171
|
this.line1.geometry.dispose();
|
|
172
172
|
const t = new E();
|
|
173
|
-
this.
|
|
173
|
+
this.geometry = t;
|
|
174
174
|
}
|
|
175
175
|
this.line1.geometry.setPositions(s), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
|
|
176
176
|
}
|
|
@@ -183,7 +183,7 @@ class We extends te {
|
|
|
183
183
|
setStyle(e) {
|
|
184
184
|
var t, r, h, f;
|
|
185
185
|
if (this.paramsStyle = p(p({}, this.paramsStyle), e), m(e.lineColor)) {
|
|
186
|
-
const d = new
|
|
186
|
+
const d = new g.Color(e.lineColor);
|
|
187
187
|
this.line1.material.three_color = d, this.line2.material.three_color = d;
|
|
188
188
|
}
|
|
189
189
|
m(e.lineWidth) && (this.line1.material.linewidth = e.lineWidth, this.line2.material.linewidth = e.lineWidth), m(e.dashed) && (this.line1.material.dashed = e.dashed), m(e.lineOpacity) && (this.line1.material.opacity = e.lineOpacity, this.line2.material.opacity = e.lineOpacity), this.updateDomItems({ force: !0 });
|
|
@@ -193,7 +193,7 @@ class We extends te {
|
|
|
193
193
|
highlight(e) {
|
|
194
194
|
var i, s;
|
|
195
195
|
if (this.highlighted = !0, e != null && e.color) {
|
|
196
|
-
const t = new
|
|
196
|
+
const t = new g.Color(e.color);
|
|
197
197
|
this.colorBeforeHighlight = (i = this.colorBeforeHighlight) != null ? i : this.line1.material.three_color, this.line1.material.three_color = t, this.line2.material.three_color = t;
|
|
198
198
|
} else {
|
|
199
199
|
this.opacityBeforeHighlight = (s = this.opacityBeforeHighlight) != null ? s : this.line1.material.opacity;
|
|
@@ -219,12 +219,12 @@ class We extends te {
|
|
|
219
219
|
const f = B(t, r);
|
|
220
220
|
this.doms[h] = (H = this.doms[h]) != null ? H : (() => {
|
|
221
221
|
var v;
|
|
222
|
-
const l = new ie(this.five),
|
|
223
|
-
return l.intersectCheck = !
|
|
222
|
+
const l = new ie(this.five), u = (v = this.paramsStyle.occlusionVisibility) != null ? v : !0;
|
|
223
|
+
return l.intersectCheck = !u, l.simulate3D = !0, l;
|
|
224
224
|
})(), this.doms[h].setPosition(f, [t, r]);
|
|
225
|
-
const d = (l,
|
|
225
|
+
const d = (l, u) => {
|
|
226
226
|
var _, I, D;
|
|
227
|
-
const v = (_ =
|
|
227
|
+
const v = (_ = u == null ? void 0 : u.force) != null ? _ : !1;
|
|
228
228
|
if (!(this.doms[h].__text === l && !v))
|
|
229
229
|
if (this.doms[h].__text = l, l instanceof HTMLElement)
|
|
230
230
|
this.doms[h].container.innerHTML = "", this.doms[h].container.appendChild(l);
|
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from './PanoRulerProPlugin';
|
|
|
12
12
|
export * from './PanoCompassPlugin';
|
|
13
13
|
export * from './PanoMeasurePlugin';
|
|
14
14
|
export * from './MeasurePlugin';
|
|
15
|
-
export * as MeasureV2 from './MeasurePluginV2';
|
|
16
15
|
export * from './PanoSpatialTagPlugin';
|
|
17
16
|
export * from './ModelItemLabelPlugin';
|
|
18
17
|
export * from './ModelTVVideoPlugin';
|