@realsee/dnalogel 3.64.26 → 3.64.28-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 +10 -0
- package/components/index.js +3 -3
- package/dist/ModelMakerPlugin/Controller.d.ts +39 -13
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +31 -14
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +13 -3
- package/dist/ModelMakerPlugin/item/polygonItem.d.ts +13 -3
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +12 -2
- package/dist/ModelMakerPlugin/typings/data.d.ts +78 -46
- package/dist/ModelMakerPlugin/typings/index.d.ts +5 -2
- package/dist/Sculpt/Meshes/LineWithDots.d.ts +15 -0
- package/dist/Sculpt/Meshes/Prism.d.ts +1 -1
- package/dist/index.cjs.js +59 -59
- package/dist/index.js +4172 -4094
- package/dist/index.umd.js +52 -52
- package/dist/shared-utils/tag.d.ts +1 -2
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +21 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- 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 +4 -4
- package/docs/classes/PanoTagPluginController.html +35 -35
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +16 -16
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- 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 +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +9 -9
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
- 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.BoxItemObjectData.html +12 -0
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +16 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItemData.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItemData.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItemData.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItemData.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +10 -0
- 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 +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- 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 +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- 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 +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- 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 +5 -5
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +11 -11
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- 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 +12 -7
- 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/ModelMakerPluginType.MarkerItem.html +1 -0
- package/docs/types/ModelMakerPluginType.ServerItemData.html +2 -0
- 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/ModelMakerPlugin/Controller.d.ts +39 -13
- package/libs/ModelMakerPlugin/Controller.js +228 -156
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +31 -14
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -4
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +13 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +4 -4
- package/libs/ModelMakerPlugin/item/polygonItem.d.ts +13 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -4
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +12 -2
- package/libs/ModelMakerPlugin/typings/data.d.ts +78 -46
- package/libs/ModelMakerPlugin/typings/index.d.ts +5 -2
- package/libs/Sculpt/Meshes/Line.js +1 -4
- package/libs/Sculpt/Meshes/LineWithDots.d.ts +15 -0
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +37 -34
- package/libs/Sculpt/Meshes/Prism.d.ts +1 -1
- package/libs/Sculpt/Meshes/Prism.js +9 -12
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +16 -8
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -2
- package/libs/shared-utils/tag.js +17 -16
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +4 -4
- package/package.json +16 -12
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -5
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -12
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -14
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var h = (o, e, i) => e in o ? p(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i;
|
|
3
3
|
var t = (o, e, i) => (h(o, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
|
-
import
|
|
4
|
+
import { Vector3 as l } from "three";
|
|
5
5
|
import { addIfNotExists as d } from "../../shared-utils/three/addIfNotExists.js";
|
|
6
6
|
import { Subscribe as n } from "../../shared-utils/Subscribe.js";
|
|
7
7
|
import { tag as a } from "../../shared-utils/tag.js";
|
|
@@ -67,7 +67,7 @@ import "../../shared-utils/five/getPosition.js";
|
|
|
67
67
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
68
68
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
69
69
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
70
|
-
class
|
|
70
|
+
class yi extends n {
|
|
71
71
|
constructor(i) {
|
|
72
72
|
var s, m;
|
|
73
73
|
super();
|
|
@@ -81,7 +81,7 @@ class Mi extends n {
|
|
|
81
81
|
t(this, "fiveDomEvents");
|
|
82
82
|
t(this, "disposers", []);
|
|
83
83
|
this.five = i.five, this.model = i.model, this.group = i.group, this.type = i.type, this.rawData = i.rawData, this.fiveDomEvents = i.fiveDomEvents;
|
|
84
|
-
const r = (m = (s = i.position) != null ? s : this.model.center) != null ? m : v(this.model).getCenter(new l
|
|
84
|
+
const r = (m = (s = i.position) != null ? s : this.model.center) != null ? m : v(this.model).getCenter(new l());
|
|
85
85
|
this.tag = a(this.five, r, { wrapper: i.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
|
|
86
86
|
}
|
|
87
87
|
get container() {
|
|
@@ -117,5 +117,5 @@ class Mi extends n {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
export {
|
|
120
|
-
|
|
120
|
+
yi as ModelMakerBaseItem
|
|
121
121
|
};
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { ModelMakerBaseItem } from './baseItem';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { ServerBoxItemData } from '../typings';
|
|
3
|
+
/**
|
|
4
|
+
* @description 模型标注的盒子类型标注的构造参数类型
|
|
5
|
+
*/
|
|
6
|
+
type ModelMakerBoxItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerBoxItemData>>;
|
|
7
|
+
/**
|
|
8
|
+
* @description 模型标注的盒子类型标注,即长方体
|
|
9
|
+
* @extends ModelMakerBaseItem
|
|
10
|
+
*/
|
|
11
|
+
export declare class ModelMakerBoxItem extends ModelMakerBaseItem<ServerBoxItemData> {
|
|
12
|
+
constructor(...args: ModelMakerBoxItemArgs);
|
|
4
13
|
enable(): void;
|
|
5
14
|
disable(): void;
|
|
6
15
|
show(): void;
|
|
16
|
+
updateVisible(): void;
|
|
7
17
|
protected onClick(): boolean;
|
|
8
18
|
private hideTag;
|
|
9
|
-
updateVisible(): void;
|
|
10
19
|
}
|
|
20
|
+
export {};
|
|
@@ -80,17 +80,17 @@ class Mi extends s {
|
|
|
80
80
|
super.enable(), this.five.on("mode.change.request", this.hideTag), this.five.on("pano.request", this.hideTag);
|
|
81
81
|
}
|
|
82
82
|
disable() {
|
|
83
|
-
super.disable(), this.five.off("mode.change.request", this.hideTag), this.five.off("pano.request", this.hideTag);
|
|
83
|
+
super.disable(), this.five.needsRender = !0, this.five.off("mode.change.request", this.hideTag), this.five.off("pano.request", this.hideTag);
|
|
84
84
|
}
|
|
85
85
|
show() {
|
|
86
86
|
super.show(), this.tag.hide();
|
|
87
87
|
}
|
|
88
|
-
onClick() {
|
|
89
|
-
return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
|
|
90
|
-
}
|
|
91
88
|
updateVisible() {
|
|
92
89
|
!this.visibles.some((e) => e === !1) ? this.model.visible = !0 : (this.tag.hide(), this.model.visible = !1), this.five.needsRender = !0;
|
|
93
90
|
}
|
|
91
|
+
onClick() {
|
|
92
|
+
return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
|
|
93
|
+
}
|
|
94
94
|
}
|
|
95
95
|
export {
|
|
96
96
|
Mi as ModelMakerBoxItem
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { ServerTrianglesItemData } from '../typings';
|
|
2
|
+
import { ModelMakerBaseItem } from './baseItem';
|
|
3
|
+
/**
|
|
4
|
+
* @description 模型标注的多边形类型标注的构造参数类型
|
|
5
|
+
*/
|
|
6
|
+
type ModelMakerPolygonItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerTrianglesItemData>>;
|
|
7
|
+
/**
|
|
8
|
+
* @description 模型标注的多边形类型标注,即多边形
|
|
9
|
+
* @extends ModelMakerBaseItem
|
|
10
|
+
*/
|
|
11
|
+
export declare class ModelMakerPolygonItem extends ModelMakerBaseItem<ServerTrianglesItemData> {
|
|
12
|
+
constructor(...args: ModelMakerPolygonItemArgs);
|
|
4
13
|
show(): void;
|
|
5
14
|
private onPanoArrived;
|
|
6
15
|
private onModeChange;
|
|
7
16
|
private updatePanoIndex;
|
|
8
17
|
private updateMode;
|
|
9
18
|
}
|
|
19
|
+
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
var e = Object.defineProperty;
|
|
2
2
|
var s = (o, i, t) => i in o ? e(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
|
|
3
3
|
var p = (o, i, t) => (s(o, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
|
-
import {
|
|
5
|
-
import "./baseItem.js";
|
|
4
|
+
import { ModelMakerBaseItem as a } from "./baseItem.js";
|
|
6
5
|
import "three";
|
|
7
6
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
8
7
|
import "../../shared-utils/Subscribe.js";
|
|
@@ -69,7 +68,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
69
68
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
70
69
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
71
70
|
import "../../shared-utils/three/boundingBox.js";
|
|
72
|
-
class
|
|
71
|
+
class Ct extends a {
|
|
73
72
|
constructor(...t) {
|
|
74
73
|
super(...t);
|
|
75
74
|
p(this, "onPanoArrived", (t) => {
|
|
@@ -94,5 +93,5 @@ class ct extends a {
|
|
|
94
93
|
}
|
|
95
94
|
}
|
|
96
95
|
export {
|
|
97
|
-
|
|
96
|
+
Ct as ModelMakerPolygonItem
|
|
98
97
|
};
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
import type { ServerPrismItemData } from '../typings';
|
|
1
2
|
import { ModelMakerBaseItem } from './baseItem';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @description 模型标注的棱柱类型标注的构造参数类型
|
|
5
|
+
*/
|
|
6
|
+
type ModelMakerPrismItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerPrismItemData>>;
|
|
7
|
+
/**
|
|
8
|
+
* @description 模型标注的棱柱类型标注
|
|
9
|
+
* @extends ModelMakerBaseItem
|
|
10
|
+
*/
|
|
11
|
+
export declare class ModelMakerPrismItem extends ModelMakerBaseItem<ServerPrismItemData> {
|
|
12
|
+
constructor(...args: ModelMakerPrismItemArgs);
|
|
4
13
|
onModelShownFloorChange: (fiveCurrentfloor: number | null) => void;
|
|
5
14
|
show(): void;
|
|
6
15
|
hide(): void;
|
|
7
16
|
private updateFiveCurrentFloorState;
|
|
8
17
|
}
|
|
18
|
+
export {};
|
|
@@ -1,56 +1,88 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @description box 所带的数据详细类型
|
|
3
|
+
*/
|
|
4
|
+
export interface BoxItemObjectData {
|
|
5
|
+
/** box 的其中一个顶点坐标 */
|
|
6
|
+
start: number[];
|
|
7
|
+
/** start 对角位置的顶点坐标 */
|
|
8
|
+
end: number[];
|
|
9
|
+
/** box 的欧拉角旋转,旋转顺序是 [XYZ] */
|
|
10
|
+
rotation?: number[];
|
|
11
|
+
/** 标注颜色 */
|
|
12
|
+
color?: string;
|
|
13
|
+
/** 透明度 */
|
|
14
|
+
opacity?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @description triangles 所带的数据详细类型
|
|
18
|
+
*/
|
|
19
|
+
export interface TrianglesItemObjectData {
|
|
20
|
+
/** 可见点位 */
|
|
21
|
+
panoIndex?: number;
|
|
22
|
+
/** 多边形的顶点坐标数组 */
|
|
23
|
+
points: number[][];
|
|
24
|
+
/** 标注颜色 */
|
|
25
|
+
color?: string;
|
|
26
|
+
/** 透明度 */
|
|
27
|
+
opacity?: number;
|
|
3
28
|
}
|
|
4
|
-
|
|
29
|
+
/**
|
|
30
|
+
* @description prism 所带的数据详细类型
|
|
31
|
+
*/
|
|
32
|
+
export interface PrismItemObjectData {
|
|
33
|
+
/** 绘制平面的三维世界坐标点数组 */
|
|
34
|
+
points: number[][];
|
|
35
|
+
/** 楼层高度 */
|
|
36
|
+
height: number;
|
|
37
|
+
/** 所在楼层 */
|
|
38
|
+
floorIndex?: number;
|
|
39
|
+
/** 人工设置的y坐标方向偏移 */
|
|
40
|
+
fixedY?: number;
|
|
41
|
+
/** 人工设置的高度修正 */
|
|
42
|
+
fixedHeight?: number;
|
|
43
|
+
/** 标注颜色 */
|
|
44
|
+
color?: string;
|
|
45
|
+
/** 透明度 */
|
|
46
|
+
opacity?: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @description 基础数据类型
|
|
50
|
+
*/
|
|
51
|
+
export interface ServerBaseItemData<TObjectData> {
|
|
5
52
|
/** 唯一标识 */
|
|
6
53
|
id?: number;
|
|
7
54
|
/** 标签名 */
|
|
8
55
|
name?: string;
|
|
56
|
+
/** 类型 */
|
|
57
|
+
type: 'box' | 'triangles' | 'prism';
|
|
58
|
+
/** 对象数据 */
|
|
59
|
+
object_data: TObjectData;
|
|
9
60
|
}
|
|
10
|
-
|
|
61
|
+
/**
|
|
62
|
+
* @description box 数据类型
|
|
63
|
+
*/
|
|
64
|
+
export interface ServerBoxItemData extends ServerBaseItemData<BoxItemObjectData> {
|
|
11
65
|
type: 'box';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/** box 的欧拉角旋转,旋转顺序是 [XYZ] */
|
|
18
|
-
rotation?: number[];
|
|
19
|
-
/** 标注颜色 */
|
|
20
|
-
color?: string;
|
|
21
|
-
/** 透明度 */
|
|
22
|
-
opacity?: number;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export interface ServerTrianglesItem extends ServerBaseItem {
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @description triangles 数据类型
|
|
69
|
+
*/
|
|
70
|
+
export interface ServerTrianglesItemData extends ServerBaseItemData<TrianglesItemObjectData> {
|
|
26
71
|
type: 'triangles';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/** 标注颜色 */
|
|
33
|
-
color?: string;
|
|
34
|
-
/** 透明度 */
|
|
35
|
-
opacity?: number;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export interface ServerPrismItem extends ServerBaseItem {
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @description prism 数据类型
|
|
75
|
+
*/
|
|
76
|
+
export interface ServerPrismItemData extends ServerBaseItemData<PrismItemObjectData> {
|
|
39
77
|
type: 'prism';
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
fixedHeight?: number;
|
|
51
|
-
/** 标注颜色 */
|
|
52
|
-
color?: string;
|
|
53
|
-
/** 透明度 */
|
|
54
|
-
opacity?: number;
|
|
55
|
-
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @description 所有 item 数据类型
|
|
81
|
+
*/
|
|
82
|
+
export type ServerItemData = ServerBoxItemData | ServerTrianglesItemData | ServerPrismItemData;
|
|
83
|
+
/**
|
|
84
|
+
* @description 服务端存储数据类型
|
|
85
|
+
*/
|
|
86
|
+
export interface ServerData {
|
|
87
|
+
list: ServerItemData[];
|
|
56
88
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type * as BasePlugin from '../../base/BasePluginWithData';
|
|
3
|
-
import type { ModelMakerBaseItem } from '../item/baseItem';
|
|
4
3
|
import type { ServerData } from './data';
|
|
4
|
+
import type { ModelMakerBoxItem } from '../item/boxItem';
|
|
5
|
+
import type { ModelMakerPolygonItem } from '../item/polygonItem';
|
|
6
|
+
import type { ModelMakerPrismItem } from '../item/prismItem';
|
|
5
7
|
export type { Controller as ModelMakerController } from '../Controller';
|
|
6
8
|
export type * from './data';
|
|
7
9
|
/** 插件状态 */
|
|
@@ -39,4 +41,5 @@ export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
|
|
|
39
41
|
}) => void;
|
|
40
42
|
}
|
|
41
43
|
export type ItemType = ServerData['list'][number]['type'];
|
|
42
|
-
export type
|
|
44
|
+
export type MarkerItem = ModelMakerBoxItem | ModelMakerPolygonItem | ModelMakerPrismItem;
|
|
45
|
+
export type ElementRenderer = (container: HTMLElement, item: MarkerItem, five?: Five) => () => void;
|
|
@@ -193,10 +193,7 @@ class fe extends V {
|
|
|
193
193
|
return i();
|
|
194
194
|
if (!this.five)
|
|
195
195
|
return console.error("Five not found");
|
|
196
|
-
const o = this.points.map((t, c) =>
|
|
197
|
-
if (c !== 0)
|
|
198
|
-
return [this.points[c - 1], t];
|
|
199
|
-
}).filter(d).map((t) => w(this, t));
|
|
196
|
+
const o = this.points.map((t, c) => c !== 0 ? [this.points[c - 1], t] : null).filter(d).map((t) => w(this, t));
|
|
200
197
|
o.forEach(([t, c], n) => {
|
|
201
198
|
var f;
|
|
202
199
|
const m = j(t, c);
|
|
@@ -10,7 +10,22 @@ type Style = LineMeshStyle & {
|
|
|
10
10
|
startPoint?: boolean;
|
|
11
11
|
endPoint?: boolean;
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* 点颜色
|
|
15
|
+
*/
|
|
13
16
|
pointColor?: Color;
|
|
17
|
+
/**
|
|
18
|
+
* 点透明度
|
|
19
|
+
*/
|
|
20
|
+
pointOpacity?: number;
|
|
21
|
+
/**
|
|
22
|
+
* 线颜色
|
|
23
|
+
*/
|
|
24
|
+
lineColor?: Color;
|
|
25
|
+
/**
|
|
26
|
+
* 线透明度
|
|
27
|
+
*/
|
|
28
|
+
lineOpacity?: number;
|
|
14
29
|
};
|
|
15
30
|
/**
|
|
16
31
|
* Represents a mesh that consists of a line with dots at the start and end points.
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = Object.defineProperty, f = Object.defineProperties;
|
|
2
2
|
var P = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var l = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var o = (
|
|
6
|
-
for (var
|
|
7
|
-
|
|
4
|
+
var d = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var o = (t, e, i) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, h = (t, e) => {
|
|
6
|
+
for (var i in e || (e = {}))
|
|
7
|
+
d.call(e, i) && o(t, i, e[i]);
|
|
8
8
|
if (l)
|
|
9
|
-
for (var
|
|
10
|
-
|
|
11
|
-
return i;
|
|
12
|
-
}, y = (i, e) => p(i, P(e));
|
|
13
|
-
var c = (i, e) => {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var s in i)
|
|
16
|
-
u.call(i, s) && e.indexOf(s) < 0 && (t[s] = i[s]);
|
|
17
|
-
if (i != null && l)
|
|
18
|
-
for (var s of l(i))
|
|
19
|
-
e.indexOf(s) < 0 && d.call(i, s) && (t[s] = i[s]);
|
|
9
|
+
for (var i of l(e))
|
|
10
|
+
c.call(e, i) && o(t, i, e[i]);
|
|
20
11
|
return t;
|
|
12
|
+
}, r = (t, e) => f(t, P(e));
|
|
13
|
+
var y = (t, e) => {
|
|
14
|
+
var i = {};
|
|
15
|
+
for (var s in t)
|
|
16
|
+
d.call(t, s) && e.indexOf(s) < 0 && (i[s] = t[s]);
|
|
17
|
+
if (t != null && l)
|
|
18
|
+
for (var s of l(t))
|
|
19
|
+
e.indexOf(s) < 0 && c.call(t, s) && (i[s] = t[s]);
|
|
20
|
+
return i;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var g = (t, e, i) => (o(t, typeof e != "symbol" ? e + "" : e, i), i);
|
|
23
23
|
import { PolylineMesh as W } from "./Polyline.js";
|
|
24
|
-
import { PolygonMesh as
|
|
25
|
-
import { intersectWithoutLine as
|
|
26
|
-
class
|
|
27
|
-
constructor(
|
|
28
|
-
const
|
|
24
|
+
import { PolygonMesh as S } from "./Polygon.js";
|
|
25
|
+
import { intersectWithoutLine as C } from "../../shared-utils/three/core/Raycaster.js";
|
|
26
|
+
class m extends S {
|
|
27
|
+
constructor(i) {
|
|
28
|
+
const u = i != null ? i : {}, { points: s } = u, n = y(u, ["points"]);
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
s && this.setPoints(s),
|
|
30
|
+
g(this, "name", "PolygonWithEdgeMesh");
|
|
31
|
+
g(this, "line", new W());
|
|
32
|
+
s && this.setPoints(s), n && this.setStyle(n);
|
|
33
33
|
}
|
|
34
34
|
get style() {
|
|
35
|
-
return
|
|
35
|
+
return r(h({}, super.style), {
|
|
36
36
|
lineWidth: this.lineWidth,
|
|
37
37
|
lineColor: this.lineColor
|
|
38
38
|
});
|
|
@@ -43,16 +43,19 @@ class w extends C {
|
|
|
43
43
|
get lineColor() {
|
|
44
44
|
return this.line.lineColor;
|
|
45
45
|
}
|
|
46
|
-
raycast(
|
|
47
|
-
return this.children.forEach((
|
|
48
|
-
|
|
46
|
+
raycast(i, s) {
|
|
47
|
+
return this.children.forEach((n) => {
|
|
48
|
+
C(n, i, s, !0);
|
|
49
49
|
}), !1;
|
|
50
50
|
}
|
|
51
|
-
setPoints(
|
|
52
|
-
super.setPoints(
|
|
51
|
+
setPoints(i, s) {
|
|
52
|
+
super.setPoints(i, h({ closed: !0 }, s)), this.points && (this.line.setPoints(this.points, h({ closed: !0 }, s)), this.addIfNotExists(this.line));
|
|
53
53
|
}
|
|
54
|
-
setStyle(
|
|
55
|
-
super.setStyle(
|
|
54
|
+
setStyle(i) {
|
|
55
|
+
super.setStyle(i), i.lineOpacity !== void 0 ? this.line.setStyle(r(h({}, i), {
|
|
56
|
+
// 强制设置line的lineOpacity
|
|
57
|
+
lineOpacity: i.lineOpacity
|
|
58
|
+
})) : this.line.setStyle(i), this.needsRender = !0;
|
|
56
59
|
}
|
|
57
60
|
highlight() {
|
|
58
61
|
super.highlight(), this.line.highlight();
|
|
@@ -62,5 +65,5 @@ class w extends C {
|
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
export {
|
|
65
|
-
|
|
68
|
+
m as PolygonWithEdgeMesh
|
|
66
69
|
};
|
|
@@ -45,10 +45,10 @@ export declare class PrismMesh extends IObject3D {
|
|
|
45
45
|
center: THREE.Vector3;
|
|
46
46
|
};
|
|
47
47
|
protected geometryInfoNeedUpdate: boolean;
|
|
48
|
+
private edgeMesh;
|
|
48
49
|
prismMesh: ColoredMesh & {
|
|
49
50
|
geometry: PrismGeometry;
|
|
50
51
|
};
|
|
51
|
-
private edgeMesh;
|
|
52
52
|
paramStyle: Partial<PrismStyle>;
|
|
53
53
|
constructor(params?: Partial<PrismData & PrismStyle>);
|
|
54
54
|
setStyle(params?: Partial<PrismStyle>): void;
|
|
@@ -16,8 +16,8 @@ import * as i from "three";
|
|
|
16
16
|
import { intersectWithoutLine as I } from "../../shared-utils/three/core/Raycaster.js";
|
|
17
17
|
import { ColoredMesh as A } from "../utils/three/ColoredMesh.js";
|
|
18
18
|
import { PrismGeometry as S } from "../../shared-utils/three/core/PrismGeometry.js";
|
|
19
|
-
import { triangleArea as
|
|
20
|
-
import { LineMesh as
|
|
19
|
+
import { triangleArea as v, triangleCenter as E } from "../../shared-utils/three/geometryUtil.js";
|
|
20
|
+
import { LineMesh as W } from "./Line.js";
|
|
21
21
|
import { LineGeometry as N } from "../../shared-utils/three/core/LineGeometry.js";
|
|
22
22
|
class H extends V {
|
|
23
23
|
constructor(e) {
|
|
@@ -25,8 +25,8 @@ class H extends V {
|
|
|
25
25
|
s(this, "name", "PrismMesh");
|
|
26
26
|
s(this, "_geometryInfoCache");
|
|
27
27
|
s(this, "geometryInfoNeedUpdate", !0);
|
|
28
|
+
s(this, "edgeMesh", new W());
|
|
28
29
|
s(this, "prismMesh", new A());
|
|
29
|
-
s(this, "edgeMesh", new v());
|
|
30
30
|
s(this, "paramStyle");
|
|
31
31
|
this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new S(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && this.setPoints(e), this.setStyle(e);
|
|
32
32
|
}
|
|
@@ -77,21 +77,18 @@ class H extends V {
|
|
|
77
77
|
this._geometryInfoCache = void 0;
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
const n = e.map((l, h) =>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
new i.Vector3().fromArray(e[h + 2])
|
|
86
|
-
];
|
|
87
|
-
}).filter(Boolean);
|
|
80
|
+
const n = e.map((l, h) => h >= e.length - 2 ? null : [
|
|
81
|
+
new i.Vector3().fromArray(e[0]),
|
|
82
|
+
new i.Vector3().fromArray(e[h + 1]),
|
|
83
|
+
new i.Vector3().fromArray(e[h + 2])
|
|
84
|
+
]).filter(Boolean);
|
|
88
85
|
if (n.length === 0) {
|
|
89
86
|
this._geometryInfoCache = void 0;
|
|
90
87
|
return;
|
|
91
88
|
}
|
|
92
89
|
let g = 0, m = new i.Vector3();
|
|
93
90
|
for (const [l, h, p] of n) {
|
|
94
|
-
const y =
|
|
91
|
+
const y = v(l, h, p), P = E(l, h, p, y);
|
|
95
92
|
g += y, m.add(P);
|
|
96
93
|
}
|
|
97
94
|
m = m.divideScalar(g);
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -82,14 +82,18 @@ function We(t) {
|
|
|
82
82
|
function ie(t) {
|
|
83
83
|
let e, i = (
|
|
84
84
|
/*roomNameOtherTypeEnable*/
|
|
85
|
-
(t[2]
|
|
86
|
-
t[4].roomType !== "100900000012" ? (
|
|
85
|
+
(t[2] ? (
|
|
87
86
|
/*room*/
|
|
88
87
|
t[4].name
|
|
89
88
|
) : (
|
|
90
89
|
/*room*/
|
|
91
|
-
t[4].
|
|
92
|
-
|
|
90
|
+
t[4].roomType === "100900000012" ? (
|
|
91
|
+
/*room*/
|
|
92
|
+
t[4].customizedName
|
|
93
|
+
) : (
|
|
94
|
+
/*room*/
|
|
95
|
+
t[4].name
|
|
96
|
+
)
|
|
93
97
|
)) + ""
|
|
94
98
|
), r;
|
|
95
99
|
return {
|
|
@@ -102,14 +106,18 @@ function ie(t) {
|
|
|
102
106
|
p(n, a) {
|
|
103
107
|
a[0] & /*roomNameOtherTypeEnable, room*/
|
|
104
108
|
20 && i !== (i = /*roomNameOtherTypeEnable*/
|
|
105
|
-
(n[2]
|
|
106
|
-
n[4].roomType !== "100900000012" ? (
|
|
109
|
+
(n[2] ? (
|
|
107
110
|
/*room*/
|
|
108
111
|
n[4].name
|
|
109
112
|
) : (
|
|
110
113
|
/*room*/
|
|
111
|
-
n[4].
|
|
112
|
-
|
|
114
|
+
n[4].roomType === "100900000012" ? (
|
|
115
|
+
/*room*/
|
|
116
|
+
n[4].customizedName
|
|
117
|
+
) : (
|
|
118
|
+
/*room*/
|
|
119
|
+
n[4].name
|
|
120
|
+
)
|
|
113
121
|
)) + "") && F(r, i);
|
|
114
122
|
},
|
|
115
123
|
d(n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.64.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.64.28-alpha.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import { type AnyPosition } from './positionToVector3';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
3
|
export declare class LightTag {
|
|
5
4
|
/**
|
|
6
5
|
* @description 单个标签 dom
|
|
@@ -18,7 +17,7 @@ export declare class LightTag {
|
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
19
|
visibles: boolean[];
|
|
21
|
-
get position():
|
|
20
|
+
get position(): import("three").Vector3;
|
|
22
21
|
/**
|
|
23
22
|
* @description 标签容器的父容器
|
|
24
23
|
* @default this.five.getElement()?.parentElement
|