@realsee/dnalogel 3.25.1 → 3.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Sculpt/Objects/Base/index.d.ts +6 -0
- package/dist/Sculpt/index.d.ts +10 -34
- package/dist/Sculpt/typings/index.d.ts +20 -0
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +1386 -1386
- package/dist/index.umd.js +31 -31
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +4 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +4 -3
- package/docs/classes/CSS3DRender.html +4 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +4 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +4 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +4 -3
- package/docs/classes/ModelRoomLabelController.html +4 -3
- package/docs/classes/MoveController.html +4 -3
- package/docs/classes/Object3DHelperController.html +4 -3
- package/docs/classes/PaintBrush.html +4 -3
- package/docs/classes/PanoMeasurePluginLine.html +4 -3
- package/docs/classes/PanoMeasurePluginModel.html +4 -3
- package/docs/classes/PanoMeasurePluginPoint.html +4 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -3
- package/docs/classes/PanoTagPluginController.html +4 -3
- package/docs/classes/Sculpt.html +40 -39
- package/docs/classes/Util.BetterTween.html +4 -3
- package/docs/classes/Util.Interval.html +4 -3
- package/docs/classes/Util.LineSegments.html +4 -3
- package/docs/classes/Util.Magnifier.html +4 -3
- package/docs/classes/Util.Object3D.html +4 -3
- package/docs/classes/Util.PointDomHelper.html +4 -3
- package/docs/classes/Util.PointHelper.html +4 -3
- package/docs/classes/Util.PointSelectorHelper.html +4 -3
- package/docs/classes/Util.Rectangle.html +4 -3
- package/docs/classes/WalkController.html +10 -9
- package/docs/enums/CameraMovementEffect.html +4 -3
- package/docs/enums/ContentType.html +4 -3
- package/docs/enums/DIRECTION.html +4 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -3
- package/docs/enums/DimensionType.html +4 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -3
- package/docs/enums/PaintBrushTypeEnum.html +4 -3
- package/docs/enums/PointType.html +4 -3
- package/docs/enums/Rotation.html +4 -3
- package/docs/functions/AreaMakerPlugin.html +4 -3
- package/docs/functions/CSS3DRenderPlugin.html +4 -3
- package/docs/functions/CameraMovementPlugin.html +4 -3
- package/docs/functions/CruisePlugin.html +4 -3
- package/docs/functions/CurrentPanoImagePlugin.html +4 -3
- package/docs/functions/GuideLinePlugin.html +4 -3
- package/docs/functions/ItemLabelPlugin.html +4 -3
- package/docs/functions/MapviewFloorplanPlugin.html +4 -3
- package/docs/functions/ModelChassisCompassPlugin.html +4 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -3
- package/docs/functions/ModelFloorplanPlugin.html +4 -3
- package/docs/functions/ModelItemLabelPlugin.html +4 -3
- package/docs/functions/ModelMakerPlugin.html +4 -3
- package/docs/functions/ModelRoomLabelPlugin.html +4 -3
- package/docs/functions/ModelTVVideoPlugin.html +4 -3
- package/docs/functions/ModelViewPlugin.html +4 -3
- package/docs/functions/MovePlugin.html +4 -3
- package/docs/functions/Object3DHelperPlugin.html +4 -3
- package/docs/functions/PanoCompassPlugin.html +4 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -3
- package/docs/functions/PanoDoorLabelPlugin.html +4 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -3
- package/docs/functions/PanoMeasurePlugin.html +4 -3
- package/docs/functions/PanoRulerPlugin.html +4 -3
- package/docs/functions/PanoRulerProPlugin.html +4 -3
- package/docs/functions/PanoSpatialTagPlugin.html +4 -3
- package/docs/functions/PanoTagPlugin.html +4 -3
- package/docs/functions/PanoVideoPlugin.html +4 -3
- package/docs/functions/PipelinePlugin.html +4 -3
- package/docs/functions/SculptPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -3
- package/docs/functions/Util.absoluteUrl.html +4 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -3
- package/docs/functions/Util.equal.html +4 -3
- package/docs/functions/Util.getCoordsFromClient.html +4 -3
- package/docs/functions/Util.getCoordsFromElement.html +4 -3
- package/docs/functions/Util.getFrameTime.html +4 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -3
- package/docs/functions/Util.isAbsoluteURL.html +4 -3
- package/docs/functions/Util.isModelLike.html +4 -3
- package/docs/functions/Util.isNil.html +4 -3
- package/docs/functions/Util.isPanoramaLike.html +4 -3
- package/docs/functions/Util.nextFrame.html +4 -3
- package/docs/functions/Util.notNil.html +4 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -3
- package/docs/functions/Util.tweenProgress.html +4 -3
- package/docs/functions/Util.uuid.html +4 -3
- package/docs/functions/pluginFlag.html +4 -3
- package/docs/index.html +5 -4
- package/docs/interfaces/AddTagConfig.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +4 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +4 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +4 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +4 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +4 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +4 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +4 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +4 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +4 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -3
- package/docs/interfaces/EventMap.html +4 -3
- package/docs/interfaces/FloorplanBounding.html +4 -3
- package/docs/interfaces/FloorplanData.html +4 -3
- package/docs/interfaces/FloorplanEntrance.html +4 -3
- package/docs/interfaces/FloorplanExtraObject.html +4 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +4 -3
- package/docs/interfaces/FloorplanFloorData.html +4 -3
- package/docs/interfaces/FloorplanImagePosition.html +4 -3
- package/docs/interfaces/FloorplanObserver.html +4 -3
- package/docs/interfaces/FloorplanOutlineItem.html +4 -3
- package/docs/interfaces/FloorplanPosition.html +4 -3
- package/docs/interfaces/FloorplanRoomItem.html +4 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -3
- package/docs/interfaces/FloorplanServerComputedData.html +4 -3
- package/docs/interfaces/FloorplanServerData.html +4 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +4 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -3
- package/docs/interfaces/FloorplanServerEntrance.html +4 -3
- package/docs/interfaces/FloorplanServerFloorData.html +4 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -3
- package/docs/interfaces/FloorplanServerObserver.html +4 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +4 -3
- package/docs/interfaces/FloorplanServerPosition.html +4 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +4 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +4 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +4 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +4 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +4 -3
- package/docs/interfaces/HelperOffset.html +4 -3
- package/docs/interfaces/ImagePlaneGroup.html +4 -3
- package/docs/interfaces/ItemLabelPluginData.html +4 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +4 -3
- package/docs/interfaces/MinMax.html +4 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +4 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +4 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +4 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +4 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +4 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -3
- package/docs/interfaces/ModelViewPluginExportType.html +4 -3
- package/docs/interfaces/Object3DHelperState.html +4 -3
- package/docs/interfaces/ObjectHelperControllers.html +4 -3
- package/docs/interfaces/PaintBrushAction.html +4 -3
- package/docs/interfaces/PaintBrushConfigs.html +4 -3
- package/docs/interfaces/PaintBrushState.html +4 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -3
- package/docs/interfaces/PanoMeasureParameterType.html +4 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +4 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +4 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +4 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +4 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -3
- package/docs/interfaces/PanoRulerProPluginState.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -3
- package/docs/interfaces/Point.html +4 -3
- package/docs/interfaces/Room.html +4 -3
- package/docs/interfaces/RoomInfo.html +4 -3
- package/docs/interfaces/RoomLabel.html +4 -3
- package/docs/interfaces/RoomRules.html +4 -3
- package/docs/interfaces/Rooms.html +4 -3
- package/docs/interfaces/Scissor.html +4 -3
- package/docs/interfaces/State.html +4 -3
- package/docs/interfaces/TagCacheInterface.html +4 -3
- package/docs/interfaces/TagConfig.html +4 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +4 -3
- package/docs/interfaces/TagIconUrl.html +4 -3
- package/docs/interfaces/TagObjectGroup.html +4 -3
- package/docs/interfaces/TagStyle.html +4 -3
- package/docs/interfaces/Tags.html +4 -3
- package/docs/interfaces/TemporaryState.html +4 -3
- package/docs/interfaces/Util.MagnifierParameter.html +4 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -3
- package/docs/interfaces/Util.PointIntersection.html +4 -3
- package/docs/modules/AreaMakerPluginType.html +4 -3
- package/docs/modules/CruisePluginTypes.html +4 -3
- package/docs/modules/CurrentPanoImagePluginType.html +4 -3
- package/docs/modules/GuideLineItem.html +4 -3
- package/docs/modules/GuideLineModeItem.html +4 -3
- package/docs/modules/GuideLinePluginType.html +4 -3
- package/docs/modules/ModelMakerPluginType.html +4 -3
- package/docs/modules/PanoVideoPluginType.html +4 -3
- package/docs/modules/SculptData.html +317 -0
- package/docs/modules/Util.html +4 -3
- package/docs/modules.html +6 -4
- package/docs/types/AddObject3DHelperConfig.html +4 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -3
- package/docs/types/ArrayPosition.html +4 -3
- package/docs/types/AudioAppearance.html +4 -3
- package/docs/types/AudioTagTypeConfigKey.html +4 -3
- package/docs/types/CSS3DRenderExportType.html +4 -3
- package/docs/types/CSS3DRenderPluginExportType.html +4 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -3
- package/docs/types/ClassFunctionParameters.html +4 -3
- package/docs/types/Color.html +4 -3
- package/docs/types/ContentTypeConfigKey.html +4 -3
- package/docs/types/ContentTypeConfigKeySplit.html +4 -3
- package/docs/types/ContentTypeMap.html +4 -3
- package/docs/types/Create3DDomContainerReturnType.html +4 -3
- package/docs/types/Create3DElementReturnType.html +4 -3
- package/docs/types/CruisePluginExportType.html +4 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -3
- package/docs/types/DeprecatedTagProperty.html +4 -3
- package/docs/types/Direction-1.html +4 -3
- package/docs/types/Direction4.html +4 -3
- package/docs/types/ElementRenderer.html +4 -3
- package/docs/types/FloorplanRuleLabels.html +4 -3
- package/docs/types/FloorplanServerRuleLabels.html +4 -3
- package/docs/types/GuideLinePluginExportType.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -3
- package/docs/types/GuideLinePluginType.PathItem.html +4 -3
- package/docs/types/GuideLinePluginType.PluginData.html +4 -3
- package/docs/types/HelperEventMap.html +4 -3
- package/docs/types/InternalHelperEventMap.html +4 -3
- package/docs/types/LoadTagConfig.html +4 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -3
- package/docs/types/MediaData.html +4 -3
- package/docs/types/MediaStore.html +4 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -3
- package/docs/types/ModelId.html +4 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +4 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +4 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -3
- package/docs/types/MoveArgs.html +4 -3
- package/docs/types/MoveOpts.html +4 -3
- package/docs/types/Object3DHelperEventMap.html +4 -3
- package/docs/types/ObjectFit.html +4 -3
- package/docs/types/PaintBrushEventMap.html +4 -3
- package/docs/types/PanoCompassPluginData.html +4 -3
- package/docs/types/PanoCompassPluginExportType.html +4 -3
- package/docs/types/PanoCompassPluginParameterType.html +4 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -3
- package/docs/types/PanoIndex.html +4 -3
- package/docs/types/PanoMeasurePluginEvent.html +4 -3
- package/docs/types/PanoMeasureReturnType.html +4 -3
- package/docs/types/PanoSpatialTagPluginId.html +4 -3
- package/docs/types/PanoTagPluginExportInterface.html +4 -3
- package/docs/types/PanoTagPluginParamsInterface.html +4 -3
- package/docs/types/PanoVideoPluginParameterType.html +4 -3
- package/docs/types/PanoVideoPluginReturnType.html +4 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -3
- package/docs/types/PipelinePluginParameterType.html +4 -3
- package/docs/types/PipelinePluginReturnType.html +4 -3
- package/docs/types/PlaneTag.html +4 -3
- package/docs/types/Point2DTag.html +4 -3
- package/docs/types/Point3DTag.html +4 -3
- package/docs/types/PointTag.html +4 -3
- package/docs/types/PointTagInstance.html +4 -3
- package/docs/types/Position.html +4 -3
- package/docs/types/PositionFrom.html +4 -3
- package/docs/types/RotateArgs.html +4 -3
- package/docs/types/RotateOpts.html +4 -3
- package/docs/types/RuleLabelsKey.html +4 -3
- package/docs/types/RuleLabelsValue.html +4 -3
- package/docs/types/ScaleCallback.html +4 -3
- package/docs/types/ScalePosition.html +4 -3
- package/docs/types/SculptData.BoxData.html +305 -0
- package/docs/types/SculptData.CircleData.html +305 -0
- package/docs/types/SculptData.CylinderData.html +305 -0
- package/docs/types/SculptData.PointData.html +305 -0
- package/docs/types/SculptData.PolygonData.html +305 -0
- package/docs/types/SculptData.PolylineData.html +305 -0
- package/docs/types/SculptData.PrismData.html +305 -0
- package/docs/types/SculptData.RectangleData.html +305 -0
- package/docs/types/StickType.html +4 -3
- package/docs/types/Tag.html +4 -3
- package/docs/types/Tag2D.html +4 -3
- package/docs/types/Tag3D.html +4 -3
- package/docs/types/TagConfigByKey.html +4 -3
- package/docs/types/TagContentType.html +4 -3
- package/docs/types/TagContentTypeMapping.html +4 -3
- package/docs/types/TagDimensionType.html +4 -3
- package/docs/types/TagElement.html +4 -3
- package/docs/types/TagEvents.html +4 -3
- package/docs/types/TagGLTFObject.html +4 -3
- package/docs/types/TagHooks.html +4 -3
- package/docs/types/TagId.html +4 -3
- package/docs/types/TagInstance.html +4 -3
- package/docs/types/TagPointType.html +4 -3
- package/docs/types/TagRendererMap.html +4 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -3
- package/docs/types/WorkCode.html +4 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -3
- package/docs/variables/PLUGIN.html +4 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -3
- package/docs/variables/ROOM_TYPE_MAP.html +4 -3
- package/docs/variables/defaultGlobalConfig.html +4 -3
- package/docs/variables/itemLabelPluginServerParams.html +4 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -3
- package/libs/CruisePlugin/Work.js +47 -47
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/Sculpt/Objects/Base/index.d.ts +6 -0
- package/libs/Sculpt/index.d.ts +10 -34
- package/libs/Sculpt/index.js +17 -17
- package/libs/Sculpt/typings/index.d.ts +20 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +16 -15
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +17 -16
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +12 -11
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.25.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.25.3</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.25.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.25.3</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.25.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.25.3</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
44
44
|
<li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
<li><a href="../modules/GuideLinePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
51
51
|
<li><a href="../modules/ModelMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
52
52
|
<li><a href="../modules/PanoVideoPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
53
|
+
<li><a href="../modules/SculptData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Sculpt<wbr/>Data</span></a></li>
|
|
53
54
|
<li><a href="../modules/Util.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Util</span></a></li>
|
|
54
55
|
<li><a href="../enums/CameraMovementEffect.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Movement<wbr/>Effect</span></a></li>
|
|
55
56
|
<li><a href="../enums/ContentType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Content<wbr/>Type</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.25.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.25.3</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.25.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.25.3</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.25.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.25.3</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
44
44
|
<li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
<li><a href="../modules/GuideLinePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
51
51
|
<li><a href="../modules/ModelMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
52
52
|
<li><a href="../modules/PanoVideoPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
53
|
+
<li><a href="../modules/SculptData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Sculpt<wbr/>Data</span></a></li>
|
|
53
54
|
<li><a href="../modules/Util.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Util</span></a></li>
|
|
54
55
|
<li><a href="../enums/CameraMovementEffect.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Movement<wbr/>Effect</span></a></li>
|
|
55
56
|
<li><a href="../enums/ContentType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Content<wbr/>Type</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.25.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.25.3</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.25.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.25.3</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.25.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.25.3</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
44
44
|
<li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
<li><a href="../modules/GuideLinePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
51
51
|
<li><a href="../modules/ModelMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
52
52
|
<li><a href="../modules/PanoVideoPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
53
|
+
<li><a href="../modules/SculptData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Sculpt<wbr/>Data</span></a></li>
|
|
53
54
|
<li><a href="../modules/Util.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Util</span></a></li>
|
|
54
55
|
<li><a href="../enums/CameraMovementEffect.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Movement<wbr/>Effect</span></a></li>
|
|
55
56
|
<li><a href="../enums/ContentType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Content<wbr/>Type</span></a></li>
|
|
@@ -36,28 +36,16 @@ import { sleep as O } from "./utils/sleep.js";
|
|
|
36
36
|
import { waitFiveLoaded as M } from "../shared-utils/five/fiveLoaded.js";
|
|
37
37
|
import { vectorToCoordinates as A } from "../shared-utils/vectorToCoordinate.js";
|
|
38
38
|
import G from "./BaseController.js";
|
|
39
|
-
import "../GuideLinePlugin/Controller.js";
|
|
40
|
-
import "../base/BasePluginWithData.js";
|
|
41
|
-
import "../base/BasePlugin.js";
|
|
42
|
-
import "../shared-utils/Subscribe.js";
|
|
43
39
|
import "hammerjs";
|
|
44
40
|
import "@realsee/five";
|
|
45
41
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
|
-
import "../shared-utils/positionToVector3.js";
|
|
48
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
49
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
50
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
51
|
-
import "../shared-utils/util.js";
|
|
52
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
53
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
54
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
55
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
56
|
-
import "../shared-utils/three/centerPoint.js";
|
|
57
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
58
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
59
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
60
43
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
44
|
+
import { notNil as Q } from "../shared-utils/isNil.js";
|
|
45
|
+
import "../GuideLinePlugin/Controller.js";
|
|
46
|
+
import "../base/BasePluginWithData.js";
|
|
47
|
+
import "../base/BasePlugin.js";
|
|
48
|
+
import "../shared-utils/Subscribe.js";
|
|
61
49
|
import "../shared-utils/url/absoluteUrl.js";
|
|
62
50
|
import "../shared-utils/equal.js";
|
|
63
51
|
import "../shared-utils/isTruelyObject.js";
|
|
@@ -73,13 +61,13 @@ import "../vendor/gl-vec2/normalize.js";
|
|
|
73
61
|
import "../vendor/gl-vec2/subtract.js";
|
|
74
62
|
import "../vendor/gl-vec2/dot.js";
|
|
75
63
|
import "../shared-utils/five/mode.js";
|
|
76
|
-
import "../shared-utils/isNil.js";
|
|
77
64
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
78
65
|
import "../shared-utils/animationFrame/index.js";
|
|
79
66
|
import "../shared-utils/three/loadTexture.js";
|
|
80
67
|
import "../PanoTagPlugin/controller/index.js";
|
|
81
68
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
82
69
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
70
|
+
import "../shared-utils/positionToVector3.js";
|
|
83
71
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
84
72
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
85
73
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
@@ -89,6 +77,7 @@ import "../shared-utils/dom/resizeObserver.js";
|
|
|
89
77
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
90
78
|
import "../PanoTagPlugin/controller/TagComputer.js";
|
|
91
79
|
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
80
|
+
import "../shared-utils/three/centerPoint.js";
|
|
92
81
|
import "../PanoTagPlugin/utils/checkRange.js";
|
|
93
82
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
94
83
|
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
@@ -108,6 +97,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
108
97
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
109
98
|
import "../shared-utils/three/getNormal.js";
|
|
110
99
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
100
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
111
101
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
112
102
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
113
103
|
import "../shared-utils/typescript/entries.js";
|
|
@@ -117,6 +107,7 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
117
107
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
118
108
|
import "../shared-utils/five/getFloorIndex.js";
|
|
119
109
|
import "../shared-utils/safeObj.js";
|
|
110
|
+
import "../shared-utils/util.js";
|
|
120
111
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
121
112
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
122
113
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -191,6 +182,15 @@ import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
|
191
182
|
import "../CSS3DRenderPlugin/index.js";
|
|
192
183
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
193
184
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
185
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
186
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
187
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
188
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
189
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
190
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
191
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
192
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
193
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
194
194
|
import "../shared-utils/three/GLTFLoader.js";
|
|
195
195
|
import "@realsee/five/gltf-loader";
|
|
196
196
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
@@ -206,7 +206,7 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
206
206
|
import "../shared-utils/formatRad.js";
|
|
207
207
|
import "./Work.js";
|
|
208
208
|
import "./utils/coordinatesToVector.js";
|
|
209
|
-
class
|
|
209
|
+
class ir extends G {
|
|
210
210
|
constructor(t, e) {
|
|
211
211
|
super(t, e);
|
|
212
212
|
k(this, "state", {
|
|
@@ -246,18 +246,18 @@ class er extends G {
|
|
|
246
246
|
this.data = g({ id: s.keyframesId }, s), this.hooks.emit("dataChange", s, i);
|
|
247
247
|
let m = [], n;
|
|
248
248
|
const o = this.data.keyframes.filter((d) => d.data.panoIndex !== void 0);
|
|
249
|
-
o.filter((d,
|
|
250
|
-
var
|
|
251
|
-
return d.data.panoIndex !== ((
|
|
249
|
+
o.filter((d, f) => {
|
|
250
|
+
var u;
|
|
251
|
+
return d.data.panoIndex !== ((u = o[f - 1]) == null ? void 0 : u.data.panoIndex);
|
|
252
252
|
}).map((d) => d.data.panoIndex).forEach((d) => {
|
|
253
|
-
var
|
|
254
|
-
const
|
|
255
|
-
if (
|
|
256
|
-
if (n ===
|
|
253
|
+
var u, v;
|
|
254
|
+
const f = (u = this.workUtil.getObserver(d)) == null ? void 0 : u.floorIndex;
|
|
255
|
+
if (f !== void 0)
|
|
256
|
+
if (n === f) {
|
|
257
257
|
const c = m.length - 1;
|
|
258
258
|
m[c] = [...(v = m[c]) != null ? v : [], d];
|
|
259
259
|
} else {
|
|
260
|
-
n =
|
|
260
|
+
n = f;
|
|
261
261
|
const c = m.length;
|
|
262
262
|
m[c] = [d];
|
|
263
263
|
}
|
|
@@ -287,7 +287,7 @@ class er extends G {
|
|
|
287
287
|
this.five.work || (yield M(this.five));
|
|
288
288
|
const e = (() => {
|
|
289
289
|
const r = t;
|
|
290
|
-
return typeof r == "object" && r !== null && r.version && r.data ? r.data : r;
|
|
290
|
+
return typeof r == "object" && r !== null && Q(r.version) && r.data ? r.data : r;
|
|
291
291
|
})();
|
|
292
292
|
if (e.keyframes)
|
|
293
293
|
return {
|
|
@@ -307,11 +307,11 @@ class er extends G {
|
|
|
307
307
|
const p = e.panoIndexList.slice(o).find((P) => P !== n);
|
|
308
308
|
if (p === void 0)
|
|
309
309
|
return;
|
|
310
|
-
const d = this.workUtil.getObserverPosition(n),
|
|
311
|
-
if (!
|
|
310
|
+
const d = this.workUtil.getObserverPosition(n), f = this.workUtil.getObserverPosition(p);
|
|
311
|
+
if (!f || !d || ((v = this.workUtil.getObserver(n)) == null ? void 0 : v.floorIndex) !== ((c = this.workUtil.getObserver(p)) == null ? void 0 : c.floorIndex))
|
|
312
312
|
return;
|
|
313
|
-
const
|
|
314
|
-
return A(
|
|
313
|
+
const u = new U.Vector3().subVectors(f, d);
|
|
314
|
+
return A(u.normalize());
|
|
315
315
|
})();
|
|
316
316
|
e.moveType === void 0 || e.moveType === "justMove" ? r.push({
|
|
317
317
|
moveIndex: o,
|
|
@@ -336,21 +336,21 @@ class er extends G {
|
|
|
336
336
|
// eslint-disable-next-line complexity
|
|
337
337
|
handlePlay(t) {
|
|
338
338
|
return y(this, null, function* () {
|
|
339
|
-
var
|
|
339
|
+
var f;
|
|
340
340
|
const { data: e, state: r, privateState: i, hooks: s } = this;
|
|
341
341
|
if (i.playing || !(e != null && e.keyframes) || (e == null ? void 0 : e.keyframes.length) === 0)
|
|
342
342
|
return;
|
|
343
343
|
const m = S();
|
|
344
344
|
i.playId = m, i.playing = !0, i.broke = !1;
|
|
345
345
|
const n = e.keyframes, o = this.getPauseData();
|
|
346
|
-
(t == null ? void 0 : t.notEmitEvent) !== !0 && s.emit("play", { userAction: (
|
|
346
|
+
(t == null ? void 0 : t.notEmitEvent) !== !0 && s.emit("play", { userAction: (f = t == null ? void 0 : t.userAction) != null ? f : !0 });
|
|
347
347
|
let a = !1;
|
|
348
348
|
const d = yield (() => y(this, null, function* () {
|
|
349
|
-
var
|
|
349
|
+
var u, v;
|
|
350
350
|
if ((t == null ? void 0 : t.playFromIndex) !== void 0)
|
|
351
351
|
return t.playFromIndex;
|
|
352
352
|
if ((t == null ? void 0 : t.playFromId) !== void 0)
|
|
353
|
-
return (
|
|
353
|
+
return (u = this.data) == null ? void 0 : u.keyframes.findIndex((c) => c.id === t.playFromId);
|
|
354
354
|
if (o != null && o.id) {
|
|
355
355
|
const c = (v = this.data) == null ? void 0 : v.keyframes.find((P) => P.id === o.id);
|
|
356
356
|
if (o != null && o.fiveState && (yield this.move(o.fiveState, {
|
|
@@ -367,15 +367,15 @@ class er extends G {
|
|
|
367
367
|
}
|
|
368
368
|
}))();
|
|
369
369
|
this.clearPauseData();
|
|
370
|
-
for (const
|
|
370
|
+
for (const u of n) {
|
|
371
371
|
if (i.broke || !r.playing || !i.playing || m !== i.playId)
|
|
372
372
|
return;
|
|
373
|
-
if (!(d !== void 0 &&
|
|
373
|
+
if (!(d !== void 0 && u.index < d))
|
|
374
374
|
try {
|
|
375
|
-
s.emit("playIndexChange",
|
|
375
|
+
s.emit("playIndexChange", u.index, u), yield this.playKeyframe(u, {
|
|
376
376
|
moveEffect: a === !1 ? i.moveToFirstPanoEffect : void 0,
|
|
377
377
|
duration: a === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
|
|
378
|
-
}),
|
|
378
|
+
}), u.stay && (yield O(u.stay)), a === !1 && (a = !0);
|
|
379
379
|
} catch (v) {
|
|
380
380
|
return console.error(v), Promise.resolve("broke");
|
|
381
381
|
}
|
|
@@ -524,8 +524,8 @@ class er extends G {
|
|
|
524
524
|
updateCamera(r) {
|
|
525
525
|
return y(this, arguments, function* (t, e = {}) {
|
|
526
526
|
const { five: i, privateState: s, state: m } = this, n = (() => {
|
|
527
|
-
var
|
|
528
|
-
const p = (
|
|
527
|
+
var f, u;
|
|
528
|
+
const p = (f = m.config) == null ? void 0 : f.speedConfig, d = (u = t.rotateSpeed) != null ? u : p == null ? void 0 : p.rotateSpeed;
|
|
529
529
|
if ((p == null ? void 0 : p.rotateSpeedUnit) === void 0)
|
|
530
530
|
return d;
|
|
531
531
|
if (d !== void 0)
|
|
@@ -557,8 +557,8 @@ class er extends G {
|
|
|
557
557
|
const m = r.getCurrentState().mode !== "Panorama";
|
|
558
558
|
m && (this.privateState.modeChanging = !0);
|
|
559
559
|
const n = (() => {
|
|
560
|
-
var d,
|
|
561
|
-
const a = (d = s.config) == null ? void 0 : d.speedConfig, p = (
|
|
560
|
+
var d, f;
|
|
561
|
+
const a = (d = s.config) == null ? void 0 : d.speedConfig, p = (f = t.moveSpeed) != null ? f : a == null ? void 0 : a.moveSpeed;
|
|
562
562
|
if ((a == null ? void 0 : a.moveSpeedUnit) === void 0)
|
|
563
563
|
return p;
|
|
564
564
|
if (p !== void 0)
|
|
@@ -573,13 +573,13 @@ class er extends G {
|
|
|
573
573
|
return 800;
|
|
574
574
|
})();
|
|
575
575
|
i.currentPlayKeyframe && (i.currentPlayKeyframe.originDuration = o), yield new Promise((a) => {
|
|
576
|
-
var p, d,
|
|
576
|
+
var p, d, f;
|
|
577
577
|
this.fiveUtil.moveToPano(t.panoIndex, {
|
|
578
578
|
latitude: t.latitude,
|
|
579
579
|
longitude: t.longitude,
|
|
580
580
|
fov: t.fov,
|
|
581
581
|
duration: this.getSpeededDuration(o),
|
|
582
|
-
effect: (
|
|
582
|
+
effect: (f = (d = e == null ? void 0 : e.moveEffect) != null ? d : (p = this.state.config) == null ? void 0 : p.moveEffect) != null ? f : t.moveEffect,
|
|
583
583
|
moveCancelCallback: () => a(),
|
|
584
584
|
moveEndCallback: () => a()
|
|
585
585
|
}), m && r.once("panoArrived", () => a());
|
|
@@ -596,5 +596,5 @@ class er extends G {
|
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
export {
|
|
599
|
-
|
|
599
|
+
ir as default
|
|
600
600
|
};
|
|
@@ -42,6 +42,7 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
42
42
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
43
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
44
44
|
import "../shared-utils/five/transformPosition.js";
|
|
45
|
+
import "../shared-utils/isNil.js";
|
|
45
46
|
import "../shared-utils/log.js";
|
|
46
47
|
import "./utils/createLineGeometry.js";
|
|
47
48
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -52,7 +53,6 @@ import "../vendor/gl-vec2/normalize.js";
|
|
|
52
53
|
import "../vendor/gl-vec2/subtract.js";
|
|
53
54
|
import "../vendor/gl-vec2/dot.js";
|
|
54
55
|
import "../shared-utils/five/mode.js";
|
|
55
|
-
import "../shared-utils/isNil.js";
|
|
56
56
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
57
57
|
import "../shared-utils/animationFrame/index.js";
|
|
58
58
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -5,7 +5,13 @@ import type { RequiredDeep } from 'type-fest';
|
|
|
5
5
|
import type { ImportDataToExportData } from '../../typings/utils.type';
|
|
6
6
|
import type * as THREE from 'three';
|
|
7
7
|
export interface BaseImportData {
|
|
8
|
+
/**
|
|
9
|
+
* @description: 唯一标识
|
|
10
|
+
*/
|
|
8
11
|
id?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @description: 物体类型
|
|
14
|
+
*/
|
|
9
15
|
type: string;
|
|
10
16
|
}
|
|
11
17
|
export interface BaseExportData extends RequiredDeep<BaseImportData> {
|
package/libs/Sculpt/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type * as THREE from 'three';
|
|
3
|
-
import type {
|
|
3
|
+
import type { BaseObjectConfig } from './Objects/Base';
|
|
4
4
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
5
5
|
import { IObject3D } from '../shared-utils/three/IObject3D';
|
|
6
6
|
import type { PartialDeep } from 'type-fest';
|
|
@@ -13,6 +13,7 @@ import { Circle } from './Objects/Circle';
|
|
|
13
13
|
import { Cylinder } from './Objects/Cylinder';
|
|
14
14
|
import { Box } from './Objects/Box';
|
|
15
15
|
import type { PolylineImportData, PointImportData, PolygonImportData, PrismImportData, RectangleImportData, CircleImportData, CylinderImportData, BoxImportData } from './typings';
|
|
16
|
+
export type { SculptData } from './typings';
|
|
16
17
|
import type { AreaStyle, PointStyle, PolylineStyle, PrismStyle, RectangleStyle, CircleStyle, CylinderStyle, BoxStyle } from './typings';
|
|
17
18
|
type BuiltInData = PolylineImportData | PointImportData | PolygonImportData | PrismImportData | RectangleImportData | CircleImportData | CylinderImportData | BoxImportData;
|
|
18
19
|
type BuiltInItem = Polyline | Point | Polygon | Prism | Rectangle | Circle | Cylinder | Box;
|
|
@@ -137,59 +138,35 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
137
138
|
/**
|
|
138
139
|
* @description: 开始绘制点
|
|
139
140
|
*/
|
|
140
|
-
createPoint(params?: Parameters<Point['create']>[0]): Promise<
|
|
141
|
-
[x: string]: any;
|
|
142
|
-
id: string | number;
|
|
143
|
-
}, BaseObjectConfig>>;
|
|
141
|
+
createPoint(params?: Parameters<Point['create']>[0]): Promise<Point>;
|
|
144
142
|
/**
|
|
145
143
|
* @description: 开始绘制空间折线
|
|
146
144
|
*/
|
|
147
|
-
createPolyline(params?: Parameters<Polyline['create']>[0]): Promise<
|
|
148
|
-
[x: string]: any;
|
|
149
|
-
id: string | number;
|
|
150
|
-
}, BaseObjectConfig>>;
|
|
145
|
+
createPolyline(params?: Parameters<Polyline['create']>[0]): Promise<Polyline>;
|
|
151
146
|
/**
|
|
152
147
|
* @description: 开始绘制平面多边形
|
|
153
148
|
*/
|
|
154
|
-
createPolygon(params?: Parameters<Polygon['create']>[0]): Promise<
|
|
155
|
-
[x: string]: any;
|
|
156
|
-
id: string | number;
|
|
157
|
-
}, BaseObjectConfig>>;
|
|
149
|
+
createPolygon(params?: Parameters<Polygon['create']>[0]): Promise<Polygon>;
|
|
158
150
|
/**
|
|
159
151
|
* @description: 开始绘制多棱柱
|
|
160
152
|
*/
|
|
161
|
-
createPrism(params?: Parameters<Prism['create']>[0]): Promise<
|
|
162
|
-
[x: string]: any;
|
|
163
|
-
id: string | number;
|
|
164
|
-
}, BaseObjectConfig>>;
|
|
153
|
+
createPrism(params?: Parameters<Prism['create']>[0]): Promise<Prism>;
|
|
165
154
|
/**
|
|
166
155
|
* @description: 开始绘制矩形
|
|
167
156
|
*/
|
|
168
|
-
createRectangle(params?: Parameters<Rectangle['create']>[0]): Promise<
|
|
169
|
-
[x: string]: any;
|
|
170
|
-
id: string | number;
|
|
171
|
-
}, BaseObjectConfig>>;
|
|
157
|
+
createRectangle(params?: Parameters<Rectangle['create']>[0]): Promise<Rectangle>;
|
|
172
158
|
/**
|
|
173
159
|
* @description: 开始绘制圆形
|
|
174
160
|
*/
|
|
175
|
-
createCircle(params?: Parameters<Circle['create']>[0]): Promise<
|
|
176
|
-
[x: string]: any;
|
|
177
|
-
id: string | number;
|
|
178
|
-
}, BaseObjectConfig>>;
|
|
161
|
+
createCircle(params?: Parameters<Circle['create']>[0]): Promise<Circle>;
|
|
179
162
|
/**
|
|
180
163
|
* @description: 开始绘制圆柱
|
|
181
164
|
*/
|
|
182
|
-
createCylinder(params?: Parameters<Cylinder['create']>[0]): Promise<
|
|
183
|
-
[x: string]: any;
|
|
184
|
-
id: string | number;
|
|
185
|
-
}, BaseObjectConfig>>;
|
|
165
|
+
createCylinder(params?: Parameters<Cylinder['create']>[0]): Promise<Cylinder>;
|
|
186
166
|
/**
|
|
187
167
|
* @description: 开始绘制 Box
|
|
188
168
|
*/
|
|
189
|
-
createBox(params?: Parameters<Box['create']>[0]): Promise<
|
|
190
|
-
[x: string]: any;
|
|
191
|
-
id: string | number;
|
|
192
|
-
}, BaseObjectConfig>>;
|
|
169
|
+
createBox(params?: Parameters<Box['create']>[0]): Promise<Box>;
|
|
193
170
|
/**
|
|
194
171
|
* @description: 撤销
|
|
195
172
|
*/
|
|
@@ -209,4 +186,3 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
209
186
|
* @description: Sculpt 插件
|
|
210
187
|
*/
|
|
211
188
|
export declare const SculptPlugin: (five: Five) => Sculpt;
|
|
212
|
-
export {};
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var x = Object.defineProperty, B = Object.defineProperties;
|
|
2
2
|
var D = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var O = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var d = (n, i, e) => i in n ?
|
|
5
|
+
var d = (n, i, e) => i in n ? x(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e, r = (n, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
7
|
O.call(i, e) && d(n, e, i[e]);
|
|
8
8
|
if (f)
|
|
@@ -10,7 +10,7 @@ var d = (n, i, e) => i in n ? R(n, i, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
H.call(i, e) && d(n, e, i[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, g = (n, i) => B(n, D(i));
|
|
13
|
-
var
|
|
13
|
+
var h = (n, i, e) => (d(n, typeof i != "symbol" ? i + "" : i, e), e);
|
|
14
14
|
var u = (n, i, e) => new Promise((t, o) => {
|
|
15
15
|
var l = (c) => {
|
|
16
16
|
try {
|
|
@@ -45,14 +45,14 @@ import { Prism as b } from "./Objects/Prism/index.js";
|
|
|
45
45
|
import { Rectangle as v } from "./Objects/Rectangle/index.js";
|
|
46
46
|
import { Circle as C } from "./Objects/Circle/index.js";
|
|
47
47
|
import { Cylinder as j } from "./Objects/Cylinder/index.js";
|
|
48
|
-
import { Box as
|
|
49
|
-
const
|
|
48
|
+
import { Box as R } from "./Objects/Box/index.js";
|
|
49
|
+
const p = class extends k {
|
|
50
50
|
constructor(e, t) {
|
|
51
51
|
super();
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
this.five = e, this.theme = t, this.group = new E(), this.group.name = "Sculpt", e.scene.add(this.group),
|
|
52
|
+
h(this, "group");
|
|
53
|
+
h(this, "five");
|
|
54
|
+
h(this, "theme");
|
|
55
|
+
this.five = e, this.theme = t, this.group = new E(), this.group.name = "Sculpt", e.scene.add(this.group), p.modules.init(e), p.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o }) => {
|
|
56
56
|
var s;
|
|
57
57
|
const l = M((s = o == null ? void 0 : o[0]) == null ? void 0 : s.object, (m) => m.isSculptObject);
|
|
58
58
|
return l ? this.emit("click", l) : !1;
|
|
@@ -83,7 +83,7 @@ const a = class extends k {
|
|
|
83
83
|
const m = g(r({}, s), {
|
|
84
84
|
style: r(r({}, (c = this.theme) == null ? void 0 : c[s.type.toLowerCase()]), s.style)
|
|
85
85
|
});
|
|
86
|
-
return s.type === "Point" ? new P(m, t) : s.type === "Polyline" ? new w(m, t) : s.type === "Polygon" ? new I(m, t) : s.type === "Prism" ? new b(m, t) : s.type === "Rectangle" ? new v(m, t) : s.type === "Circle" ? new C(m, t) : s.type === "Cylinder" ? new j(m, t) : s.type === "Box" ? new
|
|
86
|
+
return s.type === "Point" ? new P(m, t) : s.type === "Polyline" ? new w(m, t) : s.type === "Polygon" ? new I(m, t) : s.type === "Prism" ? new b(m, t) : s.type === "Rectangle" ? new v(m, t) : s.type === "Circle" ? new C(m, t) : s.type === "Cylinder" ? new j(m, t) : s.type === "Box" ? new R(m, t) : null;
|
|
87
87
|
});
|
|
88
88
|
this.group.add(...o), this.needsRender();
|
|
89
89
|
}
|
|
@@ -99,7 +99,7 @@ const a = class extends k {
|
|
|
99
99
|
putObject(e) {
|
|
100
100
|
var l;
|
|
101
101
|
this.group.add(e);
|
|
102
|
-
const t =
|
|
102
|
+
const t = p.modules.object3DHelper, o = t.addObject3DHelper(e);
|
|
103
103
|
return (l = o == null ? void 0 : o.moveController) == null || l.moveByMouse(), t;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
@@ -171,7 +171,7 @@ const a = class extends k {
|
|
|
171
171
|
createBox(e) {
|
|
172
172
|
return u(this, null, function* () {
|
|
173
173
|
var t;
|
|
174
|
-
return this.createItem(
|
|
174
|
+
return this.createItem(R, r(r({}, (t = this.theme) == null ? void 0 : t.box), e));
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
@@ -188,7 +188,7 @@ const a = class extends k {
|
|
|
188
188
|
* @description: 清空数据
|
|
189
189
|
*/
|
|
190
190
|
clear() {
|
|
191
|
-
this.group.removeChildren();
|
|
191
|
+
this.group.removeChildren(), this.needsRender();
|
|
192
192
|
}
|
|
193
193
|
createItem(e, ...t) {
|
|
194
194
|
return u(this, null, function* () {
|
|
@@ -202,10 +202,10 @@ const a = class extends k {
|
|
|
202
202
|
this.five.needsRender = !0;
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
|
-
let
|
|
206
|
-
|
|
207
|
-
const re = (n) => new
|
|
205
|
+
let a = p;
|
|
206
|
+
h(a, "modules", S);
|
|
207
|
+
const re = (n) => new a(n);
|
|
208
208
|
export {
|
|
209
|
-
|
|
209
|
+
a as Sculpt,
|
|
210
210
|
re as SculptPlugin
|
|
211
211
|
};
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
import type { SimplifyDeep } from 'type-fest/source/merge-deep';
|
|
2
|
+
export type { SimplifyDeep } from 'type-fest/source/merge-deep';
|
|
3
|
+
import type { PolylineImportData } from '../Objects/Polyline';
|
|
4
|
+
import type { PointImportData } from '../Objects/Point';
|
|
5
|
+
import type { PolygonImportData } from '../Objects/Polygon';
|
|
6
|
+
import type { PrismImportData } from '../Objects/Prism';
|
|
7
|
+
import type { RectangleImportData } from '../Objects/Rectangle';
|
|
8
|
+
import type { CircleImportData } from '../Objects/Circle';
|
|
9
|
+
import type { CylinderImportData } from '../Objects/Cylinder';
|
|
10
|
+
import type { BoxImportData } from '../Objects/Box';
|
|
11
|
+
export declare namespace SculptData {
|
|
12
|
+
type PolylineData = SimplifyDeep<PolylineImportData>;
|
|
13
|
+
type PointData = SimplifyDeep<PointImportData>;
|
|
14
|
+
type PolygonData = SimplifyDeep<PolygonImportData>;
|
|
15
|
+
type PrismData = SimplifyDeep<PrismImportData>;
|
|
16
|
+
type RectangleData = SimplifyDeep<RectangleImportData>;
|
|
17
|
+
type CircleData = SimplifyDeep<CircleImportData>;
|
|
18
|
+
type CylinderData = SimplifyDeep<CylinderImportData>;
|
|
19
|
+
type BoxData = SimplifyDeep<BoxImportData>;
|
|
20
|
+
}
|
|
1
21
|
export type { Polyline, PolylineImportData } from '../Objects/Polyline';
|
|
2
22
|
export type { Point, PointImportData } from '../Objects/Point';
|
|
3
23
|
export type { Polygon, PolygonImportData } from '../Objects/Polygon';
|