@realsee/dnalogel 3.60.3 → 3.61.1-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 +4 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +4 -1
- package/dist/Sculpt/Objects/Box/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Circle/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Line/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Point/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Polygon/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Polyline/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Prism/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +2 -2
- package/dist/Sculpt/index.d.ts +17 -14
- package/dist/Sculpt/typings/style.d.ts +7 -0
- package/dist/Sculpt/utils/Modules/Global.d.ts +4 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.js +3609 -3561
- package/dist/index.umd.js +34 -34
- package/dist/shared-utils/three/PointSelector/index.d.ts +25 -0
- 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 +15 -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 +34 -34
- package/docs/classes/Sculpt.html +25 -25
- 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.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.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +17 -11
- 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/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.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 +8 -8
- 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 +9 -9
- 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.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 +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 +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- 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 +7 -7
- 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 +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- 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 +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.ActionIfNoModelUnderMouse.html +1 -1
- 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/ModelViewPlugin/Plugin.js +95 -90
- package/libs/Sculpt/Objects/Base/index.d.ts +4 -1
- package/libs/Sculpt/Objects/Base/index.js +27 -23
- package/libs/Sculpt/Objects/Box/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Box/index.js +46 -44
- package/libs/Sculpt/Objects/Circle/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Circle/index.js +57 -55
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Cylinder/index.js +31 -29
- package/libs/Sculpt/Objects/Line/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Line/index.js +42 -40
- package/libs/Sculpt/Objects/Point/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Point/index.js +45 -43
- package/libs/Sculpt/Objects/Polygon/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Polygon/index.js +74 -72
- package/libs/Sculpt/Objects/Polyline/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Polyline/index.js +36 -34
- package/libs/Sculpt/Objects/Prism/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Prism/index.js +54 -52
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +67 -66
- package/libs/Sculpt/index.d.ts +17 -14
- package/libs/Sculpt/index.js +76 -68
- package/libs/Sculpt/typings/style.d.ts +7 -0
- package/libs/Sculpt/utils/Modules/Global.d.ts +4 -0
- package/libs/Sculpt/utils/Modules/Global.js +24 -12
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +25 -0
- package/libs/shared-utils/three/PointSelector/index.js +32 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,7 @@ import type { BaseEditor } from './Editor';
|
|
|
4
4
|
import type { RequiredDeep } from 'type-fest';
|
|
5
5
|
import type { ImportDataToExportData } from '../../typings/utils.type';
|
|
6
6
|
import type * as THREE from 'three';
|
|
7
|
+
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
7
8
|
export interface BaseImportData {
|
|
8
9
|
/**
|
|
9
10
|
* @description: 唯一标识
|
|
@@ -66,7 +67,9 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
|
|
|
66
67
|
id: string;
|
|
67
68
|
type: string;
|
|
68
69
|
};
|
|
69
|
-
protected get
|
|
70
|
+
protected get currentPointSelector(): PointSelector;
|
|
71
|
+
protected set currentPointSelector(value: PointSelector);
|
|
72
|
+
private _currentPointSelector?;
|
|
70
73
|
constructor(data?: Partial<ImportData>, config?: Partial<Config>);
|
|
71
74
|
abstract setData(data: Partial<ImportData>): void;
|
|
72
75
|
on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
|
|
@@ -3,7 +3,7 @@ import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
|
3
3
|
import { BoxMeshEditor } from '../../Editors/BoxMeshEditor';
|
|
4
4
|
import { BoxMesh, type BoxData, type BoxStyle } from '../../Meshes/Box';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
|
-
import type { CreateLimitConfig, DrawMethodConfig } from '../../typings/style';
|
|
6
|
+
import type { CreateLimitConfig, CreateUtils, DrawMethodConfig } from '../../typings/style';
|
|
7
7
|
export interface BoxImportData extends BaseImportData, BoxData {
|
|
8
8
|
type: LiteralString<'Box'>;
|
|
9
9
|
style?: Partial<BoxStyle>;
|
|
@@ -29,6 +29,6 @@ export declare class Box extends BaseObject<BoxImportData> {
|
|
|
29
29
|
setData(data: Partial<BoxImportData>): void;
|
|
30
30
|
highlight(): void;
|
|
31
31
|
unhighlight(): void;
|
|
32
|
-
create(params?: Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig>): Promise<void>;
|
|
32
|
+
create(params?: Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig & CreateUtils>): Promise<void>;
|
|
33
33
|
}
|
|
34
34
|
export declare function createBox(boxMesh: BoxMesh, pointSelector: PointSelector, config?: Partial<CreateLimitConfig & DrawMethodConfig>): Promise<void>;
|
|
@@ -4,6 +4,7 @@ import { CircleMeshEditor } from '../../Editors/CircleMeshEditor';
|
|
|
4
4
|
import type { CircleData, CircleMesh } from '../../Meshes/Circle';
|
|
5
5
|
import { CircleWithEdgeMesh, type CircleWithEdgeMeshStyle } from '../../Meshes/CircleWithEdge';
|
|
6
6
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
7
|
+
import type { CreateUtils } from '../../typings/style';
|
|
7
8
|
export interface CircleImportData extends BaseImportData, CircleData {
|
|
8
9
|
type: LiteralString<'Circle'>;
|
|
9
10
|
style?: Partial<CircleWithEdgeMeshStyle>;
|
|
@@ -27,6 +28,6 @@ export declare class Circle extends BaseObject<CircleImportData> {
|
|
|
27
28
|
setData(data: Partial<CircleImportData>): void;
|
|
28
29
|
highlight(): void;
|
|
29
30
|
unhighlight(): void;
|
|
30
|
-
create(params?: Partial<CircleWithEdgeMeshStyle>): Promise<void>;
|
|
31
|
+
create(params?: Partial<CircleWithEdgeMeshStyle & CreateUtils>): Promise<void>;
|
|
31
32
|
}
|
|
32
33
|
export declare function createCircle(circleMesh: CircleMesh, pointSelector: PointSelector): Promise<void>;
|
|
@@ -4,6 +4,7 @@ import { CylinderMesh, type CylinderData } from '../../Meshes/Cylinder';
|
|
|
4
4
|
import { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
6
|
import { CylinderMeshEditor } from '../../Editors/CylinderMeshEditor';
|
|
7
|
+
import type { CreateUtils } from '../../typings/style';
|
|
7
8
|
type CylinderStyle = CircleStyle;
|
|
8
9
|
export interface CylinderImportData extends BaseImportData, CylinderData {
|
|
9
10
|
type: LiteralString<'Cylinder'>;
|
|
@@ -28,7 +29,7 @@ export declare class Cylinder extends BaseObject<CylinderImportData> {
|
|
|
28
29
|
setData(data: Partial<CylinderImportData>): void;
|
|
29
30
|
highlight(): void;
|
|
30
31
|
unhighlight(): void;
|
|
31
|
-
create(params?: Partial<CylinderStyle>): Promise<void>;
|
|
32
|
+
create(params?: Partial<CylinderStyle & CreateUtils>): Promise<void>;
|
|
32
33
|
}
|
|
33
34
|
export declare function createCylinder(cylinderMesh: CylinderMesh, pointSelector: PointSelector): Promise<void>;
|
|
34
35
|
export {};
|
|
@@ -3,7 +3,7 @@ import { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base'
|
|
|
3
3
|
import { LineEditor } from './Editor';
|
|
4
4
|
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
|
-
import type { CreateLimitConfig } from '../../typings/style';
|
|
6
|
+
import type { CreateLimitConfig, CreateUtils } from '../../typings/style';
|
|
7
7
|
import { LineWithDotsMesh } from '../../Meshes/LineWithDots';
|
|
8
8
|
export interface LineImportData extends BaseImportData, LineData {
|
|
9
9
|
type: LiteralString<'Line'>;
|
|
@@ -33,7 +33,7 @@ export declare class Line extends BaseObject<LineImportData> {
|
|
|
33
33
|
canRedo(): void;
|
|
34
34
|
undo(): void;
|
|
35
35
|
redo(): void;
|
|
36
|
-
create(params?: Partial<LineMeshStyle & CreateLimitConfig>): Promise<void>;
|
|
36
|
+
create(params?: Partial<LineMeshStyle & CreateLimitConfig & CreateUtils>): Promise<void>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* @description 绘制线段
|
|
@@ -3,6 +3,7 @@ import { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base'
|
|
|
3
3
|
import { PointEditor } from './Editor';
|
|
4
4
|
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
|
+
import type { CreateUtils } from '../../typings/style';
|
|
6
7
|
export interface PointImportData extends BaseImportData, PointData {
|
|
7
8
|
type: LiteralString<'Point'>;
|
|
8
9
|
style?: Partial<PointStyle>;
|
|
@@ -34,6 +35,6 @@ export declare class Point extends BaseObject<PointImportData> {
|
|
|
34
35
|
/**
|
|
35
36
|
* @description: 创建点
|
|
36
37
|
*/
|
|
37
|
-
create(params?: Partial<PointStyle>): Promise<void>;
|
|
38
|
+
create(params?: Partial<PointStyle & CreateUtils>): Promise<void>;
|
|
38
39
|
}
|
|
39
40
|
export declare function createPoint(pointMesh: PointMesh, pointSelector: PointSelector): Promise<void>;
|
|
@@ -4,7 +4,7 @@ import { PolygonEditor } from './Editor';
|
|
|
4
4
|
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
6
|
import type { PolygonData, PolygonStyle } from '../../Meshes/Polygon';
|
|
7
|
-
import type { CreateLimitConfig } from '../../typings/style';
|
|
7
|
+
import type { CreateLimitConfig, CreateUtils } from '../../typings/style';
|
|
8
8
|
export interface PolygonImportData extends BaseImportData, PolygonData {
|
|
9
9
|
type: LiteralString<'Polygon'>;
|
|
10
10
|
style?: Partial<AreaStyle>;
|
|
@@ -33,7 +33,7 @@ export declare class Polygon extends BaseObject<PolygonImportData> {
|
|
|
33
33
|
canRedo(): void;
|
|
34
34
|
undo(): void;
|
|
35
35
|
redo(): void;
|
|
36
|
-
create(params?: Partial<PolygonStyle & CreateLimitConfig>): Promise<void>;
|
|
36
|
+
create(params?: Partial<PolygonStyle & CreateLimitConfig & CreateUtils>): Promise<void>;
|
|
37
37
|
}
|
|
38
38
|
export declare function createPolygon(areaMesh: AreaMesh, pointSelector: PointSelector, config?: Partial<CreateLimitConfig>): {
|
|
39
39
|
finished: Promise<void>;
|
|
@@ -3,7 +3,7 @@ import { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base'
|
|
|
3
3
|
import { PolylineEditor } from './Editor';
|
|
4
4
|
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
|
-
import type { CreateLimitConfig } from '../../typings/style';
|
|
6
|
+
import type { CreateLimitConfig, CreateUtils } from '../../typings/style';
|
|
7
7
|
export interface PolylineImportData extends BaseImportData, PolylineData {
|
|
8
8
|
type: LiteralString<'Polyline'>;
|
|
9
9
|
style?: Partial<PolylineStyle>;
|
|
@@ -32,7 +32,7 @@ export declare class Polyline extends BaseObject<PolylineImportData> {
|
|
|
32
32
|
canRedo(): void;
|
|
33
33
|
undo(): void;
|
|
34
34
|
redo(): void;
|
|
35
|
-
create(params?: Partial<PolylineStyle & CreateLimitConfig>): Promise<void>;
|
|
35
|
+
create(params?: Partial<PolylineStyle & CreateLimitConfig & CreateUtils>): Promise<void>;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* @description 绘制折线
|
|
@@ -3,6 +3,7 @@ import { PrismMesh, type PrismData, type PrismStyle } from '../../Meshes/Prism';
|
|
|
3
3
|
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
4
4
|
import { PrismMeshEditor } from '../../Editors/PrismMeshEditor';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
|
+
import type { CreateUtils } from '../../typings/style';
|
|
6
7
|
export interface PrismImportData extends BaseImportData, PrismData {
|
|
7
8
|
type: LiteralString<'Prism'>;
|
|
8
9
|
style?: Partial<PrismStyle>;
|
|
@@ -27,6 +28,6 @@ export declare class Prism extends BaseObject<PrismImportData> {
|
|
|
27
28
|
setData(data: Partial<PrismImportData>): void;
|
|
28
29
|
highlight(): void;
|
|
29
30
|
unhighlight(): void;
|
|
30
|
-
create(params?: Partial<PrismStyle>): Promise<void>;
|
|
31
|
+
create(params?: Partial<PrismStyle & CreateUtils>): Promise<void>;
|
|
31
32
|
}
|
|
32
33
|
export declare function createPrism(prismMesh: PrismMesh, pointSelector: PointSelector): Promise<void>;
|
|
@@ -4,7 +4,7 @@ import { RectangleMeshEditor } from '../../Editors/RectangleMeshEditor';
|
|
|
4
4
|
import type { RectangleData, RectangleMesh } from '../../Meshes/Rectangle';
|
|
5
5
|
import { RectangleWithEdgeMesh, type RectangleWithEdgeMeshStyle } from '../../Meshes/RectangleWithEdge';
|
|
6
6
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
7
|
-
import type { DrawMethodConfig, CreateLimitConfig } from '../../typings/style';
|
|
7
|
+
import type { DrawMethodConfig, CreateLimitConfig, CreateUtils } from '../../typings/style';
|
|
8
8
|
export interface RectangleImportData extends BaseImportData, RectangleData {
|
|
9
9
|
type: LiteralString<'Rectangle'>;
|
|
10
10
|
style?: Partial<RectangleWithEdgeMeshStyle>;
|
|
@@ -29,7 +29,7 @@ export declare class Rectangle extends BaseObject<RectangleImportData> {
|
|
|
29
29
|
setData(data: Partial<RectangleImportData>): void;
|
|
30
30
|
highlight(): void;
|
|
31
31
|
unhighlight(): void;
|
|
32
|
-
create(
|
|
32
|
+
create(params?: Partial<RectangleWithEdgeMeshStyle & CreateLimitConfig & DrawMethodConfig & CreateUtils>): Promise<void>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* @description 创建矩形
|
package/dist/Sculpt/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type * as THREE from 'three';
|
|
3
3
|
import type { BaseObjectConfig } from './Objects/Base';
|
|
4
4
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
5
|
-
import {
|
|
5
|
+
import { PointSelector } from '../shared-utils';
|
|
6
6
|
import { Polyline } from './Objects/Polyline';
|
|
7
7
|
import { Point } from './Objects/Point';
|
|
8
8
|
import { Polygon } from './Objects/Polygon';
|
|
@@ -39,14 +39,14 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
39
39
|
static modules: {
|
|
40
40
|
five: Five;
|
|
41
41
|
_cursor?: import("./utils/Modules/Cursor").Cursor;
|
|
42
|
-
_pointSelector?:
|
|
42
|
+
_pointSelector?: PointSelector;
|
|
43
43
|
_fiveDomEvents?: import("../shared-utils").FiveDomEvents;
|
|
44
44
|
_object3DHelper?: import("..").Object3DHelperController;
|
|
45
45
|
inited: boolean;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
cursor: import("./utils/Modules/Cursor").Cursor;
|
|
47
|
+
pointSelector: PointSelector;
|
|
48
|
+
fiveDomEvents: import("../shared-utils").FiveDomEvents;
|
|
49
|
+
object3DHelper: import("..").Object3DHelperController;
|
|
50
50
|
init: (five: Five) => void;
|
|
51
51
|
};
|
|
52
52
|
get data(): {
|
|
@@ -71,7 +71,12 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
71
71
|
points: [number, number, number][];
|
|
72
72
|
style: {
|
|
73
73
|
color: number;
|
|
74
|
-
lineColor: number;
|
|
74
|
+
lineColor: number; /**
|
|
75
|
+
* @description: 点击事件
|
|
76
|
+
* @param {MouseEvent} e 鼠标事件
|
|
77
|
+
* @param {BuiltInItem} item 点击的物体
|
|
78
|
+
* 返回 false 来禁用 Five 默认行为
|
|
79
|
+
*/
|
|
75
80
|
lineWidth: number;
|
|
76
81
|
};
|
|
77
82
|
id: string;
|
|
@@ -80,12 +85,7 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
80
85
|
readonly points: [number, number, number][];
|
|
81
86
|
readonly heightPoint: [number, number, number];
|
|
82
87
|
readonly style: {
|
|
83
|
-
readonly color: number;
|
|
84
|
-
* @description: 点击事件
|
|
85
|
-
* @param {MouseEvent} e 鼠标事件
|
|
86
|
-
* @param {BuiltInItem} item 点击的物体
|
|
87
|
-
* 返回 false 来禁用 Five 默认行为
|
|
88
|
-
*/
|
|
88
|
+
readonly color: number;
|
|
89
89
|
readonly lineWidth: number;
|
|
90
90
|
readonly lineColor: number;
|
|
91
91
|
};
|
|
@@ -111,10 +111,13 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
111
111
|
type: string;
|
|
112
112
|
})[];
|
|
113
113
|
};
|
|
114
|
-
group: IObject3D;
|
|
115
114
|
theme: Theme;
|
|
116
115
|
get items(): BuiltInItem[];
|
|
116
|
+
get pointSelector(): PointSelector;
|
|
117
|
+
set pointSelector(pointSelector: PointSelector);
|
|
118
|
+
private _pointSelector?;
|
|
117
119
|
private five;
|
|
120
|
+
private group;
|
|
118
121
|
private creatingItem;
|
|
119
122
|
constructor(five: Five, theme?: Theme);
|
|
120
123
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as THREE from 'three';
|
|
2
|
+
import type { PointSelector } from '../../shared-utils';
|
|
2
3
|
export type Color = THREE.Color | string | number;
|
|
3
4
|
export declare const DEFAULT_COLOR = 16777215;
|
|
4
5
|
export declare const DEFAULT_LINE_COLOR = 16777215;
|
|
@@ -79,4 +80,10 @@ export type DisplayInfoConfig = {
|
|
|
79
80
|
*/
|
|
80
81
|
tip: string;
|
|
81
82
|
};
|
|
83
|
+
export type CreateUtils = {
|
|
84
|
+
/**
|
|
85
|
+
* @description 选点工具
|
|
86
|
+
*/
|
|
87
|
+
pointSelector: PointSelector;
|
|
88
|
+
};
|
|
82
89
|
export type LineStyle = LineColorStyle & LineOpacityStyle & LineWidthStyle;
|
|
@@ -11,9 +11,13 @@ declare class GlobalModules {
|
|
|
11
11
|
_object3DHelper?: Object3DHelperController;
|
|
12
12
|
inited: boolean;
|
|
13
13
|
get cursor(): Cursor;
|
|
14
|
+
set cursor(value: Cursor);
|
|
14
15
|
get pointSelector(): PointSelector;
|
|
16
|
+
set pointSelector(value: PointSelector);
|
|
15
17
|
get fiveDomEvents(): FiveDomEvents;
|
|
18
|
+
set fiveDomEvents(value: FiveDomEvents);
|
|
16
19
|
get object3DHelper(): Object3DHelperController;
|
|
20
|
+
set object3DHelper(value: Object3DHelperController);
|
|
17
21
|
init: (five: Five) => void;
|
|
18
22
|
}
|
|
19
23
|
declare const globalModules: GlobalModules;
|