@realsee/dnalogel 3.63.3 → 3.63.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MeasurePlugin/Controller.d.ts +10 -1
- package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +7 -2
- package/dist/Sculpt/typings/style.d.ts +1 -1
- package/dist/Sculpt/utils/unit.d.ts +2 -0
- package/dist/index.cjs.js +49 -49
- package/dist/index.js +2215 -2173
- package/dist/index.umd.js +47 -47
- 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 +2 -2
- 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 +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +5 -5
- 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 +5 -5
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +4 -4
- 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.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/GuideLinePluginType.RouteConfig.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/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/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/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/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/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/MeasurePlugin/Controller.d.ts +10 -1
- package/libs/MeasurePlugin/Controller.js +110 -88
- package/libs/MeasurePlugin/index.js +3 -2
- package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +7 -2
- package/libs/MeasurePlugin/utils/MeasureMesh.js +30 -16
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +4 -3
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +16 -15
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +12 -11
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +64 -63
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +27 -26
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -16
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +20 -19
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Line.js +75 -75
- package/libs/Sculpt/Meshes/Polygon.js +7 -11
- package/libs/Sculpt/typings/style.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +22 -21
- package/libs/Sculpt/utils/unit.d.ts +2 -0
- package/libs/Sculpt/utils/unit.js +14 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +146 -145
- package/libs/shared-utils/five/FiveDomEvents.js +3 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -234,6 +234,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
234
234
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
235
235
|
import "../shared-utils/three/core/Line2.js";
|
|
236
236
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
237
|
+
import "../Sculpt/utils/unit.js";
|
|
237
238
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
238
239
|
import "../shared-utils/isTouchDevice.js";
|
|
239
240
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -243,7 +244,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
|
|
|
243
244
|
import "../shared-utils/formatRad.js";
|
|
244
245
|
import "./Work.js";
|
|
245
246
|
import "./utils/coordinatesToVector.js";
|
|
246
|
-
class
|
|
247
|
+
class Rr extends G {
|
|
247
248
|
constructor(t, e) {
|
|
248
249
|
super(t, e);
|
|
249
250
|
k(this, "state", {
|
|
@@ -634,5 +635,5 @@ class _r extends G {
|
|
|
634
635
|
}
|
|
635
636
|
}
|
|
636
637
|
export {
|
|
637
|
-
|
|
638
|
+
Rr as default
|
|
638
639
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as ui } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -57,6 +57,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
57
57
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
58
58
|
import "../shared-utils/three/core/Line2.js";
|
|
59
59
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
60
|
+
import "../Sculpt/utils/unit.js";
|
|
60
61
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
61
62
|
import "../shared-utils/isTouchDevice.js";
|
|
62
63
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -215,13 +216,13 @@ import "./utils/sleep.js";
|
|
|
215
216
|
import "../shared-utils/five/fiveLoaded.js";
|
|
216
217
|
import "./BaseController.js";
|
|
217
218
|
import "./utils/getFiveStateOnCurve.js";
|
|
218
|
-
const
|
|
219
|
+
const ei = (o, r) => new t(o, r), li = (o, r) => new i(o, r);
|
|
219
220
|
export {
|
|
220
|
-
|
|
221
|
+
ei as CruisePlugin,
|
|
221
222
|
t as CruisePluginController,
|
|
222
|
-
|
|
223
|
+
ui as CruisePluginTypes,
|
|
223
224
|
i as MoveController,
|
|
224
|
-
|
|
225
|
+
li as MovePlugin,
|
|
225
226
|
t as WalkController,
|
|
226
|
-
|
|
227
|
+
ei as default
|
|
227
228
|
};
|
|
@@ -83,6 +83,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
83
83
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
84
84
|
import "../shared-utils/three/core/Line2.js";
|
|
85
85
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
86
|
+
import "../Sculpt/utils/unit.js";
|
|
86
87
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
87
88
|
import "../shared-utils/isTouchDevice.js";
|
|
88
89
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -91,7 +92,7 @@ import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
91
92
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
92
93
|
import "@realsee/five";
|
|
93
94
|
import "../shared-utils/isTruelyObject.js";
|
|
94
|
-
class
|
|
95
|
+
class Te extends M {
|
|
95
96
|
constructor(e, i) {
|
|
96
97
|
super(e);
|
|
97
98
|
// ==================== public properties ====================
|
|
@@ -322,5 +323,5 @@ class Ie extends M {
|
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
325
|
export {
|
|
325
|
-
|
|
326
|
+
Te as CurrentPanoImagePluginController
|
|
326
327
|
};
|
|
@@ -52,6 +52,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
52
52
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
53
53
|
import "../shared-utils/three/core/Line2.js";
|
|
54
54
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
55
|
+
import "../Sculpt/utils/unit.js";
|
|
55
56
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
56
57
|
import "../shared-utils/isTouchDevice.js";
|
|
57
58
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -64,8 +65,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
64
65
|
import "../shared-utils/equal.js";
|
|
65
66
|
import "../shared-utils/isTruelyObject.js";
|
|
66
67
|
import "../shared-utils/three/loadTexture.js";
|
|
67
|
-
const
|
|
68
|
+
const Ir = (r, o) => new t(r, o);
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
Ir as CurrentPanoImagePlugin,
|
|
71
|
+
Ir as default
|
|
71
72
|
};
|
|
@@ -85,6 +85,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
85
85
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
86
86
|
import "../shared-utils/three/core/Line2.js";
|
|
87
87
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
88
|
+
import "../Sculpt/utils/unit.js";
|
|
88
89
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
89
90
|
import "../shared-utils/isTouchDevice.js";
|
|
90
91
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -242,8 +243,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
242
243
|
import "../CruisePlugin/utils/safeCall.js";
|
|
243
244
|
import "../CruisePlugin/utils/sleep.js";
|
|
244
245
|
import "../shared-utils/five/fiveLoaded.js";
|
|
245
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
246
|
-
class
|
|
246
|
+
const b = "GuideLinePlugin", g = `${b}`, Co = (s) => `${g}--${s}`;
|
|
247
|
+
class Fo extends N {
|
|
247
248
|
constructor(t, i) {
|
|
248
249
|
super(t, i);
|
|
249
250
|
h(this, "name", b);
|
|
@@ -385,6 +386,6 @@ class Co extends N {
|
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
export {
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
Fo as default,
|
|
390
|
+
Co as pluginFlag
|
|
390
391
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as rr } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -66,6 +66,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
66
66
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
67
67
|
import "../shared-utils/three/core/Line2.js";
|
|
68
68
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
69
|
+
import "../Sculpt/utils/unit.js";
|
|
69
70
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
70
71
|
import "../shared-utils/isTouchDevice.js";
|
|
71
72
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -215,5 +216,5 @@ import "../CruisePlugin/utils/safeCall.js";
|
|
|
215
216
|
import "../CruisePlugin/utils/sleep.js";
|
|
216
217
|
import "../shared-utils/five/fiveLoaded.js";
|
|
217
218
|
export {
|
|
218
|
-
|
|
219
|
+
rr as GuideLineItem
|
|
219
220
|
};
|
|
@@ -19,7 +19,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
19
19
|
import "./Components/Tag.js";
|
|
20
20
|
import "./utils/index.js";
|
|
21
21
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
22
|
-
import { GuideLineModeItem as
|
|
22
|
+
import { GuideLineModeItem as Nm } from "./GuideLineModeItem/index.js";
|
|
23
23
|
import "../vendor/polyline-normals/index.js";
|
|
24
24
|
import "../vendor/polyline-miter-util/index.js";
|
|
25
25
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -68,6 +68,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
68
68
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
69
69
|
import "../shared-utils/three/core/Line2.js";
|
|
70
70
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
71
|
+
import "../Sculpt/utils/unit.js";
|
|
71
72
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
72
73
|
import "../shared-utils/isTouchDevice.js";
|
|
73
74
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -197,5 +198,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
|
|
|
197
198
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
198
199
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
199
200
|
export {
|
|
200
|
-
|
|
201
|
+
Nm as GuideLineModeItem
|
|
201
202
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as nr } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as ur } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -55,6 +55,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
55
55
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
56
56
|
import "../shared-utils/three/core/Line2.js";
|
|
57
57
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
58
|
+
import "../Sculpt/utils/unit.js";
|
|
58
59
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
59
60
|
import "../shared-utils/isTouchDevice.js";
|
|
60
61
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -214,10 +215,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
214
215
|
import "../shared-utils/nearlyEqual.js";
|
|
215
216
|
import "../CruisePlugin/Move.js";
|
|
216
217
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
217
|
-
const r = (i, o) => new t(i, o),
|
|
218
|
+
const r = (i, o) => new t(i, o), mr = r;
|
|
218
219
|
export {
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
nr as GuideLineItem,
|
|
221
|
+
ur as GuideLineModeItem,
|
|
221
222
|
r as GuideLinePlugin,
|
|
222
|
-
|
|
223
|
+
mr as default
|
|
223
224
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
+
import { PointSelector } from '../shared-utils';
|
|
2
3
|
import { type PolygonStyle } from '../Sculpt/Meshes/Polygon';
|
|
3
4
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
4
5
|
import type { LineMeshStyle } from '../Sculpt/typings';
|
|
@@ -12,7 +13,7 @@ export declare class MeasureController extends Subscribe<Event> {
|
|
|
12
13
|
private five;
|
|
13
14
|
private group;
|
|
14
15
|
private currentMeasureMesh?;
|
|
15
|
-
|
|
16
|
+
get pointSelector(): PointSelector;
|
|
16
17
|
private _pointSelector;
|
|
17
18
|
private get fiveDomEvents();
|
|
18
19
|
private _fiveDomEvents;
|
|
@@ -27,6 +28,10 @@ export declare class MeasureController extends Subscribe<Event> {
|
|
|
27
28
|
* @description 结束测量
|
|
28
29
|
*/
|
|
29
30
|
endMeasure: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* @description 取消本次测量
|
|
33
|
+
*/
|
|
34
|
+
cancel: () => void;
|
|
30
35
|
/**
|
|
31
36
|
* @description 撤销上一步
|
|
32
37
|
*/
|
|
@@ -36,7 +41,11 @@ export declare class MeasureController extends Subscribe<Event> {
|
|
|
36
41
|
*/
|
|
37
42
|
clear: () => void;
|
|
38
43
|
dispose: () => void;
|
|
44
|
+
private addEventListener;
|
|
45
|
+
private removeEventListener;
|
|
39
46
|
private onClick;
|
|
47
|
+
private onHover;
|
|
48
|
+
private onUnHover;
|
|
40
49
|
private updateSelectAdsorbedHelper;
|
|
41
50
|
}
|
|
42
51
|
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var y = Object.defineProperty,
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var D = Object.prototype.hasOwnProperty,
|
|
5
|
-
var
|
|
6
|
-
for (var e in
|
|
7
|
-
D.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
1
|
+
var y = Object.defineProperty, F = Object.defineProperties;
|
|
2
|
+
var _ = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var w = Object.getOwnPropertySymbols;
|
|
4
|
+
var D = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var f = (p, r, e) => r in p ? y(p, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[r] = e, d = (p, r) => {
|
|
6
|
+
for (var e in r || (r = {}))
|
|
7
|
+
D.call(r, e) && f(p, e, r[e]);
|
|
8
|
+
if (w)
|
|
9
|
+
for (var e of w(r))
|
|
10
|
+
L.call(r, e) && f(p, e, r[e]);
|
|
11
11
|
return p;
|
|
12
|
-
}, v = (p,
|
|
13
|
-
var
|
|
14
|
-
import * as
|
|
12
|
+
}, v = (p, r) => F(p, _(r));
|
|
13
|
+
var t = (p, r, e) => (f(p, typeof r != "symbol" ? r + "" : r, e), e);
|
|
14
|
+
import * as n from "three";
|
|
15
15
|
import "../shared-utils/tag.js";
|
|
16
16
|
import "../vendor/hammerjs/hammer.js";
|
|
17
|
-
import { Subscribe as
|
|
18
|
-
import { PointSelector as
|
|
17
|
+
import { Subscribe as H } from "../shared-utils/Subscribe.js";
|
|
18
|
+
import { PointSelector as V } from "../shared-utils/three/PointSelector/index.js";
|
|
19
19
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
21
|
import { IObject3D as U } from "../shared-utils/three/IObject3D.js";
|
|
@@ -23,16 +23,16 @@ 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 z } 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
|
|
29
|
+
import { MeasureMesh as x } from "./utils/MeasureMesh.js";
|
|
30
30
|
import { PointMesh as A } from "../Sculpt/Meshes/Point.js";
|
|
31
|
-
import { LineWithDotsMesh as
|
|
32
|
-
import { hotkeys as
|
|
33
|
-
import { PolygonMesh as
|
|
34
|
-
import { validatePolygon as
|
|
35
|
-
import { Cursor as
|
|
31
|
+
import { LineWithDotsMesh as M } from "../Sculpt/Meshes/LineWithDots.js";
|
|
32
|
+
import { hotkeys as u } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
33
|
+
import { PolygonMesh as k } from "../Sculpt/Meshes/Polygon.js";
|
|
34
|
+
import { validatePolygon as C } from "./utils/validatePolygon.js";
|
|
35
|
+
import { Cursor as T } from "../Sculpt/utils/Modules/Cursor.js";
|
|
36
36
|
import "../shared-utils/positionToVector3.js";
|
|
37
37
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
38
38
|
import "../shared-utils/five/getFiveModel.js";
|
|
@@ -70,6 +70,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
70
70
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
71
71
|
import "../shared-utils/three/core/Line2.js";
|
|
72
72
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
73
|
+
import "../Sculpt/utils/unit.js";
|
|
73
74
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
74
75
|
import "../shared-utils/isTouchDevice.js";
|
|
75
76
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -88,110 +89,131 @@ import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
|
88
89
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
89
90
|
import "../shared-utils/three/geometryUtil.js";
|
|
90
91
|
import "../shared-utils/three/vectorIsEqual.js";
|
|
91
|
-
const
|
|
92
|
+
const P = {
|
|
92
93
|
lengthEnable: !0,
|
|
93
94
|
occlusionVisibility: !0,
|
|
94
95
|
lengthUnit: "m"
|
|
95
|
-
},
|
|
96
|
+
}, I = {
|
|
96
97
|
lengthEnable: !0,
|
|
97
98
|
occlusionVisibility: !0,
|
|
98
99
|
opacity: 0.2,
|
|
99
100
|
lengthUnit: "m"
|
|
100
101
|
};
|
|
101
|
-
class mt extends
|
|
102
|
+
class mt extends H {
|
|
102
103
|
constructor(e) {
|
|
103
104
|
super();
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
t(this, "name", "MeasurePlugin");
|
|
106
|
+
t(this, "five");
|
|
107
|
+
t(this, "group");
|
|
108
|
+
t(this, "currentMeasureMesh");
|
|
109
|
+
t(this, "_pointSelector");
|
|
110
|
+
t(this, "_fiveDomEvents");
|
|
111
|
+
t(this, "_cursor");
|
|
111
112
|
/**
|
|
112
113
|
* @description 开始测量
|
|
113
114
|
*/
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
t(this, "measure", () => {
|
|
116
|
+
this.removeEventListener();
|
|
117
|
+
const e = new x();
|
|
116
118
|
this.currentMeasureMesh = e, this.updateSelectAdsorbedHelper();
|
|
117
|
-
const
|
|
119
|
+
const i = new A(), c = new M(v(d({}, P), { dashed: !0 })), h = new k(I), m = new M(v(d({}, P), { lineOpacity: 0.5, dashed: !0 })), l = new M(v(d({}, P), { lineOpacity: 0.5, dashed: !0 }));
|
|
118
120
|
this.group.add(e);
|
|
119
|
-
const
|
|
120
|
-
if (!
|
|
121
|
-
|
|
121
|
+
const S = (o) => {
|
|
122
|
+
if (!o) {
|
|
123
|
+
i.removeFromParent(), c.removeFromParent(), h.removeFromParent(), m.removeFromParent(), l.removeFromParent();
|
|
122
124
|
return;
|
|
123
125
|
}
|
|
124
|
-
if (e.points.length === 0 && (
|
|
125
|
-
if (
|
|
126
|
-
|
|
126
|
+
if (e.points.length === 0 && (i.parent === null && this.five.scene.add(i), i.position.copy(o.point)), e.points.length >= 1)
|
|
127
|
+
if (i.removeFromParent(), c.parent === null && this.five.scene.add(c), c.setPoints([e.points.at(-1), o.point]), o.isAdsorbed)
|
|
128
|
+
m.removeFromParent(), l.removeFromParent();
|
|
127
129
|
else {
|
|
128
130
|
const s = e.points.at(-1);
|
|
129
|
-
if (Math.abs(
|
|
130
|
-
const a = new
|
|
131
|
-
|
|
131
|
+
if (Math.abs(o.point.y - s.y) > 0.2) {
|
|
132
|
+
const a = new n.Vector3(o.point.x, s.y, o.point.z);
|
|
133
|
+
m.setPoints([s, a]), l.setPoints([a, o.point]);
|
|
132
134
|
} else {
|
|
133
|
-
let a = new
|
|
134
|
-
Math.abs(
|
|
135
|
+
let a = new n.Vector3();
|
|
136
|
+
Math.abs(o.point.x - s.x) < Math.abs(o.point.z - s.z) ? a = new n.Vector3(o.point.x, s.y, s.z) : a = new n.Vector3(s.x, s.y, o.point.z), m.setPoints([s, a]), l.setPoints([a, o.point]);
|
|
135
137
|
}
|
|
136
|
-
this.group.addIfNotExists(
|
|
138
|
+
this.group.addIfNotExists(m, l);
|
|
137
139
|
}
|
|
138
140
|
if (e.points.length >= 2) {
|
|
139
|
-
const s = [...e.points,
|
|
140
|
-
|
|
141
|
+
const s = [...e.points, o.point];
|
|
142
|
+
C(s) ? (h.setPoints(s), h.parent === null && this.five.scene.add(h)) : h.removeFromParent();
|
|
141
143
|
}
|
|
142
|
-
},
|
|
143
|
-
e.setPoints([...e.points,
|
|
144
|
-
},
|
|
145
|
-
this.pointSelector.off("intersectionUpdate",
|
|
144
|
+
}, g = (o) => {
|
|
145
|
+
e.setPoints([...e.points, o.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable();
|
|
146
|
+
}, E = () => {
|
|
147
|
+
this.pointSelector.off("intersectionUpdate", S), this.pointSelector.off("select", g), this.pointSelector.off("disable", E), i.removeFromParent(), c.removeFromParent(), h.removeFromParent(), m.removeFromParent(), l.removeFromParent(), e.points.length < 2 && e.removeFromParent(), this.currentMeasureMesh = null, this.addEventListener(), this.emit("measureEnd");
|
|
146
148
|
};
|
|
147
|
-
this.pointSelector.on("intersectionUpdate",
|
|
149
|
+
this.pointSelector.on("intersectionUpdate", S), this.pointSelector.on("select", g), this.pointSelector.on("disable", E), this.pointSelector.enable();
|
|
148
150
|
});
|
|
149
151
|
/**
|
|
150
152
|
* @description 结束测量
|
|
151
153
|
*/
|
|
152
|
-
|
|
153
|
-
this.pointSelector.disable()
|
|
154
|
+
t(this, "endMeasure", () => {
|
|
155
|
+
this.pointSelector.disable();
|
|
156
|
+
});
|
|
157
|
+
/**
|
|
158
|
+
* @description 取消本次测量
|
|
159
|
+
*/
|
|
160
|
+
t(this, "cancel", () => {
|
|
161
|
+
var e;
|
|
162
|
+
(e = this.currentMeasureMesh) == null || e.removeFromParent(), this.pointSelector.disable();
|
|
154
163
|
});
|
|
155
164
|
/**
|
|
156
165
|
* @description 撤销上一步
|
|
157
166
|
*/
|
|
158
|
-
|
|
167
|
+
t(this, "undo", () => {
|
|
159
168
|
var e;
|
|
160
169
|
(e = this.currentMeasureMesh) == null || e.setPoints(this.currentMeasureMesh.points.slice(0, -1)), this.pointSelector.emit("intersectionUpdate", this.pointSelector.position), this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
|
|
161
170
|
});
|
|
162
171
|
/**
|
|
163
172
|
* @description 清空所有测量内容
|
|
164
173
|
*/
|
|
165
|
-
|
|
174
|
+
t(this, "clear", () => {
|
|
166
175
|
this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.forEach((e) => e.removeFromParent());
|
|
167
176
|
});
|
|
168
|
-
|
|
169
|
-
|
|
177
|
+
t(this, "dispose", () => {
|
|
178
|
+
u.unbind("ctrl+z, command+z"), u.unbind("shift"), this.pointSelector.disable(), this.clear();
|
|
170
179
|
});
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
t(this, "addEventListener", () => {
|
|
181
|
+
this.group.children.forEach((e) => {
|
|
182
|
+
this.fiveDomEvents.addEventListener(e, "click", this.onClick), this.fiveDomEvents.addEventListener(e, "hover", this.onHover), this.fiveDomEvents.addEventListener(e, "unHover", this.onUnHover);
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
t(this, "removeEventListener", () => {
|
|
186
|
+
this.fiveDomEvents.clear();
|
|
187
|
+
});
|
|
188
|
+
t(this, "onClick", ({ origDomEvent: e, target: i }) => {
|
|
189
|
+
const c = i;
|
|
190
|
+
if (!c)
|
|
181
191
|
return;
|
|
182
|
-
|
|
183
|
-
this.group.children.forEach((
|
|
184
|
-
clientX:
|
|
185
|
-
clientY:
|
|
192
|
+
let h, m;
|
|
193
|
+
e instanceof TouchEvent ? (h = e.changedTouches[0].clientX, m = e.changedTouches[0].clientY) : e instanceof MouseEvent && (h = e.clientX, m = e.clientY), !(h === void 0 || m === void 0) && (this.group.children.forEach((l) => l.unselect()), c.select(), this.cursor.showDeleteButton({
|
|
194
|
+
clientX: h,
|
|
195
|
+
clientY: m,
|
|
186
196
|
container: this.five.getElement().parentElement,
|
|
187
197
|
onClick: () => {
|
|
188
|
-
|
|
198
|
+
c.removeFromParent(), this.five.needsRender = !0;
|
|
189
199
|
}
|
|
190
200
|
}), this.five.once("cameraUpdate", () => {
|
|
191
|
-
|
|
192
|
-
});
|
|
201
|
+
c.unselect(), this.cursor.removeDeleteButton();
|
|
202
|
+
}));
|
|
203
|
+
});
|
|
204
|
+
t(this, "onHover", ({ target: e }) => {
|
|
205
|
+
if (this.currentMeasureMesh)
|
|
206
|
+
return;
|
|
207
|
+
const i = e;
|
|
208
|
+
i && i.hover();
|
|
209
|
+
});
|
|
210
|
+
t(this, "onUnHover", ({ target: e }) => {
|
|
211
|
+
if (this.currentMeasureMesh)
|
|
212
|
+
return;
|
|
213
|
+
const i = e;
|
|
214
|
+
i && i.unhover();
|
|
193
215
|
});
|
|
194
|
-
|
|
216
|
+
t(this, "updateSelectAdsorbedHelper", () => {
|
|
195
217
|
if (!this.currentMeasureMesh || this.currentMeasureMesh.points.length === 0) {
|
|
196
218
|
this.pointSelector.setAdherePoints(null), this.pointSelector.adhereLine = [], this.pointSelector.adherePlane = [];
|
|
197
219
|
return;
|
|
@@ -200,13 +222,13 @@ class mt extends L {
|
|
|
200
222
|
this.pointSelector.setAdherePoints([this.currentMeasureMesh.points[0]]);
|
|
201
223
|
const e = this.currentMeasureMesh.points.at(-1);
|
|
202
224
|
this.pointSelector.adhereLine = [
|
|
203
|
-
new
|
|
204
|
-
new
|
|
205
|
-
new
|
|
225
|
+
new n.Line3(new n.Vector3(1, 0, 0).add(e), new n.Vector3(-1, 0, 0).add(e)),
|
|
226
|
+
new n.Line3(new n.Vector3(0, 1, 0).add(e), new n.Vector3(0, -1, 0).add(e)),
|
|
227
|
+
new n.Line3(new n.Vector3(0, 0, 1).add(e), new n.Vector3(0, 0, -1).add(e))
|
|
206
228
|
], this.pointSelector.adherePlane = [];
|
|
207
229
|
}
|
|
208
230
|
if (this.currentMeasureMesh.points.length >= 3) {
|
|
209
|
-
const e = new
|
|
231
|
+
const e = new n.Plane().setFromCoplanarPoints(
|
|
210
232
|
this.currentMeasureMesh.points[0],
|
|
211
233
|
this.currentMeasureMesh.points[1],
|
|
212
234
|
this.currentMeasureMesh.points[2]
|
|
@@ -215,20 +237,20 @@ class mt extends L {
|
|
|
215
237
|
} else
|
|
216
238
|
this.pointSelector.adherePlane = [];
|
|
217
239
|
});
|
|
218
|
-
this.five = e, this.group = new U(), this.five.scene.add(this.group),
|
|
240
|
+
this.five = e, this.group = new U(), this.five.scene.add(this.group), u("ctrl+z, command+z", this.undo), u("esc", this.cancel), u("enter", this.endMeasure);
|
|
219
241
|
}
|
|
220
242
|
get pointSelector() {
|
|
221
|
-
return this._pointSelector ? this._pointSelector : (this._pointSelector = new
|
|
243
|
+
return this._pointSelector ? this._pointSelector : (this._pointSelector = new V(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
|
|
222
244
|
}
|
|
223
245
|
get fiveDomEvents() {
|
|
224
|
-
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new
|
|
246
|
+
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new z(this.five), this._fiveDomEvents);
|
|
225
247
|
}
|
|
226
248
|
get cursor() {
|
|
227
|
-
return this._cursor ? this._cursor : (this._cursor = new
|
|
249
|
+
return this._cursor ? this._cursor : (this._cursor = new T(), this._cursor);
|
|
228
250
|
}
|
|
229
251
|
}
|
|
230
252
|
export {
|
|
231
253
|
mt as MeasureController,
|
|
232
|
-
|
|
233
|
-
|
|
254
|
+
P as lineStyle,
|
|
255
|
+
I as polygonStyle
|
|
234
256
|
};
|
|
@@ -51,6 +51,7 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
51
51
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
52
52
|
import "../shared-utils/three/core/Line2.js";
|
|
53
53
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
54
|
+
import "../Sculpt/utils/unit.js";
|
|
54
55
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
55
56
|
import "../shared-utils/isTouchDevice.js";
|
|
56
57
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -75,7 +76,7 @@ import "./utils/validatePolygon.js";
|
|
|
75
76
|
import "../shared-utils/three/vectorIsEqual.js";
|
|
76
77
|
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
77
78
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
78
|
-
const
|
|
79
|
+
const vr = (r) => new o(r);
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
+
vr as MeasurePlugin
|
|
81
82
|
};
|
|
@@ -5,10 +5,15 @@ export declare class MeasureMesh extends IObject3D {
|
|
|
5
5
|
readonly isMeasureMesh = true;
|
|
6
6
|
points: THREE.Vector3[];
|
|
7
7
|
isPolygon: boolean;
|
|
8
|
+
private selected;
|
|
8
9
|
private line;
|
|
9
10
|
private polygon;
|
|
10
11
|
constructor();
|
|
11
12
|
setPoints(points: THREE.Vector3[]): void;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
select(): void;
|
|
14
|
+
unselect(): void;
|
|
15
|
+
hover(): void;
|
|
16
|
+
unhover(): void;
|
|
17
|
+
private highlight;
|
|
18
|
+
private unhighlight;
|
|
14
19
|
}
|