@realsee/dnalogel 3.61.15 → 3.63.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 +13 -0
- package/dist/MeasurePlugin/Controller.d.ts +42 -0
- package/dist/MeasurePlugin/index.d.ts +3 -0
- package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +14 -0
- package/dist/MeasurePlugin/utils/validatePolygon.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
- package/dist/Sculpt/Meshes/Line.d.ts +7 -3
- package/dist/Sculpt/Meshes/LineWithDots.d.ts +4 -1
- package/dist/Sculpt/Meshes/Polygon.d.ts +3 -3
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/dist/Sculpt/typings/style.d.ts +7 -1
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +5 -2
- package/dist/index.cjs.js +73 -73
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11885 -11492
- package/dist/index.umd.js +65 -65
- package/dist/shared-utils/Object3DHelper/utils/index.d.ts +1 -1
- package/dist/shared-utils/three/PointSelector/index.d.ts +36 -8
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +1 -0
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +26 -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 +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.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 +21 -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 +6 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +7 -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 +8 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +8 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -0
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +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 +12 -8
- 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 +17 -5
- 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 +3 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +3 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -0
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/AreaMakerPlugin/utils/Item.js +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -1
- package/libs/CruisePlugin/BaseController.js +1 -1
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +1 -1
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/MeasurePlugin/Controller.d.ts +42 -0
- package/libs/MeasurePlugin/Controller.js +228 -0
- package/libs/MeasurePlugin/index.d.ts +3 -0
- package/libs/MeasurePlugin/index.js +81 -0
- package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +14 -0
- package/libs/MeasurePlugin/utils/MeasureMesh.js +108 -0
- package/libs/MeasurePlugin/utils/validatePolygon.d.ts +2 -0
- package/libs/MeasurePlugin/utils/validatePolygon.js +22 -0
- package/libs/ModelMakerPlugin/Controller.js +4 -3
- package/libs/ModelMakerPlugin/index.js +4 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +1 -1
- package/libs/ModelMakerPlugin/item/boxItem.js +1 -1
- package/libs/ModelMakerPlugin/item/polygonItem.js +1 -1
- package/libs/ModelMakerPlugin/item/prismItem.js +1 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/ModelViewPlugin/Plugin.js +1 -1
- package/libs/ModelViewPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +17 -18
- package/libs/Object3DHelperPlugin/index.js +7 -8
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +55 -55
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
- package/libs/PanoRulerProPlugin/Controller.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -1
- package/libs/PanoRulerProPlugin/index.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +286 -239
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -81
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +42 -39
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
- package/libs/Sculpt/Meshes/Line.d.ts +7 -3
- package/libs/Sculpt/Meshes/Line.js +96 -83
- package/libs/Sculpt/Meshes/LineWithDots.d.ts +4 -1
- package/libs/Sculpt/Meshes/LineWithDots.js +7 -7
- package/libs/Sculpt/Meshes/Point.js +6 -6
- package/libs/Sculpt/Meshes/Polygon.d.ts +3 -3
- package/libs/Sculpt/Meshes/Polygon.js +52 -39
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Rectangle/index.js +132 -113
- package/libs/Sculpt/typings/style.d.ts +7 -1
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +5 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +32 -31
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.d.ts +1 -0
- package/libs/index.js +158 -153
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/index.d.ts +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +29 -21
- package/libs/shared-utils/three/PointSelector/index.d.ts +36 -8
- package/libs/shared-utils/three/PointSelector/index.js +183 -71
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +1 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +35 -32
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +26 -0
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
- /package/dist/shared-utils/{Object3DHelper/utils → three}/vectorIsEqual.d.ts +0 -0
- /package/libs/shared-utils/{Object3DHelper/utils → three}/vectorIsEqual.d.ts +0 -0
- /package/libs/shared-utils/{Object3DHelper/utils → three}/vectorIsEqual.js +0 -0
|
@@ -81,7 +81,6 @@ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
|
81
81
|
import "../../Sculpt/Meshes/Line.js";
|
|
82
82
|
import "../../Sculpt/typings/style.js";
|
|
83
83
|
import "../../shared-utils/three/IObject3D.js";
|
|
84
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
85
84
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
86
85
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
87
86
|
import "../../shared-utils/util.js";
|
|
@@ -94,6 +93,7 @@ import "../../shared-utils/isTouchDevice.js";
|
|
|
94
93
|
import "../../shared-utils/five/getPosition.js";
|
|
95
94
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
96
95
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
96
|
+
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
97
97
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
98
98
|
import "../../shared-utils/five/changeMode.js";
|
|
99
99
|
import "../../shared-utils/nearlyEqual.js";
|
package/libs/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './PanoRulerPlugin';
|
|
|
11
11
|
export * from './PanoRulerProPlugin';
|
|
12
12
|
export * from './PanoCompassPlugin';
|
|
13
13
|
export * from './PanoMeasurePlugin';
|
|
14
|
+
export * from './MeasurePlugin';
|
|
14
15
|
export * from './PanoSpatialTagPlugin';
|
|
15
16
|
export * from './ModelItemLabelPlugin';
|
|
16
17
|
export * from './ModelTVVideoPlugin';
|
package/libs/index.js
CHANGED
|
@@ -1,71 +1,72 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import { default as
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import { default as
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
3
|
+
import { PaintBrush as Fl } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Vl } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Nl } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as kl } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Hl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as jl, modelRoomLabelPluginServerParams as $l } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as ql } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Jl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Ql } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Zl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as rn } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as mn, ROOM_FETILE_TYPE_MAP as pn, ROOM_TYPE_MAP as en } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as nn } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Pn } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as un } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as gn, Rotation as sn } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Mn } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Cn } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as cn } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as _n } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { MeasurePlugin as In } from "./MeasurePlugin/index.js";
|
|
24
|
+
import { PanoSpatialTagPlugin as Sn } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
25
|
+
import { modelItemLabelPluginServerParams as An } from "./ModelItemLabelPlugin/index.js";
|
|
26
|
+
import { ModelTVVideoPlugin as Gn } from "./ModelTVVideoPlugin/Plugin.js";
|
|
27
|
+
import { DIRECTION as vn } from "./ModelTVVideoPlugin/typings.js";
|
|
28
|
+
import { itemLabelPluginServerParams as Yn } from "./ItemLabelPlugin/index.js";
|
|
29
|
+
import { PanoDoorLabelPlugin as Bn } from "./PanoDoorLabelPlugin/index.js";
|
|
30
|
+
import { GuideLinePlugin as hn } from "./GuideLinePlugin/index.js";
|
|
31
|
+
import { CruisePlugin as wn, MovePlugin as Hn } from "./CruisePlugin/index.js";
|
|
32
|
+
import { PanoTagPlugin as jn } from "./PanoTagPlugin/index.js";
|
|
33
|
+
import { Object3DHelperPlugin as Wn } from "./Object3DHelperPlugin/index.js";
|
|
34
|
+
import { PanoVideoPlugin as zn } from "./PanoVideoPlugin/index.js";
|
|
35
|
+
import { PipelinePlugin as Kn } from "./PipelinePlugin/index.js";
|
|
36
|
+
import { AreaMakerPlugin as Xn } from "./AreaMakerPlugin/index.js";
|
|
37
|
+
import { CurrentPanoImagePlugin as oa } from "./CurrentPanoImagePlugin/index.js";
|
|
38
|
+
import { Sculpt as ta, SculptPlugin as ia } from "./Sculpt/index.js";
|
|
39
|
+
import { ModelMakerPlugin as pa } from "./ModelMakerPlugin/index.js";
|
|
40
|
+
import { exports as la } from "./shared-utils/exports.js";
|
|
41
|
+
import { CSS3DRender as aa } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
42
|
+
import { Model as fa } from "./PanoMeasurePlugin/Model/index.js";
|
|
43
|
+
import { default as xa } from "./PanoMeasurePlugin/Model/point.js";
|
|
44
|
+
import { default as sa } from "./PanoMeasurePlugin/Model/line.js";
|
|
45
|
+
import { Polyline as Ma } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
46
|
+
import { Magnifier as Ca } from "./shared-utils/three/Magnifier.js";
|
|
47
|
+
import { DISPLAY_STRATEGY_TYPE as ca } from "./ModelItemLabelPlugin/typings.js";
|
|
48
|
+
import { ModelItemLabelPlugin as _a } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
49
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Ia } from "./ItemLabelPlugin/typings.js";
|
|
50
|
+
import { Plugin as Sa } from "./ItemLabelPlugin/Plugin.js";
|
|
51
|
+
import { GuideLineItem$1 as Aa } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
52
|
+
import { GuideLineModeItem$1 as Ga } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
53
|
+
import { default as va, default as Fa } from "./CruisePlugin/Work.js";
|
|
54
|
+
import { default as Va } from "./CruisePlugin/Move.js";
|
|
55
|
+
import { typing as Na } from "./CruisePlugin/typing/index.js";
|
|
56
|
+
import { default as ka, pluginFlag as wa } from "./PanoTagPlugin/controller/index.js";
|
|
57
|
+
import { defaultGlobalConfig as Ua } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
58
|
+
import { ContentType as $a, DimensionType as Wa, PointType as qa } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
59
|
+
import { Object3DHelperController as Ja, PLUGIN as Ka } from "./Object3DHelperPlugin/Controller.js";
|
|
60
|
+
import { typings as Xa } from "./PanoVideoPlugin/typings/index.js";
|
|
61
|
+
import { createPoint as oP } from "./Sculpt/Objects/Point/index.js";
|
|
62
|
+
import { createLine as tP } from "./Sculpt/Objects/Line/index.js";
|
|
63
|
+
import { createPolyline as mP } from "./Sculpt/Objects/Polyline/index.js";
|
|
64
|
+
import { createPolygon as eP } from "./Sculpt/Objects/Polygon/index.js";
|
|
65
|
+
import { createPrism as nP } from "./Sculpt/Objects/Prism/index.js";
|
|
66
|
+
import { createRectangle as PP } from "./Sculpt/Objects/Rectangle/index.js";
|
|
67
|
+
import { createCircle as uP } from "./Sculpt/Objects/Circle/index.js";
|
|
68
|
+
import { createCylinder as gP } from "./Sculpt/Objects/Cylinder/index.js";
|
|
69
|
+
import { createBox as dP } from "./Sculpt/Objects/Box/index.js";
|
|
69
70
|
import "./components/PaintBrush/Controller.js";
|
|
70
71
|
import "./components/PaintBrush/utils.js";
|
|
71
72
|
import "./components/PaintBrush/tween.js";
|
|
@@ -116,7 +117,6 @@ import "./shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
|
116
117
|
import "./Sculpt/Meshes/Line.js";
|
|
117
118
|
import "./Sculpt/typings/style.js";
|
|
118
119
|
import "./shared-utils/three/IObject3D.js";
|
|
119
|
-
import "./Sculpt/utils/removeAllTag.js";
|
|
120
120
|
import "./Sculpt/utils/Meshes/getLengthHTML.js";
|
|
121
121
|
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
122
122
|
import "./shared-utils/util.js";
|
|
@@ -129,6 +129,7 @@ import "./shared-utils/isTouchDevice.js";
|
|
|
129
129
|
import "./shared-utils/five/getPosition.js";
|
|
130
130
|
import "./shared-utils/five/getRaycasterByNdcPosition.js";
|
|
131
131
|
import "./shared-utils/three/PointSelector/utils/contents.js";
|
|
132
|
+
import "./Sculpt/utils/three/rayOnLine.js";
|
|
132
133
|
import "./shared-utils/three/boundingBox.js";
|
|
133
134
|
import "./CSS3DRenderPlugin/Controller.js";
|
|
134
135
|
import "./shared-utils/url/absoluteUrl.js";
|
|
@@ -268,6 +269,18 @@ import "./vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
268
269
|
import "./PanoMeasurePlugin/Components/Tip.js";
|
|
269
270
|
import "./PanoMeasurePlugin/Controller/ShortcutKeyController.js";
|
|
270
271
|
import "./shared-utils/safeObj.js";
|
|
272
|
+
import "./MeasurePlugin/Controller.js";
|
|
273
|
+
import "./shared-utils/five/FiveDomEvents.js";
|
|
274
|
+
import "./MeasurePlugin/utils/MeasureMesh.js";
|
|
275
|
+
import "./Sculpt/Meshes/LineWithDots.js";
|
|
276
|
+
import "./Sculpt/Meshes/Point.js";
|
|
277
|
+
import "./Sculpt/utils/removeAllTag.js";
|
|
278
|
+
import "./Sculpt/Meshes/Polygon.js";
|
|
279
|
+
import "./Sculpt/utils/three/ColoredMesh.js";
|
|
280
|
+
import "./MeasurePlugin/utils/validatePolygon.js";
|
|
281
|
+
import "./shared-utils/three/vectorIsEqual.js";
|
|
282
|
+
import "./vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
283
|
+
import "./Sculpt/utils/Modules/Cursor.js";
|
|
271
284
|
import "./PanoSpatialTagPlugin/Components/origins.js";
|
|
272
285
|
import "./PanoSpatialTagPlugin/store.js";
|
|
273
286
|
import "./PanoSpatialTagPlugin/Components/tag.js";
|
|
@@ -320,7 +333,6 @@ import "./shared-utils/three/loadVideoTexture.js";
|
|
|
320
333
|
import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
321
334
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
322
335
|
import "./shared-utils/constants.js";
|
|
323
|
-
import "./shared-utils/five/FiveDomEvents.js";
|
|
324
336
|
import "./PanoTagPlugin/utils/Cache.js";
|
|
325
337
|
import "./PanoTagPlugin/utils/DebugUtil.js";
|
|
326
338
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
@@ -438,14 +450,12 @@ import "./shared-utils/Object3DHelper/Base/BaseController.js";
|
|
|
438
450
|
import "./shared-utils/Object3DHelper/utils/cameraHooks.js";
|
|
439
451
|
import "./shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
440
452
|
import "./shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
441
|
-
import "./Sculpt/utils/three/rayOnLine.js";
|
|
442
453
|
import "./Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
443
454
|
import "./shared-utils/Object3DHelper/index.js";
|
|
444
455
|
import "./shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
445
456
|
import "./shared-utils/math/deg2Rad.js";
|
|
446
457
|
import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
447
458
|
import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
448
|
-
import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
449
459
|
import "./shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
450
460
|
import "./shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
451
461
|
import "./shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
@@ -469,25 +479,19 @@ import "./components/AreaLabel/LabelItem.js";
|
|
|
469
479
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
470
480
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
471
481
|
import "./Sculpt/utils/Modules/Global.js";
|
|
472
|
-
import "./Sculpt/utils/Modules/Cursor.js";
|
|
473
482
|
import "./shared-utils/three/recurveFindObject.js";
|
|
474
483
|
import "./shared-utils/forReverseEach.js";
|
|
475
|
-
import "./vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
476
484
|
import "./ModelMakerPlugin/Controller.js";
|
|
477
485
|
import "./ModelMakerPlugin/item/boxItem.js";
|
|
478
486
|
import "./ModelMakerPlugin/item/baseItem.js";
|
|
479
487
|
import "./shared-utils/three/addIfNotExists.js";
|
|
480
488
|
import "./ModelMakerPlugin/utils/getFiveDomEvent.js";
|
|
481
489
|
import "./Sculpt/Meshes/Prism.js";
|
|
482
|
-
import "./Sculpt/utils/three/ColoredMesh.js";
|
|
483
490
|
import "./shared-utils/three/core/PrismGeometry.js";
|
|
484
491
|
import "./shared-utils/three/core/polygonVertex.js";
|
|
485
492
|
import "./Sculpt/Meshes/PolygonWithEdge.js";
|
|
486
493
|
import "./Sculpt/Meshes/Polyline.js";
|
|
487
|
-
import "./Sculpt/Meshes/LineWithDots.js";
|
|
488
|
-
import "./Sculpt/Meshes/Point.js";
|
|
489
494
|
import "./shared-utils/three/closeVectors.js";
|
|
490
|
-
import "./Sculpt/Meshes/Polygon.js";
|
|
491
495
|
import "./ModelMakerPlugin/utils/tagRenderer.js";
|
|
492
496
|
import "./ModelMakerPlugin/utils/Text.js";
|
|
493
497
|
import "./ModelMakerPlugin/item/prismItem.js";
|
|
@@ -525,81 +529,82 @@ import "./Sculpt/utils/sortPositionsByCameraPosition.js";
|
|
|
525
529
|
r();
|
|
526
530
|
o();
|
|
527
531
|
export {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
532
|
+
Xn as AreaMakerPlugin,
|
|
533
|
+
aa as CSS3DRender,
|
|
534
|
+
kl as CSS3DRenderPlugin,
|
|
535
|
+
gn as CameraMovementEffect,
|
|
536
|
+
un as CameraMovementPlugin,
|
|
537
|
+
$a as ContentType,
|
|
538
|
+
wn as CruisePlugin,
|
|
539
|
+
va as CruisePluginController,
|
|
540
|
+
Na as CruisePluginTypes,
|
|
541
|
+
oa as CurrentPanoImagePlugin,
|
|
542
|
+
vn as DIRECTION,
|
|
543
|
+
ca as DISPLAY_STRATEGY_TYPE,
|
|
544
|
+
Wa as DimensionType,
|
|
545
|
+
ql as FLOOR_PLAN_ATTACHED_TO,
|
|
546
|
+
mn as FLOOR_TYPE_MAP,
|
|
547
|
+
Aa as GuideLineItem,
|
|
548
|
+
Ga as GuideLineModeItem,
|
|
549
|
+
hn as GuideLinePlugin,
|
|
550
|
+
Ia as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
551
|
+
Sa as ItemLabelPlugin,
|
|
552
|
+
Ca as Magnifier,
|
|
553
|
+
Ql as MapviewFloorplanPlugin,
|
|
554
|
+
In as MeasurePlugin,
|
|
555
|
+
nn as ModelChassisCompassPlugin,
|
|
556
|
+
Pn as ModelEntryDoorGuidePlugin,
|
|
557
|
+
Jl as ModelFloorplanPlugin,
|
|
558
|
+
_a as ModelItemLabelPlugin,
|
|
559
|
+
pa as ModelMakerPlugin,
|
|
560
|
+
jl as ModelRoomLabelPlugin,
|
|
561
|
+
Gn as ModelTVVideoPlugin,
|
|
562
|
+
Nl as ModelViewPlugin,
|
|
563
|
+
Va as MoveController,
|
|
564
|
+
Hn as MovePlugin,
|
|
565
|
+
Ja as Object3DHelperController,
|
|
566
|
+
Wn as Object3DHelperPlugin,
|
|
567
|
+
Ka as PLUGIN,
|
|
568
|
+
Fl as PaintBrush,
|
|
569
|
+
Vl as PaintBrushTypeEnum,
|
|
570
|
+
cn as PanoCompassPlugin,
|
|
571
|
+
Hl as PanoCursorRaycasterPlugin,
|
|
572
|
+
Bn as PanoDoorLabelPlugin,
|
|
573
|
+
rn as PanoFloorplanRadarPlugin,
|
|
574
|
+
_n as PanoMeasurePlugin,
|
|
575
|
+
sa as PanoMeasurePluginLine,
|
|
576
|
+
fa as PanoMeasurePluginModel,
|
|
577
|
+
xa as PanoMeasurePluginPoint,
|
|
578
|
+
Ma as PanoMeasurePluginPolyline,
|
|
579
|
+
Mn as PanoRulerPlugin,
|
|
580
|
+
Cn as PanoRulerProPlugin,
|
|
581
|
+
Sn as PanoSpatialTagPlugin,
|
|
582
|
+
jn as PanoTagPlugin,
|
|
583
|
+
ka as PanoTagPluginController,
|
|
584
|
+
zn as PanoVideoPlugin,
|
|
585
|
+
Xa as PanoVideoPluginType,
|
|
586
|
+
Kn as PipelinePlugin,
|
|
587
|
+
qa as PointType,
|
|
588
|
+
pn as ROOM_FETILE_TYPE_MAP,
|
|
589
|
+
en as ROOM_TYPE_MAP,
|
|
590
|
+
sn as Rotation,
|
|
591
|
+
ta as Sculpt,
|
|
592
|
+
ia as SculptPlugin,
|
|
593
|
+
Zl as TopviewFloorplanPlugin,
|
|
594
|
+
la as Util,
|
|
595
|
+
Fa as WalkController,
|
|
596
|
+
dP as createBox,
|
|
597
|
+
uP as createCircle,
|
|
598
|
+
gP as createCylinder,
|
|
599
|
+
tP as createLine,
|
|
600
|
+
oP as createPoint,
|
|
601
|
+
eP as createPolygon,
|
|
602
|
+
mP as createPolyline,
|
|
603
|
+
nP as createPrism,
|
|
604
|
+
PP as createRectangle,
|
|
605
|
+
Ua as defaultGlobalConfig,
|
|
606
|
+
Yn as itemLabelPluginServerParams,
|
|
607
|
+
An as modelItemLabelPluginServerParams,
|
|
608
|
+
$l as modelRoomLabelPluginServerParams,
|
|
609
|
+
wa as pluginFlag
|
|
605
610
|
};
|
|
@@ -5,7 +5,7 @@ import { BaseController as Y } from "../Base/BaseController.js";
|
|
|
5
5
|
import * as m from "three";
|
|
6
6
|
import { Vector3 as o } from "three";
|
|
7
7
|
import { getMouseRaycaster as T } from "../utils/getMouseRaycaster.js";
|
|
8
|
-
import { vectorIsEqual as G } from "
|
|
8
|
+
import { vectorIsEqual as G } from "../../three/vectorIsEqual.js";
|
|
9
9
|
class _ extends Y {
|
|
10
10
|
constructor(...t) {
|
|
11
11
|
super(...t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.63.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var n = (r, t, e) => (
|
|
4
|
-
import { hammerExports as
|
|
5
|
-
import * as
|
|
6
|
-
import { Subscribe as
|
|
7
|
-
class
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var C = (r, t, e) => t in r ? b(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
|
+
var n = (r, t, e) => (C(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { hammerExports as w } from "../../vendor/hammerjs/hammer.js";
|
|
5
|
+
import * as y from "three";
|
|
6
|
+
import { Subscribe as D } from "../Subscribe.js";
|
|
7
|
+
class S {
|
|
8
8
|
constructor(t, e) {
|
|
9
9
|
n(this, "width");
|
|
10
10
|
n(this, "height");
|
|
11
11
|
n(this, "containerDom");
|
|
12
|
-
n(this, "hooks", new
|
|
12
|
+
n(this, "hooks", new D());
|
|
13
13
|
n(this, "canvas", document.createElement("canvas"));
|
|
14
14
|
n(this, "config");
|
|
15
15
|
n(this, "state", { enabled: !1 });
|
|
@@ -17,7 +17,7 @@ class E {
|
|
|
17
17
|
n(this, "scale");
|
|
18
18
|
n(this, "offset", { x: 0, y: 0 });
|
|
19
19
|
n(this, "context");
|
|
20
|
-
n(this, "renderCenter", new
|
|
20
|
+
n(this, "renderCenter", new y.Vector3());
|
|
21
21
|
n(this, "hammer");
|
|
22
22
|
n(this, "offsetRange");
|
|
23
23
|
n(this, "isPanning", !1);
|
|
@@ -50,7 +50,7 @@ class E {
|
|
|
50
50
|
const i = this.canvas.getContext("2d");
|
|
51
51
|
if (!i)
|
|
52
52
|
throw new Error("CANNOT CREATE CONTEXT2D");
|
|
53
|
-
this.context = i, this.config.dragEnabled && (this.hammer = new
|
|
53
|
+
this.context = i, this.config.dragEnabled && (this.hammer = new w(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
|
|
54
54
|
}
|
|
55
55
|
enable() {
|
|
56
56
|
if (!this.state.enabled)
|
|
@@ -88,14 +88,22 @@ class E {
|
|
|
88
88
|
render() {
|
|
89
89
|
if (!this.five.renderer || !this.containerDom)
|
|
90
90
|
return;
|
|
91
|
-
const { scale: t, context: e, width: i, height: s } = this, h = this.five.renderer.getSize(new
|
|
92
|
-
if (this.renderCenter
|
|
93
|
-
const
|
|
94
|
-
return [(
|
|
91
|
+
const { scale: t, context: e, width: i, height: s } = this, h = this.five.renderer.getSize(new y.Vector2()), [o, a] = (() => {
|
|
92
|
+
if (this.renderCenter.isVector3) {
|
|
93
|
+
const c = this.renderCenter.clone().project(this.five.camera);
|
|
94
|
+
return [(c.x + 1) / 2 * h.x, (c.y + 1) / 2 * h.y];
|
|
95
95
|
} else
|
|
96
96
|
return [this.renderCenter.x, h.y - this.renderCenter.y];
|
|
97
|
-
})(), f = 1,
|
|
98
|
-
|
|
97
|
+
})(), f = 1, l = i / t, x = s / t, P = f * t, v = /* @__PURE__ */ new Map();
|
|
98
|
+
this.five.scene.traverse((c) => {
|
|
99
|
+
c.disableGetPixel === !0 && (v.set(c, c.visible), c.visible = !1);
|
|
100
|
+
});
|
|
101
|
+
const u = this.five.getPixels(o - l / 2, a - l / 2, l, x, P);
|
|
102
|
+
v.forEach((c, p) => {
|
|
103
|
+
p.visible = c;
|
|
104
|
+
});
|
|
105
|
+
const g = Math.floor(i * f), m = Math.floor(s * f);
|
|
106
|
+
R(u, g, m), (this.imageData.width !== g || this.imageData.height !== m) && (this.imageData = new ImageData(g, m)), this.imageData.data.set(u), e.putImageData(this.imageData, 0, 0), this.canvas.style.visibility = "visible";
|
|
99
107
|
}
|
|
100
108
|
getRenderCenter() {
|
|
101
109
|
return this.renderCenter;
|
|
@@ -113,7 +121,7 @@ class E {
|
|
|
113
121
|
if (!this.containerDom)
|
|
114
122
|
return;
|
|
115
123
|
const { width: t, height: e } = this, { clientWidth: i, clientHeight: s } = this.containerDom, [h, o, a] = (() => {
|
|
116
|
-
if (this.renderCenter
|
|
124
|
+
if (this.renderCenter.isVector3) {
|
|
117
125
|
const f = this.renderCenter.clone().project(this.five.camera);
|
|
118
126
|
return [
|
|
119
127
|
//
|
|
@@ -136,15 +144,15 @@ class E {
|
|
|
136
144
|
const {
|
|
137
145
|
min: { x: i, y: s },
|
|
138
146
|
max: { x: h, y: o }
|
|
139
|
-
} = e, a = this.offset.x + t.deltaX, f = this.offset.y + t.deltaY,
|
|
140
|
-
return { translateX:
|
|
147
|
+
} = e, a = this.offset.x + t.deltaX, f = this.offset.y + t.deltaY, l = Math.min(Math.max(a, i), h), x = Math.min(Math.max(f, s), o);
|
|
148
|
+
return { translateX: l, translateY: x };
|
|
141
149
|
}
|
|
142
150
|
}
|
|
143
151
|
function d(r, t, e) {
|
|
144
152
|
const i = r[t], s = r[e];
|
|
145
153
|
i === void 0 || s === void 0 || (r[t] = s, r[e] = i);
|
|
146
154
|
}
|
|
147
|
-
function
|
|
155
|
+
function R(r, t, e) {
|
|
148
156
|
const i = e / 2;
|
|
149
157
|
for (let s = 1; s <= i; s++) {
|
|
150
158
|
const h = e - (s - 1);
|
|
@@ -155,5 +163,5 @@ function D(r, t, e) {
|
|
|
155
163
|
}
|
|
156
164
|
}
|
|
157
165
|
export {
|
|
158
|
-
|
|
166
|
+
S as Magnifier
|
|
159
167
|
};
|