@realsee/dnalogel 2.1.0-alpha.3 → 2.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/Object3DHelperPlugin/index.js +224 -60
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +97 -78
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/index.es.js +262 -110
- package/dist/index.js +297 -145
- package/dist/index.umd.js +297 -145
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +14 -7
- package/docs/classes/PanoTagPluginController.html +43 -43
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +15 -0
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -0
- package/docs/enums/PointType.html +1 -0
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- 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 +5 -5
- package/docs/interfaces/TagConfig.html +11 -0
- package/docs/interfaces/Tags.html +5 -0
- package/docs/modules.html +25 -17
- package/libs/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/libs/Object3DHelperPlugin/Controller.js +136 -7
- package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +12 -12
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.d.ts +1 -0
- package/libs/PanoTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/mocks/mock1.js +1 -1
- package/libs/PanoTagPlugin/mocks/mock6.js +1 -1
- package/libs/PanoTagPlugin/tag.config.js +1 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +4 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +17 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +9 -22
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +3 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +17 -17
- package/libs/shared-utils/Object3DHelper/index.js +0 -2
- package/package.json +1 -1
|
@@ -1,15 +1,49 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import
|
|
2
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
3
3
|
import type * as THREE from 'three';
|
|
4
4
|
import { Object3DHelper } from '../shared-utils/Object3DHelper';
|
|
5
|
-
import type { Object3DHelperState
|
|
5
|
+
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
|
+
import type { Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
6
7
|
export declare const VERSION = "v1.0.0";
|
|
7
8
|
export declare const PLUGIN: string;
|
|
8
|
-
export declare class Object3DHelperController extends
|
|
9
|
+
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
9
10
|
version: string;
|
|
10
11
|
name: string;
|
|
11
|
-
|
|
12
|
+
state: Object3DHelperState;
|
|
13
|
+
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
12
14
|
constructor(five: Five);
|
|
15
|
+
/**
|
|
16
|
+
* @description Show guide line
|
|
17
|
+
*/
|
|
18
|
+
show(options?: {
|
|
19
|
+
userAction?: boolean;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Hide guide line
|
|
23
|
+
*/
|
|
24
|
+
hide(options?: {
|
|
25
|
+
userAction?: boolean;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @description Enable
|
|
29
|
+
*/
|
|
30
|
+
enable(options?: {
|
|
31
|
+
userAction?: boolean;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* @description Disable
|
|
35
|
+
*/
|
|
36
|
+
disable(options?: {
|
|
37
|
+
userAction?: boolean;
|
|
38
|
+
}): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description Dispose
|
|
41
|
+
*/
|
|
42
|
+
dispose(): void;
|
|
43
|
+
setState(state: Partial<Object3DHelperState>, options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
} & Record<string, any>): void;
|
|
46
|
+
getObject3DHelper(object3D: THREE.Object3D): Object3DHelper;
|
|
13
47
|
/**
|
|
14
48
|
* @description 添加 helper
|
|
15
49
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -22,4 +56,10 @@ export declare class Object3DHelperController extends Object3DHelper implements
|
|
|
22
56
|
rotateHelper?: boolean;
|
|
23
57
|
scaleHelper?: boolean;
|
|
24
58
|
}): void;
|
|
59
|
+
removeObject3DHelper(object3D: THREE.Object3D): void;
|
|
60
|
+
private handleEnable;
|
|
61
|
+
private handleVisible;
|
|
62
|
+
private handleDispose;
|
|
63
|
+
private everyHelperDo;
|
|
64
|
+
private actionIfStateIsEnabled;
|
|
25
65
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Object3DHelperPluginState {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
disposed: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare type Object3DHelperPluginEventMap = {
|
|
7
|
+
show: (options?: {
|
|
8
|
+
userAction?: boolean;
|
|
9
|
+
}) => void;
|
|
10
|
+
hide: (options?: {
|
|
11
|
+
userAction?: boolean;
|
|
12
|
+
}) => void;
|
|
13
|
+
enable: (options?: {
|
|
14
|
+
userAction?: boolean;
|
|
15
|
+
}) => void;
|
|
16
|
+
disable: (options?: {
|
|
17
|
+
userAction?: boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
dispose: () => void;
|
|
20
|
+
stateChange: (params: {
|
|
21
|
+
state: Object3DHelperPluginState;
|
|
22
|
+
prevState?: Object3DHelperPluginState;
|
|
23
|
+
}) => void;
|
|
24
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import PanoTagPluginController from './controller';
|
|
3
3
|
export * from './controller';
|
|
4
|
+
export * from './typings/tag';
|
|
4
5
|
export declare type PanoTagPluginExportInterface = InstanceType<typeof PanoTagPluginController>;
|
|
5
6
|
export declare type PanoTagPluginParamsInterface = ConstructorParameters<typeof PanoTagPluginController>[1];
|
|
6
7
|
export declare const PanoTagPlugin: FivePlugin<PanoTagPluginParamsInterface, PanoTagPluginExportInterface>;
|
|
@@ -31,7 +31,7 @@ export declare enum ContentType {
|
|
|
31
31
|
/** 营销标签 */
|
|
32
32
|
Marketing = "Marketing",
|
|
33
33
|
/** 图片视频贴片 */
|
|
34
|
-
|
|
34
|
+
MediaPlane = "MediaPlane",
|
|
35
35
|
/** 其他/自定义标签 */
|
|
36
36
|
Custom = "Custom"
|
|
37
37
|
}
|
|
@@ -201,9 +201,12 @@ interface ContentTypeMap {
|
|
|
201
201
|
};
|
|
202
202
|
extraData?: Object;
|
|
203
203
|
};
|
|
204
|
-
[ContentType.
|
|
204
|
+
[ContentType.MediaPlane]: {
|
|
205
205
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
208
|
+
* @deprecated replaced by objectFit
|
|
209
|
+
*/
|
|
207
210
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
211
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
212
|
objectFit?: ObjectFit;
|
|
@@ -5,8 +5,13 @@ import type { Direction, Direction4 } from '../typings';
|
|
|
5
5
|
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
6
6
|
export declare abstract class BaseHelper<OriginObject3D extends Object3D = Object3D> extends Object3D {
|
|
7
7
|
protected originObject3D: OriginObject3D;
|
|
8
|
+
protected needsRender: () => any;
|
|
8
9
|
get helperObject(): Object3D;
|
|
9
|
-
constructor(originObject3D: OriginObject3D
|
|
10
|
+
constructor(originObject3D: OriginObject3D, config?: {
|
|
11
|
+
needsRender?: () => any;
|
|
12
|
+
});
|
|
13
|
+
show(): void;
|
|
14
|
+
hide(): void;
|
|
10
15
|
updatePosition(): void;
|
|
11
16
|
setPosition(position: Vector3): void;
|
|
12
17
|
updateMatrix4(matrix: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
@@ -15,8 +20,7 @@ export declare abstract class BaseHelper<OriginObject3D extends Object3D = Objec
|
|
|
15
20
|
helperOrigin?: THREE.Vector3;
|
|
16
21
|
}): void;
|
|
17
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
18
|
-
abstract
|
|
19
|
-
abstract show(...args: any[]): void;
|
|
23
|
+
abstract showDraggingHelper(directions?: Direction[]): void;
|
|
20
24
|
abstract dispose(): void;
|
|
21
25
|
}
|
|
22
26
|
export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -35,8 +39,6 @@ export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D
|
|
|
35
39
|
line?: Object3D;
|
|
36
40
|
direction: Direction;
|
|
37
41
|
};
|
|
38
|
-
abstract hide(...directions: Direction[]): void;
|
|
39
|
-
abstract show(...directions: Direction[]): void;
|
|
40
42
|
}
|
|
41
43
|
export declare abstract class RotateHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
42
44
|
abstract xyCircle: Mesh & {
|
|
@@ -64,8 +66,7 @@ export declare abstract class RotateHelperAbstract<OriginObject3D extends Object
|
|
|
64
66
|
direction: Direction;
|
|
65
67
|
};
|
|
66
68
|
abstract angleTips?: ReturnType<typeof tipsDom>;
|
|
67
|
-
abstract
|
|
68
|
-
abstract show(direction?: Direction): void;
|
|
69
|
+
abstract showDraggingHelper(directions: Direction[]): void;
|
|
69
70
|
abstract updateAngleHelperQuaternion(): void;
|
|
70
71
|
}
|
|
71
72
|
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -7,7 +7,7 @@ export declare class MoveHelper extends MoveHelperAbstract {
|
|
|
7
7
|
yArrow: ArrowGroup;
|
|
8
8
|
zArrow: ArrowGroup;
|
|
9
9
|
constructor(originObject3D: Object3D);
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
show(): void;
|
|
11
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
12
12
|
dispose(): void;
|
|
13
13
|
}
|
|
@@ -21,6 +21,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
21
21
|
updatePosition(): void;
|
|
22
22
|
setPosition(position: Vector3): void;
|
|
23
23
|
updateMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
+
showDraggingHelper(): void;
|
|
24
25
|
setHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
25
26
|
origin?: Vector3;
|
|
26
27
|
helperOrigin?: Vector3;
|
|
@@ -21,7 +21,8 @@ export declare class RotateHelper extends RotateHelperAbstract {
|
|
|
21
21
|
updateAngleHelperQuaternion(): void;
|
|
22
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
23
23
|
hide(): void;
|
|
24
|
-
show(
|
|
24
|
+
show(): void;
|
|
25
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
25
26
|
dispose(): void;
|
|
26
27
|
private filterRingHelper;
|
|
27
28
|
private filterAngleHelper;
|
|
@@ -1,15 +1,49 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import
|
|
2
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
3
3
|
import type * as THREE from 'three';
|
|
4
4
|
import { Object3DHelper } from '../shared-utils/Object3DHelper';
|
|
5
|
-
import type { Object3DHelperState
|
|
5
|
+
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
|
+
import type { Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
6
7
|
export declare const VERSION = "v1.0.0";
|
|
7
8
|
export declare const PLUGIN: string;
|
|
8
|
-
export declare class Object3DHelperController extends
|
|
9
|
+
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
9
10
|
version: string;
|
|
10
11
|
name: string;
|
|
11
|
-
|
|
12
|
+
state: Object3DHelperState;
|
|
13
|
+
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
12
14
|
constructor(five: Five);
|
|
15
|
+
/**
|
|
16
|
+
* @description Show guide line
|
|
17
|
+
*/
|
|
18
|
+
show(options?: {
|
|
19
|
+
userAction?: boolean;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Hide guide line
|
|
23
|
+
*/
|
|
24
|
+
hide(options?: {
|
|
25
|
+
userAction?: boolean;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @description Enable
|
|
29
|
+
*/
|
|
30
|
+
enable(options?: {
|
|
31
|
+
userAction?: boolean;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* @description Disable
|
|
35
|
+
*/
|
|
36
|
+
disable(options?: {
|
|
37
|
+
userAction?: boolean;
|
|
38
|
+
}): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description Dispose
|
|
41
|
+
*/
|
|
42
|
+
dispose(): void;
|
|
43
|
+
setState(state: Partial<Object3DHelperState>, options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
} & Record<string, any>): void;
|
|
46
|
+
getObject3DHelper(object3D: THREE.Object3D): Object3DHelper;
|
|
13
47
|
/**
|
|
14
48
|
* @description 添加 helper
|
|
15
49
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -22,4 +56,10 @@ export declare class Object3DHelperController extends Object3DHelper implements
|
|
|
22
56
|
rotateHelper?: boolean;
|
|
23
57
|
scaleHelper?: boolean;
|
|
24
58
|
}): void;
|
|
59
|
+
removeObject3DHelper(object3D: THREE.Object3D): void;
|
|
60
|
+
private handleEnable;
|
|
61
|
+
private handleVisible;
|
|
62
|
+
private handleDispose;
|
|
63
|
+
private everyHelperDo;
|
|
64
|
+
private actionIfStateIsEnabled;
|
|
25
65
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Object3DHelperPluginState {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
disposed: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare type Object3DHelperPluginEventMap = {
|
|
7
|
+
show: (options?: {
|
|
8
|
+
userAction?: boolean;
|
|
9
|
+
}) => void;
|
|
10
|
+
hide: (options?: {
|
|
11
|
+
userAction?: boolean;
|
|
12
|
+
}) => void;
|
|
13
|
+
enable: (options?: {
|
|
14
|
+
userAction?: boolean;
|
|
15
|
+
}) => void;
|
|
16
|
+
disable: (options?: {
|
|
17
|
+
userAction?: boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
dispose: () => void;
|
|
20
|
+
stateChange: (params: {
|
|
21
|
+
state: Object3DHelperPluginState;
|
|
22
|
+
prevState?: Object3DHelperPluginState;
|
|
23
|
+
}) => void;
|
|
24
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import PanoTagPluginController from './controller';
|
|
3
3
|
export * from './controller';
|
|
4
|
+
export * from './typings/tag';
|
|
4
5
|
export declare type PanoTagPluginExportInterface = InstanceType<typeof PanoTagPluginController>;
|
|
5
6
|
export declare type PanoTagPluginParamsInterface = ConstructorParameters<typeof PanoTagPluginController>[1];
|
|
6
7
|
export declare const PanoTagPlugin: FivePlugin<PanoTagPluginParamsInterface, PanoTagPluginExportInterface>;
|
|
@@ -31,7 +31,7 @@ export declare enum ContentType {
|
|
|
31
31
|
/** 营销标签 */
|
|
32
32
|
Marketing = "Marketing",
|
|
33
33
|
/** 图片视频贴片 */
|
|
34
|
-
|
|
34
|
+
MediaPlane = "MediaPlane",
|
|
35
35
|
/** 其他/自定义标签 */
|
|
36
36
|
Custom = "Custom"
|
|
37
37
|
}
|
|
@@ -201,9 +201,12 @@ interface ContentTypeMap {
|
|
|
201
201
|
};
|
|
202
202
|
extraData?: Object;
|
|
203
203
|
};
|
|
204
|
-
[ContentType.
|
|
204
|
+
[ContentType.MediaPlane]: {
|
|
205
205
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
208
|
+
* @deprecated replaced by objectFit
|
|
209
|
+
*/
|
|
207
210
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
211
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
212
|
objectFit?: ObjectFit;
|
|
@@ -5,8 +5,13 @@ import type { Direction, Direction4 } from '../typings';
|
|
|
5
5
|
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
6
6
|
export declare abstract class BaseHelper<OriginObject3D extends Object3D = Object3D> extends Object3D {
|
|
7
7
|
protected originObject3D: OriginObject3D;
|
|
8
|
+
protected needsRender: () => any;
|
|
8
9
|
get helperObject(): Object3D;
|
|
9
|
-
constructor(originObject3D: OriginObject3D
|
|
10
|
+
constructor(originObject3D: OriginObject3D, config?: {
|
|
11
|
+
needsRender?: () => any;
|
|
12
|
+
});
|
|
13
|
+
show(): void;
|
|
14
|
+
hide(): void;
|
|
10
15
|
updatePosition(): void;
|
|
11
16
|
setPosition(position: Vector3): void;
|
|
12
17
|
updateMatrix4(matrix: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
@@ -15,8 +20,7 @@ export declare abstract class BaseHelper<OriginObject3D extends Object3D = Objec
|
|
|
15
20
|
helperOrigin?: THREE.Vector3;
|
|
16
21
|
}): void;
|
|
17
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
18
|
-
abstract
|
|
19
|
-
abstract show(...args: any[]): void;
|
|
23
|
+
abstract showDraggingHelper(directions?: Direction[]): void;
|
|
20
24
|
abstract dispose(): void;
|
|
21
25
|
}
|
|
22
26
|
export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -35,8 +39,6 @@ export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D
|
|
|
35
39
|
line?: Object3D;
|
|
36
40
|
direction: Direction;
|
|
37
41
|
};
|
|
38
|
-
abstract hide(...directions: Direction[]): void;
|
|
39
|
-
abstract show(...directions: Direction[]): void;
|
|
40
42
|
}
|
|
41
43
|
export declare abstract class RotateHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
42
44
|
abstract xyCircle: Mesh & {
|
|
@@ -64,8 +66,7 @@ export declare abstract class RotateHelperAbstract<OriginObject3D extends Object
|
|
|
64
66
|
direction: Direction;
|
|
65
67
|
};
|
|
66
68
|
abstract angleTips?: ReturnType<typeof tipsDom>;
|
|
67
|
-
abstract
|
|
68
|
-
abstract show(direction?: Direction): void;
|
|
69
|
+
abstract showDraggingHelper(directions: Direction[]): void;
|
|
69
70
|
abstract updateAngleHelperQuaternion(): void;
|
|
70
71
|
}
|
|
71
72
|
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -7,7 +7,7 @@ export declare class MoveHelper extends MoveHelperAbstract {
|
|
|
7
7
|
yArrow: ArrowGroup;
|
|
8
8
|
zArrow: ArrowGroup;
|
|
9
9
|
constructor(originObject3D: Object3D);
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
show(): void;
|
|
11
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
12
12
|
dispose(): void;
|
|
13
13
|
}
|
package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
21
21
|
updatePosition(): void;
|
|
22
22
|
setPosition(position: Vector3): void;
|
|
23
23
|
updateMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
+
showDraggingHelper(): void;
|
|
24
25
|
setHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
25
26
|
origin?: Vector3;
|
|
26
27
|
helperOrigin?: Vector3;
|
|
@@ -21,7 +21,8 @@ export declare class RotateHelper extends RotateHelperAbstract {
|
|
|
21
21
|
updateAngleHelperQuaternion(): void;
|
|
22
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
23
23
|
hide(): void;
|
|
24
|
-
show(
|
|
24
|
+
show(): void;
|
|
25
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
25
26
|
dispose(): void;
|
|
26
27
|
private filterRingHelper;
|
|
27
28
|
private filterAngleHelper;
|
|
@@ -1,15 +1,49 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import
|
|
2
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
3
3
|
import type * as THREE from 'three';
|
|
4
4
|
import { Object3DHelper } from '../shared-utils/Object3DHelper';
|
|
5
|
-
import type { Object3DHelperState
|
|
5
|
+
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
|
+
import type { Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
6
7
|
export declare const VERSION = "v1.0.0";
|
|
7
8
|
export declare const PLUGIN: string;
|
|
8
|
-
export declare class Object3DHelperController extends
|
|
9
|
+
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
9
10
|
version: string;
|
|
10
11
|
name: string;
|
|
11
|
-
|
|
12
|
+
state: Object3DHelperState;
|
|
13
|
+
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
12
14
|
constructor(five: Five);
|
|
15
|
+
/**
|
|
16
|
+
* @description Show guide line
|
|
17
|
+
*/
|
|
18
|
+
show(options?: {
|
|
19
|
+
userAction?: boolean;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Hide guide line
|
|
23
|
+
*/
|
|
24
|
+
hide(options?: {
|
|
25
|
+
userAction?: boolean;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @description Enable
|
|
29
|
+
*/
|
|
30
|
+
enable(options?: {
|
|
31
|
+
userAction?: boolean;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* @description Disable
|
|
35
|
+
*/
|
|
36
|
+
disable(options?: {
|
|
37
|
+
userAction?: boolean;
|
|
38
|
+
}): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description Dispose
|
|
41
|
+
*/
|
|
42
|
+
dispose(): void;
|
|
43
|
+
setState(state: Partial<Object3DHelperState>, options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
} & Record<string, any>): void;
|
|
46
|
+
getObject3DHelper(object3D: THREE.Object3D): Object3DHelper;
|
|
13
47
|
/**
|
|
14
48
|
* @description 添加 helper
|
|
15
49
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -22,4 +56,10 @@ export declare class Object3DHelperController extends Object3DHelper implements
|
|
|
22
56
|
rotateHelper?: boolean;
|
|
23
57
|
scaleHelper?: boolean;
|
|
24
58
|
}): void;
|
|
59
|
+
removeObject3DHelper(object3D: THREE.Object3D): void;
|
|
60
|
+
private handleEnable;
|
|
61
|
+
private handleVisible;
|
|
62
|
+
private handleDispose;
|
|
63
|
+
private everyHelperDo;
|
|
64
|
+
private actionIfStateIsEnabled;
|
|
25
65
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Object3DHelperPluginState {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
disposed: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare type Object3DHelperPluginEventMap = {
|
|
7
|
+
show: (options?: {
|
|
8
|
+
userAction?: boolean;
|
|
9
|
+
}) => void;
|
|
10
|
+
hide: (options?: {
|
|
11
|
+
userAction?: boolean;
|
|
12
|
+
}) => void;
|
|
13
|
+
enable: (options?: {
|
|
14
|
+
userAction?: boolean;
|
|
15
|
+
}) => void;
|
|
16
|
+
disable: (options?: {
|
|
17
|
+
userAction?: boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
dispose: () => void;
|
|
20
|
+
stateChange: (params: {
|
|
21
|
+
state: Object3DHelperPluginState;
|
|
22
|
+
prevState?: Object3DHelperPluginState;
|
|
23
|
+
}) => void;
|
|
24
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import PanoTagPluginController from './controller';
|
|
3
3
|
export * from './controller';
|
|
4
|
+
export * from './typings/tag';
|
|
4
5
|
export declare type PanoTagPluginExportInterface = InstanceType<typeof PanoTagPluginController>;
|
|
5
6
|
export declare type PanoTagPluginParamsInterface = ConstructorParameters<typeof PanoTagPluginController>[1];
|
|
6
7
|
export declare const PanoTagPlugin: FivePlugin<PanoTagPluginParamsInterface, PanoTagPluginExportInterface>;
|
|
@@ -31,7 +31,7 @@ export declare enum ContentType {
|
|
|
31
31
|
/** 营销标签 */
|
|
32
32
|
Marketing = "Marketing",
|
|
33
33
|
/** 图片视频贴片 */
|
|
34
|
-
|
|
34
|
+
MediaPlane = "MediaPlane",
|
|
35
35
|
/** 其他/自定义标签 */
|
|
36
36
|
Custom = "Custom"
|
|
37
37
|
}
|
|
@@ -201,9 +201,12 @@ interface ContentTypeMap {
|
|
|
201
201
|
};
|
|
202
202
|
extraData?: Object;
|
|
203
203
|
};
|
|
204
|
-
[ContentType.
|
|
204
|
+
[ContentType.MediaPlane]: {
|
|
205
205
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
208
|
+
* @deprecated replaced by objectFit
|
|
209
|
+
*/
|
|
207
210
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
211
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
212
|
objectFit?: ObjectFit;
|
|
@@ -5,8 +5,13 @@ import type { Direction, Direction4 } from '../typings';
|
|
|
5
5
|
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
6
6
|
export declare abstract class BaseHelper<OriginObject3D extends Object3D = Object3D> extends Object3D {
|
|
7
7
|
protected originObject3D: OriginObject3D;
|
|
8
|
+
protected needsRender: () => any;
|
|
8
9
|
get helperObject(): Object3D;
|
|
9
|
-
constructor(originObject3D: OriginObject3D
|
|
10
|
+
constructor(originObject3D: OriginObject3D, config?: {
|
|
11
|
+
needsRender?: () => any;
|
|
12
|
+
});
|
|
13
|
+
show(): void;
|
|
14
|
+
hide(): void;
|
|
10
15
|
updatePosition(): void;
|
|
11
16
|
setPosition(position: Vector3): void;
|
|
12
17
|
updateMatrix4(matrix: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
@@ -15,8 +20,7 @@ export declare abstract class BaseHelper<OriginObject3D extends Object3D = Objec
|
|
|
15
20
|
helperOrigin?: THREE.Vector3;
|
|
16
21
|
}): void;
|
|
17
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
18
|
-
abstract
|
|
19
|
-
abstract show(...args: any[]): void;
|
|
23
|
+
abstract showDraggingHelper(directions?: Direction[]): void;
|
|
20
24
|
abstract dispose(): void;
|
|
21
25
|
}
|
|
22
26
|
export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -35,8 +39,6 @@ export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D
|
|
|
35
39
|
line?: Object3D;
|
|
36
40
|
direction: Direction;
|
|
37
41
|
};
|
|
38
|
-
abstract hide(...directions: Direction[]): void;
|
|
39
|
-
abstract show(...directions: Direction[]): void;
|
|
40
42
|
}
|
|
41
43
|
export declare abstract class RotateHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
42
44
|
abstract xyCircle: Mesh & {
|
|
@@ -64,8 +66,7 @@ export declare abstract class RotateHelperAbstract<OriginObject3D extends Object
|
|
|
64
66
|
direction: Direction;
|
|
65
67
|
};
|
|
66
68
|
abstract angleTips?: ReturnType<typeof tipsDom>;
|
|
67
|
-
abstract
|
|
68
|
-
abstract show(direction?: Direction): void;
|
|
69
|
+
abstract showDraggingHelper(directions: Direction[]): void;
|
|
69
70
|
abstract updateAngleHelperQuaternion(): void;
|
|
70
71
|
}
|
|
71
72
|
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -7,7 +7,7 @@ export declare class MoveHelper extends MoveHelperAbstract {
|
|
|
7
7
|
yArrow: ArrowGroup;
|
|
8
8
|
zArrow: ArrowGroup;
|
|
9
9
|
constructor(originObject3D: Object3D);
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
show(): void;
|
|
11
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
12
12
|
dispose(): void;
|
|
13
13
|
}
|
|
@@ -21,6 +21,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
21
21
|
updatePosition(): void;
|
|
22
22
|
setPosition(position: Vector3): void;
|
|
23
23
|
updateMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
+
showDraggingHelper(): void;
|
|
24
25
|
setHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
25
26
|
origin?: Vector3;
|
|
26
27
|
helperOrigin?: Vector3;
|
|
@@ -21,7 +21,8 @@ export declare class RotateHelper extends RotateHelperAbstract {
|
|
|
21
21
|
updateAngleHelperQuaternion(): void;
|
|
22
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
23
23
|
hide(): void;
|
|
24
|
-
show(
|
|
24
|
+
show(): void;
|
|
25
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
25
26
|
dispose(): void;
|
|
26
27
|
private filterRingHelper;
|
|
27
28
|
private filterAngleHelper;
|
|
@@ -1,15 +1,49 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import
|
|
2
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
3
3
|
import type * as THREE from 'three';
|
|
4
4
|
import { Object3DHelper } from '../shared-utils/Object3DHelper';
|
|
5
|
-
import type { Object3DHelperState
|
|
5
|
+
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
|
+
import type { Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
6
7
|
export declare const VERSION = "v1.0.0";
|
|
7
8
|
export declare const PLUGIN: string;
|
|
8
|
-
export declare class Object3DHelperController extends
|
|
9
|
+
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
9
10
|
version: string;
|
|
10
11
|
name: string;
|
|
11
|
-
|
|
12
|
+
state: Object3DHelperState;
|
|
13
|
+
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
12
14
|
constructor(five: Five);
|
|
15
|
+
/**
|
|
16
|
+
* @description Show guide line
|
|
17
|
+
*/
|
|
18
|
+
show(options?: {
|
|
19
|
+
userAction?: boolean;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Hide guide line
|
|
23
|
+
*/
|
|
24
|
+
hide(options?: {
|
|
25
|
+
userAction?: boolean;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @description Enable
|
|
29
|
+
*/
|
|
30
|
+
enable(options?: {
|
|
31
|
+
userAction?: boolean;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* @description Disable
|
|
35
|
+
*/
|
|
36
|
+
disable(options?: {
|
|
37
|
+
userAction?: boolean;
|
|
38
|
+
}): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description Dispose
|
|
41
|
+
*/
|
|
42
|
+
dispose(): void;
|
|
43
|
+
setState(state: Partial<Object3DHelperState>, options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
} & Record<string, any>): void;
|
|
46
|
+
getObject3DHelper(object3D: THREE.Object3D): Object3DHelper;
|
|
13
47
|
/**
|
|
14
48
|
* @description 添加 helper
|
|
15
49
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -22,4 +56,10 @@ export declare class Object3DHelperController extends Object3DHelper implements
|
|
|
22
56
|
rotateHelper?: boolean;
|
|
23
57
|
scaleHelper?: boolean;
|
|
24
58
|
}): void;
|
|
59
|
+
removeObject3DHelper(object3D: THREE.Object3D): void;
|
|
60
|
+
private handleEnable;
|
|
61
|
+
private handleVisible;
|
|
62
|
+
private handleDispose;
|
|
63
|
+
private everyHelperDo;
|
|
64
|
+
private actionIfStateIsEnabled;
|
|
25
65
|
}
|