@realsee/dnalogel 3.64.8-alpha.3 → 3.64.9-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/CHANGELOG.md +5 -0
- package/dist/MeasurePlugin/Controller.d.ts +1 -0
- package/dist/index.cjs.js +18 -18
- package/dist/index.js +5074 -5046
- package/dist/index.umd.js +18 -18
- 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/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- 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 +2 -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 +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +3 -3
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.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.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- 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 +2 -2
- 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/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/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.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.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.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.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.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.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.tag.html +1 -1
- 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/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.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/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.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/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/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/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.EventMap.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/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/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.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/State.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/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.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/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.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.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/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 +2 -2
- 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/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.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/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- 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/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- 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 +1 -1
- 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/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/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.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/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/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/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- 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.animeMap.html +1 -1
- 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 +1 -0
- package/libs/MeasurePlugin/Controller.js +126 -101
- package/libs/ModelMakerPlugin/Controller.js +18 -18
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +16 -13
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.9-alpha.0</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.64.9-alpha.0</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.64.9-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.9-alpha.0</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.64.9-alpha.0</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.64.9-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
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.64.
|
|
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.64.9-alpha.0</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.64.9-alpha.0</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.64.9-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
var D = Object.defineProperty, _ = Object.defineProperties;
|
|
2
2
|
var L = Object.getOwnPropertyDescriptors;
|
|
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 * as
|
|
3
|
+
var w = Object.getOwnPropertySymbols;
|
|
4
|
+
var k = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var E = (c, s, e) => s in c ? D(c, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[s] = e, y = (c, s) => {
|
|
6
|
+
for (var e in s || (s = {}))
|
|
7
|
+
k.call(s, e) && E(c, e, s[e]);
|
|
8
|
+
if (w)
|
|
9
|
+
for (var e of w(s))
|
|
10
|
+
F.call(s, e) && E(c, e, s[e]);
|
|
11
|
+
return c;
|
|
12
|
+
}, P = (c, s) => _(c, L(s));
|
|
13
|
+
var i = (c, s, e) => (E(c, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
|
+
import * as a from "three";
|
|
15
15
|
import "../shared-utils/tag.js";
|
|
16
16
|
import "../vendor/hammerjs/hammer.js";
|
|
17
17
|
import { Subscribe as H } from "../shared-utils/Subscribe.js";
|
|
18
18
|
import { PointSelector as C } from "../shared-utils/three/PointSelector/index.js";
|
|
19
19
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
|
-
import { IObject3D as
|
|
21
|
+
import { IObject3D as I } from "../shared-utils/three/IObject3D.js";
|
|
22
22
|
import "@realsee/five/line";
|
|
23
23
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
24
24
|
import "../shared-utils/three/core/Sphere.js";
|
|
25
25
|
import "../vendor/animejs/lib/anime.es.js";
|
|
26
|
-
import { FiveDomEvents as
|
|
26
|
+
import { FiveDomEvents as x } from "../shared-utils/five/FiveDomEvents.js";
|
|
27
27
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
28
|
import "../shared-utils/five/FivePuppet.js";
|
|
29
|
-
import { MeasureMesh as
|
|
30
|
-
import { PointMesh as
|
|
31
|
-
import { LineWithDotsMesh as
|
|
32
|
-
import { hotkeys as
|
|
33
|
-
import { PolygonMesh as
|
|
34
|
-
import { validatePolygon as
|
|
35
|
-
import { Cursor as
|
|
29
|
+
import { MeasureMesh as U } from "./utils/MeasureMesh.js";
|
|
30
|
+
import { PointMesh as T } from "../Sculpt/Meshes/Point.js";
|
|
31
|
+
import { LineWithDotsMesh as b } from "../Sculpt/Meshes/LineWithDots.js";
|
|
32
|
+
import { hotkeys as d } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
33
|
+
import { PolygonMesh as V } from "../Sculpt/Meshes/Polygon.js";
|
|
34
|
+
import { validatePolygon as z } from "./utils/validatePolygon.js";
|
|
35
|
+
import { Cursor as A } from "../Sculpt/utils/Modules/Cursor.js";
|
|
36
|
+
import { THREERaycaster as R } from "../shared-utils/three/core/Raycaster.js";
|
|
36
37
|
import "../shared-utils/positionToVector3.js";
|
|
37
38
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
38
39
|
import "../shared-utils/five/getFiveModel.js";
|
|
@@ -41,7 +42,6 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
41
42
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
42
43
|
import "../shared-utils/five/transformPosition.js";
|
|
43
44
|
import "../shared-utils/three/temp.js";
|
|
44
|
-
import "../shared-utils/three/core/Raycaster.js";
|
|
45
45
|
import "../shared-utils/dom/resizeObserver.js";
|
|
46
46
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
47
47
|
import "../shared-utils/throttle.js";
|
|
@@ -88,23 +88,23 @@ import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
|
88
88
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
89
89
|
import "../shared-utils/three/geometryUtil.js";
|
|
90
90
|
import "../shared-utils/three/vectorIsEqual.js";
|
|
91
|
-
class
|
|
91
|
+
class ct extends H {
|
|
92
92
|
constructor(e, t) {
|
|
93
93
|
super();
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
94
|
+
i(this, "name", "MeasurePlugin");
|
|
95
|
+
i(this, "currentMeasureMesh");
|
|
96
|
+
i(this, "five");
|
|
97
|
+
i(this, "group");
|
|
98
|
+
i(this, "_pointSelector");
|
|
99
|
+
i(this, "_fiveDomEvents");
|
|
100
|
+
i(this, "_cursor");
|
|
101
|
+
i(this, "_config");
|
|
102
|
+
i(this, "lineStyle", {
|
|
103
103
|
lengthEnable: !0,
|
|
104
104
|
occlusionVisibility: !0,
|
|
105
105
|
lengthUnit: "m"
|
|
106
106
|
});
|
|
107
|
-
|
|
107
|
+
i(this, "polygonStyle", {
|
|
108
108
|
lengthEnable: !0,
|
|
109
109
|
occlusionVisibility: !0,
|
|
110
110
|
opacity: 0.2,
|
|
@@ -113,143 +113,168 @@ class ht extends H {
|
|
|
113
113
|
/**
|
|
114
114
|
* @description 开始测量
|
|
115
115
|
*/
|
|
116
|
-
|
|
117
|
-
this.listener.addMeasureListener(), this.listener.removeClickListener(), this.group.children.forEach((
|
|
118
|
-
const e = new
|
|
116
|
+
i(this, "measure", () => {
|
|
117
|
+
this.listener.addMeasureListener(), this.listener.removeClickListener(), this.group.children.forEach((n) => n.unselect()), this.cursor.removeDeleteButton();
|
|
118
|
+
const e = new U({
|
|
119
119
|
lineStyle: this.lineStyle,
|
|
120
120
|
polygonStyle: this.polygonStyle
|
|
121
121
|
});
|
|
122
122
|
this.currentMeasureMesh = e, this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
|
|
123
|
-
const t = new
|
|
124
|
-
t.removeFromParent(),
|
|
123
|
+
const t = new T(), r = new b(P(y({}, this.lineStyle), { dashed: !0 })), o = new V(this.polygonStyle), h = new b(P(y({}, this.lineStyle), { lineOpacity: 0.5, dashed: !0 })), p = new b(P(y({}, this.lineStyle), { lineOpacity: 0.5, dashed: !0 })), m = () => {
|
|
124
|
+
t.removeFromParent(), r.removeFromParent(), o.removeFromParent(), h.removeFromParent(), p.removeFromParent();
|
|
125
125
|
};
|
|
126
126
|
this.group.add(e);
|
|
127
|
-
const
|
|
128
|
-
if (!
|
|
129
|
-
|
|
127
|
+
const v = (n) => {
|
|
128
|
+
if (!n) {
|
|
129
|
+
m();
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
-
if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(t), t.position.copy(
|
|
133
|
-
if (this.pointSelector.actionIfNoIntersection = "virtualPoint", t.removeFromParent(), this.group.addIfNotExists(
|
|
134
|
-
|
|
132
|
+
if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(t), t.position.copy(n.point)), e.points.length >= 1)
|
|
133
|
+
if (this.pointSelector.actionIfNoIntersection = "virtualPoint", t.removeFromParent(), this.group.addIfNotExists(r), r.setPoints([e.points.at(-1), n.point]), n.isAdsorbed)
|
|
134
|
+
h.removeFromParent(), p.removeFromParent();
|
|
135
135
|
else {
|
|
136
|
-
const
|
|
137
|
-
if (Math.abs(
|
|
138
|
-
const u = new
|
|
139
|
-
|
|
136
|
+
const l = e.points.at(-1);
|
|
137
|
+
if (Math.abs(n.point.y - l.y) > 0.2) {
|
|
138
|
+
const u = new a.Vector3(n.point.x, l.y, n.point.z);
|
|
139
|
+
h.setPoints([l, u]), p.setPoints([u, n.point]);
|
|
140
140
|
} else {
|
|
141
|
-
let u = new
|
|
142
|
-
Math.abs(
|
|
141
|
+
let u = new a.Vector3();
|
|
142
|
+
Math.abs(n.point.x - l.x) < Math.abs(n.point.z - l.z) ? u = new a.Vector3(n.point.x, l.y, l.z) : u = new a.Vector3(l.x, l.y, n.point.z), h.setPoints([l, u]), p.setPoints([u, n.point]);
|
|
143
143
|
}
|
|
144
|
-
this.group.addIfNotExists(
|
|
144
|
+
this.group.addIfNotExists(h, p);
|
|
145
145
|
}
|
|
146
146
|
if (e.points.length >= 2) {
|
|
147
|
-
const
|
|
148
|
-
|
|
147
|
+
const l = [...e.points, n.point];
|
|
148
|
+
z(l) ? (o.setPoints(l), this.group.addIfNotExists(o)) : o.removeFromParent();
|
|
149
149
|
}
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
},
|
|
153
|
-
var
|
|
154
|
-
e == null || e.setPoints(e.points.slice(0, -1)),
|
|
155
|
-
},
|
|
156
|
-
this.pointSelector.off("intersectionUpdate",
|
|
150
|
+
}, f = (n) => {
|
|
151
|
+
n && (m(), e.setPoints([...e.points, n.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable());
|
|
152
|
+
}, M = () => {
|
|
153
|
+
var n, l;
|
|
154
|
+
e == null || e.setPoints(e.points.slice(0, -1)), m(), (l = (n = this.pointSelector.pointSelectorHelper) == null ? void 0 : n.magnifier) == null || l.render(), this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
|
|
155
|
+
}, g = () => {
|
|
156
|
+
this.pointSelector.off("intersectionUpdate", v), this.pointSelector.off("select", f), this.pointSelector.off("disable", g), this.off("undo", M), m(), e.points.length < 2 && e.removeFromParent(), e.__five_pano_index = this.five.panoIndex, this.currentMeasureMesh = null, this.listener.addClickListener(), this.listener.removeMeasureListener(), this.emit("measureEnd");
|
|
157
157
|
};
|
|
158
|
-
this.on("undo",
|
|
158
|
+
this.on("undo", M), this.pointSelector.on("intersectionUpdate", v), this.pointSelector.on("select", f), this.pointSelector.on("disable", g), this.pointSelector.enable();
|
|
159
159
|
});
|
|
160
160
|
/**
|
|
161
161
|
* @description 结束测量
|
|
162
162
|
*/
|
|
163
|
-
|
|
163
|
+
i(this, "endMeasure", () => {
|
|
164
164
|
this.pointSelector.disable();
|
|
165
165
|
});
|
|
166
166
|
/**
|
|
167
167
|
* @description 取消本次测量
|
|
168
168
|
*/
|
|
169
|
-
|
|
169
|
+
i(this, "cancel", () => {
|
|
170
170
|
var e;
|
|
171
171
|
(e = this.currentMeasureMesh) == null || e.removeFromParent(), this.pointSelector.disable();
|
|
172
172
|
});
|
|
173
173
|
/**
|
|
174
174
|
* @description 撤销上一步
|
|
175
175
|
*/
|
|
176
|
-
|
|
176
|
+
i(this, "undo", () => {
|
|
177
177
|
this.emit("undo");
|
|
178
178
|
});
|
|
179
179
|
/**
|
|
180
180
|
* @description 清空正在测量的内容
|
|
181
181
|
*/
|
|
182
|
-
|
|
182
|
+
i(this, "clearCurrentMeasure", () => {
|
|
183
183
|
var e;
|
|
184
184
|
(e = this.currentMeasureMesh) == null || e.removeFromParent(), this.currentMeasureMesh = null, this.pointSelector.disable();
|
|
185
185
|
});
|
|
186
186
|
/**
|
|
187
187
|
* @description 清空所有测量内容
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
i(this, "clear", () => {
|
|
190
190
|
this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.removeChildren(), this.cursor.removeDeleteButton();
|
|
191
191
|
});
|
|
192
|
-
|
|
192
|
+
i(this, "dispose", () => {
|
|
193
193
|
this.listener.removeMeasureListener(), this.listener.removeClickListener(), this.pointSelector.disable(), this.clear();
|
|
194
194
|
});
|
|
195
195
|
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
196
|
-
|
|
196
|
+
i(this, "listener", {
|
|
197
197
|
// 点击事件
|
|
198
198
|
addClickListener: () => {
|
|
199
199
|
this.group.children.forEach((e) => {
|
|
200
200
|
var t;
|
|
201
|
-
(t = e.line.doms) == null || t.forEach((
|
|
202
|
-
|
|
203
|
-
}), e.polygon.areaDom && (e.polygon.areaDom.container.onclick = (
|
|
201
|
+
(t = e.line.doms) == null || t.forEach((r) => {
|
|
202
|
+
r.container.onclick = (o) => this.onClick({ origDomEvent: o, target: e }), r.container.onmouseenter = () => this.onHover({ target: e }), r.container.onmouseleave = () => this.onUnHover({ target: e });
|
|
203
|
+
}), e.polygon.areaDom && (e.polygon.areaDom.container.onclick = (r) => this.onClick({ origDomEvent: r, target: e }), e.polygon.areaDom.container.onmouseenter = () => this.onHover({ target: e }), e.polygon.areaDom.container.onmouseleave = () => this.onUnHover({ target: e })), this.fiveDomEvents.addEventListener(e, "click", this.onClick), this.fiveDomEvents.addEventListener(e, "hover", this.onHover), this.fiveDomEvents.addEventListener(e, "unHover", this.onUnHover), this.five.on("panoArrived", this.onMoveToPano), d("delete, backspace", this.deleteSelectedMesh);
|
|
204
204
|
});
|
|
205
205
|
},
|
|
206
206
|
removeClickListener: () => {
|
|
207
|
-
this.
|
|
207
|
+
this.group.children.forEach((e) => {
|
|
208
|
+
var t, r;
|
|
209
|
+
(t = e.line.doms) == null || t.forEach((o) => {
|
|
210
|
+
o != null && o.container && (o.container.onclick = null, o.container.onmouseenter = null, o.container.onmouseleave = null);
|
|
211
|
+
}), (r = e.polygon.areaDom) != null && r.container && (e.polygon.areaDom.container.onclick = null, e.polygon.areaDom.container.onmouseenter = null, e.polygon.areaDom.container.onmouseleave = null);
|
|
212
|
+
}), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), d.unbind("delete, backspace");
|
|
208
213
|
},
|
|
209
214
|
// 绘制快捷键
|
|
210
215
|
addMeasureListener: () => {
|
|
211
|
-
|
|
216
|
+
d("ctrl+z, command+z", this.undo), d("esc", this.cancel), d("enter", this.endMeasure), this.five.on("mode.change", this.endMeasure), this.five.on("model.changeShownFloor", this.endMeasure);
|
|
212
217
|
},
|
|
213
218
|
removeMeasureListener: () => {
|
|
214
|
-
|
|
219
|
+
d.unbind("ctrl+z, command+z"), d.unbind("esc"), d.unbind("enter"), this.five.off("mode.change", this.endMeasure), this.five.off("model.changeShownFloor", this.endMeasure);
|
|
215
220
|
}
|
|
216
221
|
});
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
|
|
222
|
+
i(this, "onMoveToPano", (e) => {
|
|
223
|
+
const t = this.group.children.filter((o) => o !== this.currentMeasureMesh), r = new R();
|
|
224
|
+
t.forEach((o) => {
|
|
225
|
+
var p;
|
|
226
|
+
if (o.unselect(), o.__five_pano_index === e) {
|
|
227
|
+
o.visible = !0;
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
((p = o.line.points) == null ? void 0 : p.some((m) => {
|
|
231
|
+
var S, u;
|
|
232
|
+
const v = m.clone().sub(this.five.camera.position).normalize();
|
|
233
|
+
r.set(this.five.camera.position, v);
|
|
234
|
+
const f = (u = (S = this.five.model.intersectRaycaster(r, void 0, !0)) == null ? void 0 : S[0]) == null ? void 0 : u.point;
|
|
235
|
+
if (!f)
|
|
236
|
+
return !0;
|
|
237
|
+
const M = 0.01, g = m.distanceTo(this.five.camera.position);
|
|
238
|
+
return f.distanceTo(this.five.camera.position) + M > g;
|
|
239
|
+
})) ? o.visible = !0 : o.visible = !1, this.five.needsRender = !0;
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
i(this, "onClick", ({ origDomEvent: e, target: t }) => {
|
|
243
|
+
const r = t;
|
|
244
|
+
if (!r)
|
|
220
245
|
return;
|
|
221
|
-
let
|
|
222
|
-
if (e instanceof TouchEvent ? (
|
|
246
|
+
let o, h;
|
|
247
|
+
if (e instanceof TouchEvent ? (o = e.touches[0].clientX, h = e.touches[0].clientY) : e instanceof MouseEvent && (o = e.clientX, h = e.clientY), o === void 0 || h === void 0)
|
|
223
248
|
return;
|
|
224
|
-
this.group.children.forEach((
|
|
225
|
-
const
|
|
226
|
-
|
|
249
|
+
this.group.children.forEach((m) => m.unselect()), r.select();
|
|
250
|
+
const p = () => {
|
|
251
|
+
r.removeFromParent(), this.cursor.removeDeleteButton(), this.five.needsRender = !0, d.unbind("delete, backspace");
|
|
227
252
|
};
|
|
228
253
|
this.cursor.showDeleteButton({
|
|
229
|
-
clientX:
|
|
230
|
-
clientY:
|
|
254
|
+
clientX: o,
|
|
255
|
+
clientY: h,
|
|
231
256
|
container: this.five.getElement().parentElement,
|
|
232
|
-
onClick:
|
|
257
|
+
onClick: p
|
|
233
258
|
}), this.five.once("cameraUpdate", () => {
|
|
234
|
-
|
|
259
|
+
r.unselect(), this.cursor.removeDeleteButton();
|
|
235
260
|
});
|
|
236
261
|
});
|
|
237
|
-
|
|
238
|
-
if (
|
|
262
|
+
i(this, "onHover", ({ target: e }) => {
|
|
263
|
+
if (this.currentMeasureMesh)
|
|
239
264
|
return;
|
|
240
265
|
const t = e;
|
|
241
266
|
t && t.hover();
|
|
242
267
|
});
|
|
243
|
-
|
|
268
|
+
i(this, "onUnHover", ({ target: e }) => {
|
|
244
269
|
if (this.currentMeasureMesh)
|
|
245
270
|
return;
|
|
246
271
|
const t = e;
|
|
247
272
|
t && t.unhover();
|
|
248
273
|
});
|
|
249
|
-
|
|
274
|
+
i(this, "deleteSelectedMesh", () => {
|
|
250
275
|
this.group.children.filter((t) => t.selected).forEach((t) => t.removeFromParent()), this.five.needsRender = !0;
|
|
251
276
|
});
|
|
252
|
-
|
|
277
|
+
i(this, "updateSelectAdsorbedHelper", () => {
|
|
253
278
|
if (!this.currentMeasureMesh || this.currentMeasureMesh.points.length === 0) {
|
|
254
279
|
this.pointSelector.setAdherePoints(null), this.pointSelector.adhereLine = [], this.pointSelector.adherePlane = [];
|
|
255
280
|
return;
|
|
@@ -258,13 +283,13 @@ class ht extends H {
|
|
|
258
283
|
this.pointSelector.setAdherePoints([this.currentMeasureMesh.points[0]]);
|
|
259
284
|
const e = this.currentMeasureMesh.points.at(-1);
|
|
260
285
|
this.pointSelector.adhereLine = [
|
|
261
|
-
new
|
|
262
|
-
new
|
|
263
|
-
new
|
|
286
|
+
new a.Line3(new a.Vector3(1, 0, 0).add(e), new a.Vector3(-1, 0, 0).add(e)),
|
|
287
|
+
new a.Line3(new a.Vector3(0, 1, 0).add(e), new a.Vector3(0, -1, 0).add(e)),
|
|
288
|
+
new a.Line3(new a.Vector3(0, 0, 1).add(e), new a.Vector3(0, 0, -1).add(e))
|
|
264
289
|
], this.pointSelector.adherePlane = [];
|
|
265
290
|
}
|
|
266
291
|
if (this.currentMeasureMesh.points.length >= 3) {
|
|
267
|
-
const e = new
|
|
292
|
+
const e = new a.Plane().setFromCoplanarPoints(
|
|
268
293
|
this.currentMeasureMesh.points[0],
|
|
269
294
|
this.currentMeasureMesh.points[1],
|
|
270
295
|
this.currentMeasureMesh.points[2]
|
|
@@ -273,25 +298,25 @@ class ht extends H {
|
|
|
273
298
|
} else
|
|
274
299
|
this.pointSelector.adherePlane = [];
|
|
275
300
|
});
|
|
276
|
-
this.five = e, this.config = t != null ? t : { unit: "ft" }, this.group = new
|
|
301
|
+
this.five = e, this.config = t != null ? t : { unit: "ft" }, this.group = new I(), this.group.name = "MeasureGroup", this.five.scene.add(this.group);
|
|
277
302
|
}
|
|
278
303
|
get pointSelector() {
|
|
279
304
|
return this._pointSelector ? this._pointSelector : (this._pointSelector = new C(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
|
|
280
305
|
}
|
|
281
306
|
get fiveDomEvents() {
|
|
282
|
-
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new
|
|
307
|
+
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new x(this.five, { fiveModels: null }), this._fiveDomEvents);
|
|
283
308
|
}
|
|
284
309
|
get cursor() {
|
|
285
|
-
return this._cursor ? this._cursor : (this._cursor = new
|
|
310
|
+
return this._cursor ? this._cursor : (this._cursor = new A(), this._cursor);
|
|
286
311
|
}
|
|
287
312
|
get config() {
|
|
288
313
|
return this._config;
|
|
289
314
|
}
|
|
290
315
|
set config(e) {
|
|
291
|
-
var t,
|
|
292
|
-
this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, (
|
|
316
|
+
var t, r;
|
|
317
|
+
this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, (r = (t = this.group) == null ? void 0 : t.children) == null || r.forEach((o) => o.changeConfig({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle }));
|
|
293
318
|
}
|
|
294
319
|
}
|
|
295
320
|
export {
|
|
296
|
-
|
|
321
|
+
ct as MeasureController
|
|
297
322
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var k = Object.defineProperty;
|
|
2
2
|
var T = Object.getOwnPropertySymbols;
|
|
3
|
-
var P = Object.prototype.hasOwnProperty,
|
|
3
|
+
var P = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var b = (l, p, e) => p in l ? k(l, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[p] = e, E = (l, p) => {
|
|
5
5
|
for (var e in p || (p = {}))
|
|
6
6
|
P.call(p, e) && b(l, e, p[e]);
|
|
7
7
|
if (T)
|
|
8
8
|
for (var e of T(p))
|
|
9
|
-
|
|
9
|
+
S.call(p, e) && b(l, e, p[e]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
12
|
var h = (l, p, e) => (b(l, typeof p != "symbol" ? p + "" : p, e), e);
|
|
@@ -26,9 +26,9 @@ var w = (l, p, e) => new Promise((s, a) => {
|
|
|
26
26
|
}, o = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(i, n);
|
|
27
27
|
o((e = e.apply(l, p)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
29
|
+
import { Controller as D } from "../base/BasePluginWithData.js";
|
|
30
30
|
import * as d from "three";
|
|
31
|
-
import { ModelMakerBoxItem as
|
|
31
|
+
import { ModelMakerBoxItem as j } from "./item/boxItem.js";
|
|
32
32
|
import { PrismMesh as F } from "../Sculpt/Meshes/Prism.js";
|
|
33
33
|
import { anyPositionToVector3 as L } from "../shared-utils/positionToVector3.js";
|
|
34
34
|
import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
@@ -39,9 +39,9 @@ import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
|
39
39
|
import { waitFiveModelLoaded as H } from "../shared-utils/five/fiveModelLoad.js";
|
|
40
40
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
41
41
|
import "@realsee/five/line";
|
|
42
|
-
import { notNil as
|
|
42
|
+
import { notNil as g } from "../shared-utils/isNil.js";
|
|
43
43
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
44
|
-
import { boxVertex as
|
|
44
|
+
import { boxVertex as y } from "../shared-utils/three/boundingBox.js";
|
|
45
45
|
import "../vendor/animejs/lib/anime.es.js";
|
|
46
46
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
@@ -122,7 +122,7 @@ import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
|
122
122
|
import "../shared-utils/math/rad2Deg.js";
|
|
123
123
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
124
124
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
125
|
-
class
|
|
125
|
+
class St extends D {
|
|
126
126
|
constructor(e, s) {
|
|
127
127
|
var a, i;
|
|
128
128
|
super(e);
|
|
@@ -205,7 +205,7 @@ class Dt extends j {
|
|
|
205
205
|
var n;
|
|
206
206
|
if (i.type === "triangles") {
|
|
207
207
|
const o = new A();
|
|
208
|
-
|
|
208
|
+
g(i.id) && (o.uuid = i.id.toString()), o.setPoints(i.object_data.points), o.setStyle(s(i)), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
|
|
209
209
|
const t = new B({
|
|
210
210
|
five: this.five,
|
|
211
211
|
tagWrapper: this.tagWrapper,
|
|
@@ -217,10 +217,10 @@ class Dt extends j {
|
|
|
217
217
|
this.items.push(t);
|
|
218
218
|
} else if (i.type === "prism") {
|
|
219
219
|
const o = new F();
|
|
220
|
-
|
|
220
|
+
g(i.id) && (o.uuid = i.id.toString()), this.zFightingOffset += Q.Z_FIGHTING_OFFSET;
|
|
221
221
|
const t = i.object_data.points.map((m) => {
|
|
222
|
-
var
|
|
223
|
-
return [m[0], m[1] + ((
|
|
222
|
+
var v;
|
|
223
|
+
return [m[0], m[1] + ((v = i.object_data.fixedY) != null ? v : 0), m[2]];
|
|
224
224
|
});
|
|
225
225
|
t.push(t[0]);
|
|
226
226
|
const r = i.object_data.height + ((n = i.object_data.fixedHeight) != null ? n : 0) + this.zFightingOffset, c = L(t[0]).add(new d.Vector3().setY(r));
|
|
@@ -236,13 +236,13 @@ class Dt extends j {
|
|
|
236
236
|
this.items.push(u);
|
|
237
237
|
} else if (i.type === "box") {
|
|
238
238
|
const o = new F();
|
|
239
|
-
|
|
240
|
-
const { start: t, end: r, rotation: c = [0, 0, 0, 0] } = i.object_data, u = new d.Vector3().fromArray(t), m = new d.Vector3().fromArray(r),
|
|
239
|
+
g(i.id) && (o.uuid = i.id.toString());
|
|
240
|
+
const { start: t, end: r, rotation: c = [0, 0, 0, 0] } = i.object_data, u = new d.Vector3().fromArray(t), m = new d.Vector3().fromArray(r), v = new d.Euler().fromArray(c), R = new d.Quaternion().setFromEuler(v), M = R.clone().inverse(), _ = new d.Vector3().lerpVectors(u, m, 0.5), C = _.clone().negate(), x = u.clone().add(C).applyQuaternion(M), V = m.clone().add(C).applyQuaternion(M), f = new d.Box3(x.clone().max(V), x.clone().min(V));
|
|
241
241
|
o.setPoints({
|
|
242
|
-
points: [
|
|
243
|
-
heightPoint:
|
|
242
|
+
points: [y(f, 2), y(f, 3), y(f, 7), y(f, 6)],
|
|
243
|
+
heightPoint: y(f, 1)
|
|
244
244
|
}), o.position.copy(_), o.quaternion.copy(R), o.setStyle(s(i));
|
|
245
|
-
const W = new
|
|
245
|
+
const W = new j({
|
|
246
246
|
five: this.five,
|
|
247
247
|
tagWrapper: this.tagWrapper,
|
|
248
248
|
model: o,
|
|
@@ -256,7 +256,7 @@ class Dt extends j {
|
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
258
|
setState(e) {
|
|
259
|
-
|
|
259
|
+
g(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), g(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
260
260
|
}
|
|
261
261
|
getItemById(e) {
|
|
262
262
|
return this.items.find((s) => s.rawData.id === e);
|
|
@@ -296,5 +296,5 @@ class Dt extends j {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
export {
|
|
299
|
-
|
|
299
|
+
St as Controller
|
|
300
300
|
};
|