@realsee/dnalogel 2.1.0-alpha.1 → 2.1.0-alpha.11
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/CSS3DRender.d.ts +8 -10
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/index.js +21 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/CameraMovementPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/CruisePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CruisePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CruisePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/CruisePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CruisePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/CruisePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/GuideLinePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ItemLabelPlugin/index.js +12 -12
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ModelItemLabelPlugin/index.js +6 -6
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ModelRoomLabelPlugin/index.js +4 -4
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelViewPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelViewPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/Object3DHelperPlugin/index.js +500 -242
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoCompassPlugin/index.js +21 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoDoorLabelPlugin/index.js +6 -6
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoRulerPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoSpatialTagPlugin/index.js +21 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +156 -0
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/Controller.d.ts +11 -43
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/typing.d.ts +6 -3
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
- package/dist/PanoTagPlugin/CruisePlugin/Controller.d.ts +170 -0
- package/dist/PanoTagPlugin/CruisePlugin/index.d.ts +6 -0
- package/dist/PanoTagPlugin/CruisePlugin/typing.d.ts +129 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/formatRad.d.ts +7 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/safeCall.d.ts +1 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/Controller.d.ts +46 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/index.d.ts +5 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/typing.d.ts +31 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/utils/getLineGeometries.d.ts +14 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/dist/PanoTagPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +65 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/index.d.ts +6 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoTagPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoTagPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +95 -0
- package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
- package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +107 -0
- package/dist/PanoTagPlugin/floorplan/index.d.ts +2 -1
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/index.js +1353 -587
- package/dist/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +48 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +91 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +40 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +55 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/index.d.ts +71 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +45 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Subscribe.d.ts +41 -25
- package/dist/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/floorplan/ModelFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +4 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +10134 -381
- package/dist/index.js +10137 -375
- package/dist/index.umd.js +10139 -379
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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 +22 -0
- package/docs/classes/PanoTagPluginController.html +188 -0
- 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/{EventMap.html → CSS3DRenderPluginEventMap.html} +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -0
- 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 -0
- 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 +14 -0
- package/docs/interfaces/TagConfig.html +11 -0
- package/docs/interfaces/Tags.html +5 -0
- package/docs/modules.html +25 -17
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +16 -4
- package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +2 -1
- package/libs/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -0
- package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +6 -6
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +4 -4
- package/libs/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/libs/Object3DHelperPlugin/Controller.js +137 -8
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +6 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Media.js +221 -89
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +4 -4
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +4 -4
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Text.js +21 -4
- package/libs/PanoTagPlugin/Components/PointTag.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +6 -6
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +22 -24
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +22 -23
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +159 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +118 -13
- package/libs/PanoTagPlugin/Components/TagWrapper.js +3 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +6 -6
- package/libs/PanoTagPlugin/controller/index.d.ts +8 -6
- package/libs/PanoTagPlugin/controller/index.js +35 -42
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +1 -4
- package/libs/PanoTagPlugin/mocks/mock1.d.ts +160 -0
- package/libs/PanoTagPlugin/mocks/mock1.js +165 -0
- package/libs/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/mock2.js +293 -0
- package/libs/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/libs/PanoTagPlugin/mocks/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/mock4.js +57 -0
- package/libs/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/mock5.js +14 -0
- package/libs/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/mock6.js +236 -0
- package/libs/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/mock7.js +246 -0
- package/libs/PanoTagPlugin/tag.config.d.ts +7 -0
- package/libs/PanoTagPlugin/tag.config.js +47 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/libs/PanoTagPlugin/utils/constants.js +5 -0
- package/libs/floorplan/Components/Compass.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +4 -4
- package/libs/index.d.ts +2 -0
- package/libs/index.js +4 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +76 -21
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +24 -8
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +102 -92
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +14 -13
- 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 +6 -5
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +18 -18
- 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.d.ts +6 -8
- package/libs/shared-utils/Object3DHelper/index.js +48 -27
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +9 -0
- package/package.json +8 -3
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CSS3DRenderPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CameraMovementPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/CruisePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CruisePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CruisePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/GuideLinePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelChassisCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelEntryDoorGuidePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelRoomLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelTVVideoPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelViewPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoCursorRaycasterPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoDoorLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoMeasurePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoRulerPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoRulerProPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoSpatialTagPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/MapviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/ModelFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/TopviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/docs/interfaces/State.html +0 -3
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var five = require('@realsee/five');
|
|
5
6
|
var THREE = require('three');
|
|
6
7
|
var CSS3DRenderer = require('three/examples/jsm/renderers/CSS3DRenderer');
|
|
7
8
|
|
|
@@ -25,8 +26,39 @@ function _interopNamespace(e) {
|
|
|
25
26
|
|
|
26
27
|
var THREE__namespace = /*#__PURE__*/_interopNamespace(THREE);
|
|
27
28
|
|
|
29
|
+
/**
|
|
30
|
+
* plugin 的基本控制器
|
|
31
|
+
*/
|
|
32
|
+
class Controller {
|
|
33
|
+
constructor(five$1) {
|
|
34
|
+
Object.defineProperty(this, "five", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
configurable: true,
|
|
37
|
+
writable: true,
|
|
38
|
+
value: void 0
|
|
39
|
+
});
|
|
40
|
+
/**
|
|
41
|
+
* 插件事件钩子
|
|
42
|
+
*/
|
|
43
|
+
Object.defineProperty(this, "hooks", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
configurable: true,
|
|
46
|
+
writable: true,
|
|
47
|
+
value: new five.Subscribe()
|
|
48
|
+
});
|
|
49
|
+
this.five = five$1;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
|
|
53
|
+
*/
|
|
54
|
+
getCurrentState() {
|
|
55
|
+
return this.state;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
28
59
|
class BaseHelper extends THREE.Object3D {
|
|
29
|
-
constructor(originObject3D) {
|
|
60
|
+
constructor(originObject3D, config) {
|
|
61
|
+
var _a;
|
|
30
62
|
super();
|
|
31
63
|
Object.defineProperty(this, "originObject3D", {
|
|
32
64
|
enumerable: true,
|
|
@@ -34,24 +66,39 @@ class BaseHelper extends THREE.Object3D {
|
|
|
34
66
|
writable: true,
|
|
35
67
|
value: void 0
|
|
36
68
|
});
|
|
69
|
+
Object.defineProperty(this, "onRender", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
configurable: true,
|
|
72
|
+
writable: true,
|
|
73
|
+
value: void 0
|
|
74
|
+
});
|
|
37
75
|
this.originObject3D = originObject3D;
|
|
76
|
+
this.onRender = (_a = config === null || config === void 0 ? void 0 : config.onRender) !== null && _a !== void 0 ? _a : (() => { });
|
|
38
77
|
}
|
|
39
78
|
get helperObject() {
|
|
40
79
|
return this;
|
|
41
80
|
}
|
|
81
|
+
render() {
|
|
82
|
+
this.onRender();
|
|
83
|
+
}
|
|
84
|
+
show() {
|
|
85
|
+
this.visible = true;
|
|
86
|
+
this.render();
|
|
87
|
+
}
|
|
88
|
+
hide() {
|
|
89
|
+
this.visible = false;
|
|
90
|
+
this.render();
|
|
91
|
+
}
|
|
42
92
|
updatePosition() {
|
|
43
93
|
this.position.copy(this.originObject3D.position);
|
|
44
94
|
}
|
|
45
|
-
|
|
46
|
-
this.
|
|
47
|
-
}
|
|
48
|
-
updateMatrix4(matrix, origin) {
|
|
49
|
-
this.applyMatrix4(matrix);
|
|
95
|
+
updateQuaternion() {
|
|
96
|
+
this.quaternion.copy(this.originObject3D.quaternion);
|
|
50
97
|
}
|
|
51
|
-
|
|
98
|
+
applyHelperScaleMatrix4(matrix, params) {
|
|
52
99
|
this.scale.applyMatrix4(matrix);
|
|
53
100
|
}
|
|
54
|
-
|
|
101
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
55
102
|
this.applyQuaternion(quaternion);
|
|
56
103
|
}
|
|
57
104
|
}
|
|
@@ -261,29 +308,16 @@ class MoveHelper extends MoveHelperAbstract {
|
|
|
261
308
|
this.add(this.yArrow);
|
|
262
309
|
this.add(this.zArrow);
|
|
263
310
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
directions.forEach((direction) => {
|
|
272
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
273
|
-
arrow && (arrow.visible = false);
|
|
274
|
-
});
|
|
275
|
-
}
|
|
311
|
+
show() {
|
|
312
|
+
super.show();
|
|
313
|
+
this.xArrow.visible = true;
|
|
314
|
+
this.yArrow.visible = true;
|
|
315
|
+
this.zArrow.visible = true;
|
|
276
316
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
this.zArrow.visible = true;
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
285
|
-
arrow && (arrow.visible = true);
|
|
286
|
-
}
|
|
317
|
+
showDraggingHelper(directions) {
|
|
318
|
+
this.xArrow.visible = directions.includes('x');
|
|
319
|
+
this.yArrow.visible = directions.includes('y');
|
|
320
|
+
this.zArrow.visible = directions.includes('z');
|
|
287
321
|
}
|
|
288
322
|
dispose() {
|
|
289
323
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
@@ -412,7 +446,7 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
412
446
|
this.yRingHelper.quaternion.copy(this.xzCircle.quaternion);
|
|
413
447
|
this.zRingHelper.quaternion.copy(this.xyCircle.quaternion);
|
|
414
448
|
}
|
|
415
|
-
|
|
449
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
416
450
|
this.yzCircle.applyQuaternion(quaternion);
|
|
417
451
|
this.xzCircle.applyQuaternion(quaternion);
|
|
418
452
|
this.xyCircle.applyQuaternion(quaternion);
|
|
@@ -421,21 +455,21 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
421
455
|
this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
|
|
422
456
|
}
|
|
423
457
|
hide() {
|
|
458
|
+
// 改为remove而不是设置visible,是因为会影响其他helper的碰撞检测
|
|
424
459
|
this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
425
460
|
}
|
|
426
|
-
show(
|
|
427
|
-
var _a
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
}
|
|
461
|
+
show() {
|
|
462
|
+
var _a;
|
|
463
|
+
this.add(this.xyCircle, this.xzCircle, this.yzCircle);
|
|
464
|
+
this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
465
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.hide();
|
|
466
|
+
}
|
|
467
|
+
showDraggingHelper(directions) {
|
|
468
|
+
var _a;
|
|
469
|
+
this.hide();
|
|
470
|
+
this.add(...this.filterRingHelper(directions));
|
|
471
|
+
this.add(...this.filterAngleHelper(directions));
|
|
472
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
|
|
439
473
|
}
|
|
440
474
|
dispose() {
|
|
441
475
|
var _a, _b;
|
|
@@ -443,11 +477,11 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
443
477
|
if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
|
|
444
478
|
(_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
|
|
445
479
|
}
|
|
446
|
-
filterRingHelper(
|
|
447
|
-
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction
|
|
480
|
+
filterRingHelper(directions) {
|
|
481
|
+
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => directions.includes(helper.direction));
|
|
448
482
|
}
|
|
449
|
-
filterAngleHelper(
|
|
450
|
-
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction
|
|
483
|
+
filterAngleHelper(directions) {
|
|
484
|
+
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => directions.includes(helper.direction));
|
|
451
485
|
}
|
|
452
486
|
}
|
|
453
487
|
class Circle extends THREE__namespace.Mesh {
|
|
@@ -691,6 +725,7 @@ const NAME$1 = `CSS3DObjectPlus@${VERSION$3}`;
|
|
|
691
725
|
const MinRatio = 0.00216;
|
|
692
726
|
const DefaultRatio = 0.003;
|
|
693
727
|
class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
|
|
728
|
+
// eslint-disable-next-line max-params
|
|
694
729
|
constructor(container, cornerPoints, ratio = DefaultRatio, dpr = 1) {
|
|
695
730
|
const realRatio = Math.max(MinRatio, ratio);
|
|
696
731
|
const planeWidth = cornerPoints[0].distanceTo(cornerPoints[1]);
|
|
@@ -817,10 +852,10 @@ class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
|
|
|
817
852
|
}
|
|
818
853
|
}
|
|
819
854
|
|
|
820
|
-
const VERSION$2 = '
|
|
855
|
+
const VERSION$2 = 'v2.0.0';
|
|
821
856
|
const PLUGIN_NAME$1 = 'CSS3DRenderer';
|
|
822
857
|
const PLUGIN$1 = `${PLUGIN_NAME$1}@${VERSION$2}`;
|
|
823
|
-
const pluginFlag
|
|
858
|
+
const pluginFlag = (name) => `${PLUGIN$1}--${name}`;
|
|
824
859
|
const globalStore = {};
|
|
825
860
|
class CSS3DRender {
|
|
826
861
|
constructor() {
|
|
@@ -963,7 +998,7 @@ class CSS3DRender {
|
|
|
963
998
|
css3DRenderer.domElement.style.top = '0';
|
|
964
999
|
css3DRenderer.domElement.style.userSelect = 'none';
|
|
965
1000
|
css3DRenderer.domElement.style.pointerEvents = 'none';
|
|
966
|
-
css3DRenderer.domElement.classList.add(pluginFlag
|
|
1001
|
+
css3DRenderer.domElement.classList.add(pluginFlag(mode));
|
|
967
1002
|
const renderEveryFrame = () => {
|
|
968
1003
|
const requestAnimationFrameId = requestAnimationFrame(renderEveryFrame);
|
|
969
1004
|
modeStore.requestAnimationFrameId = requestAnimationFrameId;
|
|
@@ -1004,6 +1039,7 @@ class CSS3DRender {
|
|
|
1004
1039
|
globalStore.frontModeStore = undefined;
|
|
1005
1040
|
if (mode === 'behind')
|
|
1006
1041
|
globalStore.behindModeStore = undefined;
|
|
1042
|
+
globalStore.resizeObserver = undefined;
|
|
1007
1043
|
}
|
|
1008
1044
|
return true;
|
|
1009
1045
|
};
|
|
@@ -1086,7 +1122,7 @@ class CSS3DRender {
|
|
|
1086
1122
|
});
|
|
1087
1123
|
const geometry = new THREE__namespace.PlaneGeometry(domWidthPx, domHeightPx);
|
|
1088
1124
|
const mesh = new THREE__namespace.Mesh(geometry, material);
|
|
1089
|
-
mesh.name = pluginFlag
|
|
1125
|
+
mesh.name = pluginFlag('mesh');
|
|
1090
1126
|
mesh.position.copy(css3DObject.position);
|
|
1091
1127
|
mesh.rotation.copy(css3DObject.rotation);
|
|
1092
1128
|
mesh.scale.copy(css3DObject.scale);
|
|
@@ -1101,8 +1137,10 @@ class CSS3DRender {
|
|
|
1101
1137
|
configurable: true,
|
|
1102
1138
|
writable: true,
|
|
1103
1139
|
value: (element, resizeHandler, fireImmediately = true) => {
|
|
1104
|
-
if (!element
|
|
1140
|
+
if (!element) {
|
|
1141
|
+
console.error('createResizeObserver: element is undefined');
|
|
1105
1142
|
return { observe: () => { }, unobserve: () => { } };
|
|
1143
|
+
}
|
|
1106
1144
|
const resizeObserverHandler = () => {
|
|
1107
1145
|
/**
|
|
1108
1146
|
* 这里evenNumber策略是遇到奇数会加1,在某些浏览器中会触发滚动条显示,导致fiveElement变小,fiveElement变小又触发了这里的resize,宽高变小,滚动条消失,然后又触发resize。。。无限循环
|
|
@@ -1112,6 +1150,10 @@ class CSS3DRender {
|
|
|
1112
1150
|
const height = evenNumber(element.clientHeight, { smaller: true });
|
|
1113
1151
|
resizeHandler(width, height);
|
|
1114
1152
|
};
|
|
1153
|
+
if (typeof ResizeObserver === 'undefined' || !ResizeObserver) {
|
|
1154
|
+
console.warn('createResizeObserver: ResizeObserver is undefined');
|
|
1155
|
+
return { observe: () => resizeObserverHandler(), unobserve: () => { } };
|
|
1156
|
+
}
|
|
1115
1157
|
const observer = new ResizeObserver(resizeObserverHandler);
|
|
1116
1158
|
if (fireImmediately)
|
|
1117
1159
|
resizeObserverHandler();
|
|
@@ -1191,7 +1233,12 @@ class CSS3DRender {
|
|
|
1191
1233
|
return;
|
|
1192
1234
|
container.appendChild(store.css3DRenderer.domElement);
|
|
1193
1235
|
if (!globalStore.resizeObserver) {
|
|
1194
|
-
const
|
|
1236
|
+
const reSize = (width, height) => {
|
|
1237
|
+
var _a, _b;
|
|
1238
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DRenderer.setSize(width, height);
|
|
1239
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.css3DRenderer.setSize(width, height);
|
|
1240
|
+
};
|
|
1241
|
+
const { observe, unobserve } = this.createResizeObserver(container, reSize, true);
|
|
1195
1242
|
globalStore.resizeObserver = { observe, unobserve };
|
|
1196
1243
|
observe();
|
|
1197
1244
|
this.store.disposers.push(unobserve);
|
|
@@ -1355,17 +1402,17 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
1355
1402
|
writable: true,
|
|
1356
1403
|
value: void 0
|
|
1357
1404
|
});
|
|
1358
|
-
Object.defineProperty(this, "
|
|
1405
|
+
Object.defineProperty(this, "plane", {
|
|
1359
1406
|
enumerable: true,
|
|
1360
1407
|
configurable: true,
|
|
1361
1408
|
writable: true,
|
|
1362
|
-
value:
|
|
1409
|
+
value: void 0
|
|
1363
1410
|
});
|
|
1364
|
-
Object.defineProperty(this, "
|
|
1411
|
+
Object.defineProperty(this, "css3DRenderer", {
|
|
1365
1412
|
enumerable: true,
|
|
1366
1413
|
configurable: true,
|
|
1367
1414
|
writable: true,
|
|
1368
|
-
value:
|
|
1415
|
+
value: new CSS3DRender()
|
|
1369
1416
|
});
|
|
1370
1417
|
Object.defineProperty(this, "camera", {
|
|
1371
1418
|
enumerable: true,
|
|
@@ -1407,28 +1454,27 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
1407
1454
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.position.copy(this.originObject3D.position);
|
|
1408
1455
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(this.originObject3D.position);
|
|
1409
1456
|
}
|
|
1410
|
-
|
|
1411
|
-
var _a
|
|
1412
|
-
(_a = this.
|
|
1413
|
-
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(position);
|
|
1457
|
+
updateQuaternion() {
|
|
1458
|
+
var _a;
|
|
1459
|
+
(_a = this.plane) === null || _a === void 0 ? void 0 : _a.quaternion.copy(this.originObject3D.quaternion);
|
|
1414
1460
|
}
|
|
1415
|
-
|
|
1461
|
+
// public setPosition(position: Vector3) {
|
|
1462
|
+
// this.css3DInstance?.css3DObject.position.copy(position)
|
|
1463
|
+
// this.plane?.position.copy(position)
|
|
1464
|
+
// }
|
|
1465
|
+
applyMatrix4(matrix) {
|
|
1416
1466
|
var _a, _b;
|
|
1417
1467
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(matrix);
|
|
1418
1468
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
|
|
1419
1469
|
this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
|
|
1420
1470
|
}
|
|
1421
|
-
|
|
1471
|
+
showDraggingHelper() {
|
|
1472
|
+
// nothing to do
|
|
1473
|
+
}
|
|
1474
|
+
applyHelperScaleMatrix4(matrix, params) {
|
|
1422
1475
|
var _a, _b;
|
|
1423
1476
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
|
|
1424
1477
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix);
|
|
1425
|
-
const { origin, helperOrigin } = params !== null && params !== void 0 ? params : {};
|
|
1426
|
-
if (!helperOrigin)
|
|
1427
|
-
return;
|
|
1428
|
-
this.cornerPositions.forEach((position) => {
|
|
1429
|
-
position.subVectors(position, helperOrigin).applyMatrix4(matrix).add(helperOrigin);
|
|
1430
|
-
});
|
|
1431
|
-
this.updatePoints();
|
|
1432
1478
|
}
|
|
1433
1479
|
updatePoints() {
|
|
1434
1480
|
const position8 = this.calculatePointPosition(this.cornerPositions);
|
|
@@ -1436,7 +1482,7 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
1436
1482
|
point.position.copy(position8[index]);
|
|
1437
1483
|
});
|
|
1438
1484
|
}
|
|
1439
|
-
|
|
1485
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
1440
1486
|
var _a;
|
|
1441
1487
|
const css3DObject = (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject;
|
|
1442
1488
|
if (css3DObject) {
|
|
@@ -1957,8 +2003,9 @@ function notNil(value) {
|
|
|
1957
2003
|
return value !== null && value !== undefined;
|
|
1958
2004
|
}
|
|
1959
2005
|
|
|
2006
|
+
let originOpacity = null;
|
|
1960
2007
|
class BaseController {
|
|
1961
|
-
constructor(camera, model, originObject3D, helperObject3D, container, scene,
|
|
2008
|
+
constructor(camera, model, originObject3D, helperObject3D, container, scene, onRender) {
|
|
1962
2009
|
Object.defineProperty(this, "hooks", {
|
|
1963
2010
|
enumerable: true,
|
|
1964
2011
|
configurable: true,
|
|
@@ -2013,7 +2060,7 @@ class BaseController {
|
|
|
2013
2060
|
writable: true,
|
|
2014
2061
|
value: false
|
|
2015
2062
|
});
|
|
2016
|
-
Object.defineProperty(this, "
|
|
2063
|
+
Object.defineProperty(this, "onRender", {
|
|
2017
2064
|
enumerable: true,
|
|
2018
2065
|
configurable: true,
|
|
2019
2066
|
writable: true,
|
|
@@ -2043,55 +2090,108 @@ class BaseController {
|
|
|
2043
2090
|
this.container = container;
|
|
2044
2091
|
this.scene = scene;
|
|
2045
2092
|
this.domEvents = new DomEvents(camera, container);
|
|
2046
|
-
this.
|
|
2047
|
-
this.
|
|
2093
|
+
this.onRender = onRender !== null && onRender !== void 0 ? onRender : (() => { });
|
|
2094
|
+
this.initialHelperPosition();
|
|
2095
|
+
this.initialHelperQuaternion();
|
|
2048
2096
|
this.enable();
|
|
2049
2097
|
}
|
|
2098
|
+
initialHelperPosition() {
|
|
2099
|
+
this.helperObject3D.updatePosition();
|
|
2100
|
+
}
|
|
2101
|
+
initialHelperQuaternion() {
|
|
2102
|
+
this.helperObject3D.updateQuaternion();
|
|
2103
|
+
}
|
|
2050
2104
|
enable() {
|
|
2051
2105
|
if (this.enabled)
|
|
2052
2106
|
return;
|
|
2053
2107
|
this.enabled = true;
|
|
2054
2108
|
this.scene.add(this.helperObject3D);
|
|
2055
|
-
this.
|
|
2109
|
+
this.render();
|
|
2056
2110
|
}
|
|
2057
2111
|
disable() {
|
|
2058
2112
|
if (!this.enabled)
|
|
2059
2113
|
return;
|
|
2060
2114
|
this.enabled = false;
|
|
2061
2115
|
this.scene.remove(this.helperObject3D);
|
|
2062
|
-
this.
|
|
2116
|
+
this.render();
|
|
2063
2117
|
}
|
|
2064
2118
|
show() {
|
|
2065
|
-
this.helperObject3D.
|
|
2066
|
-
this.
|
|
2119
|
+
this.helperObject3D.show();
|
|
2120
|
+
this.render();
|
|
2067
2121
|
}
|
|
2068
2122
|
hide() {
|
|
2069
|
-
this.helperObject3D.
|
|
2070
|
-
this.
|
|
2123
|
+
this.helperObject3D.hide();
|
|
2124
|
+
this.render();
|
|
2071
2125
|
}
|
|
2072
2126
|
dispose() {
|
|
2073
|
-
this.scene.remove(this.helperObject3D);
|
|
2074
2127
|
this.helperObject3D.dispose();
|
|
2128
|
+
this.scene.remove(this.helperObject3D);
|
|
2129
|
+
this.render();
|
|
2130
|
+
}
|
|
2131
|
+
setOpacity(opacity) {
|
|
2132
|
+
this.setOriginOpacityProperty();
|
|
2133
|
+
const originObject3D = this.originObject3D;
|
|
2134
|
+
if (originObject3D instanceof THREE__namespace.Mesh) {
|
|
2135
|
+
originObject3D.material.opacity = opacity;
|
|
2136
|
+
}
|
|
2137
|
+
if (originObject3D instanceof CSS3DObjectPlus) {
|
|
2138
|
+
originObject3D.container.style.opacity = opacity;
|
|
2139
|
+
}
|
|
2140
|
+
this.render();
|
|
2141
|
+
}
|
|
2142
|
+
restoreOpacity() {
|
|
2143
|
+
if (originOpacity === null)
|
|
2144
|
+
return;
|
|
2145
|
+
const originObject3D = this.originObject3D;
|
|
2146
|
+
if (originObject3D instanceof THREE__namespace.Mesh) {
|
|
2147
|
+
originObject3D.material.opacity = originOpacity.opacity;
|
|
2148
|
+
}
|
|
2149
|
+
if (originObject3D instanceof CSS3DObjectPlus) {
|
|
2150
|
+
originObject3D.container.style.opacity = originOpacity.opacity;
|
|
2151
|
+
}
|
|
2152
|
+
this.render();
|
|
2153
|
+
}
|
|
2154
|
+
setOriginOpacityProperty() {
|
|
2155
|
+
var _a;
|
|
2156
|
+
if (originOpacity === null) {
|
|
2157
|
+
const originObject3D = this.originObject3D;
|
|
2158
|
+
if (originObject3D instanceof THREE__namespace.Mesh) {
|
|
2159
|
+
originOpacity = {
|
|
2160
|
+
opacity: originObject3D.material.opacity,
|
|
2161
|
+
};
|
|
2162
|
+
}
|
|
2163
|
+
if (originObject3D instanceof CSS3DObjectPlus) {
|
|
2164
|
+
originOpacity = {
|
|
2165
|
+
opacity: (_a = originObject3D.container.style.opacity) !== null && _a !== void 0 ? _a : 1,
|
|
2166
|
+
};
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2075
2169
|
}
|
|
2076
2170
|
updateHelperPosition() {
|
|
2077
2171
|
this.helperObject3D.updatePosition();
|
|
2078
2172
|
}
|
|
2079
|
-
|
|
2080
|
-
this.helperObject3D.
|
|
2173
|
+
updateHelperQuaternion() {
|
|
2174
|
+
this.helperObject3D.updateQuaternion();
|
|
2081
2175
|
}
|
|
2082
|
-
|
|
2083
|
-
|
|
2176
|
+
// public setHelperPosition(position: THREE.Vector3) {
|
|
2177
|
+
// this.helperObject3D.setPosition(position)
|
|
2178
|
+
// }
|
|
2179
|
+
applyHelperMatrix4(matrix4) {
|
|
2180
|
+
this.helperObject3D.applyMatrix4(matrix4);
|
|
2084
2181
|
}
|
|
2085
|
-
|
|
2086
|
-
this.helperObject3D.
|
|
2182
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
2183
|
+
this.helperObject3D.applyHelperQuaternion(quaternion, origin);
|
|
2087
2184
|
}
|
|
2088
|
-
|
|
2089
|
-
this.helperObject3D.
|
|
2185
|
+
applyHelperScaleMatrix4(matrix4, params) {
|
|
2186
|
+
this.helperObject3D.applyHelperScaleMatrix4(matrix4, params);
|
|
2090
2187
|
}
|
|
2091
2188
|
onWantsGesture(type, pointers, final) {
|
|
2092
2189
|
if (this.isDragging)
|
|
2093
2190
|
return false;
|
|
2094
2191
|
}
|
|
2192
|
+
render() {
|
|
2193
|
+
this.onRender();
|
|
2194
|
+
}
|
|
2095
2195
|
hoverListener(object3D, hoverColor = 0xffffff, hoverOpacity = 1) {
|
|
2096
2196
|
const objects = (Array.isArray(object3D) ? object3D : [object3D]).filter(notNil);
|
|
2097
2197
|
const disposers = [];
|
|
@@ -2107,14 +2207,14 @@ class BaseController {
|
|
|
2107
2207
|
mesh.material.color.set(hoverColor);
|
|
2108
2208
|
mesh.material.opacity = hoverOpacity;
|
|
2109
2209
|
});
|
|
2110
|
-
this.
|
|
2210
|
+
this.render();
|
|
2111
2211
|
};
|
|
2112
2212
|
const resetColor = () => {
|
|
2113
2213
|
meshes.forEach((mesh) => {
|
|
2114
2214
|
mesh.material.color.copy(mesh['__originalColor__']);
|
|
2115
2215
|
mesh.material.opacity = mesh['__originalOpacity__'];
|
|
2116
2216
|
});
|
|
2117
|
-
this.
|
|
2217
|
+
this.render();
|
|
2118
2218
|
};
|
|
2119
2219
|
const handleMouseover = () => {
|
|
2120
2220
|
if (this.isDragging)
|
|
@@ -2228,7 +2328,7 @@ class MoveController extends BaseController {
|
|
|
2228
2328
|
plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
|
|
2229
2329
|
this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
|
|
2230
2330
|
// 隐藏其他箭头
|
|
2231
|
-
this.helperObject3D.
|
|
2331
|
+
this.helperObject3D.showDraggingHelper([draggingDirection]);
|
|
2232
2332
|
this.hooks.emit('moveStart');
|
|
2233
2333
|
this.isDragging = true;
|
|
2234
2334
|
console.log('%c MoveController dragStart', 'color: #e5af2e');
|
|
@@ -2330,16 +2430,17 @@ class ControllerWrapper {
|
|
|
2330
2430
|
}
|
|
2331
2431
|
}
|
|
2332
2432
|
|
|
2333
|
-
const VERSION$1 = 'v1.0.
|
|
2433
|
+
const VERSION$1 = 'v1.0.1';
|
|
2334
2434
|
const NAME = 'Object3DHelper';
|
|
2335
2435
|
const NAMEVERSION = `${NAME}@${VERSION$1}`;
|
|
2336
|
-
const
|
|
2436
|
+
const OBJECT_OPACITY = 0.4;
|
|
2437
|
+
const disposedErrorLog$1 = () => {
|
|
2337
2438
|
console.error(`${NAMEVERSION} is disposed`);
|
|
2338
2439
|
};
|
|
2339
|
-
const disableWarnLog = () => {
|
|
2440
|
+
const disableWarnLog$1 = () => {
|
|
2340
2441
|
console.warn(`${NAMEVERSION} is disabled`);
|
|
2341
2442
|
};
|
|
2342
|
-
const disableErrorLog = () => {
|
|
2443
|
+
const disableErrorLog$1 = () => {
|
|
2343
2444
|
console.error(`${NAMEVERSION} is disabled`);
|
|
2344
2445
|
};
|
|
2345
2446
|
class Object3DHelper {
|
|
@@ -2348,7 +2449,7 @@ class Object3DHelper {
|
|
|
2348
2449
|
enumerable: true,
|
|
2349
2450
|
configurable: true,
|
|
2350
2451
|
writable: true,
|
|
2351
|
-
value:
|
|
2452
|
+
value: {}
|
|
2352
2453
|
});
|
|
2353
2454
|
Object.defineProperty(this, "state", {
|
|
2354
2455
|
enumerable: true,
|
|
@@ -2383,25 +2484,24 @@ class Object3DHelper {
|
|
|
2383
2484
|
configurable: true,
|
|
2384
2485
|
writable: true,
|
|
2385
2486
|
value: (controller, ...positionParams) => {
|
|
2386
|
-
var _a, _b, _c, _d
|
|
2487
|
+
var _a, _b, _c, _d;
|
|
2387
2488
|
const [position] = positionParams;
|
|
2388
2489
|
const matrix4 = position === null || position === void 0 ? void 0 : position.matrix4;
|
|
2389
2490
|
if (matrix4) {
|
|
2390
2491
|
if (controller !== this.controllers.moveController)
|
|
2391
|
-
(_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.
|
|
2492
|
+
(_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.applyHelperMatrix4(matrix4);
|
|
2392
2493
|
if (controller !== this.controllers.rotateController)
|
|
2393
|
-
(_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.
|
|
2394
|
-
(
|
|
2494
|
+
(_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.applyHelperMatrix4(matrix4);
|
|
2495
|
+
if (controller !== this.controllers.scaleController)
|
|
2496
|
+
(_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.applyHelperMatrix4(matrix4);
|
|
2395
2497
|
(_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyMatrix4(matrix4);
|
|
2396
2498
|
}
|
|
2397
|
-
if (position
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
(_h = this.helpers.outlineHelper) === null || _h === void 0 ? void 0 : _h.position.copy(position.position);
|
|
2404
|
-
}
|
|
2499
|
+
// if (position?.position) {
|
|
2500
|
+
// if (controller !== this.controllers.moveController) this.controllers.moveController?.setHelperPosition(position.position)
|
|
2501
|
+
// if (controller !== this.controllers.rotateController) this.controllers.rotateController?.setHelperPosition(position.position)
|
|
2502
|
+
// this.controllers.scaleController?.setHelperPosition(position.position)
|
|
2503
|
+
// this.helpers.outlineHelper?.position.copy(position.position)
|
|
2504
|
+
// }
|
|
2405
2505
|
}
|
|
2406
2506
|
});
|
|
2407
2507
|
Object.defineProperty(this, "handleScaleUpdate", {
|
|
@@ -2413,7 +2513,7 @@ class Object3DHelper {
|
|
|
2413
2513
|
const [params] = positionParams;
|
|
2414
2514
|
const matrix4 = params === null || params === void 0 ? void 0 : params.matrix4;
|
|
2415
2515
|
if (matrix4) {
|
|
2416
|
-
(_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.
|
|
2516
|
+
(_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.applyHelperScaleMatrix4(matrix4, params);
|
|
2417
2517
|
(_b = this.helpers.outlineHelper) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix4);
|
|
2418
2518
|
}
|
|
2419
2519
|
}
|
|
@@ -2429,18 +2529,20 @@ class Object3DHelper {
|
|
|
2429
2529
|
const { quaternion, origin } = rotate;
|
|
2430
2530
|
if (quaternion) {
|
|
2431
2531
|
if (controller !== this.controllers.moveController)
|
|
2432
|
-
(_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.
|
|
2532
|
+
(_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.applyHelperQuaternion(quaternion, origin);
|
|
2433
2533
|
if (controller !== this.controllers.rotateController)
|
|
2434
|
-
(_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.
|
|
2534
|
+
(_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.applyHelperQuaternion(quaternion, origin);
|
|
2435
2535
|
if (controller !== this.controllers.scaleController)
|
|
2436
|
-
(_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.
|
|
2536
|
+
(_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.applyHelperQuaternion(quaternion, origin);
|
|
2437
2537
|
(_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyQuaternion(quaternion);
|
|
2438
2538
|
}
|
|
2439
2539
|
}
|
|
2440
2540
|
}
|
|
2441
2541
|
});
|
|
2442
|
-
|
|
2542
|
+
if (controllers)
|
|
2543
|
+
this.addControllers(controllers);
|
|
2443
2544
|
this.helpers = helpers !== null && helpers !== void 0 ? helpers : {};
|
|
2545
|
+
this.setState(this.state);
|
|
2444
2546
|
}
|
|
2445
2547
|
/**
|
|
2446
2548
|
* @description Show guide line
|
|
@@ -2474,11 +2576,11 @@ class Object3DHelper {
|
|
|
2474
2576
|
}
|
|
2475
2577
|
setState(state, options) {
|
|
2476
2578
|
if (this.state.disposed)
|
|
2477
|
-
return disposedErrorLog();
|
|
2579
|
+
return disposedErrorLog$1();
|
|
2478
2580
|
if (!this.state.enabled) {
|
|
2479
2581
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
2480
2582
|
if (state.enabled !== true && state.disposed !== true)
|
|
2481
|
-
return disableErrorLog();
|
|
2583
|
+
return disableErrorLog$1();
|
|
2482
2584
|
}
|
|
2483
2585
|
const prevState = Object.assign({}, this.state);
|
|
2484
2586
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -2486,10 +2588,10 @@ class Object3DHelper {
|
|
|
2486
2588
|
if (state.disposed)
|
|
2487
2589
|
this.handleDispose();
|
|
2488
2590
|
}
|
|
2489
|
-
if (state.visible !== undefined
|
|
2591
|
+
if (state.visible !== undefined) {
|
|
2490
2592
|
this.handleVisible(state.visible);
|
|
2491
2593
|
}
|
|
2492
|
-
if (state.enabled !== undefined
|
|
2594
|
+
if (state.enabled !== undefined) {
|
|
2493
2595
|
this.handleEnable(state.enabled);
|
|
2494
2596
|
}
|
|
2495
2597
|
this.hooks.emit('stateChange', { state: this.state, prevState });
|
|
@@ -2497,6 +2599,7 @@ class Object3DHelper {
|
|
|
2497
2599
|
addControllers(controllers) {
|
|
2498
2600
|
this.controllers = Object.assign(Object.assign({}, this.controllers), controllers);
|
|
2499
2601
|
this.addEventListener();
|
|
2602
|
+
this.setState(this.state);
|
|
2500
2603
|
}
|
|
2501
2604
|
addHelpers(helpers) {
|
|
2502
2605
|
this.helpers = Object.assign(Object.assign({}, this.helpers), helpers);
|
|
@@ -2566,25 +2669,35 @@ class Object3DHelper {
|
|
|
2566
2669
|
}
|
|
2567
2670
|
}
|
|
2568
2671
|
handleEnable(enabled, userAction = true) {
|
|
2569
|
-
console.log({ enabled });
|
|
2570
2672
|
if (enabled) {
|
|
2571
|
-
this.everyControllerDo((controller) =>
|
|
2673
|
+
this.everyControllerDo((controller) => {
|
|
2674
|
+
controller.enable();
|
|
2675
|
+
controller.setOpacity(OBJECT_OPACITY);
|
|
2676
|
+
});
|
|
2572
2677
|
this.hooks.emit('enable', { userAction });
|
|
2573
2678
|
}
|
|
2574
2679
|
else {
|
|
2575
|
-
this.everyControllerDo((controller) =>
|
|
2680
|
+
this.everyControllerDo((controller) => {
|
|
2681
|
+
controller.disable();
|
|
2682
|
+
controller.restoreOpacity();
|
|
2683
|
+
});
|
|
2576
2684
|
this.hooks.emit('disable', { userAction });
|
|
2577
2685
|
}
|
|
2578
2686
|
this.state.enabled = enabled;
|
|
2579
2687
|
}
|
|
2580
2688
|
handleVisible(visible, userAction = true) {
|
|
2581
|
-
console.log({ visible });
|
|
2582
2689
|
if (visible) {
|
|
2583
|
-
this.everyControllerDo((controller) =>
|
|
2690
|
+
this.everyControllerDo((controller) => {
|
|
2691
|
+
controller.show();
|
|
2692
|
+
controller.setOpacity(OBJECT_OPACITY);
|
|
2693
|
+
});
|
|
2584
2694
|
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
2585
2695
|
}
|
|
2586
2696
|
else {
|
|
2587
|
-
this.everyControllerDo((controller) =>
|
|
2697
|
+
this.everyControllerDo((controller) => {
|
|
2698
|
+
controller.hide();
|
|
2699
|
+
controller.restoreOpacity();
|
|
2700
|
+
});
|
|
2588
2701
|
this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
|
|
2589
2702
|
}
|
|
2590
2703
|
this.state.visible = visible;
|
|
@@ -2596,16 +2709,24 @@ class Object3DHelper {
|
|
|
2596
2709
|
});
|
|
2597
2710
|
}
|
|
2598
2711
|
handleDispose() {
|
|
2712
|
+
var _a, _b;
|
|
2599
2713
|
Object.values(this.controllers).forEach((controller) => {
|
|
2600
2714
|
controller === null || controller === void 0 ? void 0 : controller.dispose();
|
|
2715
|
+
controller === null || controller === void 0 ? void 0 : controller.restoreOpacity();
|
|
2601
2716
|
});
|
|
2717
|
+
for (const k in this.controllers) {
|
|
2718
|
+
if (!k)
|
|
2719
|
+
continue;
|
|
2720
|
+
const key = k;
|
|
2721
|
+
(_b = (_a = this.eventListener)[key]) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
2722
|
+
}
|
|
2602
2723
|
}
|
|
2603
2724
|
actionIfStateIsEnabled(func, options) {
|
|
2604
2725
|
if (this.state.enabled)
|
|
2605
2726
|
return func();
|
|
2606
2727
|
else {
|
|
2607
2728
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
2608
|
-
disableWarnLog();
|
|
2729
|
+
disableWarnLog$1();
|
|
2609
2730
|
}
|
|
2610
2731
|
}
|
|
2611
2732
|
}
|
|
@@ -2631,17 +2752,11 @@ class RotateController extends BaseController {
|
|
|
2631
2752
|
writable: true,
|
|
2632
2753
|
value: []
|
|
2633
2754
|
});
|
|
2634
|
-
Object.defineProperty(this, "a", {
|
|
2635
|
-
enumerable: true,
|
|
2636
|
-
configurable: true,
|
|
2637
|
-
writable: true,
|
|
2638
|
-
value: void 0
|
|
2639
|
-
});
|
|
2640
2755
|
Object.defineProperty(this, "helperObject3DQuaternion", {
|
|
2641
2756
|
enumerable: true,
|
|
2642
2757
|
configurable: true,
|
|
2643
2758
|
writable: true,
|
|
2644
|
-
value: this.
|
|
2759
|
+
value: this.originObject3D.quaternion.clone()
|
|
2645
2760
|
});
|
|
2646
2761
|
// add hover listener
|
|
2647
2762
|
const helper = this.helperObject3D;
|
|
@@ -2653,6 +2768,10 @@ class RotateController extends BaseController {
|
|
|
2653
2768
|
document.addEventListener('mousemove', dragging);
|
|
2654
2769
|
document.addEventListener('mouseup', dragEnd);
|
|
2655
2770
|
}
|
|
2771
|
+
initialHelperQuaternion() {
|
|
2772
|
+
this.helperObject3D.updateAngleHelperQuaternion();
|
|
2773
|
+
this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
|
|
2774
|
+
}
|
|
2656
2775
|
/**
|
|
2657
2776
|
* @description: 拖动开始,找出拖的Direction
|
|
2658
2777
|
*/
|
|
@@ -2677,9 +2796,9 @@ class RotateController extends BaseController {
|
|
|
2677
2796
|
this.setTipsPosition(tipsPosition);
|
|
2678
2797
|
// end
|
|
2679
2798
|
// init plane
|
|
2680
|
-
const directionX = new THREE__namespace.Vector3(1, 0, 0).applyQuaternion(this.helperObject3DQuaternion
|
|
2681
|
-
const directionY = new THREE__namespace.Vector3(0, 1, 0).applyQuaternion(this.helperObject3DQuaternion
|
|
2682
|
-
const directionZ = new THREE__namespace.Vector3(0, 0, 1).applyQuaternion(this.helperObject3DQuaternion
|
|
2799
|
+
const directionX = new THREE__namespace.Vector3(1, 0, 0).applyQuaternion(this.helperObject3DQuaternion);
|
|
2800
|
+
const directionY = new THREE__namespace.Vector3(0, 1, 0).applyQuaternion(this.helperObject3DQuaternion);
|
|
2801
|
+
const directionZ = new THREE__namespace.Vector3(0, 0, 1).applyQuaternion(this.helperObject3DQuaternion);
|
|
2683
2802
|
const directionVector = (() => {
|
|
2684
2803
|
switch (direction) {
|
|
2685
2804
|
case 'x':
|
|
@@ -2691,6 +2810,10 @@ class RotateController extends BaseController {
|
|
|
2691
2810
|
}
|
|
2692
2811
|
})();
|
|
2693
2812
|
const plane = new THREE__namespace.Plane().setFromNormalAndCoplanarPoint(directionVector, startIntersect);
|
|
2813
|
+
// this.a && this.scene.remove(this.a)
|
|
2814
|
+
// const h = new THREE.PlaneHelper(plane, 1)
|
|
2815
|
+
// this.scene.add(h)
|
|
2816
|
+
// this.a = h
|
|
2694
2817
|
// end
|
|
2695
2818
|
// init startVectorProject
|
|
2696
2819
|
const projectPoint = new THREE__namespace.Vector3();
|
|
@@ -2708,7 +2831,7 @@ class RotateController extends BaseController {
|
|
|
2708
2831
|
// this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
|
|
2709
2832
|
// this.scene.add(this.a)
|
|
2710
2833
|
this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
|
|
2711
|
-
this.helperObject3D.
|
|
2834
|
+
this.helperObject3D.showDraggingHelper([direction]);
|
|
2712
2835
|
this.hooks.emit('rotateStart');
|
|
2713
2836
|
this.isDragging = true;
|
|
2714
2837
|
console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
|
|
@@ -2798,7 +2921,7 @@ class RotateController extends BaseController {
|
|
|
2798
2921
|
// end
|
|
2799
2922
|
const quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector.clone().normalize(), currentVector.clone().normalize());
|
|
2800
2923
|
object.applyQuaternion(quaternion);
|
|
2801
|
-
this.helperObject3D.
|
|
2924
|
+
this.helperObject3D.applyHelperQuaternion(quaternion);
|
|
2802
2925
|
this.helperObject3DQuaternion.premultiply(quaternion);
|
|
2803
2926
|
this.hooks.emit('rotateUpdate', { quaternion, origin: rotateCenter });
|
|
2804
2927
|
this.startInfo.startVector = currentVector;
|
|
@@ -2871,10 +2994,6 @@ class RotateController extends BaseController {
|
|
|
2871
2994
|
}
|
|
2872
2995
|
}
|
|
2873
2996
|
|
|
2874
|
-
function negateScale(scale) {
|
|
2875
|
-
return scale.clone().sub(new THREE__namespace.Vector3(1, 1, 1)).negate().add(new THREE__namespace.Vector3(1, 1, 1));
|
|
2876
|
-
}
|
|
2877
|
-
|
|
2878
2997
|
class RectangleScaleController extends BaseController {
|
|
2879
2998
|
constructor(...params) {
|
|
2880
2999
|
super(...params);
|
|
@@ -2911,10 +3030,6 @@ class RectangleScaleController extends BaseController {
|
|
|
2911
3030
|
plane.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new THREE.Vector3()), positions[0]);
|
|
2912
3031
|
else
|
|
2913
3032
|
plane.setFromCoplanarPoints(positions[0], positions[1], positions[2]);
|
|
2914
|
-
// const p0 = getPoint(positions[0]!, 0)
|
|
2915
|
-
// const p1 = getPoint(positions[1]!, 1)
|
|
2916
|
-
// const p2 = getPoint(positions[2]!, 2)
|
|
2917
|
-
// this.scene.add(p0, p1, p2)
|
|
2918
3033
|
return plane;
|
|
2919
3034
|
}
|
|
2920
3035
|
dragStart(mousePoint, point) {
|
|
@@ -2924,8 +3039,9 @@ class RectangleScaleController extends BaseController {
|
|
|
2924
3039
|
if (!plane)
|
|
2925
3040
|
return this.dragEnd();
|
|
2926
3041
|
this.startInfo = { startPoint: { position: point.position.clone(), direction: point.direction }, plane };
|
|
3042
|
+
// this.scene.add(getPoint(point.position.clone(), 3))
|
|
2927
3043
|
this.hooks.emit('scaleStart');
|
|
2928
|
-
this.
|
|
3044
|
+
this.render();
|
|
2929
3045
|
this.isDragging = true;
|
|
2930
3046
|
console.log('%c RectangleScaleController dragStart', 'color: #e5af2e');
|
|
2931
3047
|
}
|
|
@@ -2936,7 +3052,7 @@ class RectangleScaleController extends BaseController {
|
|
|
2936
3052
|
if (!raycaster)
|
|
2937
3053
|
return this.dragEnd();
|
|
2938
3054
|
this.scale(raycaster);
|
|
2939
|
-
console.log('%c RectangleScaleController dragging', 'color: #49de1b')
|
|
3055
|
+
// console.log('%c RectangleScaleController dragging', 'color: #49de1b')
|
|
2940
3056
|
}
|
|
2941
3057
|
scale(raycaster) {
|
|
2942
3058
|
var _a, _b;
|
|
@@ -2952,101 +3068,116 @@ class RectangleScaleController extends BaseController {
|
|
|
2952
3068
|
return;
|
|
2953
3069
|
if (vectorIsEqual(planeIntersection, this.camera.position))
|
|
2954
3070
|
return;
|
|
2955
|
-
const referencePosition = cornerPositions[0].clone();
|
|
2956
3071
|
const planeCenter = new THREE.Vector3().addVectors(cornerPositions[0], cornerPositions[2]).divideScalar(2);
|
|
2957
3072
|
const { position: startPosition, direction } = startPoint;
|
|
2958
|
-
const ewVector = new THREE.Vector3().subVectors(cornerPositions[1],
|
|
2959
|
-
const nsVector = new THREE.Vector3().subVectors(cornerPositions[3],
|
|
3073
|
+
const ewVector = new THREE.Vector3().subVectors(cornerPositions[1], cornerPositions[0]); // west -> east vector
|
|
3074
|
+
const nsVector = new THREE.Vector3().subVectors(cornerPositions[3], cornerPositions[0]); // south -> north vector
|
|
2960
3075
|
// eslint-disable-next-line complexity
|
|
2961
|
-
const
|
|
3076
|
+
const getOffset = (direction) => {
|
|
3077
|
+
const defaultVector = new THREE.Vector3(0, 0, 0);
|
|
3078
|
+
if (!this.startInfo)
|
|
3079
|
+
return defaultVector;
|
|
2962
3080
|
const baseVector = (direction === 'ew' ? ewVector : nsVector).clone();
|
|
2963
3081
|
const startPositionProject = startPosition.clone().projectOnVector(baseVector);
|
|
2964
3082
|
const nowPositionProject = planeIntersection.clone().projectOnVector(baseVector);
|
|
2965
3083
|
const planeCenterProject = planeCenter.clone().projectOnVector(baseVector);
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
3084
|
+
// this.scene.add(getPoint(startPosition, 0))
|
|
3085
|
+
// this.scene.add(getPoint(planeIntersection, 0))
|
|
3086
|
+
if (nowPositionProject.equals(startPositionProject))
|
|
3087
|
+
return defaultVector;
|
|
3088
|
+
if (direction === 'ns' && typeof this.startInfo.dragPointInCenterBottom !== 'boolean') {
|
|
3089
|
+
const offset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
|
|
3090
|
+
const xIsNegative = offset.x < 0 && baseVector.x >= 0;
|
|
3091
|
+
const yIsNegative = offset.y < 0 && baseVector.y >= 0;
|
|
3092
|
+
const zIsNegative = offset.z < 0 && baseVector.z >= 0;
|
|
3093
|
+
this.startInfo.dragPointInCenterBottom = xIsNegative || yIsNegative || zIsNegative;
|
|
3094
|
+
}
|
|
3095
|
+
if (direction === 'ew' && typeof this.startInfo.dragPointInCenterLeft !== 'boolean') {
|
|
3096
|
+
const offset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
|
|
3097
|
+
const xIsNegative = offset.x < 0 && baseVector.x >= 0;
|
|
3098
|
+
const yIsNegative = offset.y < 0 && baseVector.y >= 0;
|
|
3099
|
+
const zIsNegative = offset.z < 0 && baseVector.z >= 0;
|
|
3100
|
+
this.startInfo.dragPointInCenterLeft = xIsNegative || yIsNegative || zIsNegative;
|
|
3101
|
+
}
|
|
3102
|
+
const offset = new THREE.Vector3().subVectors(nowPositionProject, startPositionProject);
|
|
3103
|
+
// TODO: 不知道为啥b端在缩放结束有问题,先临时加个限制
|
|
3104
|
+
const offsetLength = offset.length();
|
|
3105
|
+
if (offsetLength > 0.2) {
|
|
3106
|
+
console.warn('offset.length() > 0.2, skipped', offsetLength);
|
|
3107
|
+
return defaultVector;
|
|
3108
|
+
}
|
|
3109
|
+
return offset;
|
|
3110
|
+
};
|
|
3111
|
+
const ewOffset = getOffset('ew');
|
|
3112
|
+
const nsOffset = getOffset('ns');
|
|
3113
|
+
const setEWScale = () => {
|
|
3114
|
+
const offset = ewOffset;
|
|
3115
|
+
this.helperObject3D.cornerPositions.forEach((position, index) => {
|
|
3116
|
+
var _a;
|
|
3117
|
+
if ((_a = this.startInfo) === null || _a === void 0 ? void 0 : _a.dragPointInCenterLeft) {
|
|
3118
|
+
if (index === 0 || index === 3)
|
|
3119
|
+
position.add(offset); // 拖左边,只改左边点
|
|
2973
3120
|
}
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
const yIsNegative = offset.y < 0 && baseVector.y >= 0;
|
|
2978
|
-
const zIsNegative = offset.z < 0 && baseVector.z >= 0;
|
|
2979
|
-
this.startInfo.ewMoveIsNegative = xIsNegative || yIsNegative || zIsNegative;
|
|
3121
|
+
else {
|
|
3122
|
+
if (index === 1 || index === 2)
|
|
3123
|
+
position.add(offset); // 拖右边,只改右边点
|
|
2980
3124
|
}
|
|
2981
|
-
}
|
|
2982
|
-
if (nowPositionProject.equals(startPositionProject))
|
|
2983
|
-
return;
|
|
2984
|
-
const startPositionProjectOffset = new THREE.Vector3().subVectors(startPositionProject, planeCenterProject);
|
|
2985
|
-
const nowPositionProjectOffset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
|
|
2986
|
-
const scale = nowPositionProjectOffset.clone().divide(startPositionProjectOffset);
|
|
2987
|
-
scale.x = isNaN(scale.x) ? 1 : scale.x;
|
|
2988
|
-
scale.y = isNaN(scale.y) ? 1 : scale.y;
|
|
2989
|
-
scale.z = isNaN(scale.z) ? 1 : scale.z;
|
|
2990
|
-
return scale;
|
|
3125
|
+
});
|
|
2991
3126
|
};
|
|
2992
|
-
const
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
//
|
|
3019
|
-
//
|
|
3020
|
-
|
|
3127
|
+
const setNSScale = () => {
|
|
3128
|
+
const offset = nsOffset;
|
|
3129
|
+
this.helperObject3D.cornerPositions.forEach((position, index) => {
|
|
3130
|
+
var _a;
|
|
3131
|
+
if ((_a = this.startInfo) === null || _a === void 0 ? void 0 : _a.dragPointInCenterBottom) {
|
|
3132
|
+
if (index === 0 || index === 1)
|
|
3133
|
+
position.add(offset); // 拖下边,只改下边点
|
|
3134
|
+
}
|
|
3135
|
+
else {
|
|
3136
|
+
if (index === 2 || index === 3)
|
|
3137
|
+
position.add(offset); // 拖上边,只改上边点
|
|
3138
|
+
}
|
|
3139
|
+
});
|
|
3140
|
+
};
|
|
3141
|
+
switch (direction) {
|
|
3142
|
+
case 'ew':
|
|
3143
|
+
setEWScale();
|
|
3144
|
+
break;
|
|
3145
|
+
case 'ns':
|
|
3146
|
+
setNSScale();
|
|
3147
|
+
break;
|
|
3148
|
+
case 'nesw':
|
|
3149
|
+
case 'nwse':
|
|
3150
|
+
setEWScale();
|
|
3151
|
+
setNSScale();
|
|
3152
|
+
}
|
|
3153
|
+
// this.helperObject3D.cornerPositions.forEach((position, index) => {
|
|
3154
|
+
// this.scene.add(getPoint(position, index))
|
|
3155
|
+
// })
|
|
3156
|
+
const scaleX = new THREE.Vector3().subVectors(cornerPositions[1], cornerPositions[0]).length() / ewVector.length();
|
|
3157
|
+
const scaleY = new THREE.Vector3().subVectors(cornerPositions[3], cornerPositions[0]).length() / nsVector.length();
|
|
3158
|
+
const scaleXY = new THREE.Vector3(scaleX, scaleY, 1);
|
|
3159
|
+
console.log(scaleXY);
|
|
3160
|
+
const scaleMatrix = new THREE__namespace.Matrix4().scale(scaleXY);
|
|
3161
|
+
// const newScale = object.scale.clone().applyMatrix4(scaleMatrix)
|
|
3162
|
+
// object.scale.copy(newScale) // 或者 object.scale.applyMatrix4(scaleMatrix)
|
|
3163
|
+
object.scale.applyMatrix4(scaleMatrix);
|
|
3021
3164
|
startPoint.position.copy(planeIntersection);
|
|
3022
|
-
|
|
3165
|
+
// =================================================================================================================================================================
|
|
3166
|
+
// =================================================================================================================================================================
|
|
3023
3167
|
// 移动位置
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
})();
|
|
3038
|
-
const halfMoveScale = moveScale.clone().sub(new THREE.Vector3(1, 1, 1)).multiplyScalar(0.5).add(new THREE.Vector3(1, 1, 1));
|
|
3039
|
-
const objectPosition = object.position.clone();
|
|
3040
|
-
const newPosition = new THREE.Vector3()
|
|
3041
|
-
.subVectors(objectPosition, referencePosition)
|
|
3042
|
-
.multiply(halfMoveScale)
|
|
3043
|
-
.add(referencePosition)
|
|
3044
|
-
.sub(objectPosition);
|
|
3045
|
-
const transform = new THREE__namespace.Matrix4().setPosition(newPosition);
|
|
3046
|
-
object.applyMatrix4(transform);
|
|
3047
|
-
this.hooks.emit('positionUpdate', { matrix4: transform });
|
|
3048
|
-
}
|
|
3049
|
-
this.needsRender();
|
|
3168
|
+
const centerPosition = new THREE.Vector3().addVectors(cornerPositions[0], cornerPositions[2]).divideScalar(2);
|
|
3169
|
+
const offset = new THREE.Vector3().subVectors(centerPosition, planeCenter);
|
|
3170
|
+
const transformMatrix4 = new THREE__namespace.Matrix4().setPosition(offset);
|
|
3171
|
+
object.applyMatrix4(transformMatrix4);
|
|
3172
|
+
(_a = this.helperObject3D.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(transformMatrix4);
|
|
3173
|
+
(_b = this.helperObject3D.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(transformMatrix4);
|
|
3174
|
+
this.hooks.emit('scaleUpdate', { matrix4: scaleMatrix, helperOrigin: planeCenter });
|
|
3175
|
+
this.hooks.emit('positionUpdate', { matrix4: transformMatrix4 });
|
|
3176
|
+
// 移动位置end
|
|
3177
|
+
// this.helperObject3D.cornerPositions.forEach((position, index) => {
|
|
3178
|
+
// this.scene.add(getPoint(position, index))
|
|
3179
|
+
// })
|
|
3180
|
+
this.render();
|
|
3050
3181
|
}
|
|
3051
3182
|
dragEnd() {
|
|
3052
3183
|
if (!this.isDragging)
|
|
@@ -3054,7 +3185,7 @@ class RectangleScaleController extends BaseController {
|
|
|
3054
3185
|
this.startInfo = undefined;
|
|
3055
3186
|
this.isDragging = false;
|
|
3056
3187
|
this.hooks.emit('scaleEnd');
|
|
3057
|
-
this.
|
|
3188
|
+
this.render();
|
|
3058
3189
|
console.log('%c RectangleScaleController dragEnd', 'color: #e94e4e');
|
|
3059
3190
|
}
|
|
3060
3191
|
}
|
|
@@ -3082,10 +3213,18 @@ class CSS3DScaleController extends RectangleScaleController {
|
|
|
3082
3213
|
const VERSION = 'v1.0.0';
|
|
3083
3214
|
const PLUGIN_NAME = 'Object3DHelperPlugin';
|
|
3084
3215
|
const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
|
|
3085
|
-
const
|
|
3086
|
-
|
|
3216
|
+
const disposedErrorLog = () => {
|
|
3217
|
+
console.error(`${PLUGIN} is disposed`);
|
|
3218
|
+
};
|
|
3219
|
+
const disableWarnLog = () => {
|
|
3220
|
+
console.warn(`${PLUGIN} is disabled`);
|
|
3221
|
+
};
|
|
3222
|
+
const disableErrorLog = () => {
|
|
3223
|
+
console.error(`${PLUGIN} is disabled`);
|
|
3224
|
+
};
|
|
3225
|
+
class Object3DHelperController extends Controller {
|
|
3087
3226
|
constructor(five) {
|
|
3088
|
-
super();
|
|
3227
|
+
super(five);
|
|
3089
3228
|
Object.defineProperty(this, "version", {
|
|
3090
3229
|
enumerable: true,
|
|
3091
3230
|
configurable: true,
|
|
@@ -3098,14 +3237,80 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
3098
3237
|
writable: true,
|
|
3099
3238
|
value: PLUGIN_NAME
|
|
3100
3239
|
});
|
|
3101
|
-
Object.defineProperty(this, "
|
|
3240
|
+
Object.defineProperty(this, "state", {
|
|
3102
3241
|
enumerable: true,
|
|
3103
3242
|
configurable: true,
|
|
3104
3243
|
writable: true,
|
|
3105
|
-
value:
|
|
3244
|
+
value: {
|
|
3245
|
+
visible: true,
|
|
3246
|
+
enabled: true,
|
|
3247
|
+
disposed: false,
|
|
3248
|
+
}
|
|
3249
|
+
});
|
|
3250
|
+
Object.defineProperty(this, "objectHelperMap", {
|
|
3251
|
+
enumerable: true,
|
|
3252
|
+
configurable: true,
|
|
3253
|
+
writable: true,
|
|
3254
|
+
value: new Map()
|
|
3106
3255
|
});
|
|
3107
3256
|
this.five = five;
|
|
3108
3257
|
Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
|
|
3258
|
+
// Object.assign(window, { THREE: THREE })
|
|
3259
|
+
}
|
|
3260
|
+
/**
|
|
3261
|
+
* @description Show guide line
|
|
3262
|
+
*/
|
|
3263
|
+
async show(options) {
|
|
3264
|
+
this.setState({ visible: true }, options);
|
|
3265
|
+
}
|
|
3266
|
+
/**
|
|
3267
|
+
* @description Hide guide line
|
|
3268
|
+
*/
|
|
3269
|
+
async hide(options) {
|
|
3270
|
+
this.setState({ visible: false }, options);
|
|
3271
|
+
}
|
|
3272
|
+
/**
|
|
3273
|
+
* @description Enable
|
|
3274
|
+
*/
|
|
3275
|
+
enable(options) {
|
|
3276
|
+
this.setState({ enabled: true }, options);
|
|
3277
|
+
}
|
|
3278
|
+
/**
|
|
3279
|
+
* @description Disable
|
|
3280
|
+
*/
|
|
3281
|
+
disable(options) {
|
|
3282
|
+
this.setState({ enabled: false }, options);
|
|
3283
|
+
}
|
|
3284
|
+
/**
|
|
3285
|
+
* @description Dispose
|
|
3286
|
+
*/
|
|
3287
|
+
dispose() {
|
|
3288
|
+
this.setState({ disposed: true });
|
|
3289
|
+
}
|
|
3290
|
+
setState(state, options) {
|
|
3291
|
+
if (this.state.disposed)
|
|
3292
|
+
return disposedErrorLog();
|
|
3293
|
+
if (!this.state.enabled) {
|
|
3294
|
+
// when plugin is disabled, only can change enabled or disposed to true
|
|
3295
|
+
if (state.enabled !== true && state.disposed !== true)
|
|
3296
|
+
return disableErrorLog();
|
|
3297
|
+
}
|
|
3298
|
+
const prevState = Object.assign({}, this.state);
|
|
3299
|
+
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
3300
|
+
if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
|
|
3301
|
+
if (state.disposed)
|
|
3302
|
+
this.handleDispose();
|
|
3303
|
+
}
|
|
3304
|
+
if (state.visible !== undefined && state.visible !== prevState.visible) {
|
|
3305
|
+
this.handleVisible(state.visible);
|
|
3306
|
+
}
|
|
3307
|
+
if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
|
|
3308
|
+
this.handleEnable(state.enabled);
|
|
3309
|
+
}
|
|
3310
|
+
this.hooks.emit('stateChange', { state: this.state, prevState });
|
|
3311
|
+
}
|
|
3312
|
+
getObject3DHelper(object3D) {
|
|
3313
|
+
return this.objectHelperMap.get(object3D);
|
|
3109
3314
|
}
|
|
3110
3315
|
/**
|
|
3111
3316
|
* @description 添加 helper
|
|
@@ -3116,6 +3321,14 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
3116
3321
|
*/
|
|
3117
3322
|
addObject3DHelper(object3D, config = {}) {
|
|
3118
3323
|
var _a;
|
|
3324
|
+
if (!object3D)
|
|
3325
|
+
return console.error('Object3D is undefined');
|
|
3326
|
+
if (this.objectHelperMap.has(object3D)) {
|
|
3327
|
+
console.warn(`Object3DHelperPlugin: object3D ${object3D.name} already has helper`);
|
|
3328
|
+
return;
|
|
3329
|
+
}
|
|
3330
|
+
const helper = new Object3DHelper();
|
|
3331
|
+
this.objectHelperMap.set(object3D, helper);
|
|
3119
3332
|
const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
3120
3333
|
const camera = this.five.camera;
|
|
3121
3334
|
// 创建空的helperGroup
|
|
@@ -3125,7 +3338,7 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
3125
3338
|
if (moveHelper) {
|
|
3126
3339
|
const moveHelper = new MoveHelper(object3D);
|
|
3127
3340
|
const controllerWrapper = new ControllerWrapper(this.five, MoveController, object3D, moveHelper);
|
|
3128
|
-
|
|
3341
|
+
helper.addControllers({ moveController: controllerWrapper.helperController });
|
|
3129
3342
|
}
|
|
3130
3343
|
if (rotateHelper) {
|
|
3131
3344
|
let angleTipsParams;
|
|
@@ -3133,13 +3346,13 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
3133
3346
|
angleTipsParams = { container };
|
|
3134
3347
|
const rotateHelper = new RotateHelper(object3D, angleTipsParams);
|
|
3135
3348
|
const controllerWrapper = new ControllerWrapper(this.five, RotateController, object3D, rotateHelper);
|
|
3136
|
-
|
|
3349
|
+
helper.addControllers({ rotateController: controllerWrapper.helperController });
|
|
3137
3350
|
}
|
|
3138
3351
|
if (scaleHelper) {
|
|
3139
3352
|
if (container) {
|
|
3140
3353
|
const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
|
|
3141
3354
|
const controllerWrapper = new ControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
|
|
3142
|
-
|
|
3355
|
+
helper.addControllers({ scaleController: controllerWrapper.helperController });
|
|
3143
3356
|
}
|
|
3144
3357
|
}
|
|
3145
3358
|
// if (mergeConfig.outlineHelper) {
|
|
@@ -3149,6 +3362,52 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
3149
3362
|
// }
|
|
3150
3363
|
// this.five.scene.add(helperGroup)
|
|
3151
3364
|
}
|
|
3365
|
+
removeObject3DHelper(object3D) {
|
|
3366
|
+
const helper = this.objectHelperMap.get(object3D);
|
|
3367
|
+
if (!helper)
|
|
3368
|
+
return;
|
|
3369
|
+
this.objectHelperMap.delete(object3D);
|
|
3370
|
+
helper.dispose();
|
|
3371
|
+
}
|
|
3372
|
+
handleEnable(enabled, userAction = true) {
|
|
3373
|
+
if (enabled) {
|
|
3374
|
+
this.everyHelperDo((helper) => helper.enable());
|
|
3375
|
+
this.hooks.emit('enable', { userAction });
|
|
3376
|
+
}
|
|
3377
|
+
else {
|
|
3378
|
+
this.everyHelperDo((helper) => helper.disable());
|
|
3379
|
+
this.hooks.emit('disable', { userAction });
|
|
3380
|
+
}
|
|
3381
|
+
this.state.enabled = enabled;
|
|
3382
|
+
}
|
|
3383
|
+
handleVisible(visible, userAction = true) {
|
|
3384
|
+
if (visible) {
|
|
3385
|
+
this.everyHelperDo((helper) => helper.show());
|
|
3386
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
3387
|
+
}
|
|
3388
|
+
else {
|
|
3389
|
+
this.everyHelperDo((helper) => helper.hide());
|
|
3390
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
|
|
3391
|
+
}
|
|
3392
|
+
this.state.visible = visible;
|
|
3393
|
+
}
|
|
3394
|
+
handleDispose() {
|
|
3395
|
+
this.everyHelperDo((helper) => helper.dispose());
|
|
3396
|
+
}
|
|
3397
|
+
everyHelperDo(func) {
|
|
3398
|
+
this.objectHelperMap.forEach((helper) => {
|
|
3399
|
+
if (helper)
|
|
3400
|
+
func(helper);
|
|
3401
|
+
});
|
|
3402
|
+
}
|
|
3403
|
+
actionIfStateIsEnabled(func, options) {
|
|
3404
|
+
if (this.state.enabled)
|
|
3405
|
+
return func();
|
|
3406
|
+
else {
|
|
3407
|
+
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
3408
|
+
disableWarnLog();
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3152
3411
|
}
|
|
3153
3412
|
|
|
3154
3413
|
const Object3DHelperPlugin = (five) => new Object3DHelperController(five);
|
|
@@ -3158,4 +3417,3 @@ exports.Object3DHelperPlugin = Object3DHelperPlugin;
|
|
|
3158
3417
|
exports.PLUGIN = PLUGIN;
|
|
3159
3418
|
exports.VERSION = VERSION;
|
|
3160
3419
|
exports["default"] = Object3DHelperPlugin;
|
|
3161
|
-
exports.pluginFlag = pluginFlag;
|