@crystaldesign/real-time-viewer-next 26.11.0-beta.18
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/build/esm/DeckCutoutSubsystem-76dfe828.js +2536 -0
- package/build/esm/SunLensflare-e4ab3f81.js +483 -0
- package/build/esm/WaterSurface-93383fdf.js +2041 -0
- package/build/esm/index-920dd901.js +23273 -0
- package/build/esm/index.js +32 -0
- package/build/types/real-time-viewer-next/src/RealTimeRendererNext.d.ts +58 -0
- package/build/types/real-time-viewer-next/src/RealTimeRendererNext.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/analyzerComponents.d.ts +23 -0
- package/build/types/real-time-viewer-next/src/analyzerComponents.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/analyzerStageContext.d.ts +9 -0
- package/build/types/real-time-viewer-next/src/analyzerStageContext.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/capture/applyShot.d.ts +8 -0
- package/build/types/real-time-viewer-next/src/capture/applyShot.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/capture/blob.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/capture/blob.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/capture/materialMute.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/capture/materialMute.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/capture/shotState.d.ts +24 -0
- package/build/types/real-time-viewer-next/src/capture/shotState.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/capture/types.d.ts +80 -0
- package/build/types/real-time-viewer-next/src/capture/types.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/capture/useCaptureEngine.d.ts +7 -0
- package/build/types/real-time-viewer-next/src/capture/useCaptureEngine.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/config/descriptor.d.ts +156 -0
- package/build/types/real-time-viewer-next/src/config/descriptor.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/config/descriptor.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/config/descriptor.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/config/environment.config.d.ts +511 -0
- package/build/types/real-time-viewer-next/src/config/environment.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/config/environment.config.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/config/environment.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/BBoxPreloader.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/core/BBoxPreloader.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/FloorGrid.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/FloorGrid.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/GeoBBoxReporter.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/GeoBBoxReporter.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/GeoInstance.d.ts +13 -0
- package/build/types/real-time-viewer-next/src/core/GeoInstance.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/PaletteDragPreview.d.ts +19 -0
- package/build/types/real-time-viewer-next/src/core/PaletteDragPreview.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/PerfLog.d.ts +38 -0
- package/build/types/real-time-viewer-next/src/core/PerfLog.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/PlannerGrid.d.ts +83 -0
- package/build/types/real-time-viewer-next/src/core/PlannerGrid.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/R3FAssetBoundary.d.ts +31 -0
- package/build/types/real-time-viewer-next/src/core/R3FAssetBoundary.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/RTVErrorBoundary.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/core/RTVErrorBoundary.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/SceneRenderer.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/SceneRenderer.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/SceneTree.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/core/SceneTree.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/VariantMeshOverride.d.ts +62 -0
- package/build/types/real-time-viewer-next/src/core/VariantMeshOverride.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/CameraController.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/camera/CameraController.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/cameraAnimationEngine.d.ts +69 -0
- package/build/types/real-time-viewer-next/src/core/camera/cameraAnimationEngine.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/cameraPoseBook.d.ts +24 -0
- package/build/types/real-time-viewer-next/src/core/camera/cameraPoseBook.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/controlsLock.d.ts +25 -0
- package/build/types/real-time-viewer-next/src/core/camera/controlsLock.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/sectorLimits.d.ts +38 -0
- package/build/types/real-time-viewer-next/src/core/camera/sectorLimits.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/sectorLimits.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/camera/sectorLimits.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useAutoFrame.d.ts +29 -0
- package/build/types/real-time-viewer-next/src/core/camera/useAutoFrame.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useAutoRotate.d.ts +8 -0
- package/build/types/real-time-viewer-next/src/core/camera/useAutoRotate.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraActions.d.ts +13 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraActions.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraAnimation.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraAnimation.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraConstraints.d.ts +25 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraConstraints.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraSmoothing.d.ts +57 -0
- package/build/types/real-time-viewer-next/src/core/camera/useCameraSmoothing.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useMaterialFade.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/core/camera/useMaterialFade.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/camera/useViewModeTransition.d.ts +19 -0
- package/build/types/real-time-viewer-next/src/core/camera/useViewModeTransition.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLine2D.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLine2D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLines2D.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLines2D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLines3D.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLines3D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionGeometry.d.ts +34 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionGeometry.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders2D.d.ts +82 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders2D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders3D.d.ts +76 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders3D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLines.config.d.ts +25 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLines.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLines.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLines.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/index.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/index.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/useDimensionFade.d.ts +12 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/useDimensionFade.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/useLabelScale.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/useLabelScale.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/utils.d.ts +26 -0
- package/build/types/real-time-viewer-next/src/core/dimension-lines/utils.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentDome.d.ts +14 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentDome.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentSceneLoader.d.ts +14 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentSceneLoader.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentSources.d.ts +33 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentSources.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentSunLensflare.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/environment/EnvironmentSunLensflare.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/LightingRig.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/core/environment/LightingRig.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/PlainGround.d.ts +21 -0
- package/build/types/real-time-viewer-next/src/core/environment/PlainGround.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/RuntimePerfAdjuster.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/core/environment/RuntimePerfAdjuster.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/SceneEnvironment.d.ts +19 -0
- package/build/types/real-time-viewer-next/src/core/environment/SceneEnvironment.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/SkydomeBackground.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/core/environment/SkydomeBackground.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/SunLensflare.d.ts +29 -0
- package/build/types/real-time-viewer-next/src/core/environment/SunLensflare.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/SunLensflareLazy.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/core/environment/SunLensflareLazy.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/adaptive.config.d.ts +24 -0
- package/build/types/real-time-viewer-next/src/core/environment/adaptive.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/adaptive.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/adaptive.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutArticleSync.d.ts +22 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutArticleSync.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutCollar.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutCollar.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutLazy.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutLazy.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutSubsystem.d.ts +9 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutSubsystem.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/anchorElements.d.ts +40 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/anchorElements.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/anchorElements.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/anchorElements.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/articleFootprint.d.ts +62 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/articleFootprint.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/articleFootprint.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/articleFootprint.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/buildCollarGeometry.d.ts +25 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/buildCollarGeometry.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/buildCollarGeometry.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/buildCollarGeometry.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/collectDeckTriangles.d.ts +86 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/collectDeckTriangles.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/deriveWaterVolume.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/deriveWaterVolume.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/deriveWaterVolume.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/deriveWaterVolume.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureArticle.d.ts +49 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureArticle.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureArticle.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureArticle.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureDiagnostics.d.ts +20 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureDiagnostics.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/useCollarTextures.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/core/environment/deckCutout/useCollarTextures.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/dome.config.d.ts +191 -0
- package/build/types/real-time-viewer-next/src/core/environment/dome.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/dome.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/dome.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/ground.config.d.ts +130 -0
- package/build/types/real-time-viewer-next/src/core/environment/ground.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/ground.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/ground.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/lighting.config.d.ts +297 -0
- package/build/types/real-time-viewer-next/src/core/environment/lighting.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/lighting.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/lighting.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/scene.config.d.ts +440 -0
- package/build/types/real-time-viewer-next/src/core/environment/scene.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/scene.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/environment/scene.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/useEnvironmentMap.d.ts +19 -0
- package/build/types/real-time-viewer-next/src/core/environment/useEnvironmentMap.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/environment/useStudioLightEffects.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/core/environment/useStudioLightEffects.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/frameOrder.d.ts +91 -0
- package/build/types/real-time-viewer-next/src/core/frameOrder.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/handles.d.ts +35 -0
- package/build/types/real-time-viewer-next/src/core/handles.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/AccessoryDropController.d.ts +9 -0
- package/build/types/real-time-viewer-next/src/core/interaction/AccessoryDropController.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/AccessoryFollowController.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/core/interaction/AccessoryFollowController.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/DragController.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/interaction/DragController.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/ElementOverlay.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/core/interaction/ElementOverlay.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/ElementOverlayIcons.d.ts +18 -0
- package/build/types/real-time-viewer-next/src/core/interaction/ElementOverlayIcons.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/FreeGridLayer.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/interaction/FreeGridLayer.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/InteractionGuides.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/core/interaction/InteractionGuides.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/accessoryCellTargeting.d.ts +31 -0
- package/build/types/real-time-viewer-next/src/core/interaction/accessoryCellTargeting.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/selection.config.d.ts +65 -0
- package/build/types/real-time-viewer-next/src/core/interaction/selection.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/selection.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/interaction/selection.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/useAccessoryMoveDrag.d.ts +21 -0
- package/build/types/real-time-viewer-next/src/core/interaction/useAccessoryMoveDrag.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/useElementInteraction.d.ts +35 -0
- package/build/types/real-time-viewer-next/src/core/interaction/useElementInteraction.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/lazySubsystems.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/core/lazySubsystems.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/MaterialContext.d.ts +23 -0
- package/build/types/real-time-viewer-next/src/core/materials/MaterialContext.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/MaterialManager.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/core/materials/MaterialManager.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/apply.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/core/materials/apply.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/caches.d.ts +44 -0
- package/build/types/real-time-viewer-next/src/core/materials/caches.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/factory.d.ts +37 -0
- package/build/types/real-time-viewer-next/src/core/materials/factory.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/materials.config.d.ts +13 -0
- package/build/types/real-time-viewer-next/src/core/materials/materials.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/materials.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/materials/materials.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/textureCache.d.ts +26 -0
- package/build/types/real-time-viewer-next/src/core/materials/textureCache.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/materials/types.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/core/materials/types.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/meshBVH.d.ts +22 -0
- package/build/types/real-time-viewer-next/src/core/meshBVH.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/meshBVH.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/meshBVH.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/PostProcessingDynamicEffects.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/PostProcessingDynamicEffects.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/PostProcessingStack.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/PostProcessingStack.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/applyRendererToneMapping.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/applyRendererToneMapping.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/index.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/index.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/postProcessing.config.d.ts +453 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/postProcessing.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/postProcessing.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/postprocessing/postProcessing.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/renderer.config.d.ts +55 -0
- package/build/types/real-time-viewer-next/src/core/renderer.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/renderer.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/renderer.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/SceneShadowSystem.d.ts +18 -0
- package/build/types/real-time-viewer-next/src/core/shadows/SceneShadowSystem.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/SunShadow.d.ts +29 -0
- package/build/types/real-time-viewer-next/src/core/shadows/SunShadow.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/index.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/core/shadows/index.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadowMapSize.d.ts +20 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadowMapSize.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadowMapSize.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadowMapSize.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadowRegistry.d.ts +24 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadowRegistry.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadows.config.d.ts +75 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadows.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadows.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/shadows/shadows.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/useShadowDirty.d.ts +14 -0
- package/build/types/real-time-viewer-next/src/core/shadows/useShadowDirty.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/useShadowFlags.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/core/shadows/useShadowFlags.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shadows/useShadowRebake.d.ts +14 -0
- package/build/types/real-time-viewer-next/src/core/shadows/useShadowRebake.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/useFrameloopVisibility.d.ts +37 -0
- package/build/types/real-time-viewer-next/src/core/useFrameloopVisibility.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/view2d/DockingPoints2D.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/core/view2d/DockingPoints2D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/view2d/Element2DPlane.d.ts +18 -0
- package/build/types/real-time-viewer-next/src/core/view2d/Element2DPlane.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/view2d/ElementAnnotation2D.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/core/view2d/ElementAnnotation2D.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/view2d/Scene2DOverlay.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/view2d/Scene2DOverlay.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/ViewModeRuntimeContext.d.ts +20 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/ViewModeRuntimeContext.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/index.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/index.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/selectViewModeRuntime.d.ts +9 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/selectViewModeRuntime.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/selectViewModeRuntime.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/selectViewModeRuntime.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/types.d.ts +67 -0
- package/build/types/real-time-viewer-next/src/core/viewMode/types.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/CausticReceiver.d.ts +49 -0
- package/build/types/real-time-viewer-next/src/core/water/CausticReceiver.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/CausticsTexture.d.ts +48 -0
- package/build/types/real-time-viewer-next/src/core/water/CausticsTexture.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/Heightfield.d.ts +88 -0
- package/build/types/real-time-viewer-next/src/core/water/Heightfield.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/PoolHeightMap.d.ts +36 -0
- package/build/types/real-time-viewer-next/src/core/water/PoolHeightMap.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/RefractionCapture.d.ts +73 -0
- package/build/types/real-time-viewer-next/src/core/water/RefractionCapture.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/RefractionCapture.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/water/RefractionCapture.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/SceneCapture.d.ts +66 -0
- package/build/types/real-time-viewer-next/src/core/water/SceneCapture.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/WaterSurface.d.ts +8 -0
- package/build/types/real-time-viewer-next/src/core/water/WaterSurface.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/WaterSurfaceLazy.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/water/WaterSurfaceLazy.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/WaterSurfaceRenderer.d.ts +71 -0
- package/build/types/real-time-viewer-next/src/core/water/WaterSurfaceRenderer.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/useCausticReceivers.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/core/water/useCausticReceivers.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/useWaterPointer.d.ts +13 -0
- package/build/types/real-time-viewer-next/src/core/water/useWaterPointer.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/useWaveSimulation.d.ts +44 -0
- package/build/types/real-time-viewer-next/src/core/water/useWaveSimulation.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/useWaveSimulation.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/water/useWaveSimulation.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/water.config.d.ts +90 -0
- package/build/types/real-time-viewer-next/src/core/water/water.config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/water.config.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/water/water.config.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/waterDebug.d.ts +14 -0
- package/build/types/real-time-viewer-next/src/core/water/waterDebug.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/waterShaders.d.ts +9 -0
- package/build/types/real-time-viewer-next/src/core/water/waterShaders.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/waterSurfaceMaterial.d.ts +21 -0
- package/build/types/real-time-viewer-next/src/core/water/waterSurfaceMaterial.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/water/waterUniforms.d.ts +51 -0
- package/build/types/real-time-viewer-next/src/core/water/waterUniforms.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/hooks/useAssembledScene.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/hooks/useAssembledScene.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/hooks/useHostPropsSync.d.ts +20 -0
- package/build/types/real-time-viewer-next/src/hooks/useHostPropsSync.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/index.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/index.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/internals.d.ts +61 -0
- package/build/types/real-time-viewer-next/src/internals.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/loadingGates.d.ts +34 -0
- package/build/types/real-time-viewer-next/src/loadingGates.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/parser/parseRenderScript.d.ts +51 -0
- package/build/types/real-time-viewer-next/src/parser/parseRenderScript.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/parser/types.d.ts +58 -0
- package/build/types/real-time-viewer-next/src/parser/types.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/presets/mergePresetBundle.d.ts +33 -0
- package/build/types/real-time-viewer-next/src/presets/mergePresetBundle.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/presets/polyfaser-planner.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/presets/polyfaser-planner.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/presets/polyfaser-pool.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/presets/polyfaser-pool.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/presets/polyfaserPlannerOverride.d.ts +9 -0
- package/build/types/real-time-viewer-next/src/presets/polyfaserPlannerOverride.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/presets/villa-cliff.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/presets/villa-cliff.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/publicApi.d.ts +35 -0
- package/build/types/real-time-viewer-next/src/publicApi.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/publicPath.d.ts +1 -0
- package/build/types/real-time-viewer-next/src/publicPath.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/index.d.ts +18 -0
- package/build/types/real-time-viewer-next/src/store/index.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/shared.d.ts +25 -0
- package/build/types/real-time-viewer-next/src/store/shared.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/accessory.d.ts +147 -0
- package/build/types/real-time-viewer-next/src/store/slices/accessory.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/analyzerGate.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/store/slices/analyzerGate.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/camera.d.ts +66 -0
- package/build/types/real-time-viewer-next/src/store/slices/camera.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/capture.d.ts +60 -0
- package/build/types/real-time-viewer-next/src/store/slices/capture.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/config.d.ts +52 -0
- package/build/types/real-time-viewer-next/src/store/slices/config.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/deckCutout.d.ts +29 -0
- package/build/types/real-time-viewer-next/src/store/slices/deckCutout.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/environment.d.ts +47 -0
- package/build/types/real-time-viewer-next/src/store/slices/environment.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/glGeneration.d.ts +18 -0
- package/build/types/real-time-viewer-next/src/store/slices/glGeneration.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/hostSelection.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/store/slices/hostSelection.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/interaction.d.ts +53 -0
- package/build/types/real-time-viewer-next/src/store/slices/interaction.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/performanceProfile.d.ts +71 -0
- package/build/types/real-time-viewer-next/src/store/slices/performanceProfile.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/plannerUi.d.ts +46 -0
- package/build/types/real-time-viewer-next/src/store/slices/plannerUi.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/scene.d.ts +26 -0
- package/build/types/real-time-viewer-next/src/store/slices/scene.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/sceneLoad.d.ts +75 -0
- package/build/types/real-time-viewer-next/src/store/slices/sceneLoad.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/sceneLoad.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/store/slices/sceneLoad.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/selection.d.ts +66 -0
- package/build/types/real-time-viewer-next/src/store/slices/selection.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/versions.d.ts +34 -0
- package/build/types/real-time-viewer-next/src/store/slices/versions.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/viewMode.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/store/slices/viewMode.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/types.d.ts +96 -0
- package/build/types/real-time-viewer-next/src/store/types.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/testUtils/deepDiff.d.ts +26 -0
- package/build/types/real-time-viewer-next/src/testUtils/deepDiff.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/testUtils/deepDiff.test.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/testUtils/deepDiff.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/testUtils/divaCoreMock.d.ts +47 -0
- package/build/types/real-time-viewer-next/src/testUtils/divaCoreMock.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/testUtils/resolvedConfigSnapshots.d.ts +36 -0
- package/build/types/real-time-viewer-next/src/testUtils/resolvedConfigSnapshots.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/testUtils/structuredClonePolyfill.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/testUtils/structuredClonePolyfill.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/types/accessoryGrids.d.ts +134 -0
- package/build/types/real-time-viewer-next/src/types/accessoryGrids.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/types/camera.d.ts +288 -0
- package/build/types/real-time-viewer-next/src/types/camera.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/types/environment.d.ts +146 -0
- package/build/types/real-time-viewer-next/src/types/environment.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/types/plannerUi.d.ts +68 -0
- package/build/types/real-time-viewer-next/src/types/plannerUi.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/types/scene2d.d.ts +168 -0
- package/build/types/real-time-viewer-next/src/types/scene2d.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/bootPhase.d.ts +75 -0
- package/build/types/real-time-viewer-next/src/utils/bootPhase.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/bootPhase.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/utils/bootPhase.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/camera.d.ts +8 -0
- package/build/types/real-time-viewer-next/src/utils/camera.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/cameraFraming.d.ts +47 -0
- package/build/types/real-time-viewer-next/src/utils/cameraFraming.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/collisionTargets.d.ts +34 -0
- package/build/types/real-time-viewer-next/src/utils/collisionTargets.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/collisionTargets.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/collisionTargets.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/cursorStack.d.ts +21 -0
- package/build/types/real-time-viewer-next/src/utils/cursorStack.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/detectDeviceTier.d.ts +24 -0
- package/build/types/real-time-viewer-next/src/utils/detectDeviceTier.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/detectDeviceTier.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/utils/detectDeviceTier.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/dockingGroups.d.ts +7 -0
- package/build/types/real-time-viewer-next/src/utils/dockingGroups.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/elementIds.d.ts +27 -0
- package/build/types/real-time-viewer-next/src/utils/elementIds.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/equirectCache.d.ts +45 -0
- package/build/types/real-time-viewer-next/src/utils/equirectCache.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/equirectUrl.d.ts +22 -0
- package/build/types/real-time-viewer-next/src/utils/equirectUrl.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/equirectUrl.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/equirectUrl.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/footprint.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/utils/footprint.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/footprint.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/footprint.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/footprintTrace.d.ts +55 -0
- package/build/types/real-time-viewer-next/src/utils/footprintTrace.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/footprintTrace.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/footprintTrace.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/geoViewAngle.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/utils/geoViewAngle.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/gltfLoader.d.ts +34 -0
- package/build/types/real-time-viewer-next/src/utils/gltfLoader.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/gridGeometryApi.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/utils/gridGeometryApi.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/localUVSampler.d.ts +89 -0
- package/build/types/real-time-viewer-next/src/utils/localUVSampler.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/localUVSampler.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/localUVSampler.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/overlayGeometry.d.ts +28 -0
- package/build/types/real-time-viewer-next/src/utils/overlayGeometry.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/overlayGeometry.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/overlayGeometry.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/planarTransform.d.ts +20 -0
- package/build/types/real-time-viewer-next/src/utils/planarTransform.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/planarTransform.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/planarTransform.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/polygon2d.d.ts +25 -0
- package/build/types/real-time-viewer-next/src/utils/polygon2d.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/preloadEnvironment.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/utils/preloadEnvironment.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/profiles.d.ts +113 -0
- package/build/types/real-time-viewer-next/src/utils/profiles.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/profiles.test.d.ts +17 -0
- package/build/types/real-time-viewer-next/src/utils/profiles.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/rasterMask.d.ts +31 -0
- package/build/types/real-time-viewer-next/src/utils/rasterMask.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/rasterMask.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/rasterMask.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/resolveEnvironment.d.ts +16 -0
- package/build/types/real-time-viewer-next/src/utils/resolveEnvironment.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/resolveGridCells.d.ts +35 -0
- package/build/types/real-time-viewer-next/src/utils/resolveGridCells.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/scene.d.ts +3 -0
- package/build/types/real-time-viewer-next/src/utils/scene.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/screenProjection.d.ts +42 -0
- package/build/types/real-time-viewer-next/src/utils/screenProjection.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/screenProjection.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/screenProjection.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/selectionScopeNames.d.ts +6 -0
- package/build/types/real-time-viewer-next/src/utils/selectionScopeNames.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/selectionScopeScene.d.ts +8 -0
- package/build/types/real-time-viewer-next/src/utils/selectionScopeScene.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/smoothDamp.d.ts +19 -0
- package/build/types/real-time-viewer-next/src/utils/smoothDamp.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/sunAngles.d.ts +29 -0
- package/build/types/real-time-viewer-next/src/utils/sunAngles.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/suspense.d.ts +11 -0
- package/build/types/real-time-viewer-next/src/utils/suspense.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/whiteRoomPreset.d.ts +48 -0
- package/build/types/real-time-viewer-next/src/utils/whiteRoomPreset.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/utils/withRenderTarget.d.ts +48 -0
- package/build/types/real-time-viewer-next/src/utils/withRenderTarget.d.ts.map +1 -0
- package/build/umd/114.real-time-viewer-next.umd.min.js +2 -0
- package/build/umd/114.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/699.real-time-viewer-next.umd.min.js +2 -0
- package/build/umd/699.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/964.real-time-viewer-next.umd.min.js +2 -0
- package/build/umd/964.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/real-time-viewer-next.umd.min.js +2 -0
- package/build/umd/real-time-viewer-next.umd.min.js.LICENSE.txt +117 -0
- package/build/umd/report.html +38 -0
- package/package.json +31 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ResolvedGroundConfig } from '../../types/environment';
|
|
3
|
+
interface PlainGroundProps {
|
|
4
|
+
config: ResolvedGroundConfig;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Lightweight production ground plane, two flavors selected by `surface`:
|
|
8
|
+
* - `'plain'`: a visible flat solid-color matte floor that also receives shadows.
|
|
9
|
+
* - `'shadow'`: an invisible shadow catcher (`shadowMaterial`) — transparent
|
|
10
|
+
* except where a shadow lands, the Three.js equivalent of Babylon's
|
|
11
|
+
* `ShadowOnlyMaterial` used by the old real-time-viewer's white-room.
|
|
12
|
+
*
|
|
13
|
+
* The mesh sits at the scene's floor (`metrics.floorY + yOffset`), centered on
|
|
14
|
+
* the scene, and receives shadows via the central shadow registry (`sceneGeo`),
|
|
15
|
+
* so it honors the same `Receivers › Scene Geometry` toggle as real geometry.
|
|
16
|
+
* A flat plane lit from above casts essentially nothing, so it's a receiver
|
|
17
|
+
* only in practice.
|
|
18
|
+
*/
|
|
19
|
+
export declare function PlainGround({ config }: PlainGroundProps): React.JSX.Element;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=PlainGround.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlainGround.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/PlainGround.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAItC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,UAAU,gBAAgB;IACxB,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE,gBAAgB,qBA2BvD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** [lower, upper] FPS bounds for the shared `<PerformanceMonitor>`. */
|
|
2
|
+
export declare const PERF_BOUNDS: (refreshrate: number) => [number, number];
|
|
3
|
+
/**
|
|
4
|
+
* Runtime profile adjuster: relays drei's sustained-FPS callbacks to the store,
|
|
5
|
+
* which steps the active tier (auto mode only) under its own oscillation guards.
|
|
6
|
+
*
|
|
7
|
+
* No `onFallback` handler on purpose: drei fires it when its incline/decline
|
|
8
|
+
* counter exceeds `flipflops`, which a vsync-capped-but-smooth scene trips via
|
|
9
|
+
* repeated inclines — demoting good frames. `SceneEnvironment` leaves
|
|
10
|
+
* `flipflops` at its default (Infinity) and the store guards handle oscillation.
|
|
11
|
+
*
|
|
12
|
+
* Must be mounted as a child of `<PerformanceMonitor>`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function RuntimePerfAdjuster(): null;
|
|
15
|
+
//# sourceMappingURL=RuntimePerfAdjuster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimePerfAdjuster.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/RuntimePerfAdjuster.tsx"],"names":[],"mappings":"AAGA,uEAAuE;AACvE,eAAO,MAAM,WAAW,gBAAiB,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,CAGhE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAgB1C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Mounts the env-driven scene surfaces.
|
|
4
|
+
*
|
|
5
|
+
* The lifetime/visibility split (see `core/viewMode/types.ts`) means
|
|
6
|
+
* `mount*` flags are capability-driven and immutable across 2D ↔ 3D
|
|
7
|
+
* toggles — every 3D-capable product keeps these subtrees mounted so
|
|
8
|
+
* the GLB / RT / shader cost is paid once. Per-frame visibility for
|
|
9
|
+
* the decoration cluster is gated by the single
|
|
10
|
+
* `<group visible={runtime.show3DDecoration}>` wrapper below, which
|
|
11
|
+
* three.js converts into a free per-frame skip (no GPU teardown).
|
|
12
|
+
*
|
|
13
|
+
* `EnvironmentDome` (IBL source) and `LightingRig` deliberately sit
|
|
14
|
+
* OUTSIDE the visibility group: the SVG planes use unlit
|
|
15
|
+
* `meshBasicMaterial` so lights/IBL don't affect them, and keeping
|
|
16
|
+
* lights warm avoids a re-entry flicker when toggling back to 3D.
|
|
17
|
+
*/
|
|
18
|
+
export declare function SceneEnvironment(): React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=SceneEnvironment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/SceneEnvironment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,sBAwD/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a user-provided image on a large sphere or hemisphere (equirectangular projection).
|
|
4
|
+
* Unlike HDRI, a skydome texture does NOT affect IBL lighting — it is purely visual.
|
|
5
|
+
* When active, it overrides the HDRI background but keeps HDRI-based reflections/lighting.
|
|
6
|
+
*
|
|
7
|
+
* Uses MeshBasicMaterial (unlit) on BackSide so the dome never blocks or receives
|
|
8
|
+
* light, never casts/receives shadows, and is invisible to raycasting.
|
|
9
|
+
*/
|
|
10
|
+
export declare function SkydomeBackground(): React.JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=SkydomeBackground.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkydomeBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/SkydomeBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAmB5D;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,6BA2BhC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SunLensflareProps {
|
|
3
|
+
/** World-space unit vector from origin toward the sun (same as `<Sky>` / directional sun). */
|
|
4
|
+
sunDirection: [number, number, number];
|
|
5
|
+
color?: string;
|
|
6
|
+
/** Multiplier on the camera-relative anchor distance ({@link FLARE_FORWARD_DISTANCE}). */
|
|
7
|
+
distanceScale?: number;
|
|
8
|
+
/** Multiplier applied to element sizes (burst and ghosts; default 1.0). */
|
|
9
|
+
sizeScale?: number;
|
|
10
|
+
/**
|
|
11
|
+
* When `true` (default), the flare alpha and anchor are shaped each frame by
|
|
12
|
+
* a 9-tap raycaster sampling around the sun direction. Set `false` to skip
|
|
13
|
+
* all raycasting and scene traversal — flare stays at full intensity. Use
|
|
14
|
+
* this on heavy scenes (lots of meshes, large `InstancedMesh`es nearby) when
|
|
15
|
+
* you don't need physical sun occlusion.
|
|
16
|
+
*/
|
|
17
|
+
occlusionEnabled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Additive billboard lens flare on the sun direction: haze burst on the sun plus a chromatic
|
|
21
|
+
* ghost train (aperture hexagons, soft dots, a ring) laid out in screen space along the
|
|
22
|
+
* sun→screen-center axis, fading as the sun leaves the frame.
|
|
23
|
+
*
|
|
24
|
+
* Does **not** use `three/examples/jsm/objects/Lensflare.js`: that helper reads the framebuffer for
|
|
25
|
+
* occlusion (`copyFramebufferToTexture`), which fails or zeroes alpha when the scene is drawn through
|
|
26
|
+
* pmndrs `EffectComposer` / multisampled targets.
|
|
27
|
+
*/
|
|
28
|
+
export declare function SunLensflare({ sunDirection, color, distanceScale, sizeScale, occlusionEnabled }: SunLensflareProps): React.JSX.Element;
|
|
29
|
+
//# sourceMappingURL=SunLensflare.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SunLensflare.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/SunLensflare.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AA6M1D,MAAM,WAAW,iBAAiB;IAChC,8FAA8F;IAC9F,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,KAAiB,EAAE,aAAmB,EAAE,SAAe,EAAE,gBAAuB,EAAE,EAAE,iBAAiB,qBAgMjJ"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SunLensflareProps } from './SunLensflare';
|
|
3
|
+
/**
|
|
4
|
+
* Starts the lensflare chunk download. Called from `preloadLazySubsystems` as soon as the resolved
|
|
5
|
+
* config enables the flare, so the chunk lands with the scene's other assets rather than after the
|
|
6
|
+
* first frame that should already show it.
|
|
7
|
+
*/
|
|
8
|
+
export declare function preloadSunLensflare(): void;
|
|
9
|
+
/** `SunLensflare` behind its chunk boundary — identical props. */
|
|
10
|
+
export declare function SunLensflareLazy(props: SunLensflareProps): React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=SunLensflareLazy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SunLensflareLazy.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/SunLensflareLazy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAiBxD;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAKD,kEAAkE;AAClE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,qBAMxD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ConfigInput, type ConfigResolved } from '../../config/descriptor';
|
|
2
|
+
/**
|
|
3
|
+
* Toggles for drei's adaptive helpers — small components `SceneEnvironment` mounts conditionally,
|
|
4
|
+
* composing with the existing `PerformanceMonitor` to react to frame-budget pressure. The single
|
|
5
|
+
* source for their types, defaults, round-trip and analyzer inputs (see `config/descriptor.ts`).
|
|
6
|
+
*
|
|
7
|
+
* This is the fine perf lever within a profile; the coarse lever is the runtime tier adjuster
|
|
8
|
+
* (`RuntimePerfAdjuster`). Both share one `<PerformanceMonitor>`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ADAPTIVE_CONFIG: import("../../config/descriptor").GroupDescriptor<{
|
|
11
|
+
/** Drops DPR when the monitor reports decline — a safety net beneath the static `renderer.dpr`. */
|
|
12
|
+
adaptiveDpr: import("../../config/descriptor").BooleanField;
|
|
13
|
+
/** Throttles pointer events when the frame budget is tight, at the cost of hover latency. */
|
|
14
|
+
adaptiveEvents: import("../../config/descriptor").BooleanField;
|
|
15
|
+
/**
|
|
16
|
+
* Bakes the shadow map once on the first frame and freezes it. Ideal for static planner scenes;
|
|
17
|
+
* not safe when shadow casters move. Surfaced in the analyzer's Shadows panel, next to the rest
|
|
18
|
+
* of the shadow controls.
|
|
19
|
+
*/
|
|
20
|
+
bakeShadows: import("../../config/descriptor").BooleanField;
|
|
21
|
+
}>;
|
|
22
|
+
export type AdaptiveConfig = ConfigInput<typeof ADAPTIVE_CONFIG>;
|
|
23
|
+
export type ResolvedAdaptiveConfig = ConfigResolved<typeof ADAPTIVE_CONFIG>;
|
|
24
|
+
//# sourceMappingURL=adaptive.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adaptive.config.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/adaptive.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;IAC1B,mGAAmG;;IAKnG,6FAA6F;;IAK7F;;;;OAIG;;EAKH,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,eAAe,CAAC,CAAC;AACjE,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adaptive.config.test.d.ts","sourceRoot":"","sources":["../../../../../../src/core/environment/adaptive.config.test.ts"],"names":[],"mappings":""}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutArticleSync.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Drives the cutout outline, element placement and water volume from the live
|
|
3
|
+
* article geometry (`deckCutout.articleSync` and friends):
|
|
4
|
+
*
|
|
5
|
+
* 1. {@link measureArticle} takes the union AABB of all planner `Element#`
|
|
6
|
+
* groups in the floor meshes' shared local space.
|
|
7
|
+
* 2. {@link deriveArticleFootprint} shapes the cutout outline →
|
|
8
|
+
* `deckCutoutFootprintOverride`, which `DeckCutoutCollar` fills against the
|
|
9
|
+
* deck's authored hole. Its traced rim replaces the measured extents for the
|
|
10
|
+
* steps below, so parts under the deck don't inflate placement/water.
|
|
11
|
+
* 3. {@link deriveElementAnchor} repositions the elements so their bbox rests
|
|
12
|
+
* inside the authored hole (HQS `PosPivot === 'CENTER'` grows articles from
|
|
13
|
+
* center, so the resting spot has to be re-derived) → `elementAnchorOffsets`.
|
|
14
|
+
* 4. {@link deriveWaterVolume} follows the anchored rect → `waterVolumeOverride`.
|
|
15
|
+
*
|
|
16
|
+
* Re-converges (per-frame measuring) when article or decor geometry lands, and
|
|
17
|
+
* otherwise re-measures on a slow idle cadence for the inputs that have no
|
|
18
|
+
* event (imperative scene-transform edits). All writers are epsilon-compared,
|
|
19
|
+
* so unchanged measurements are no-ops.
|
|
20
|
+
*/
|
|
21
|
+
export declare function DeckCutoutArticleSync(): null;
|
|
22
|
+
//# sourceMappingURL=DeckCutoutArticleSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeckCutoutArticleSync.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/DeckCutoutArticleSync.tsx"],"names":[],"mappings":"AA6BA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,qBAAqB,SAyKpC"}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutCollar.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Generated coping collar for footprint-rule cutouts (`deckCutout.articleRules`):
|
|
4
|
+
* a flat ring filling the space between the deck's authored rectangular hole and
|
|
5
|
+
* the article's shaped outline. This is what makes the cutout follow the article
|
|
6
|
+
* — the deck GLB itself is never touched. Rendered only while
|
|
7
|
+
* `DeckCutoutArticleSync` publishes a footprint outline.
|
|
8
|
+
*
|
|
9
|
+
* It wears the DECK's material and continues the deck's own UV mapping (see
|
|
10
|
+
* {@link buildCollarGeometry}), unless the config declares own maps. The ring
|
|
11
|
+
* follows a name-matched floor mesh's world matrix every frame, so
|
|
12
|
+
* scene-transform edits need no rebuild.
|
|
13
|
+
*/
|
|
14
|
+
export declare function DeckCutoutCollar(): React.JSX.Element | null;
|
|
15
|
+
//# sourceMappingURL=DeckCutoutCollar.d.ts.map
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutCollar.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeckCutoutCollar.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/DeckCutoutCollar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA8BjF;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,6BAkK/B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Starts the deck-cutout chunk download. Called from `preloadLazySubsystems` as soon as the
|
|
4
|
+
* resolved config enables the cutout, so the chunk is in by the time the scene mounts — the collar
|
|
5
|
+
* holds the scene reveal from its own mount effect, and that hold must not wait on a network trip.
|
|
6
|
+
*/
|
|
7
|
+
export declare function preloadDeckCutout(): void;
|
|
8
|
+
/** The deck-cutout subsystem behind its chunk boundary — same (prop-less) surface as the pair it wraps. */
|
|
9
|
+
export declare function DeckCutoutLazy(): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=DeckCutoutLazy.d.ts.map
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutLazy.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeckCutoutLazy.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/DeckCutoutLazy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAiB9C;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAGxC;AAKD,2GAA2G;AAC3G,wBAAgB,cAAc,sBAM7B"}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/DeckCutoutSubsystem.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The deck-cutout drivers as one unit: the sync measures the article and publishes the outline /
|
|
4
|
+
* water volume, the collar renders what the sync published. They are always mounted together, and
|
|
5
|
+
* pairing them here gives {@link DeckCutoutLazy} a single module to pull the whole subsystem
|
|
6
|
+
* across the chunk boundary.
|
|
7
|
+
*/
|
|
8
|
+
export declare function DeckCutoutSubsystem(): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=DeckCutoutSubsystem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeckCutoutSubsystem.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/DeckCutoutSubsystem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;;GAKG;AACH,wBAAgB,mBAAmB,sBAOlC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type Matrix4, type Object3D } from 'three';
|
|
2
|
+
import type { ResolvedDeckCutoutConfig, ResolvedDeckCutoutHole, DeckCutoutAnchorMode } from '../../../types/environment';
|
|
3
|
+
import { type ArticleRect } from './measureArticle';
|
|
4
|
+
/**
|
|
5
|
+
* Distance to move one axis so the anchored part of the measured article lands
|
|
6
|
+
* on the anchored part of the region. `'min'`/`'max'` pin that edge (the offset
|
|
7
|
+
* reads as an inset from it) so the article grows away from it; `'center'`
|
|
8
|
+
* centres, so it grows both ways.
|
|
9
|
+
*/
|
|
10
|
+
export declare function anchorDelta1D(mode: DeckCutoutAnchorMode, center: number, halfExtent: number, measuredMin: number, measuredMax: number, offset: number): number;
|
|
11
|
+
export interface ElementAnchorInput {
|
|
12
|
+
/** Measured article rect, floor-local — it already includes the currently applied offsets. */
|
|
13
|
+
rect: ArticleRect;
|
|
14
|
+
hole: ResolvedDeckCutoutHole;
|
|
15
|
+
anchor: ResolvedDeckCutoutConfig['elementAnchor'];
|
|
16
|
+
floorWorld: Matrix4;
|
|
17
|
+
elementObjects: Object3D[];
|
|
18
|
+
deckTopLocalY: number;
|
|
19
|
+
currentOffsets: Record<string, [number, number, number]>;
|
|
20
|
+
}
|
|
21
|
+
export interface ElementAnchor {
|
|
22
|
+
/** Floor-local delta the elements move by. */
|
|
23
|
+
delta: {
|
|
24
|
+
dx: number;
|
|
25
|
+
dy: number;
|
|
26
|
+
dz: number;
|
|
27
|
+
};
|
|
28
|
+
/** `elementAnchorOffsets` to publish — the world correction accumulated onto the current offsets. */
|
|
29
|
+
offsets: Record<string, [number, number, number]>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Nudge the top-level element groups so the measured article rect settles at
|
|
33
|
+
* the hole center (+ configured fine-tune offsets), optionally lifting it so
|
|
34
|
+
* its top meets the deck. The measured rect already includes the currently
|
|
35
|
+
* applied offsets, so the correction is incremental and converges in one
|
|
36
|
+
* measurement. Null once it is within {@link ANCHOR_EPSILON} — or when there is
|
|
37
|
+
* no top-level element to move.
|
|
38
|
+
*/
|
|
39
|
+
export declare function deriveElementAnchor({ rect, hole, anchor, floorWorld, elementObjects, deckTopLocalY, currentOffsets, }: ElementAnchorInput): ElementAnchor | null;
|
|
40
|
+
//# sourceMappingURL=anchorElements.d.ts.map
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/anchorElements.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchorElements.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/anchorElements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACzH,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQtE;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,oBAAoB,EAC1B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,GACb,MAAM,CAIR;AAED,MAAM,WAAW,kBAAkB;IACjC,8FAA8F;IAC9F,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,MAAM,EAAE,wBAAwB,CAAC,eAAe,CAAC,CAAC;IAClD,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,QAAQ,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC1D;AAED,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,qGAAqG;IACrG,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACnD;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,UAAU,EACV,cAAc,EACd,aAAa,EACb,cAAc,GACf,EAAE,kBAAkB,GAAG,aAAa,GAAG,IAAI,CAgC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchorElements.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/anchorElements.test.ts"],"names":[],"mappings":""}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/articleFootprint.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type TraceDiagnostics, type FootprintPoint } from '../../../utils/footprint';
|
|
2
|
+
import type { ResolvedDeckCutoutArticleRule } from '../../../types/environment';
|
|
3
|
+
import { type ArticleMeasurement, type ArticleRect, type ElementCodexArea } from './measureArticle';
|
|
4
|
+
export interface GeometryFootprintCache {
|
|
5
|
+
signature: string;
|
|
6
|
+
/** Traced outline relative to the article union-bbox min corner (floor-local XZ) at trace time. */
|
|
7
|
+
relPoints: FootprintPoint[];
|
|
8
|
+
triCount: number;
|
|
9
|
+
vertexCount: number;
|
|
10
|
+
}
|
|
11
|
+
/** XZ extents of the article's traced rim. */
|
|
12
|
+
export interface RimExtent {
|
|
13
|
+
minX: number;
|
|
14
|
+
maxX: number;
|
|
15
|
+
minZ: number;
|
|
16
|
+
maxZ: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ArticleFootprint {
|
|
19
|
+
/** The collar's inner boundary in floor-local XZ (deck margin already applied), null when no usable outline came out. */
|
|
20
|
+
points: FootprintPoint[] | null;
|
|
21
|
+
/**
|
|
22
|
+
* Article RIM extents from a believable trace — they replace the measured XZ
|
|
23
|
+
* extents, so parts under the deck don't inflate placement and water. Null
|
|
24
|
+
* keeps the measured rect.
|
|
25
|
+
*/
|
|
26
|
+
rim: RimExtent | null;
|
|
27
|
+
sampledCount: number;
|
|
28
|
+
/** Human-readable provenance of `points`; '' when no footprint rule applied. */
|
|
29
|
+
source: string;
|
|
30
|
+
/** Set when a guard had to repair or reject the traced outline. */
|
|
31
|
+
repairNote: string;
|
|
32
|
+
/** Traced bbox for the diagnostic, '' when nothing was traced. */
|
|
33
|
+
tracedBounds: string;
|
|
34
|
+
trace: TraceDiagnostics;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Rectangular fallback outline in floor-local XZ: the measured article rect
|
|
38
|
+
* grown by `margin` per side (negative laps the deck over the article). Null
|
|
39
|
+
* when the margin would collapse the rect.
|
|
40
|
+
*/
|
|
41
|
+
export declare function measuredRectFootprint(rect: ArticleRect, margin: number): FootprintPoint[] | null;
|
|
42
|
+
/**
|
|
43
|
+
* First rule matching any element's codex, largest element first — but every
|
|
44
|
+
* element gets a look: an accessory bigger in plan than the article it belongs
|
|
45
|
+
* to (a roof, a surround) would otherwise name the scene, match nothing, and
|
|
46
|
+
* leave the deck area with no collar at all. `primaryCodex` reports whichever
|
|
47
|
+
* codex found the rule.
|
|
48
|
+
*/
|
|
49
|
+
export declare function pickArticleRule(rules: readonly ResolvedDeckCutoutArticleRule[], codexesByArea: readonly ElementCodexArea[]): {
|
|
50
|
+
rule: ResolvedDeckCutoutArticleRule | null;
|
|
51
|
+
primaryCodex: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* The cutout outline for a measured article — offset by the deck margin, so it
|
|
55
|
+
* comes back as the collar's inner boundary. Needs no calibration: the trace
|
|
56
|
+
* follows the visible rim. Only `footprintFromGeometry` rules produce one;
|
|
57
|
+
* without such a rule the deck's authored hole stays fully open.
|
|
58
|
+
*/
|
|
59
|
+
export declare function deriveArticleFootprint(measurement: ArticleMeasurement, rule: ResolvedDeckCutoutArticleRule | null, margin: number, cache: {
|
|
60
|
+
current: GeometryFootprintCache | null;
|
|
61
|
+
}): ArticleFootprint;
|
|
62
|
+
//# sourceMappingURL=articleFootprint.d.ts.map
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/articleFootprint.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleFootprint.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/articleFootprint.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAoB,KAAK,kBAAkB,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAsBtH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,mGAAmG;IACnG,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,8CAA8C;AAC9C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,yHAAyH;IACzH,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,GAAG,EAAE,SAAS,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,UAAU,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAWD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,IAAI,CAYhG;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,6BAA6B,EAAE,EAC/C,aAAa,EAAE,SAAS,gBAAgB,EAAE,GACzC;IAAE,IAAI,EAAE,6BAA6B,GAAG,IAAI,CAAC;IAAC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAYlF;AA6FD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,kBAAkB,EAC/B,IAAI,EAAE,6BAA6B,GAAG,IAAI,EAC1C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE;IAAE,OAAO,EAAE,sBAAsB,GAAG,IAAI,CAAA;CAAE,GAChD,gBAAgB,CA6ElB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleFootprint.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/articleFootprint.test.ts"],"names":[],"mappings":""}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/buildCollarGeometry.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type BufferGeometry } from 'three';
|
|
2
|
+
import type { FootprintPoint } from '../../../utils/footprint';
|
|
3
|
+
import type { ResolvedDeckCutoutCollar, ResolvedDeckCutoutCollarMaterial, ResolvedDeckCutoutHole } from '../../../types/environment';
|
|
4
|
+
import { type DeckSurface } from './collectDeckTriangles';
|
|
5
|
+
export interface CollarGeometryInput {
|
|
6
|
+
/** Collar inner boundary in floor-local XZ — at least 3 points. */
|
|
7
|
+
footprint: readonly FootprintPoint[];
|
|
8
|
+
hole: ResolvedDeckCutoutHole;
|
|
9
|
+
collar: ResolvedDeckCutoutCollar;
|
|
10
|
+
deck: Pick<DeckSurface, 'topY' | 'slabThickness' | 'triangles' | 'triangleCount' | 'uvFit'> & Partial<Pick<DeckSurface, 'triangleIndex'>>;
|
|
11
|
+
/** Declared own-material tiling, or null to continue the deck's own mapping. */
|
|
12
|
+
ownMaterial: ResolvedDeckCutoutCollarMaterial | null;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The collar ring, built in the floor meshes' shared local space (outline and
|
|
16
|
+
* hole rect are floor-local): a skirt is extruded downward along the inner edge
|
|
17
|
+
* so nothing shows through under the deck, the top sits `collar.recess` below
|
|
18
|
+
* the deck surface and the outer edge tucks `collar.overlap` under the deck —
|
|
19
|
+
* the last two kill z-fighting with the slab.
|
|
20
|
+
*/
|
|
21
|
+
export declare function buildCollarGeometry({ footprint, hole, collar, deck, ownMaterial }: CollarGeometryInput): {
|
|
22
|
+
geometry: BufferGeometry;
|
|
23
|
+
diagnostic: string;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=buildCollarGeometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildCollarGeometry.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/buildCollarGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiD,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,wBAAwB,EAAE,gCAAgC,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACrI,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAK/E,MAAM,WAAW,mBAAmB;IAClC,mEAAmE;IACnE,SAAS,EAAE,SAAS,cAAc,EAAE,CAAC;IACrC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,MAAM,EAAE,wBAAwB,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,GAAG,WAAW,GAAG,eAAe,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC;IAC1I,gFAAgF;IAChF,WAAW,EAAE,gCAAgC,GAAG,IAAI,CAAC;CACtD;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,mBAAmB,GAAG;IACxG,QAAQ,EAAE,cAAc,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB,CAqGA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildCollarGeometry.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/buildCollarGeometry.test.ts"],"names":[],"mappings":""}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/collectDeckTriangles.d.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { type Material, type Mesh, type Object3D } from 'three';
|
|
2
|
+
import { type AffineUV, type TriangleGridIndex } from '../../../utils/localUVSampler';
|
|
3
|
+
/**
|
|
4
|
+
* How far (m) a single fitted mapping may miss the deck's own triangles before
|
|
5
|
+
* it is rejected in favour of per-vertex sampling. Below this the deck's unwrap
|
|
6
|
+
* is one plane, and one mapping reproduces it without the shear per-vertex
|
|
7
|
+
* sampling introduces between neighbouring generated triangles.
|
|
8
|
+
*/
|
|
9
|
+
export declare const UV_FIT_MAX_RESIDUAL = 0.005;
|
|
10
|
+
/** What the collar needs to look like a continuation of the deck it fills. */
|
|
11
|
+
export interface DeckSurface {
|
|
12
|
+
meshName: string;
|
|
13
|
+
/** Deck top in floor-local Y. */
|
|
14
|
+
topY: number;
|
|
15
|
+
/** The deck slab's own thickness — the collar matches it unless `collar.skirtDepth` overrides. */
|
|
16
|
+
slabThickness: number;
|
|
17
|
+
/** Clone of the deck material, or null when the deck has no usable surface — then the configured collar color is used. */
|
|
18
|
+
material: Material | null;
|
|
19
|
+
/** Deck triangles around the cutout — (x, z, u, v) per vertex — in the reference floor's local space. */
|
|
20
|
+
triangles: Float32Array | null;
|
|
21
|
+
triangleCount: number;
|
|
22
|
+
/**
|
|
23
|
+
* Spatial index over {@link triangles}, or null when a linear scan is the
|
|
24
|
+
* better bet. Built here rather than at geometry-build time: it depends on the
|
|
25
|
+
* deck alone, and the deck is sampled as soon as its GLBs mount — well before
|
|
26
|
+
* the article publishes the outline the collar geometry needs.
|
|
27
|
+
*/
|
|
28
|
+
triangleIndex: TriangleGridIndex | null;
|
|
29
|
+
/** Which UV attribute the deck's visible pattern samples, i.e. what the collar must continue. */
|
|
30
|
+
attributeName: string;
|
|
31
|
+
/** One mapping covering the whole deck, when its unwrap turns out to be a single plane. */
|
|
32
|
+
uvFit: AffineUV | null;
|
|
33
|
+
/**
|
|
34
|
+
* Union XZ extent of the matched deck meshes, deck-local. Reported because it
|
|
35
|
+
* IS the `authoredHole` rect to use if those meshes are dropped from the scene
|
|
36
|
+
* and the collar is made to own their whole area.
|
|
37
|
+
*/
|
|
38
|
+
extent: {
|
|
39
|
+
minX: number;
|
|
40
|
+
maxX: number;
|
|
41
|
+
minZ: number;
|
|
42
|
+
maxZ: number;
|
|
43
|
+
} | null;
|
|
44
|
+
}
|
|
45
|
+
/** Every mesh under `root` whose name contains one of `patterns`, in traversal order. */
|
|
46
|
+
export declare function meshesMatching(root: Object3D, patterns: string[]): Mesh[];
|
|
47
|
+
/**
|
|
48
|
+
* The UV attribute the deck's VISIBLE pattern reads. Read from the material
|
|
49
|
+
* rather than assumed, because copying the wrong channel of a multi-unwrap
|
|
50
|
+
* asset yields a pattern that is subtly the wrong size.
|
|
51
|
+
*/
|
|
52
|
+
export declare function patternAttributeName(material: Material | Material[]): string;
|
|
53
|
+
/**
|
|
54
|
+
* Collect the top-surface triangles of every matched deck mesh as a flat
|
|
55
|
+
* (x, z, u, v)-per-vertex soup in `reference`'s local space, reading the UV
|
|
56
|
+
* attribute the deck's pattern actually samples.
|
|
57
|
+
*
|
|
58
|
+
* No proximity filter: `nodeMatch` names the deck to continue, so everything it
|
|
59
|
+
* names is the sample set. Filtering by distance to the cutout drops slabs whose
|
|
60
|
+
* TRIANGLE CENTROIDS fall outside the radius — which silently discards a deck
|
|
61
|
+
* modelled as a few large quads and leaves the collar with no material at all.
|
|
62
|
+
*/
|
|
63
|
+
export declare function collectDeckTriangles(meshes: Mesh[], reference: Mesh, attributeName: string): {
|
|
64
|
+
triangles: Float32Array;
|
|
65
|
+
triangleCount: number;
|
|
66
|
+
/** Union XZ extent of the matched deck meshes in `reference`'s frame. */
|
|
67
|
+
extent: {
|
|
68
|
+
minX: number;
|
|
69
|
+
maxX: number;
|
|
70
|
+
minZ: number;
|
|
71
|
+
maxZ: number;
|
|
72
|
+
};
|
|
73
|
+
} | null;
|
|
74
|
+
/**
|
|
75
|
+
* Sample the deck the collar has to continue: the first name-matched mesh is the
|
|
76
|
+
* reference frame, all matched meshes feed the UV sample.
|
|
77
|
+
*/
|
|
78
|
+
export declare function sampleDeckSurface(scene: Object3D, patterns: string[]): {
|
|
79
|
+
reference: Mesh | null;
|
|
80
|
+
surface: DeckSurface | null;
|
|
81
|
+
};
|
|
82
|
+
/** Identity of a sampled surface — a fresh surface object rebuilds the collar geometry, so only an actual change may be applied. */
|
|
83
|
+
export declare function deckSurfaceKey(surface: DeckSurface | null): string;
|
|
84
|
+
/** One-shot diagnostic lines for a newly acquired deck surface. */
|
|
85
|
+
export declare function describeDeckSurface(surface: DeckSurface, hasOwnMaterial: boolean): string[];
|
|
86
|
+
//# sourceMappingURL=collectDeckTriangles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectDeckTriangles.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/collectDeckTriangles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjH,OAAO,EAA2D,KAAK,QAAQ,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAI/I;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAAQ,CAAC;AAOzC,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,kGAAkG;IAClG,aAAa,EAAE,MAAM,CAAC;IACtB,0HAA0H;IAC1H,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,yGAAyG;IACzG,SAAS,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACxC,iGAAiG;IACjG,aAAa,EAAE,MAAM,CAAC;IACtB,2FAA2F;IAC3F,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAC3E;AAED,yFAAyF;AACzF,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,CAOzE;AAkBD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,MAAM,CAI5E;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,IAAI,EAAE,EACd,SAAS,EAAE,IAAI,EACf,aAAa,EAAE,MAAM,GACpB;IACD,SAAS,EAAE,YAAY,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CACpE,GAAG,IAAI,CAoEP;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG;IAAE,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;CAAE,CAyB9H;AAED,oIAAoI;AACpI,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,CAElE;AAED,mEAAmE;AACnE,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,GAAG,MAAM,EAAE,CAoB3F"}
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/deriveWaterVolume.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Matrix4 } from 'three';
|
|
2
|
+
import type { ResolvedDeckCutoutConfig } from '../../../types/environment';
|
|
3
|
+
import type { ArticleRect } from './measureArticle';
|
|
4
|
+
export interface WaterVolume {
|
|
5
|
+
center: [number, number, number];
|
|
6
|
+
size: [number, number, number];
|
|
7
|
+
}
|
|
8
|
+
export interface WaterVolumeInput {
|
|
9
|
+
/** Article rect where the element anchor settles it, floor-local. */
|
|
10
|
+
rect: ArticleRect;
|
|
11
|
+
waterSync: ResolvedDeckCutoutConfig['waterSync'];
|
|
12
|
+
floorWorld: Matrix4;
|
|
13
|
+
/** Measured article bottom in WORLD space — floor-local Y is not guaranteed world-up. */
|
|
14
|
+
articleWorldBottomY: number;
|
|
15
|
+
/** Configured waterline (`water.volume` center Y), the one value that is not derived. */
|
|
16
|
+
waterlineY: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Water volume following the MEASURED article rect — the water surface is a
|
|
20
|
+
* property of the pool, not of the cutout, so it tracks the pool wherever the
|
|
21
|
+
* element anchor settles it. No feedback: water never influences the measurement.
|
|
22
|
+
*
|
|
23
|
+
* The DEPTH is derived too: waterline down to the measured article bottom. The
|
|
24
|
+
* volume only needs to BOUND the pool interior; the PoolHeightMap finds the real
|
|
25
|
+
* floor within it.
|
|
26
|
+
*/
|
|
27
|
+
export declare function deriveWaterVolume({ rect, waterSync, floorWorld, articleWorldBottomY, waterlineY }: WaterVolumeInput): WaterVolume;
|
|
28
|
+
//# sourceMappingURL=deriveWaterVolume.d.ts.map
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/deriveWaterVolume.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deriveWaterVolume.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/deriveWaterVolume.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAUpD,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC/B,qEAAqE;IACrE,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC;IACjD,UAAU,EAAE,OAAO,CAAC;IACpB,yFAAyF;IACzF,mBAAmB,EAAE,MAAM,CAAC;IAC5B,yFAAyF;IACzF,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE,UAAU,EAAE,EAAE,gBAAgB,GAAG,WAAW,CAkBjI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deriveWaterVolume.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/deriveWaterVolume.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Matrix4, type Object3D } from 'three';
|
|
2
|
+
import type { ElementOverlayInfo } from '../../../types/plannerUi';
|
|
3
|
+
/** Article bounds in the deck mesh's local frame. */
|
|
4
|
+
export interface ArticleRect {
|
|
5
|
+
minX: number;
|
|
6
|
+
maxX: number;
|
|
7
|
+
minY: number;
|
|
8
|
+
maxY: number;
|
|
9
|
+
minZ: number;
|
|
10
|
+
maxZ: number;
|
|
11
|
+
}
|
|
12
|
+
/** One planner element's article codex and its plan area, for the rule lookup. */
|
|
13
|
+
export interface ElementCodexArea {
|
|
14
|
+
codex: string;
|
|
15
|
+
area: number;
|
|
16
|
+
}
|
|
17
|
+
export interface ArticleMeasurement {
|
|
18
|
+
rect: ArticleRect;
|
|
19
|
+
/** Article bottom (pool shell underside) in WORLD space — floor-local Y is not guaranteed world-up. */
|
|
20
|
+
worldBottomY: number;
|
|
21
|
+
/** Every planner `Element#` group in the scene, in traversal order. */
|
|
22
|
+
elementObjects: Object3D[];
|
|
23
|
+
/** Codex of every element that has one, largest in plan first. */
|
|
24
|
+
codexesByArea: ElementCodexArea[];
|
|
25
|
+
/** LIVE world matrix of the reference deck mesh — it tracks scene-transform edits. */
|
|
26
|
+
floorWorld: Matrix4;
|
|
27
|
+
/** World → deck-local. */
|
|
28
|
+
floorLocal: Matrix4;
|
|
29
|
+
/** Deck top in floor-local Y. */
|
|
30
|
+
floorTopY: number;
|
|
31
|
+
}
|
|
32
|
+
/** Top-level planner element groups (no `Element#` ancestor) — the ones the anchor moves and the projection walks. */
|
|
33
|
+
export declare function topLevelElements(elementObjects: Object3D[]): Object3D[];
|
|
34
|
+
/** Same rect moved by a floor-local delta. */
|
|
35
|
+
export declare function shiftRect(rect: ArticleRect, delta: {
|
|
36
|
+
dx: number;
|
|
37
|
+
dy: number;
|
|
38
|
+
dz: number;
|
|
39
|
+
}): ArticleRect;
|
|
40
|
+
/**
|
|
41
|
+
* Union bounds of every planner `Element#` group, expressed in the floor meshes'
|
|
42
|
+
* shared local space via the first name-matched deck mesh's inverse world
|
|
43
|
+
* matrix. That mesh is the one `meshesMatching` also hands the collar as its
|
|
44
|
+
* reference, so both work in identical coordinates.
|
|
45
|
+
*
|
|
46
|
+
* Returns null while the article or the deck isn't in the scene yet.
|
|
47
|
+
*/
|
|
48
|
+
export declare function measureArticle(scene: Object3D, patterns: string[], elementsInfo: ReadonlyMap<string, ElementOverlayInfo>): ArticleMeasurement | null;
|
|
49
|
+
//# sourceMappingURL=measureArticle.d.ts.map
|
package/build/types/real-time-viewer-next/src/core/environment/deckCutout/measureArticle.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measureArticle.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/environment/deckCutout/measureArticle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAOnE,qDAAqD;AACrD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,kFAAkF;AAClF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,uGAAuG;IACvG,YAAY,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,cAAc,EAAE,QAAQ,EAAE,CAAC;IAC3B,kEAAkE;IAClE,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,sFAAsF;IACtF,UAAU,EAAE,OAAO,CAAC;IACpB,0BAA0B;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,sHAAsH;AACtH,wBAAgB,gBAAgB,CAAC,cAAc,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAOvE;AAED,8CAA8C;AAC9C,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,WAAW,CASvG;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,WAAW,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACpD,kBAAkB,GAAG,IAAI,CAyD3B"}
|