@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
|
@@ -9,7 +9,7 @@ import { TagComputer } from './TagComputer';
|
|
|
9
9
|
import { CSS3DRenderPlugin } from '../../CSS3DRenderPlugin';
|
|
10
10
|
import { DimensionType, PointType } from '../typings';
|
|
11
11
|
// declare const __APP_VERSION__: string
|
|
12
|
-
const VERSION = '0.
|
|
12
|
+
const VERSION = '0.3.3';
|
|
13
13
|
const PLUGIN_NAME = `DnalogelPlugin-PanoTagPlugin-${random()}@${VERSION}`;
|
|
14
14
|
const TAG_INITIAL_UNFOLDED = true;
|
|
15
15
|
export const pluginFlag = (name) => `${PLUGIN_NAME}--${name}`;
|
|
@@ -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;
|
|
@@ -21,7 +21,7 @@ export var ContentType;
|
|
|
21
21
|
/** 营销标签 */
|
|
22
22
|
ContentType["Marketing"] = "Marketing";
|
|
23
23
|
/** 图片视频贴片 */
|
|
24
|
-
ContentType["
|
|
24
|
+
ContentType["MediaPlane"] = "MediaPlane";
|
|
25
25
|
/** 其他/自定义标签 */
|
|
26
26
|
ContentType["Custom"] = "Custom";
|
|
27
27
|
})(ContentType || (ContentType = {}));
|
|
@@ -107,16 +107,17 @@ export class BaseController {
|
|
|
107
107
|
this.needsRender();
|
|
108
108
|
}
|
|
109
109
|
show() {
|
|
110
|
-
this.helperObject3D.
|
|
110
|
+
this.helperObject3D.show();
|
|
111
111
|
this.needsRender();
|
|
112
112
|
}
|
|
113
113
|
hide() {
|
|
114
|
-
this.helperObject3D.
|
|
114
|
+
this.helperObject3D.hide();
|
|
115
115
|
this.needsRender();
|
|
116
116
|
}
|
|
117
117
|
dispose() {
|
|
118
|
-
this.scene.remove(this.helperObject3D);
|
|
119
118
|
this.helperObject3D.dispose();
|
|
119
|
+
this.scene.remove(this.helperObject3D);
|
|
120
|
+
this.needsRender();
|
|
120
121
|
}
|
|
121
122
|
updateHelperPosition() {
|
|
122
123
|
this.helperObject3D.updatePosition();
|
|
@@ -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> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Object3D } from 'three';
|
|
2
2
|
export class BaseHelper extends Object3D {
|
|
3
|
-
constructor(originObject3D) {
|
|
3
|
+
constructor(originObject3D, config) {
|
|
4
|
+
var _a;
|
|
4
5
|
super();
|
|
5
6
|
Object.defineProperty(this, "originObject3D", {
|
|
6
7
|
enumerable: true,
|
|
@@ -8,11 +9,26 @@ export class BaseHelper extends Object3D {
|
|
|
8
9
|
writable: true,
|
|
9
10
|
value: void 0
|
|
10
11
|
});
|
|
12
|
+
Object.defineProperty(this, "needsRender", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true,
|
|
16
|
+
value: void 0
|
|
17
|
+
});
|
|
11
18
|
this.originObject3D = originObject3D;
|
|
19
|
+
this.needsRender = (_a = config === null || config === void 0 ? void 0 : config.needsRender) !== null && _a !== void 0 ? _a : (() => { });
|
|
12
20
|
}
|
|
13
21
|
get helperObject() {
|
|
14
22
|
return this;
|
|
15
23
|
}
|
|
24
|
+
show() {
|
|
25
|
+
this.visible = true;
|
|
26
|
+
this.needsRender();
|
|
27
|
+
}
|
|
28
|
+
hide() {
|
|
29
|
+
this.visible = false;
|
|
30
|
+
this.needsRender();
|
|
31
|
+
}
|
|
16
32
|
updatePosition() {
|
|
17
33
|
this.position.copy(this.originObject3D.position);
|
|
18
34
|
}
|
|
@@ -61,7 +61,7 @@ export class MoveController extends BaseController {
|
|
|
61
61
|
plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
|
|
62
62
|
this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
|
|
63
63
|
// 隐藏其他箭头
|
|
64
|
-
this.helperObject3D.
|
|
64
|
+
this.helperObject3D.showDraggingHelper([draggingDirection]);
|
|
65
65
|
this.hooks.emit('moveStart');
|
|
66
66
|
this.isDragging = true;
|
|
67
67
|
console.log('%c MoveController dragStart', 'color: #e5af2e');
|
|
@@ -100,7 +100,7 @@ export class RotateController extends BaseController {
|
|
|
100
100
|
// this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
|
|
101
101
|
// this.scene.add(this.a)
|
|
102
102
|
this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
|
|
103
|
-
this.helperObject3D.
|
|
103
|
+
this.helperObject3D.showDraggingHelper([direction]);
|
|
104
104
|
this.hooks.emit('rotateStart');
|
|
105
105
|
this.isDragging = true;
|
|
106
106
|
console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
|
|
@@ -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
|
}
|
|
@@ -26,29 +26,16 @@ export class MoveHelper extends MoveHelperAbstract {
|
|
|
26
26
|
this.add(this.yArrow);
|
|
27
27
|
this.add(this.zArrow);
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
directions.forEach((direction) => {
|
|
37
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
38
|
-
arrow && (arrow.visible = false);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
29
|
+
show() {
|
|
30
|
+
super.show();
|
|
31
|
+
this.xArrow.visible = true;
|
|
32
|
+
this.yArrow.visible = true;
|
|
33
|
+
this.zArrow.visible = true;
|
|
41
34
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
this.zArrow.visible = true;
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
50
|
-
arrow && (arrow.visible = true);
|
|
51
|
-
}
|
|
35
|
+
showDraggingHelper(directions) {
|
|
36
|
+
this.xArrow.visible = directions.includes('x');
|
|
37
|
+
this.yArrow.visible = directions.includes('y');
|
|
38
|
+
this.zArrow.visible = directions.includes('z');
|
|
52
39
|
}
|
|
53
40
|
dispose() {
|
|
54
41
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
@@ -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;
|
|
@@ -88,6 +88,9 @@ export class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
88
88
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
|
|
89
89
|
this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
|
|
90
90
|
}
|
|
91
|
+
showDraggingHelper() {
|
|
92
|
+
// nothing to do
|
|
93
|
+
}
|
|
91
94
|
setHelperScaleMatrix4(matrix, params) {
|
|
92
95
|
var _a, _b;
|
|
93
96
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
|
|
@@ -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;
|
|
@@ -96,21 +96,21 @@ export class RotateHelper extends RotateHelperAbstract {
|
|
|
96
96
|
this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
|
|
97
97
|
}
|
|
98
98
|
hide() {
|
|
99
|
+
// 改为remove而不是设置visible,是因为会影响其他helper的碰撞检测
|
|
99
100
|
this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
100
101
|
}
|
|
101
|
-
show(
|
|
102
|
-
var _a
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
102
|
+
show() {
|
|
103
|
+
var _a;
|
|
104
|
+
this.add(this.xyCircle, this.xzCircle, this.yzCircle);
|
|
105
|
+
this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
106
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.hide();
|
|
107
|
+
}
|
|
108
|
+
showDraggingHelper(directions) {
|
|
109
|
+
var _a;
|
|
110
|
+
this.hide();
|
|
111
|
+
this.add(...this.filterRingHelper(directions));
|
|
112
|
+
this.add(...this.filterAngleHelper(directions));
|
|
113
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
|
|
114
114
|
}
|
|
115
115
|
dispose() {
|
|
116
116
|
var _a, _b;
|
|
@@ -118,11 +118,11 @@ export class RotateHelper extends RotateHelperAbstract {
|
|
|
118
118
|
if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
|
|
119
119
|
(_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
|
|
120
120
|
}
|
|
121
|
-
filterRingHelper(
|
|
122
|
-
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction
|
|
121
|
+
filterRingHelper(directions) {
|
|
122
|
+
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => directions.includes(helper.direction));
|
|
123
123
|
}
|
|
124
|
-
filterAngleHelper(
|
|
125
|
-
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction
|
|
124
|
+
filterAngleHelper(directions) {
|
|
125
|
+
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => directions.includes(helper.direction));
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
class Circle extends THREE.Mesh {
|
|
@@ -235,7 +235,6 @@ export class Object3DHelper {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
handleEnable(enabled, userAction = true) {
|
|
238
|
-
console.log({ enabled });
|
|
239
238
|
if (enabled) {
|
|
240
239
|
this.everyControllerDo((controller) => controller.enable());
|
|
241
240
|
this.hooks.emit('enable', { userAction });
|
|
@@ -247,7 +246,6 @@ export class Object3DHelper {
|
|
|
247
246
|
this.state.enabled = enabled;
|
|
248
247
|
}
|
|
249
248
|
handleVisible(visible, userAction = true) {
|
|
250
|
-
console.log({ visible });
|
|
251
249
|
if (visible) {
|
|
252
250
|
this.everyControllerDo((controller) => controller.show());
|
|
253
251
|
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
9
9
|
"description": "如视 VR 看房插件合集",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "2.1.0-alpha.
|
|
11
|
+
"version": "2.1.0-alpha.4",
|
|
12
12
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "yarn run tsb && yarn run build:rollup && yarn run build:components && yarn build:docs",
|