@realsee/dnalogel 3.34.5 → 3.35.0-dev.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 +0 -6
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +93 -88
- package/dist/index.umd.js +3 -3
- package/dist/shared-utils/tag.d.ts +4 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +111 -203
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +126 -234
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +8 -20
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -1
- package/libs/ModelMakerPlugin/Controller.js +86 -88
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +26 -23
- package/libs/PanoRulerPlugin/Plugin.js +15 -15
- package/libs/base/BasePlugin.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +30 -26
- package/package.json +2 -2
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import Um from "earcut";
|
|
|
48
48
|
import { GLTFLoader as Ym } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Xm() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.35.0-dev.0",
|
|
52
52
|
[
|
|
53
53
|
"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=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -7434,7 +7434,7 @@ let rn = class {
|
|
|
7434
7434
|
/**
|
|
7435
7435
|
* @realsee/dnalogel 版本号
|
|
7436
7436
|
*/
|
|
7437
|
-
d(this, "VERSION", "3.
|
|
7437
|
+
d(this, "VERSION", "3.35.0-dev.0");
|
|
7438
7438
|
d(this, "five");
|
|
7439
7439
|
/**
|
|
7440
7440
|
* @description: 插件事件钩子
|
|
@@ -9908,7 +9908,10 @@ const lb = `<style type="text/css">
|
|
|
9908
9908
|
`, y = document.createElement("div");
|
|
9909
9909
|
return y.setAttribute("class", "PanoRulerPlugin-rule"), y.setAttribute("data-name", p), y.setAttribute("style", "display: none"), y.innerHTML = b, y;
|
|
9910
9910
|
}, s = document.createElement("div");
|
|
9911
|
-
s.setAttribute(
|
|
9911
|
+
s.setAttribute(
|
|
9912
|
+
"style",
|
|
9913
|
+
"position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
|
|
9914
|
+
);
|
|
9912
9915
|
const o = document.createElement("div");
|
|
9913
9916
|
o.innerHTML = lb, s.appendChild(o);
|
|
9914
9917
|
const r = {}, a = (p, m) => {
|
|
@@ -9964,7 +9967,9 @@ const lb = `<style type="text/css">
|
|
|
9964
9967
|
const y = p || t.roomInfo, P = m || t.roomRules;
|
|
9965
9968
|
if (!y || !P)
|
|
9966
9969
|
throw new Error("标尺数据依赖不齐全!");
|
|
9967
|
-
return e.loaded = !1, e.options = D(D({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise(
|
|
9970
|
+
return e.loaded = !1, e.options = D(D({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise(
|
|
9971
|
+
(I) => n.once("modelLoaded", () => I(a(y, P)))
|
|
9972
|
+
);
|
|
9968
9973
|
});
|
|
9969
9974
|
t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
|
|
9970
9975
|
const c = (p, m, b, y) => {
|
|
@@ -10051,29 +10056,24 @@ const lb = `<style type="text/css">
|
|
|
10051
10056
|
continue;
|
|
10052
10057
|
}
|
|
10053
10058
|
const $ = H.distanceTo(F);
|
|
10054
|
-
if (F.clone().sub(
|
|
10055
|
-
F.clone().sub(H).divide(new oe(2, 2, 2))
|
|
10056
|
-
).distanceTo(I) / $ > 8) {
|
|
10059
|
+
if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(I) / $ > 8) {
|
|
10057
10060
|
Q.style.display = "none";
|
|
10058
10061
|
continue;
|
|
10059
10062
|
}
|
|
10060
10063
|
const Pe = H.clone().project(b), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Qe = F.clone().project(b), ye = (Qe.x + 1) / 2 * E, Ze = (-Qe.y + 1) / 2 * j, ee = Math.sqrt(Math.pow(ye - Ce, 2) + Math.pow(Ze - be, 2));
|
|
10061
10064
|
let ve = ee, je = 50;
|
|
10062
|
-
const me = c(
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
y: ~~Ze
|
|
10067
|
-
},
|
|
10068
|
-
E,
|
|
10069
|
-
j
|
|
10070
|
-
);
|
|
10065
|
+
const me = c({ x: ~~Ce, y: ~~be }, {
|
|
10066
|
+
x: ~~ye,
|
|
10067
|
+
y: ~~Ze
|
|
10068
|
+
}, E, j);
|
|
10071
10069
|
if (me && me.length === 1 && (V === H ? (ve = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - be, 2)), je = ve / ee * 50) : V === F && (ve = Math.sqrt(Math.pow(me[0].x - ye, 2) + Math.pow(me[0].y - Ze, 2)), je = 100 - ve / ee * 50)), me && me.length === 2) {
|
|
10072
10070
|
const re = {
|
|
10073
10071
|
x: (me[0].x + me[1].x) / 2,
|
|
10074
10072
|
y: (me[0].y + me[1].y) / 2
|
|
10075
10073
|
};
|
|
10076
|
-
je = Math.sqrt(
|
|
10074
|
+
je = Math.sqrt(
|
|
10075
|
+
Math.pow(re.x - Ce, 2) + Math.pow(re.y - be, 2)
|
|
10076
|
+
) / ee * 100;
|
|
10077
10077
|
}
|
|
10078
10078
|
const at = (Math.PI / 2 - Math.atan2(ye - Ce, be - Ze)) / Math.PI * 180, xe = U.querySelector(".PanoRulerPlugin-rule-label"), st = xe.children[0].clientWidth;
|
|
10079
10079
|
st >= ee || st / 2 >= je / 100 * ee || st / 2 >= (1 - je / 100) * ee ? U.style.display = "none" : (U.style.display = "block", U.style.width = ee + "px", U.style.left = Ce + "px", U.style.top = be + "px", U.style.transform = `rotate(${-at}deg)`, xe.style.left = `${je}%`);
|
|
@@ -36929,11 +36929,11 @@ class u3 {
|
|
|
36929
36929
|
d(this, "container");
|
|
36930
36930
|
d(this, "visible", !1);
|
|
36931
36931
|
d(this, "enabled", !1);
|
|
36932
|
-
d(this, "wrapper");
|
|
36933
36932
|
d(this, "five");
|
|
36934
36933
|
d(this, "position");
|
|
36934
|
+
d(this, "wrapper");
|
|
36935
36935
|
d(this, "disposer");
|
|
36936
|
-
d(this, "
|
|
36936
|
+
d(this, "wrapperStyle", {});
|
|
36937
36937
|
d(this, "onCameraUpdate", () => {
|
|
36938
36938
|
if (this.visible === !1)
|
|
36939
36939
|
return;
|
|
@@ -36949,10 +36949,11 @@ class u3 {
|
|
|
36949
36949
|
(i == null ? void 0 : i.distance) > this.position.distanceTo(this.five.camera.position) ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
|
|
36950
36950
|
}
|
|
36951
36951
|
});
|
|
36952
|
+
var s;
|
|
36952
36953
|
this.five = t, this.position = Be(e).clone(), this.container = (() => {
|
|
36953
|
-
const
|
|
36954
|
-
return
|
|
36955
|
-
})(), this.
|
|
36954
|
+
const o = document.createElement("div");
|
|
36955
|
+
return o.style.width = "0", o.style.height = "0", o.style.position = "absolute", o;
|
|
36956
|
+
})(), this.wrapperStyle = (s = i == null ? void 0 : i.wrapperStyle) != null ? s : {}, this.enable(), this.show();
|
|
36956
36957
|
}
|
|
36957
36958
|
show() {
|
|
36958
36959
|
this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.transition = "opacity 0.2s linear", this.onCameraUpdate();
|
|
@@ -36961,13 +36962,16 @@ class u3 {
|
|
|
36961
36962
|
this.visible = !1, t != null && t.withAnimation ? this.container.style.transition = "opacity 0.2s linear" : this.container.style.transition = "", this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
|
|
36962
36963
|
}
|
|
36963
36964
|
enable() {
|
|
36964
|
-
var i
|
|
36965
|
+
var i;
|
|
36965
36966
|
if (this.enabled)
|
|
36966
36967
|
return;
|
|
36967
|
-
this.enabled = !0, this.wrapper
|
|
36968
|
-
|
|
36969
|
-
|
|
36970
|
-
|
|
36968
|
+
this.enabled = !0, this.wrapper = (i = document.getElementById(Ju)) != null ? i : (() => {
|
|
36969
|
+
var o;
|
|
36970
|
+
const s = document.createElement("div");
|
|
36971
|
+
return s.id = Ju, s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", Object.keys(this.wrapperStyle).forEach((r) => {
|
|
36972
|
+
s.style[r] = this.wrapperStyle[r];
|
|
36973
|
+
}), (o = this.five.getElement()) == null || o.parentElement.appendChild(s), s;
|
|
36974
|
+
})(), this.wrapper.appendChild(this.container);
|
|
36971
36975
|
let t = !1;
|
|
36972
36976
|
const e = () => {
|
|
36973
36977
|
t || (t = !0, this.five.ready().then(() => {
|
|
@@ -36993,7 +36997,7 @@ const wm = (n) => ((!Ro || n !== Ro.five) && (Ro = {
|
|
|
36993
36997
|
}), Ro.instance);
|
|
36994
36998
|
class Cm extends ii {
|
|
36995
36999
|
constructor(e) {
|
|
36996
|
-
var s, o, r;
|
|
37000
|
+
var s, o, r, a;
|
|
36997
37001
|
super();
|
|
36998
37002
|
d(this, "type");
|
|
36999
37003
|
d(this, "tag");
|
|
@@ -37001,10 +37005,11 @@ class Cm extends ii {
|
|
|
37001
37005
|
d(this, "model");
|
|
37002
37006
|
d(this, "five");
|
|
37003
37007
|
d(this, "group");
|
|
37008
|
+
d(this, "enabled", !1);
|
|
37004
37009
|
d(this, "fiveDomEvents");
|
|
37005
37010
|
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = wm(this.five);
|
|
37006
37011
|
const i = (r = (o = (s = e.position) != null ? s : this.model.worldCenter) != null ? o : this.model.center) != null ? r : Js(this.model).getCenter(new w.Vector3());
|
|
37007
|
-
this.tag = f3(this.five, i, {
|
|
37012
|
+
this.tag = f3(this.five, i, { wrapperStyle: { zIndex: `${(a = e.tagContainerZIndex) != null ? a : ""}` } });
|
|
37008
37013
|
}
|
|
37009
37014
|
get container() {
|
|
37010
37015
|
return this.tag.container;
|
|
@@ -37012,7 +37017,7 @@ class Cm extends ii {
|
|
|
37012
37017
|
get state() {
|
|
37013
37018
|
return {
|
|
37014
37019
|
visible: this.model.visible,
|
|
37015
|
-
enabled: this.
|
|
37020
|
+
enabled: this.enabled
|
|
37016
37021
|
};
|
|
37017
37022
|
}
|
|
37018
37023
|
show() {
|
|
@@ -37022,12 +37027,14 @@ class Cm extends ii {
|
|
|
37022
37027
|
this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
|
|
37023
37028
|
}
|
|
37024
37029
|
enable() {
|
|
37025
|
-
|
|
37030
|
+
if (this.enabled)
|
|
37031
|
+
return;
|
|
37032
|
+
this.enabled = !0, h3(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
|
|
37026
37033
|
const e = this.onClick.bind(this);
|
|
37027
37034
|
this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
|
|
37028
37035
|
}
|
|
37029
37036
|
disable() {
|
|
37030
|
-
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
|
|
37037
|
+
this.enabled && (this.enabled = !1, this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable"));
|
|
37031
37038
|
}
|
|
37032
37039
|
onClick() {
|
|
37033
37040
|
return this.emit("click", this);
|
|
@@ -37156,13 +37163,12 @@ class C3 extends vi {
|
|
|
37156
37163
|
d(this, "tagRendererMap", {});
|
|
37157
37164
|
d(this, "fiveDomEvents");
|
|
37158
37165
|
d(this, "zFightingOffset", 0);
|
|
37159
|
-
d(this, "
|
|
37166
|
+
d(this, "tagContainerZIndex");
|
|
37160
37167
|
d(this, "handleEnable", () => {
|
|
37161
|
-
|
|
37162
|
-
this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0;
|
|
37168
|
+
this.items.forEach((e) => e.enable());
|
|
37163
37169
|
});
|
|
37164
37170
|
d(this, "handleDisable", () => {
|
|
37165
|
-
this.
|
|
37171
|
+
this.items.forEach((e) => e.disable());
|
|
37166
37172
|
});
|
|
37167
37173
|
d(this, "updateTagRenderer", () => {
|
|
37168
37174
|
this.items.forEach((e) => {
|
|
@@ -37171,71 +37177,70 @@ class C3 extends vi {
|
|
|
37171
37177
|
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
|
|
37172
37178
|
});
|
|
37173
37179
|
});
|
|
37174
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = wm(e), this.
|
|
37175
|
-
var o;
|
|
37176
|
-
const s = document.createElement("div");
|
|
37177
|
-
return s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", s.style.zIndex = `${(o = i == null ? void 0 : i.tagContainerZIndex) != null ? o : ""}`, s;
|
|
37178
|
-
})(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
37180
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = wm(e), this.tagContainerZIndex = i == null ? void 0 : i.tagContainerZIndex, e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
37179
37181
|
}
|
|
37180
37182
|
load(e) {
|
|
37181
37183
|
return G(this, null, function* () {
|
|
37182
|
-
var
|
|
37183
|
-
this.clear(), this.data = e
|
|
37184
|
-
|
|
37185
|
-
|
|
37186
|
-
|
|
37187
|
-
|
|
37188
|
-
|
|
37189
|
-
|
|
37190
|
-
|
|
37184
|
+
var s;
|
|
37185
|
+
this.clear(), this.data = e;
|
|
37186
|
+
const i = this.tagContainerZIndex;
|
|
37187
|
+
(s = e == null ? void 0 : e.list) == null || s.forEach((o) => {
|
|
37188
|
+
var r;
|
|
37189
|
+
if (o.type === "triangles") {
|
|
37190
|
+
const a = new cr();
|
|
37191
|
+
a.setPoints(o.object_data.points), a.setStyle({
|
|
37192
|
+
color: o.object_data.color,
|
|
37193
|
+
opacity: o.object_data.opacity,
|
|
37194
|
+
lineColor: o.object_data.color,
|
|
37191
37195
|
occlusionVisibility: !1
|
|
37192
|
-
}), this.fiveDomEvents.addEventListener(
|
|
37193
|
-
const
|
|
37196
|
+
}), this.fiveDomEvents.addEventListener(a, "hover", () => a.highlight()), this.fiveDomEvents.addEventListener(a, "unHover", () => a.unhighlight());
|
|
37197
|
+
const l = new Pm({
|
|
37194
37198
|
five: this.five,
|
|
37195
|
-
|
|
37196
|
-
model: r,
|
|
37199
|
+
model: a,
|
|
37197
37200
|
group: this.group,
|
|
37198
|
-
type:
|
|
37199
|
-
rawData:
|
|
37201
|
+
type: o.type,
|
|
37202
|
+
rawData: o,
|
|
37203
|
+
tagContainerZIndex: i
|
|
37200
37204
|
});
|
|
37201
|
-
this.items.push(
|
|
37202
|
-
} else if (
|
|
37203
|
-
const
|
|
37204
|
-
this.zFightingOffset += 1e-4
|
|
37205
|
-
|
|
37206
|
-
|
|
37207
|
-
|
|
37208
|
-
|
|
37209
|
-
|
|
37210
|
-
|
|
37211
|
-
|
|
37212
|
-
|
|
37205
|
+
this.items.push(l);
|
|
37206
|
+
} else if (o.type === "prism") {
|
|
37207
|
+
const a = new hr();
|
|
37208
|
+
this.zFightingOffset += 1e-4, a.setPoints({
|
|
37209
|
+
points: o.object_data.points.map((c) => {
|
|
37210
|
+
var h;
|
|
37211
|
+
return [c[0], c[1] + ((h = o.object_data.fixedY) != null ? h : 0), c[2]];
|
|
37212
|
+
}),
|
|
37213
|
+
heightPoint: Be(o.object_data.points[0]).add(new w.Vector3().setY(o.object_data.height + ((r = o.object_data.fixedHeight) != null ? r : 0))).add(new w.Vector3().setY(this.zFightingOffset))
|
|
37214
|
+
}), a.setStyle({
|
|
37215
|
+
color: o.object_data.color,
|
|
37216
|
+
opacity: o.object_data.opacity,
|
|
37217
|
+
lineColor: o.object_data.color,
|
|
37213
37218
|
occlusionVisibility: !1
|
|
37214
37219
|
});
|
|
37215
|
-
const
|
|
37220
|
+
const l = new w3({
|
|
37216
37221
|
five: this.five,
|
|
37217
|
-
|
|
37218
|
-
model: r,
|
|
37222
|
+
model: a,
|
|
37219
37223
|
group: this.group,
|
|
37220
|
-
type:
|
|
37221
|
-
rawData:
|
|
37224
|
+
type: o.type,
|
|
37225
|
+
rawData: o,
|
|
37226
|
+
tagContainerZIndex: i
|
|
37222
37227
|
});
|
|
37223
|
-
this.items.push(
|
|
37224
|
-
} else if (
|
|
37225
|
-
const
|
|
37226
|
-
|
|
37227
|
-
points: [_i(
|
|
37228
|
-
heightPoint: _i(
|
|
37229
|
-
}),
|
|
37230
|
-
const
|
|
37228
|
+
this.items.push(l);
|
|
37229
|
+
} else if (o.type === "box") {
|
|
37230
|
+
const a = new hr(), { start: l, end: c, rotation: h = [0, 0, 0, 0], opacity: u, color: f } = o.object_data, g = new w.Vector3().fromArray(l), A = new w.Vector3().fromArray(c), p = new w.Euler().fromArray(h), m = new w.Quaternion().setFromEuler(p), b = m.clone().inverse(), y = new w.Vector3().lerpVectors(g, A, 0.5), P = y.clone().negate(), I = g.clone().add(P).applyQuaternion(b), k = A.clone().add(P).applyQuaternion(b), E = new w.Box3(I.clone().max(k), I.clone().min(k));
|
|
37231
|
+
a.setPoints({
|
|
37232
|
+
points: [_i(E, 2), _i(E, 3), _i(E, 7), _i(E, 6)],
|
|
37233
|
+
heightPoint: _i(E, 0)
|
|
37234
|
+
}), a.position.copy(y), a.quaternion.copy(m), a.setStyle({ color: f, opacity: u, lineColor: f, occlusionVisibility: !1 });
|
|
37235
|
+
const j = new g3({
|
|
37231
37236
|
five: this.five,
|
|
37232
|
-
|
|
37233
|
-
model: r,
|
|
37237
|
+
model: a,
|
|
37234
37238
|
group: this.group,
|
|
37235
|
-
type:
|
|
37236
|
-
rawData:
|
|
37239
|
+
type: o.type,
|
|
37240
|
+
rawData: o,
|
|
37241
|
+
tagContainerZIndex: i
|
|
37237
37242
|
});
|
|
37238
|
-
this.items.push(
|
|
37243
|
+
this.items.push(j);
|
|
37239
37244
|
}
|
|
37240
37245
|
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
|
|
37241
37246
|
});
|
|
@@ -37268,10 +37273,10 @@ class C3 extends vi {
|
|
|
37268
37273
|
this.hooks.emit("dispose"), this.handleDisable();
|
|
37269
37274
|
}
|
|
37270
37275
|
handleShow() {
|
|
37271
|
-
this.
|
|
37276
|
+
this.items.forEach((e) => e.show());
|
|
37272
37277
|
}
|
|
37273
37278
|
handleHide() {
|
|
37274
|
-
this.
|
|
37279
|
+
this.items.forEach((e) => e.hide());
|
|
37275
37280
|
}
|
|
37276
37281
|
}
|
|
37277
37282
|
const qx = (...n) => new C3(...n);
|