@realsee/dnalogel 2.1.0-alpha.3 → 2.1.0-alpha.5
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/controller.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/Object3DHelperPlugin/index.js +256 -88
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +119 -94
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag.d.ts +7 -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/controller.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/index.es.js +316 -154
- package/dist/index.js +351 -189
- package/dist/index.umd.js +351 -189
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/ItemLabelPlugin/ItemLabelComponent.svelte +251 -0
- package/libs/ItemLabelPlugin/ItemLabelItem.svelte +183 -0
- package/libs/ItemLabelPlugin/Plugin.js +1 -1
- package/libs/ItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +155 -0
- package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +100 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
- package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +63 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +94 -0
- 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/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte +200 -0
- package/libs/PanoRulerProPlugin/Controller.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.svelte +166 -0
- package/libs/PanoRulerProPlugin/RulerItems.svelte +212 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.svelte +58 -0
- package/libs/PanoSpatialTagPlugin/Components/tag.svelte +292 -0
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.svelte +56 -0
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.svelte +82 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte +36 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte +36 -0
- package/libs/PanoTagPlugin/Components/Common/Media.svelte +70 -0
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.svelte +56 -0
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte +120 -0
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte +81 -0
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte +30 -0
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.svelte +46 -0
- package/libs/PanoTagPlugin/Components/Common/Text.svelte +69 -0
- package/libs/PanoTagPlugin/Components/Common/TextItem.svelte +42 -0
- package/libs/PanoTagPlugin/Components/PointTag.js +3 -3
- package/libs/PanoTagPlugin/Components/PointTag.svelte +55 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.svelte +105 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte +33 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte +63 -0
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte +166 -0
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte +234 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte +30 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag.svelte +63 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +28 -23
- package/libs/PanoTagPlugin/Components/Tag/index.svelte +145 -0
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -1
- package/libs/PanoTagPlugin/Components/TagWrapper.svelte +69 -0
- package/libs/PanoTagPlugin/controller/index.js +9 -9
- 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 +2 -1
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/floorplan/Components/BaseImage.svelte +26 -0
- package/libs/floorplan/Components/Camera.svelte +46 -0
- package/libs/floorplan/Components/Compass.svelte +51 -0
- package/libs/floorplan/Components/CurrentFloor.svelte +46 -0
- package/libs/floorplan/Components/Main.svelte +51 -0
- package/libs/floorplan/Components/Normalmage.svelte +11 -0
- package/libs/floorplan/Components/RoomHighlight/Room.svelte +27 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +29 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +119 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +35 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +42 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +7 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +24 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +33 -0
- package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +174 -0
- package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +32 -0
- package/libs/floorplan/Components/SvgImage.svelte +28 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +85 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +18 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +40 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +64 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +13 -8
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +24 -5
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +2 -2
- 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 +3 -3
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +9 -7
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +18 -18
- package/libs/shared-utils/Object3DHelper/index.js +8 -12
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- 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
|
}
|
|
@@ -146,6 +146,7 @@ export interface TagConfig<C extends ContentType = ContentType, T extends PointT
|
|
|
146
146
|
unfolded?: boolean;
|
|
147
147
|
};
|
|
148
148
|
tag3DConfig?: Create3DDomContainerParamsType['config'];
|
|
149
|
+
clickable?: false;
|
|
149
150
|
}
|
|
150
151
|
export declare enum LinkType {
|
|
151
152
|
VrLink = "vr",
|
|
@@ -201,9 +202,12 @@ interface ContentTypeMap {
|
|
|
201
202
|
};
|
|
202
203
|
extraData?: Object;
|
|
203
204
|
};
|
|
204
|
-
[ContentType.
|
|
205
|
+
[ContentType.MediaPlane]: {
|
|
205
206
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
209
|
+
* @deprecated replaced by objectFit
|
|
210
|
+
*/
|
|
207
211
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
212
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
213
|
objectFit?: ObjectFit;
|
|
@@ -22,10 +22,10 @@ export declare abstract class BaseController<T extends BaseHelper = BaseHelper,
|
|
|
22
22
|
hide(): void;
|
|
23
23
|
dispose(): void;
|
|
24
24
|
updateHelperPosition(): void;
|
|
25
|
-
|
|
25
|
+
updateHelperQuaternion(): void;
|
|
26
26
|
setHelperMatrix4(matrix4: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
27
27
|
setHelperQuaternion(quaternion: THREE.Quaternion, origin: THREE.Vector3): void;
|
|
28
|
-
|
|
28
|
+
applyHelperScaleMatrix4(matrix4: THREE.Matrix4, params?: {
|
|
29
29
|
origin?: THREE.Vector3;
|
|
30
30
|
helperOrigin?: THREE.Vector3;
|
|
31
31
|
}): void;
|
|
@@ -5,18 +5,22 @@ 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
|
+
updateQuaternion(): void;
|
|
12
17
|
updateMatrix4(matrix: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
13
|
-
|
|
18
|
+
applyHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
14
19
|
origin?: THREE.Vector3;
|
|
15
20
|
helperOrigin?: THREE.Vector3;
|
|
16
21
|
}): void;
|
|
17
|
-
|
|
18
|
-
abstract
|
|
19
|
-
abstract show(...args: any[]): void;
|
|
22
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): 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
|
}
|
|
@@ -19,14 +19,14 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
19
19
|
private enabled;
|
|
20
20
|
constructor(originObject3D: T, container: Element, camera: THREE.Camera, scene: THREE.Scene);
|
|
21
21
|
updatePosition(): void;
|
|
22
|
-
setPosition(position: Vector3): void;
|
|
23
22
|
updateMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
-
|
|
23
|
+
showDraggingHelper(): void;
|
|
24
|
+
applyHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
25
25
|
origin?: Vector3;
|
|
26
26
|
helperOrigin?: Vector3;
|
|
27
27
|
}): void;
|
|
28
28
|
updatePoints(): void;
|
|
29
|
-
|
|
29
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin: THREE.Vector3): void;
|
|
30
30
|
enable(): void;
|
|
31
31
|
disable(): void;
|
|
32
32
|
show(): void;
|
|
@@ -19,9 +19,10 @@ export declare class RotateHelper extends RotateHelperAbstract {
|
|
|
19
19
|
container: HTMLElement;
|
|
20
20
|
});
|
|
21
21
|
updateAngleHelperQuaternion(): void;
|
|
22
|
-
|
|
22
|
+
applyHelperQuaternion(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
|
}
|
|
@@ -146,6 +146,7 @@ export interface TagConfig<C extends ContentType = ContentType, T extends PointT
|
|
|
146
146
|
unfolded?: boolean;
|
|
147
147
|
};
|
|
148
148
|
tag3DConfig?: Create3DDomContainerParamsType['config'];
|
|
149
|
+
clickable?: false;
|
|
149
150
|
}
|
|
150
151
|
export declare enum LinkType {
|
|
151
152
|
VrLink = "vr",
|
|
@@ -201,9 +202,12 @@ interface ContentTypeMap {
|
|
|
201
202
|
};
|
|
202
203
|
extraData?: Object;
|
|
203
204
|
};
|
|
204
|
-
[ContentType.
|
|
205
|
+
[ContentType.MediaPlane]: {
|
|
205
206
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
209
|
+
* @deprecated replaced by objectFit
|
|
210
|
+
*/
|
|
207
211
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
212
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
213
|
objectFit?: ObjectFit;
|
|
@@ -22,10 +22,10 @@ export declare abstract class BaseController<T extends BaseHelper = BaseHelper,
|
|
|
22
22
|
hide(): void;
|
|
23
23
|
dispose(): void;
|
|
24
24
|
updateHelperPosition(): void;
|
|
25
|
-
|
|
25
|
+
updateHelperQuaternion(): void;
|
|
26
26
|
setHelperMatrix4(matrix4: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
27
27
|
setHelperQuaternion(quaternion: THREE.Quaternion, origin: THREE.Vector3): void;
|
|
28
|
-
|
|
28
|
+
applyHelperScaleMatrix4(matrix4: THREE.Matrix4, params?: {
|
|
29
29
|
origin?: THREE.Vector3;
|
|
30
30
|
helperOrigin?: THREE.Vector3;
|
|
31
31
|
}): void;
|
|
@@ -5,18 +5,22 @@ 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
|
+
updateQuaternion(): void;
|
|
12
17
|
updateMatrix4(matrix: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
13
|
-
|
|
18
|
+
applyHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
14
19
|
origin?: THREE.Vector3;
|
|
15
20
|
helperOrigin?: THREE.Vector3;
|
|
16
21
|
}): void;
|
|
17
|
-
|
|
18
|
-
abstract
|
|
19
|
-
abstract show(...args: any[]): void;
|
|
22
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): 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
|
@@ -19,14 +19,14 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
19
19
|
private enabled;
|
|
20
20
|
constructor(originObject3D: T, container: Element, camera: THREE.Camera, scene: THREE.Scene);
|
|
21
21
|
updatePosition(): void;
|
|
22
|
-
setPosition(position: Vector3): void;
|
|
23
22
|
updateMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
-
|
|
23
|
+
showDraggingHelper(): void;
|
|
24
|
+
applyHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
25
25
|
origin?: Vector3;
|
|
26
26
|
helperOrigin?: Vector3;
|
|
27
27
|
}): void;
|
|
28
28
|
updatePoints(): void;
|
|
29
|
-
|
|
29
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin: THREE.Vector3): void;
|
|
30
30
|
enable(): void;
|
|
31
31
|
disable(): void;
|
|
32
32
|
show(): void;
|
|
@@ -19,9 +19,10 @@ export declare class RotateHelper extends RotateHelperAbstract {
|
|
|
19
19
|
container: HTMLElement;
|
|
20
20
|
});
|
|
21
21
|
updateAngleHelperQuaternion(): void;
|
|
22
|
-
|
|
22
|
+
applyHelperQuaternion(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
|
}
|
|
@@ -146,6 +146,7 @@ export interface TagConfig<C extends ContentType = ContentType, T extends PointT
|
|
|
146
146
|
unfolded?: boolean;
|
|
147
147
|
};
|
|
148
148
|
tag3DConfig?: Create3DDomContainerParamsType['config'];
|
|
149
|
+
clickable?: false;
|
|
149
150
|
}
|
|
150
151
|
export declare enum LinkType {
|
|
151
152
|
VrLink = "vr",
|
|
@@ -201,9 +202,12 @@ interface ContentTypeMap {
|
|
|
201
202
|
};
|
|
202
203
|
extraData?: Object;
|
|
203
204
|
};
|
|
204
|
-
[ContentType.
|
|
205
|
+
[ContentType.MediaPlane]: {
|
|
205
206
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
209
|
+
* @deprecated replaced by objectFit
|
|
210
|
+
*/
|
|
207
211
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
212
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
213
|
objectFit?: ObjectFit;
|