@cognite/reveal 4.33.0 → 4.34.0
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/assets/eptBinaryDecoder.worker-DXT9usP2.js.map +1 -0
- package/dist/index.js +18106 -1000
- package/dist/index.js.map +1 -1
- package/dist/packages/360-images/src/Image360Facade.d.ts +9 -13
- package/dist/packages/360-images/src/Image360History.d.ts +2 -5
- package/dist/packages/360-images/src/annotation/Image360Annotation.d.ts +2 -5
- package/dist/packages/360-images/src/annotation/Image360AnnotationFilter.d.ts +2 -5
- package/dist/packages/360-images/src/annotation/Image360AnnotationIntersection.d.ts +3 -6
- package/dist/packages/360-images/src/annotation/ImageAnnotationObject.d.ts +4 -8
- package/dist/packages/360-images/src/annotation/geometry/BoxAnnotationGeometryData.d.ts +3 -7
- package/dist/packages/360-images/src/annotation/geometry/DmMesh3dAnnotationGeometryData.d.ts +2 -6
- package/dist/packages/360-images/src/annotation/geometry/ImageAnnotationGeometryData.d.ts +1 -4
- package/dist/packages/360-images/src/annotation/geometry/PolygonAnnotationGeometryData.d.ts +3 -7
- package/dist/packages/360-images/src/annotation/geometry/Vector3ArrayUtils.d.ts +0 -3
- package/dist/packages/360-images/src/annotation/geometry/createTriangleIndexesFromVectors.d.ts +0 -3
- package/dist/packages/360-images/src/annotation/geometry/utils.d.ts +1 -5
- package/dist/packages/360-images/src/annotation/getInstanceId.d.ts +2 -5
- package/dist/packages/360-images/src/annotation/typeGuards.d.ts +2 -5
- package/dist/packages/360-images/src/annotation/types.d.ts +3 -6
- package/dist/packages/360-images/src/cache/Image360LoadingCache.d.ts +3 -6
- package/dist/packages/360-images/src/collection/DefaultImage360Collection.d.ts +13 -17
- package/dist/packages/360-images/src/collection/Image360Collection.d.ts +8 -12
- package/dist/packages/360-images/src/collection/Image360CollectionFactory.d.ts +6 -9
- package/dist/packages/360-images/src/collection/createCollectionIdString.d.ts +1 -4
- package/dist/packages/360-images/src/entity/Image360.d.ts +5 -9
- package/dist/packages/360-images/src/entity/Image360Entity.d.ts +9 -13
- package/dist/packages/360-images/src/entity/Image360FaceTextureLoader.d.ts +34 -0
- package/dist/packages/360-images/src/entity/Image360Revision.d.ts +2 -5
- package/dist/packages/360-images/src/entity/Image360RevisionEntity.d.ts +9 -9
- package/dist/packages/360-images/src/entity/Image360VisualizationBox.d.ts +14 -10
- package/dist/packages/360-images/src/icons/FlooredIconManager.d.ts +3 -7
- package/dist/packages/360-images/src/icons/IconCollection.d.ts +6 -11
- package/dist/packages/360-images/src/icons/clustering/ClusterRenderingStrategy.d.ts +2 -5
- package/dist/packages/360-images/src/icons/clustering/HtmlClusterCoordinator.d.ts +2 -5
- package/dist/packages/360-images/src/icons/clustering/HtmlClusterRenderer.d.ts +3 -6
- package/dist/packages/360-images/src/typeGuards.d.ts +2 -0
- package/dist/packages/360-images/src/types.d.ts +6 -9
- package/dist/packages/360-images/src/utils/JpegDataStreamParser.d.ts +38 -0
- package/dist/packages/360-images/visual-tests/Image360.VisualTest.d.ts +12 -0
- package/dist/packages/3d-overlays/src/CameraChangeThrottler.d.ts +1 -1
- package/dist/packages/3d-overlays/src/IconOctree.d.ts +4 -9
- package/dist/packages/3d-overlays/src/Overlay3D.d.ts +1 -4
- package/dist/packages/3d-overlays/src/Overlay3DCollection.d.ts +3 -7
- package/dist/packages/3d-overlays/src/Overlay3DIcon.d.ts +3 -7
- package/dist/packages/3d-overlays/src/OverlayCollection.d.ts +2 -5
- package/dist/packages/3d-overlays/src/OverlayPointsObject.d.ts +1 -5
- package/dist/packages/api/index.d.ts +1 -2
- package/dist/packages/api/src/api-helpers/Image360ApiHelper.d.ts +7 -8
- package/dist/packages/api/src/migration.d.ts +7 -0
- package/dist/packages/api/src/public/RevealManager.d.ts +10 -10
- package/dist/packages/api/src/public/RevealOptions.d.ts +2 -2
- package/dist/packages/api/src/public/createRevealManager.d.ts +5 -5
- package/dist/packages/api/src/public/migration/Cognite3DViewer.d.ts +11 -14
- package/dist/packages/api/src/public/migration/renderOptionsHelpers.d.ts +4 -8
- package/dist/packages/api/src/public/migration/types.d.ts +11 -15
- package/dist/packages/api/src/public/types.d.ts +4 -7
- package/dist/packages/api/src/storage/RevealManagerHelper.d.ts +9 -9
- package/dist/packages/api/src/utilities/ViewStateHelper.d.ts +4 -4
- package/dist/packages/api/src/utilities/utils.d.ts +4 -7
- package/dist/packages/api/src/version.d.ts +1 -0
- package/dist/packages/api/visual-tests/ClippingPointCloud.VisualTest.d.ts +5 -0
- package/dist/packages/api/visual-tests/Default.VisualTest.d.ts +4 -0
- package/dist/packages/api/visual-tests/DefaultPointCloud.VisualTest.d.ts +5 -0
- package/dist/packages/api/visual-tests/DefaultTextured.VisualTest.d.ts +5 -0
- package/dist/packages/api/visual-tests/FixedPointCloud.VisualTest.d.ts +5 -0
- package/dist/packages/api/visual-tests/HighlightedGhosted.VisualTest.d.ts +4 -0
- package/dist/packages/api/visual-tests/NodeTransform.VisualTest.d.ts +4 -0
- package/dist/packages/api/visual-tests/Outline.VisualTest.d.ts +4 -0
- package/dist/packages/api/visual-tests/ReassignNodeStyle.VisualTest.d.ts +4 -0
- package/dist/packages/api/visual-tests/StyledTextured.VisualTest.d.ts +5 -0
- package/dist/packages/api/visual-tests/TwoModels.VisualTest.d.ts +19 -0
- package/dist/packages/cad-geometry-loaders/src/CadManager.d.ts +7 -8
- package/dist/packages/cad-geometry-loaders/src/CadModelUpdateHandler.d.ts +8 -8
- package/dist/packages/cad-geometry-loaders/src/InternalRevealCadOptions.d.ts +1 -4
- package/dist/packages/cad-geometry-loaders/src/createCadManager.d.ts +3 -6
- package/dist/packages/cad-geometry-loaders/src/sector/ModelStateHandler.d.ts +0 -3
- package/dist/packages/cad-geometry-loaders/src/sector/SectorDownloadScheduler.d.ts +1 -4
- package/dist/packages/cad-geometry-loaders/src/sector/SectorLoader.d.ts +4 -7
- package/dist/packages/cad-geometry-loaders/src/sector/culling/ByScreenSizeSectorCuller.d.ts +3 -6
- package/dist/packages/cad-geometry-loaders/src/sector/culling/SectorCuller.d.ts +2 -5
- package/dist/packages/cad-geometry-loaders/src/sector/culling/WeightFunctionsHelper.d.ts +2 -2
- package/dist/packages/cad-geometry-loaders/src/sector/culling/computeSectorCost.d.ts +2 -6
- package/dist/packages/cad-geometry-loaders/src/sector/culling/createDetermineSectorInput.d.ts +5 -0
- package/dist/packages/cad-geometry-loaders/src/sector/culling/takensectors/TakenSectorMapBase.d.ts +2 -5
- package/dist/packages/cad-geometry-loaders/src/sector/culling/takensectors/TakenV9SectorMap.d.ts +3 -6
- package/dist/packages/cad-geometry-loaders/src/sector/culling/types.d.ts +5 -5
- package/dist/packages/cad-geometry-loaders/src/sector/rxSectorUtilities.d.ts +2 -5
- package/dist/packages/cad-geometry-loaders/src/utilities/reflection.d.ts +7 -0
- package/dist/packages/cad-model/src/CadModelFactory.d.ts +4 -5
- package/dist/packages/cad-model/src/batching/DrawCallBatchingManager.d.ts +1 -4
- package/dist/packages/cad-model/src/batching/MultiBufferBatchingManager.d.ts +5 -5
- package/dist/packages/cad-model/src/picking/PickingHandler.d.ts +4 -4
- package/dist/packages/cad-model/src/types.d.ts +1 -4
- package/dist/packages/cad-model/src/utilities/CustomSectorBounds.d.ts +1 -1
- package/dist/packages/cad-model/src/utilities/GeometryBufferUtils.d.ts +1 -4
- package/dist/packages/cad-model/src/utilities/TreeIndexToSectorsMap.d.ts +1 -4
- package/dist/packages/cad-model/src/utilities/getShaderMaterial.d.ts +2 -5
- package/dist/packages/cad-model/src/wrappers/CadMeshManager.d.ts +8 -11
- package/dist/packages/cad-model/src/wrappers/CadNode.d.ts +7 -16
- package/dist/packages/cad-model/src/wrappers/CogniteCadModel.d.ts +5 -6
- package/dist/packages/cad-model/visual-tests/CadClipping.VisualTest.d.ts +4 -0
- package/dist/packages/cad-model/visual-tests/DebugLoadedSectorsTool.d.ts +26 -0
- package/dist/packages/cad-model/visual-tests/Rotation.VisualTest.d.ts +4 -0
- package/dist/packages/cad-model/visual-tests/Scale.VisualTest.d.ts +4 -0
- package/dist/packages/cad-model/visual-tests/SectorBoundingBoxes.VisualTest.d.ts +33 -0
- package/dist/packages/cad-parsers/src/cad/filterPrimitivesV9.d.ts +0 -3
- package/dist/packages/cad-parsers/src/cad/types.d.ts +4 -4
- package/dist/packages/cad-parsers/src/metadata/CadMetadataParser.d.ts +1 -4
- package/dist/packages/cad-parsers/src/metadata/CadModelClipper.d.ts +1 -1
- package/dist/packages/cad-parsers/src/metadata/CadModelMetadata.d.ts +3 -3
- package/dist/packages/cad-parsers/src/metadata/CadModelMetadataRepository.d.ts +3 -7
- package/dist/packages/cad-parsers/src/metadata/parsers/CadMetadataParserGltf.d.ts +2 -2
- package/dist/packages/cad-parsers/src/sector/RootSectorNode.d.ts +2 -2
- package/dist/packages/cad-parsers/src/sector/SectorNode.d.ts +1 -1
- package/dist/packages/cad-parsers/src/utilities/SectorScene.d.ts +2 -2
- package/dist/packages/cad-parsers/src/utilities/SectorSceneFactory.d.ts +2 -2
- package/dist/packages/cad-parsers/src/utilities/types.d.ts +1 -1
- package/dist/packages/cad-styling/index.d.ts +1 -0
- package/dist/packages/cad-styling/src/AssetNodeCollection.d.ts +6 -6
- package/dist/packages/cad-styling/src/CdfNodeCollectionBase.d.ts +3 -3
- package/dist/packages/cad-styling/src/ClippingPlanesProvider.d.ts +11 -0
- package/dist/packages/cad-styling/src/CombineNodeCollectionBase.d.ts +3 -6
- package/dist/packages/cad-styling/src/IntersectionNodeCollection.d.ts +3 -6
- package/dist/packages/cad-styling/src/InvertedNodeCollection.d.ts +3 -6
- package/dist/packages/cad-styling/src/NodeAppearance.d.ts +0 -3
- package/dist/packages/cad-styling/src/NodeAppearanceProvider.d.ts +4 -7
- package/dist/packages/cad-styling/src/NodeAppearanceTextureBuilder.d.ts +3 -3
- package/dist/packages/cad-styling/src/NodeCollection.d.ts +3 -6
- package/dist/packages/cad-styling/src/NodeCollectionDeserializer.d.ts +4 -7
- package/dist/packages/cad-styling/src/NodeIdNodeCollection.d.ts +4 -7
- package/dist/packages/cad-styling/src/PopulateIndexSetFromPagedResponseHelper.d.ts +3 -4
- package/dist/packages/cad-styling/src/PropertyFilterNodeCollection.d.ts +3 -6
- package/dist/packages/cad-styling/src/SinglePropertyFilterNodeCollection.d.ts +4 -7
- package/dist/packages/cad-styling/src/TreeIndexNodeCollection.d.ts +4 -4
- package/dist/packages/cad-styling/src/UnionNodeCollection.d.ts +3 -6
- package/dist/packages/cad-styling/src/nodeAppearanceSerialization.d.ts +1 -4
- package/dist/packages/cad-styling/src/prioritized/AreaCollection.d.ts +1 -4
- package/dist/packages/cad-styling/src/prioritized/BoxClusterer.d.ts +0 -3
- package/dist/packages/cad-styling/src/prioritized/ClusteredAreaCollection.d.ts +2 -5
- package/dist/packages/cad-styling/src/prioritized/EmptyAreaCollection.d.ts +2 -5
- package/dist/packages/cad-styling/src/prioritized/types.d.ts +1 -4
- package/dist/packages/cad-styling/src/stubs/StubNodeCollection.d.ts +19 -0
- package/dist/packages/cad-styling/src/transform/NodeTransformProvider.d.ts +1 -4
- package/dist/packages/cad-styling/src/transform/NodeTransformTextureBuilder.d.ts +1 -1
- package/dist/packages/cad-styling/visual-tests/CustomWithStyling.VisualTest.d.ts +4 -0
- package/dist/packages/cad-styling/visual-tests/Highlighted.VisualTest.d.ts +4 -0
- package/dist/packages/camera-manager/app/index.d.ts +1 -0
- package/dist/packages/camera-manager/src/CameraManager.d.ts +2 -5
- package/dist/packages/camera-manager/src/CameraManagerHelper.d.ts +1 -5
- package/dist/packages/camera-manager/src/ComboControls.d.ts +1 -4
- package/dist/packages/camera-manager/src/DefaultCameraManager.d.ts +4 -4
- package/dist/packages/camera-manager/src/Flexible/DampedSpherical.d.ts +0 -3
- package/dist/packages/camera-manager/src/Flexible/DampedVector3.d.ts +0 -3
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraEventTarget.d.ts +3 -6
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraManager.d.ts +5 -9
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraMarkers.d.ts +2 -5
- package/dist/packages/camera-manager/src/Flexible/FlexibleControls.d.ts +3 -7
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsOptions.d.ts +0 -3
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsRotationHelper.d.ts +1 -4
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsTranslator.d.ts +2 -5
- package/dist/packages/camera-manager/src/Flexible/GetPickedPointByPixelCoordinates.d.ts +1 -4
- package/dist/packages/camera-manager/src/Flexible/IFlexibleCameraManager.d.ts +4 -7
- package/dist/packages/camera-manager/src/Flexible/moveCamera.d.ts +1 -4
- package/dist/packages/camera-manager/src/ProxyCameraManager.d.ts +3 -6
- package/dist/packages/camera-manager/src/StationaryCameraManager.d.ts +3 -7
- package/dist/packages/camera-manager/src/types.d.ts +1 -4
- package/dist/packages/camera-manager/src/utils/DebouncedCameraStopEventTrigger.d.ts +2 -5
- package/dist/packages/data-providers/src/DataModelsSdk.d.ts +2 -5
- package/dist/packages/data-providers/src/DataSourceType.d.ts +5 -8
- package/dist/packages/data-providers/src/Image360Provider.d.ts +3 -6
- package/dist/packages/data-providers/src/Image360ProviderCombiner.d.ts +5 -8
- package/dist/packages/data-providers/src/ModelDataProvider.d.ts +1 -4
- package/dist/packages/data-providers/src/ModelIdentifier.d.ts +2 -5
- package/dist/packages/data-providers/src/ModelMetadataProvider.d.ts +2 -2
- package/dist/packages/data-providers/src/PointCloudStylableObjectProvider.d.ts +2 -5
- package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageAnnotationCache.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageAnnotationProvider.d.ts +5 -8
- package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageFileProvider.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/CdfImageFileProvider.d.ts +3 -5
- package/dist/packages/data-providers/src/image-360-data-providers/CoreDm360ImageAnnotationProvider.d.ts +4 -7
- package/dist/packages/data-providers/src/image-360-data-providers/Local360ImageProvider.d.ts +5 -5
- package/dist/packages/data-providers/src/image-360-data-providers/annotations.d.ts +1 -1
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/fetchAnnotationsForInstance.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/fetchCoreDm360AnnotationsForCollection.d.ts +4 -7
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/fetchCoreDm360AnnotationsForRevision.d.ts +4 -7
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/getImage360Map.d.ts +4 -7
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/getObject3dAssetMap.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/properties.d.ts +1 -4
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/queryNodesAndEdges.d.ts +1 -4
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/readAnnotations.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/transformCdmAnnotations.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/transformSphericalCoordinatesToVectors.d.ts +2 -5
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/types.d.ts +4 -7
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/cdm/Cdf360CdmBatchCollectionLoader.d.ts +5 -8
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/cdm/Cdf360CdmDescriptorProvider.d.ts +4 -7
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/cdm/get360CdmCollectionsQuery.d.ts +1 -4
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/system-space/Cdf360DataModelsDescriptorProvider.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/events/Cdf360BatchEventCollectionLoader.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/events/Cdf360EventDescriptorProvider.d.ts +3 -6
- package/dist/packages/data-providers/src/image-360-data-providers/shared.d.ts +4 -7
- package/dist/packages/data-providers/src/metadata-providers/CdfModelMetadataProvider.d.ts +4 -5
- package/dist/packages/data-providers/src/metadata-providers/LocalModelMetadataProvider.d.ts +3 -4
- package/dist/packages/data-providers/src/model-data-providers/CachedModelDataProvider.d.ts +2 -6
- package/dist/packages/data-providers/src/model-data-providers/CdfModelDataProvider.d.ts +2 -5
- package/dist/packages/data-providers/src/model-data-providers/LocalModelDataProvider.d.ts +1 -4
- package/dist/packages/data-providers/src/model-identifiers/CdfModelIdentifier.d.ts +2 -5
- package/dist/packages/data-providers/src/model-identifiers/DMModelIdentifier.d.ts +1 -4
- package/dist/packages/data-providers/src/model-identifiers/LocalModelIdentifier.d.ts +1 -4
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/CdfPointCloudStylableObjectProvider.d.ts +4 -7
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/DummyPointCloudStylableObjectProvider.d.ts +3 -6
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/StylableObject.d.ts +1 -4
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.d.ts +2 -5
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/CdfPointCloudDMStylableObjectProvider.d.ts +4 -7
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/DummyPointCloudDMStylableObjectProvider.d.ts +3 -6
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/getDMPointCloudObjects.d.ts +4 -4
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/getDMPointCloudVolumeCollectionQuery.d.ts +2 -5
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/types.d.ts +1 -4
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/utils.d.ts +2 -5
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/types.d.ts +5 -8
- package/dist/packages/data-providers/src/requests/fetchDMModelIdFromRevisionId.d.ts +1 -4
- package/dist/packages/data-providers/src/types.d.ts +6 -7
- package/dist/packages/data-providers/src/utilities/applyDefaultModelTransformation.d.ts +1 -1
- package/dist/packages/data-providers/src/utilities/getExternalIdFromDescriptor.d.ts +1 -4
- package/dist/packages/data-providers/src/utilities/instanceIds.d.ts +2 -2
- package/dist/packages/data-providers/src/utilities/internalAddModelOptions.d.ts +3 -6
- package/dist/packages/data-providers/src/utilities/utils.d.ts +3 -6
- package/dist/packages/data-source/src/CdfDataSource.d.ts +4 -7
- package/dist/packages/data-source/src/DataSource.d.ts +2 -5
- package/dist/packages/data-source/src/LocalDataSource.d.ts +3 -6
- package/dist/packages/logger/index.d.ts +1 -4
- package/dist/packages/metrics/src/Fingerprint/generateAudioFingerprint.d.ts +1 -4
- package/dist/packages/metrics/src/Fingerprint/generateCanvasFingerprint.d.ts +1 -4
- package/dist/packages/metrics/src/Fingerprint/getUserFingerprint.d.ts +1 -1
- package/dist/packages/metrics/src/MetricsLogger.d.ts +3 -3
- package/dist/packages/model-base/src/MetadataRepository.d.ts +1 -4
- package/dist/packages/nodes-api/src/NodesApiClient.d.ts +1 -1
- package/dist/packages/nodes-api/src/NodesCdfClient.d.ts +2 -2
- package/dist/packages/nodes-api/src/NodesLocalClient.d.ts +2 -2
- package/dist/packages/nodes-api/src/types.d.ts +1 -4
- package/dist/packages/pointcloud-styling/src/AnnotationIdPointCloudObjectCollection.d.ts +0 -3
- package/dist/packages/pointcloud-styling/src/PointCloudAppearance.d.ts +0 -3
- package/dist/packages/pointcloud-styling/src/PointCloudDMVolumeCollection.d.ts +1 -4
- package/dist/packages/pointcloud-styling/src/StyledPointCloudVolumeCollection.d.ts +11 -6
- package/dist/packages/pointcloud-styling/src/utils.d.ts +2 -5
- package/dist/packages/pointclouds/src/ClassificationHandler.d.ts +2 -5
- package/dist/packages/pointclouds/src/CognitePointCloudModel.d.ts +8 -8
- package/dist/packages/pointclouds/src/PointCloudFactory.d.ts +6 -9
- package/dist/packages/pointclouds/src/PointCloudIntersection.d.ts +4 -7
- package/dist/packages/pointclouds/src/PointCloudLoadingStateHandler.d.ts +4 -7
- package/dist/packages/pointclouds/src/PointCloudManager.d.ts +9 -9
- package/dist/packages/pointclouds/src/PointCloudMetadata.d.ts +2 -2
- package/dist/packages/pointclouds/src/PointCloudMetadataRepository.d.ts +3 -6
- package/dist/packages/pointclouds/src/PointCloudNode.d.ts +8 -13
- package/dist/packages/pointclouds/src/PointCloudPickingHandler.d.ts +4 -4
- package/dist/packages/pointclouds/src/classificationsProviders/IPointClassificationsProvider.d.ts +2 -5
- package/dist/packages/pointclouds/src/classificationsProviders/LocalPointClassificationsProvider.d.ts +3 -6
- package/dist/packages/pointclouds/src/classificationsProviders/UrlPointClassificationsProvider.d.ts +4 -7
- package/dist/packages/pointclouds/src/createPointCloudManager.d.ts +3 -6
- package/dist/packages/pointclouds/src/decomposeStylableObjects.d.ts +1 -4
- package/dist/packages/pointclouds/src/index.d.ts +2 -0
- package/dist/packages/pointclouds/src/potree-three-loader/Potree.d.ts +5 -5
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/IPointCloudTreeGeometry.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/IPointCloudTreeGeometryNode.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometry.d.ts +5 -5
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometryNode.d.ts +4 -5
- package/dist/packages/pointclouds/src/potree-three-loader/loading/EptBinaryLoader.d.ts +4 -4
- package/dist/packages/pointclouds/src/potree-three-loader/loading/EptLoader.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/tree/IPointCloudTreeNode.d.ts +2 -2
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctree.d.ts +9 -10
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctreeNode.d.ts +4 -5
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctreePicker.d.ts +4 -4
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctreePickerHelper.d.ts +4 -5
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudTree.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/types/IPotree.d.ts +4 -4
- package/dist/packages/pointclouds/src/potree-three-loader/types/IVisibilityUpdateResult.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/types/type-predicates.d.ts +3 -3
- package/dist/packages/pointclouds/src/potree-three-loader/types/types.d.ts +2 -2
- package/dist/packages/pointclouds/src/potree-three-loader/utils/bounds.d.ts +1 -2
- package/dist/packages/pointclouds/src/potree-three-loader/utils/box3-helper.d.ts +13 -0
- package/dist/packages/pointclouds/src/potree-three-loader/utils/createObjectIdMaps.d.ts +2 -5
- package/dist/packages/pointclouds/src/potree-three-loader/utils/lru.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/utils/utils.d.ts +3 -3
- package/dist/packages/pointclouds/src/potree-three-loader/workers/assignPointsToObjectsWithWasm.d.ts +2 -5
- package/dist/packages/pointclouds/src/potree-three-loader/workers/eptBinaryDecoder.worker.d.ts +6 -7
- package/dist/packages/pointclouds/src/potree-three-loader/workers/parseEpt.d.ts +3 -3
- package/dist/packages/pointclouds/src/potree-three-loader/workers/types.d.ts +1 -4
- package/dist/packages/pointclouds/src/typeGuards.d.ts +2 -5
- package/dist/packages/pointclouds/src/types.d.ts +3 -6
- package/dist/packages/pointclouds/visual-tests/EdlPointCloud.VisualTest.d.ts +10 -0
- package/dist/packages/pointclouds/visual-tests/PointCloudColorStyling.VisualTest.d.ts +9 -0
- package/dist/packages/pointclouds/wasm/index.d.ts +1 -4
- package/dist/packages/rendering/index.d.ts +1 -1
- package/dist/packages/rendering/src/CadMaterialManager.d.ts +5 -6
- package/dist/packages/rendering/src/PointCloudMaterialManager.d.ts +3 -6
- package/dist/packages/rendering/src/RenderPipelineExecutor.d.ts +1 -1
- package/dist/packages/rendering/src/RenderPipelineProvider.d.ts +2 -5
- package/dist/packages/rendering/src/ResizeHandler.d.ts +2 -5
- package/dist/packages/rendering/src/pipeline-executors/BasicPipelineExecutor.d.ts +2 -2
- package/dist/packages/rendering/src/pipeline-executors/StepPipelineExecutor.d.ts +17 -0
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudMaterial.d.ts +3 -7
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectAppearanceTexture.d.ts +4 -4
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectIdMaps.d.ts +1 -4
- package/dist/packages/rendering/src/pointcloud-rendering/classification.d.ts +1 -1
- package/dist/packages/rendering/src/pointcloud-rendering/constants.d.ts +0 -3
- package/dist/packages/rendering/src/pointcloud-rendering/gradients/SpectralGradient.d.ts +1 -1
- package/dist/packages/rendering/src/pointcloud-rendering/texture-generation.d.ts +2 -6
- package/dist/packages/rendering/src/pointcloud-rendering/types.d.ts +1 -5
- package/dist/packages/rendering/src/render-passes/GeometryPass.d.ts +3 -3
- package/dist/packages/rendering/src/render-passes/PointCloudEffectsPass.d.ts +3 -3
- package/dist/packages/rendering/src/render-passes/PostProcessingPass.d.ts +3 -3
- package/dist/packages/rendering/src/render-passes/SSAOPass.d.ts +2 -2
- package/dist/packages/rendering/src/render-passes/types.d.ts +2 -5
- package/dist/packages/rendering/src/render-pipeline-providers/CadGeometryRenderModePipelineProvider.d.ts +6 -6
- package/dist/packages/rendering/src/render-pipeline-providers/CadGeometryRenderPipelineProvider.d.ts +6 -9
- package/dist/packages/rendering/src/render-pipeline-providers/DefaultRenderPipelineProvider.d.ts +7 -7
- package/dist/packages/rendering/src/render-pipeline-providers/PointCloudRenderPipelineProvider.d.ts +6 -6
- package/dist/packages/rendering/src/render-pipeline-providers/pointCloudParameterUtils.d.ts +1 -4
- package/dist/packages/rendering/src/render-pipeline-providers/types.d.ts +1 -1
- package/dist/packages/rendering/src/rendering/SettableRenderTarget.d.ts +1 -4
- package/dist/packages/rendering/src/rendering/materials.d.ts +1 -1
- package/dist/packages/rendering/src/utilities/GpuTimer.d.ts +19 -0
- package/dist/packages/rendering/src/utilities/renderUtilities.d.ts +4 -4
- package/dist/packages/rendering/src/utilities/types.d.ts +1 -4
- package/dist/packages/rendering/visual-tests/Blending.VisualTest.d.ts +5 -0
- package/dist/packages/rendering/visual-tests/RenderTarget.VisualTest.d.ts +9 -0
- package/dist/packages/rendering/visual-tests/Rendering.VisualTest.d.ts +13 -0
- package/dist/packages/rendering/visual-tests/Resize.VisualTest.d.ts +5 -0
- package/dist/packages/rendering/visual-tests/Ssao.VisualTest.d.ts +4 -0
- package/dist/packages/sector-loader/src/GltfSectorLoader.d.ts +2 -5
- package/dist/packages/sector-loader/src/GltfSectorRepository.d.ts +3 -6
- package/dist/packages/sector-loader/src/SectorRepository.d.ts +2 -5
- package/dist/packages/sector-loader/visual-tests/SectorLoader.VisualTest.d.ts +8 -0
- package/dist/packages/sector-parser/src/GltfSectorParser.d.ts +1 -1
- package/dist/packages/sector-parser/src/constants.d.ts +1 -4
- package/dist/packages/sector-parser/src/reveal-glb-parser/GlbMetadataParser.d.ts +1 -4
- package/dist/packages/sector-parser/src/reveal-glb-parser/primitiveGeometries.d.ts +1 -1
- package/dist/packages/sector-parser/src/types.d.ts +1 -4
- package/dist/packages/sector-parser/visual-tests/GeneralCylinder.VisualTest.d.ts +4 -0
- package/dist/packages/sector-parser/visual-tests/PrimitivesVisualTestFixture.d.ts +9 -0
- package/dist/packages/sector-parser/visual-tests/SectorParser.VisualTest.d.ts +6 -0
- package/dist/packages/sector-parser/visual-tests/testMaterials.d.ts +6 -0
- package/dist/packages/tools/src/AxisGizmo/AxisGizmoTool.d.ts +2 -2
- package/dist/packages/tools/src/AxisGizmo/OneGizmoAxis.d.ts +1 -1
- package/dist/packages/tools/src/AxisView/AxisViewTool.d.ts +2 -5
- package/dist/packages/tools/src/AxisView/types.d.ts +1 -1
- package/dist/packages/tools/src/DebugCameraTool.d.ts +2 -5
- package/dist/packages/tools/src/HtmlOverlay/BucketGrid2D.d.ts +1 -1
- package/dist/packages/tools/src/HtmlOverlay/HtmlOverlayTool.d.ts +3 -3
- package/dist/packages/tools/src/Measurement/MeasurementManager.d.ts +2 -2
- package/dist/packages/tools/src/Measurement/MeasurementTool.d.ts +4 -7
- package/dist/packages/tools/src/Measurement/types.d.ts +1 -4
- package/dist/packages/tools/src/Overlay3D/Overlay3DTool.d.ts +4 -7
- package/dist/packages/tools/src/Timeline/Keyframe.d.ts +2 -5
- package/dist/packages/tools/src/Timeline/TimelineTool.d.ts +2 -5
- package/dist/packages/tools/src/Timeline/types.d.ts +1 -4
- package/dist/packages/tools/src/utilities/moveCameraTo.d.ts +1 -4
- package/dist/packages/tools/visual-tests/Overlay3DTool.VisualTest.d.ts +4 -0
- package/dist/packages/utilities/index.d.ts +0 -1
- package/dist/packages/utilities/src/CameraConfiguration.d.ts +1 -4
- package/dist/packages/utilities/src/ClosestGeometryFinder.d.ts +1 -4
- package/dist/packages/utilities/src/SceneHandler.d.ts +1 -1
- package/dist/packages/utilities/src/assert.d.ts +11 -0
- package/dist/packages/utilities/src/assetMappings/isCdfAssetMapping.d.ts +2 -5
- package/dist/packages/utilities/src/assetMappings/types.d.ts +1 -4
- package/dist/packages/utilities/src/batchedDebounce.d.ts +1 -4
- package/dist/packages/utilities/src/cache/DataFileCacheManager.d.ts +1 -1
- package/dist/packages/utilities/src/cache/MemoryRequestCache.d.ts +1 -4
- package/dist/packages/utilities/src/cache/index.d.ts +6 -0
- package/dist/packages/utilities/src/constants.d.ts +0 -3
- package/dist/packages/utilities/src/customObject/CustomObject.d.ts +4 -8
- package/dist/packages/utilities/src/customObject/CustomObjectIntersectInput.d.ts +1 -5
- package/dist/packages/utilities/src/customObject/CustomObjectIntersection.d.ts +2 -5
- package/dist/packages/utilities/src/customObject/ICustomObject.d.ts +3 -6
- package/dist/packages/utilities/src/datastructures/DynamicDefragmentedBuffer.d.ts +1 -4
- package/dist/packages/utilities/src/events/InputHandler.d.ts +1 -1
- package/dist/packages/utilities/src/events/PointerEventsTarget.d.ts +1 -1
- package/dist/packages/utilities/src/events/disposeOfAllEventListeners.d.ts +1 -4
- package/dist/packages/utilities/src/events/getPixelCoordinatesFromEvent.d.ts +0 -3
- package/dist/packages/utilities/src/events/types.d.ts +1 -4
- package/dist/packages/utilities/src/fdm/toKey.d.ts +1 -4
- package/dist/packages/utilities/src/fdm/typeGuards.d.ts +1 -4
- package/dist/packages/utilities/src/indexset/IndexSet.d.ts +1 -1
- package/dist/packages/utilities/src/indexset/IntermediateIndexNode.d.ts +1 -4
- package/dist/packages/utilities/src/indexset/LeafIndexNode.d.ts +1 -1
- package/dist/packages/utilities/src/networking/isTheSameDomain.d.ts +11 -0
- package/dist/packages/utilities/src/projectedBounds.d.ts +1 -5
- package/dist/packages/utilities/src/shapes/Box.d.ts +3 -7
- package/dist/packages/utilities/src/shapes/CompositeShape.d.ts +2 -5
- package/dist/packages/utilities/src/shapes/Cylinder.d.ts +2 -5
- package/dist/packages/utilities/src/shapes/IShape.d.ts +2 -5
- package/dist/packages/utilities/src/shapes/SerializableBox.d.ts +2 -5
- package/dist/packages/utilities/src/shapes/SerializableCompositeShape.d.ts +1 -4
- package/dist/packages/utilities/src/shapes/SerializableCylinder.d.ts +2 -5
- package/dist/packages/utilities/src/three/AttributeDataAccessor.d.ts +2 -5
- package/dist/packages/utilities/src/three/VariableWidthLine.d.ts +1 -4
- package/dist/packages/utilities/src/three/Vector3Pool.d.ts +0 -3
- package/dist/packages/utilities/src/three/isPointVisibleByPlanes.d.ts +1 -4
- package/dist/packages/utilities/src/three/lines/Line2.d.ts +0 -3
- package/dist/packages/utilities/src/three/lines/LineGeometry.d.ts +1 -4
- package/dist/packages/utilities/src/three/lines/LineMaterial.d.ts +1 -5
- package/dist/packages/utilities/src/three/lines/LineSegments2.d.ts +1 -5
- package/dist/packages/utilities/src/three/lines/LineSegmentsGeometry.d.ts +1 -5
- package/dist/packages/utilities/src/three/toThreeBox3.d.ts +1 -1
- package/dist/packages/utilities/src/transformCameraConfiguration.d.ts +1 -1
- package/package.json +19 -41
- package/dist/packages/utilities/src/workers/workerize-transferable/index.d.ts +0 -7
- package/dist/packages/utilities/src/workers/workerize-transferable/message-types.d.ts +0 -4
- package/dist/packages/utilities/src/workers/workerize-transferable/on-main.d.ts +0 -13
- package/dist/packages/utilities/src/workers/workerize-transferable/on-worker.d.ts +0 -14
- package/dist/packages/utilities/src/workers/workerize-transferable/util.d.ts +0 -10
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import type { Image360RevisionEntity } from './entity/Image360RevisionEntity';
|
|
11
|
-
import type { Image360AnnotationFilterOptions } from './annotation/types';
|
|
12
|
-
import type { DataSourceType } from '../../data-providers';
|
|
13
|
-
import type { Image360ClusterIntersectionData, Image360IconIntersectionData } from './types';
|
|
1
|
+
import { Camera, Vector2, Matrix4 } from 'three';
|
|
2
|
+
import { Image360Entity } from './entity/Image360Entity';
|
|
3
|
+
import { Image360CollectionFactory } from './collection/Image360CollectionFactory';
|
|
4
|
+
import { DefaultImage360Collection } from './collection/DefaultImage360Collection';
|
|
5
|
+
import { IconCullingScheme } from './icons/IconCollection';
|
|
6
|
+
import { Image360RevisionEntity } from './entity/Image360RevisionEntity';
|
|
7
|
+
import { Image360AnnotationFilterOptions } from './annotation/types';
|
|
8
|
+
import { DataSourceType } from '../../data-providers';
|
|
9
|
+
import { Image360ClusterIntersectionData, Image360IconIntersectionData } from './types';
|
|
14
10
|
export declare class Image360Facade<T extends DataSourceType> {
|
|
15
11
|
private readonly _entityFactory;
|
|
16
12
|
private readonly _image360Collections;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { DataSourceType } from '../../data-providers';
|
|
5
|
-
import type { Image360 } from './entity/Image360';
|
|
1
|
+
import { DataSourceType } from '../../data-providers';
|
|
2
|
+
import { Image360 } from './entity/Image360';
|
|
6
3
|
import { Image360Action } from './Image360Action';
|
|
7
4
|
export declare class Image360History {
|
|
8
5
|
private readonly _images;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Color, Vector3 } from 'three';
|
|
5
|
-
import type { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
1
|
+
import { Color, Vector3 } from 'three';
|
|
2
|
+
import { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
6
3
|
/**
|
|
7
4
|
* An annotation associated with a 360 image revision
|
|
8
5
|
*/
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Image360AnnotationFilterOptions } from './types';
|
|
5
|
-
import type { DataSourceType } from '../../../data-providers';
|
|
1
|
+
import { Image360AnnotationFilterOptions } from './types';
|
|
2
|
+
import { DataSourceType } from '../../../data-providers';
|
|
6
3
|
export declare class Image360AnnotationFilter {
|
|
7
4
|
private readonly _annotationFilter;
|
|
8
5
|
private fillDefaultAnnotationOptionValues;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
5
|
-
import type { Image360Annotation } from './Image360Annotation';
|
|
6
|
-
import type { Vector3 } from 'three';
|
|
1
|
+
import { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
2
|
+
import { Image360Annotation } from './Image360Annotation';
|
|
3
|
+
import { Vector3 } from 'three';
|
|
7
4
|
/**
|
|
8
5
|
* Describes an intersection with a 360 image annotation
|
|
9
6
|
*/
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { Object3D, Raycaster } from 'three';
|
|
6
|
-
import { Color, Matrix4, Vector3 } from 'three';
|
|
7
|
-
import type { Image360Annotation } from './Image360Annotation';
|
|
8
|
-
import type { Image360AnnotationAppearance } from './types';
|
|
1
|
+
import { DataSourceType, Image360FileDescriptor } from '../../../data-providers';
|
|
2
|
+
import { Object3D, Raycaster, Color, Matrix4, Vector3 } from 'three';
|
|
3
|
+
import { Image360Annotation } from './Image360Annotation';
|
|
4
|
+
import { Image360AnnotationAppearance } from './types';
|
|
9
5
|
type FaceType = Image360FileDescriptor['face'];
|
|
10
6
|
export declare class ImageAnnotationObject<T extends DataSourceType> implements Image360Annotation<T> {
|
|
11
7
|
private readonly _annotation;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { ImageAnnotationObjectGeometryData } from './ImageAnnotationGeometryData';
|
|
5
|
-
import type { BufferGeometry, Vector3 } from 'three';
|
|
6
|
-
import { Matrix4, PlaneGeometry } from 'three';
|
|
7
|
-
import type { AnnotationsBoundingBox } from '@cognite/sdk';
|
|
1
|
+
import { ImageAnnotationObjectGeometryData } from './ImageAnnotationGeometryData';
|
|
2
|
+
import { BufferGeometry, Vector3, Matrix4, PlaneGeometry } from 'three';
|
|
3
|
+
import { AnnotationsBoundingBox } from '@cognite/sdk';
|
|
8
4
|
export declare class BoxAnnotationGeometryData implements ImageAnnotationObjectGeometryData {
|
|
9
5
|
private readonly _geometry;
|
|
10
6
|
private readonly _initialTranslation;
|
package/dist/packages/360-images/src/annotation/geometry/DmMesh3dAnnotationGeometryData.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Vector3 } from 'three';
|
|
5
|
-
import { BufferGeometry, Matrix4 } from 'three';
|
|
6
|
-
import type { ImageAnnotationObjectGeometryData } from './ImageAnnotationGeometryData';
|
|
1
|
+
import { Vector3, BufferGeometry, Matrix4 } from 'three';
|
|
2
|
+
import { ImageAnnotationObjectGeometryData } from './ImageAnnotationGeometryData';
|
|
7
3
|
export declare class DmMesh3dAnnotationGeometryData implements ImageAnnotationObjectGeometryData {
|
|
8
4
|
private readonly _geometry;
|
|
9
5
|
private readonly _outlinePoints;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2023 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { BufferGeometry, Matrix4, Vector3 } from 'three';
|
|
1
|
+
import { BufferGeometry, Matrix4, Vector3 } from 'three';
|
|
5
2
|
export interface ImageAnnotationObjectGeometryData {
|
|
6
3
|
getGeometry(): BufferGeometry;
|
|
7
4
|
getOutlinePoints(): Vector3[];
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { BufferGeometry, Vector3 } from 'three';
|
|
5
|
-
import { Matrix4, ShapeGeometry } from 'three';
|
|
6
|
-
import type { AnnotationsPolygon } from '@cognite/sdk';
|
|
7
|
-
import type { ImageAnnotationObjectGeometryData } from './ImageAnnotationGeometryData';
|
|
1
|
+
import { BufferGeometry, Vector3, Matrix4, ShapeGeometry } from 'three';
|
|
2
|
+
import { AnnotationsPolygon } from '@cognite/sdk';
|
|
3
|
+
import { ImageAnnotationObjectGeometryData } from './ImageAnnotationGeometryData';
|
|
8
4
|
export declare class PolygonAnnotationGeometryData implements ImageAnnotationObjectGeometryData {
|
|
9
5
|
private readonly _geometry;
|
|
10
6
|
private readonly _outlinePoints;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { DataSourceType } from '../../../data-providers';
|
|
5
|
-
import type { InstanceReference } from '../../../data-providers/src/types';
|
|
1
|
+
import { DataSourceType } from '../../../data-providers';
|
|
2
|
+
import { InstanceReference } from '../../../data-providers/src/types';
|
|
6
3
|
export declare function getClassicInstanceRef<T extends DataSourceType>(annotation: T['image360AnnotationType']): InstanceReference<T> | undefined;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { AnnotationData, AnnotationModel, AnnotationsObjectDetection, AnnotationsTypesImagesAssetLink, AnnotationsTypesImagesInstanceLink, AnnotationType } from '@cognite/sdk';
|
|
5
|
-
import type { DataSourceType, DMDataSourceType, ImageAssetLinkAnnotationInfo, ImageInstanceLinkAnnotationInfo } from '../../../data-providers';
|
|
1
|
+
import { AnnotationData, AnnotationModel, AnnotationsObjectDetection, AnnotationsTypesImagesAssetLink, AnnotationsTypesImagesInstanceLink, AnnotationType } from '@cognite/sdk';
|
|
2
|
+
import { DataSourceType, DMDataSourceType, ImageAssetLinkAnnotationInfo, ImageInstanceLinkAnnotationInfo } from '../../../data-providers';
|
|
6
3
|
export declare function isCoreDmImage360Annotation(annotation: DataSourceType['image360AnnotationType']): annotation is DMDataSourceType['image360AnnotationType'];
|
|
7
4
|
export declare function isAnnotationsObjectDetection(annotationType: AnnotationType, annotation: AnnotationData): annotation is AnnotationsObjectDetection;
|
|
8
5
|
export declare function isImageAssetLinkAnnotation(annotation: AnnotationModel): annotation is ImageAssetLinkAnnotationInfo;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { AnnotationStatus } from '@cognite/sdk';
|
|
5
|
-
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType, InstanceReference } from '../../../data-providers';
|
|
6
|
-
import type { Color } from 'three';
|
|
1
|
+
import { AnnotationStatus } from '@cognite/sdk';
|
|
2
|
+
import { ClassicDataSourceType, DataSourceType, DMDataSourceType, InstanceReference } from '../../../data-providers';
|
|
3
|
+
import { Color } from 'three';
|
|
7
4
|
/**
|
|
8
5
|
* The appearance of a 360 image annotation
|
|
9
6
|
*/
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { Image360Entity } from '../entity/Image360Entity';
|
|
5
|
-
import type { Image360RevisionEntity } from '../entity/Image360RevisionEntity';
|
|
6
|
-
import type { DataSourceType } from '../../../data-providers';
|
|
1
|
+
import { Image360Entity } from '../entity/Image360Entity';
|
|
2
|
+
import { Image360RevisionEntity } from '../entity/Image360RevisionEntity';
|
|
3
|
+
import { DataSourceType } from '../../../data-providers';
|
|
7
4
|
export type DownloadRequest<T extends DataSourceType> = {
|
|
8
5
|
entity: Image360Entity<T>;
|
|
9
6
|
revision: Image360RevisionEntity<T>;
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType, Image360FileDescriptor, Image360Provider } from '../../../data-providers';
|
|
15
|
-
import type { Image360AnnotationFilter } from '../annotation/Image360AnnotationFilter';
|
|
16
|
-
import type { Matrix4, Ray } from 'three';
|
|
17
|
-
import type { InstanceReference } from '../../../data-providers/src/types';
|
|
1
|
+
import { BeforeSceneRenderedDelegate, EventTrigger } from '../../../utilities';
|
|
2
|
+
import { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, Image360AnnotationAssetFilter, Image360AnnotationAssetQueryResult, Image360Collection } from './Image360Collection';
|
|
3
|
+
import { Image360Entity } from '../entity/Image360Entity';
|
|
4
|
+
import { Image360EnteredDelegate, Image360ExitedDelegate } from '../types';
|
|
5
|
+
import { ClusterIntersectionData, IconCollection, IconCullingScheme } from '../icons/IconCollection';
|
|
6
|
+
import { Overlay3DIcon } from '../../../3d-overlays';
|
|
7
|
+
import { Image360AnnotationAppearance } from '../annotation/types';
|
|
8
|
+
import { ClusterScreenInfo } from '../icons/clustering';
|
|
9
|
+
import { HtmlClusterCollection } from '../icons/clustering/HtmlClusterCoordinator';
|
|
10
|
+
import { ClassicDataSourceType, DataSourceType, DMDataSourceType, Image360FileDescriptor, Image360Provider } from '../../../data-providers';
|
|
11
|
+
import { Image360AnnotationFilter } from '../annotation/Image360AnnotationFilter';
|
|
12
|
+
import { Matrix4, Ray } from 'three';
|
|
13
|
+
import { InstanceReference } from '../../../data-providers/src/types';
|
|
18
14
|
/**
|
|
19
15
|
* Default implementation of {@link Image360Collection}. Used for events when entering
|
|
20
16
|
* and exiting 360 image mode
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import type { Image360Annotation } from '../annotation/Image360Annotation';
|
|
10
|
-
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType, ImageInstanceLinkAnnotationInfo } from '../../../data-providers';
|
|
11
|
-
import type { Matrix4 } from 'three';
|
|
12
|
-
import type { ImageAssetLinkAnnotationInfo } from '../../../data-providers';
|
|
1
|
+
import { Image360 } from './../entity/Image360';
|
|
2
|
+
import { Image360EnteredDelegate, Image360ExitedDelegate } from '../types';
|
|
3
|
+
import { Image360AnnotationAppearance, Image360AnnotationInstanceReference } from '../annotation/types';
|
|
4
|
+
import { Image360Revision } from '../entity/Image360Revision';
|
|
5
|
+
import { IdEither } from '@cognite/sdk';
|
|
6
|
+
import { Image360Annotation } from '../annotation/Image360Annotation';
|
|
7
|
+
import { ClassicDataSourceType, DataSourceType, DMDataSourceType, ImageInstanceLinkAnnotationInfo, ImageAssetLinkAnnotationInfo } from '../../../data-providers';
|
|
8
|
+
import { Matrix4 } from 'three';
|
|
13
9
|
/**
|
|
14
10
|
* Annotation type that may be linked to assets. Only relevant for classic annotations, where some
|
|
15
11
|
* annotation types are visible in Reveal, but not linkable to assets
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { DataSourceType } from '../../../data-providers';
|
|
5
|
-
import type { DeviceDescriptor, SceneHandler } from '../../../utilities';
|
|
1
|
+
import { DataSourceType } from '../../../data-providers';
|
|
2
|
+
import { DeviceDescriptor, SceneHandler } from '../../../utilities';
|
|
6
3
|
import { DefaultImage360Collection } from './DefaultImage360Collection';
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
4
|
+
import { IconsOptions } from '../icons/IconCollection';
|
|
5
|
+
import { Matrix4 } from 'three';
|
|
6
|
+
import { Image360AnnotationFilterOptions } from '../annotation/types';
|
|
7
|
+
import { Image360ProviderMap } from '../../../data-providers/src/Image360Provider';
|
|
11
8
|
export declare class Image360CollectionFactory {
|
|
12
9
|
private readonly _image360ProviderMap;
|
|
13
10
|
private readonly _sceneHandler;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import type { Image360Visualization } from './Image360Visualization';
|
|
7
|
-
import type { Color } from 'three';
|
|
8
|
-
import { type Matrix4 } from 'three';
|
|
9
|
-
import type { Image360Id } from '../../../data-providers/src/types';
|
|
1
|
+
import { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
2
|
+
import { Image360Revision } from './Image360Revision';
|
|
3
|
+
import { Image360Visualization } from './Image360Visualization';
|
|
4
|
+
import { Color, Matrix4 } from 'three';
|
|
5
|
+
import { Image360Id } from '../../../data-providers/src/types';
|
|
10
6
|
/**
|
|
11
7
|
* Image360 icon style
|
|
12
8
|
*/
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { DataSourceType, Image360Provider } from '../../../data-providers';
|
|
6
|
-
import type { Image360 } from './Image360';
|
|
7
|
-
import type { Historical360ImageSet, Image360RevisionId } from '../../../data-providers/src/types';
|
|
1
|
+
import { DeviceDescriptor, SceneHandler } from '../../../utilities';
|
|
2
|
+
import { DataSourceType, Image360Provider } from '../../../data-providers';
|
|
3
|
+
import { Image360 } from './Image360';
|
|
4
|
+
import { Historical360ImageSet, Image360RevisionId } from '../../../data-providers/src/types';
|
|
8
5
|
import { Image360RevisionEntity } from './Image360RevisionEntity';
|
|
9
6
|
import { Image360VisualizationBox } from './Image360VisualizationBox';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { type Raycaster } from 'three';
|
|
7
|
+
import { ImageAnnotationObject } from '../annotation/ImageAnnotationObject';
|
|
8
|
+
import { Overlay3DIcon } from '../../../3d-overlays';
|
|
9
|
+
import { Image360AnnotationFilter } from '../annotation/Image360AnnotationFilter';
|
|
10
|
+
import { Color, Matrix4, Raycaster } from 'three';
|
|
15
11
|
export declare class Image360Entity<T extends DataSourceType> implements Image360<T> {
|
|
16
12
|
private readonly _revisions;
|
|
17
13
|
private readonly _imageMetadata;
|
|
@@ -48,7 +44,7 @@ export declare class Image360Entity<T extends DataSourceType> implements Image36
|
|
|
48
44
|
* @returns Station label
|
|
49
45
|
* */
|
|
50
46
|
get label(): string | undefined;
|
|
51
|
-
constructor(image360Metadata: Historical360ImageSet<T>, sceneHandler: SceneHandler, imageProvider: Image360Provider<T>, annotationFilterer: Image360AnnotationFilter, transform: Matrix4, icon: Overlay3DIcon, device: DeviceDescriptor);
|
|
47
|
+
constructor(image360Metadata: Historical360ImageSet<T>, sceneHandler: SceneHandler, imageProvider: Image360Provider<T>, annotationFilterer: Image360AnnotationFilter, transform: Matrix4, icon: Overlay3DIcon, device: DeviceDescriptor, requestRedraw?: () => void);
|
|
52
48
|
setWorldTransform(matrix: Matrix4): void;
|
|
53
49
|
/**
|
|
54
50
|
* List all historical images for this entity.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DeviceDescriptor } from '../../../utilities';
|
|
2
|
+
import { Image360Face, Image360Texture } from '../../../data-providers';
|
|
3
|
+
import { JpegType } from '../utils/JpegDataStreamParser';
|
|
4
|
+
import { Texture, TextureLoader } from 'three';
|
|
5
|
+
export type Image360FaceWithUrl = Image360Face & {
|
|
6
|
+
downloadUrl: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function hasDownloadUrl(face: Image360Face): face is Image360FaceWithUrl;
|
|
9
|
+
export interface FaceTextureLoader {
|
|
10
|
+
load(face: Image360Face, onFirstFaceReady?: () => void, onJpegTypeDetected?: (type: JpegType) => void, abortSignal?: AbortSignal): Promise<Image360Texture>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Handles all texture loading for 360 image cube faces:
|
|
14
|
+
* - URL-based streaming (progressive and baseline JPEG detection)
|
|
15
|
+
* - In-memory buffer decoding
|
|
16
|
+
*/
|
|
17
|
+
export declare class Image360FaceTextureLoader implements FaceTextureLoader {
|
|
18
|
+
private readonly _device;
|
|
19
|
+
private readonly _textureLoader;
|
|
20
|
+
private readonly _onUpdate;
|
|
21
|
+
private readonly _updateFaceTexture;
|
|
22
|
+
private readonly _isMeshAlive;
|
|
23
|
+
private readonly MAX_MOBILE_IMAGE_SIZE;
|
|
24
|
+
constructor(_device: DeviceDescriptor, _textureLoader: TextureLoader, _onUpdate: () => void, _updateFaceTexture: (face: Image360Face['face'], texture: Texture) => void, _isMeshAlive: () => boolean);
|
|
25
|
+
/**
|
|
26
|
+
* Loads a texture for a single cube face. Automatically selects the streaming path when
|
|
27
|
+
* face has a downloadUrl (progressive/baseline JPEG detection) or decodes from in-memory buffer otherwise.
|
|
28
|
+
*/
|
|
29
|
+
load(face: Image360Face, onFirstFaceReady?: () => void, onJpegTypeDetected?: (type: JpegType) => void, abortSignal?: AbortSignal): Promise<Image360Texture>;
|
|
30
|
+
private loadFromBuffer;
|
|
31
|
+
private streamFaceTexture;
|
|
32
|
+
private finalizeTexture;
|
|
33
|
+
private applyBitmapToTexture;
|
|
34
|
+
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Image360Annotation } from '../annotation/Image360Annotation';
|
|
5
|
-
import type { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
1
|
+
import { Image360Annotation } from '../annotation/Image360Annotation';
|
|
2
|
+
import { ClassicDataSourceType, DataSourceType } from '../../../data-providers';
|
|
6
3
|
/**
|
|
7
4
|
* Interface used to manage historical revisions of {@link Image360}.
|
|
8
5
|
* One instance represents one specific image revision.
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { Image360Revision } from './Image360Revision';
|
|
6
|
-
import type { Image360VisualizationBox } from './Image360VisualizationBox';
|
|
1
|
+
import { Image360Descriptor, Image360RevisionId, DataSourceType, Image360Provider } from '../../../data-providers';
|
|
2
|
+
import { Image360Revision } from './Image360Revision';
|
|
3
|
+
import { Image360VisualizationBox } from './Image360VisualizationBox';
|
|
4
|
+
import { JpegType } from '../utils/JpegDataStreamParser';
|
|
7
5
|
import { ImageAnnotationObject } from '../annotation/ImageAnnotationObject';
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
6
|
+
import { Raycaster } from 'three';
|
|
7
|
+
import { Image360AnnotationAppearance } from '../annotation/types';
|
|
8
|
+
import { Image360AnnotationFilter } from '../annotation/Image360AnnotationFilter';
|
|
11
9
|
export declare class Image360RevisionEntity<T extends DataSourceType> implements Image360Revision<T> {
|
|
12
10
|
private readonly _imageProvider;
|
|
13
11
|
private readonly _image360Descriptor;
|
|
@@ -15,6 +13,7 @@ export declare class Image360RevisionEntity<T extends DataSourceType> implements
|
|
|
15
13
|
private _previewTextures;
|
|
16
14
|
private _fullResolutionTextures;
|
|
17
15
|
private _onFullResolutionCompleted;
|
|
16
|
+
private _jpegType;
|
|
18
17
|
private _defaultAppearance;
|
|
19
18
|
private readonly _identifier;
|
|
20
19
|
private readonly _annotationKeyToAnnotationObject;
|
|
@@ -30,6 +29,7 @@ export declare class Image360RevisionEntity<T extends DataSourceType> implements
|
|
|
30
29
|
* @returns Date | undefined
|
|
31
30
|
*/
|
|
32
31
|
get date(): Date | undefined;
|
|
32
|
+
get jpegType(): JpegType | undefined;
|
|
33
33
|
getAnnotations(): Promise<ImageAnnotationObject<T>[]>;
|
|
34
34
|
intersectAnnotations(raycaster: Raycaster): ImageAnnotationObject<T> | undefined;
|
|
35
35
|
/**
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
+
import { DeviceDescriptor, SceneHandler } from '../../../utilities';
|
|
2
|
+
import { DataSourceType, Image360Face, Image360Texture } from '../../../data-providers';
|
|
3
|
+
import { Image360Visualization } from './Image360Visualization';
|
|
4
|
+
import { ImageAnnotationObject } from '../annotation/ImageAnnotationObject';
|
|
5
|
+
import { JpegType } from '../utils/JpegDataStreamParser';
|
|
6
|
+
import { FaceTextureLoader } from './Image360FaceTextureLoader';
|
|
1
7
|
/*!
|
|
2
8
|
* Copyright 2022 Cognite AS
|
|
3
9
|
*/
|
|
4
10
|
import * as THREE from 'three';
|
|
5
|
-
import type { DeviceDescriptor, SceneHandler } from '../../../utilities';
|
|
6
|
-
import type { DataSourceType, Image360Face, Image360Texture } from '../../../data-providers';
|
|
7
|
-
import type { Image360Visualization } from './Image360Visualization';
|
|
8
|
-
import type { ImageAnnotationObject } from '../annotation/ImageAnnotationObject';
|
|
9
11
|
export declare const DEFAULT_IMAGE_360_OPACITY = 1;
|
|
10
12
|
export declare class Image360VisualizationBox implements Image360Visualization {
|
|
11
|
-
private readonly
|
|
13
|
+
private readonly _requestRedraw;
|
|
12
14
|
private readonly _worldTransform;
|
|
13
15
|
private _visualizationMesh;
|
|
14
16
|
private _faceMaterials;
|
|
15
17
|
private readonly _sceneHandler;
|
|
16
|
-
private readonly _device;
|
|
17
18
|
private readonly _visualizationState;
|
|
18
19
|
private readonly _textureLoader;
|
|
19
20
|
private readonly _faceMaterialOrder;
|
|
20
21
|
private readonly _annotationsGroup;
|
|
21
22
|
private readonly _localTransform;
|
|
23
|
+
private readonly _loader;
|
|
22
24
|
get visible(): boolean;
|
|
23
25
|
set visible(value: boolean);
|
|
24
26
|
get opacity(): number;
|
|
@@ -26,12 +28,14 @@ export declare class Image360VisualizationBox implements Image360Visualization {
|
|
|
26
28
|
set scale(value: THREE.Vector3);
|
|
27
29
|
set renderOrder(value: number);
|
|
28
30
|
setAnnotations(annotations: ImageAnnotationObject<DataSourceType>[]): void;
|
|
29
|
-
constructor(worldTransform: THREE.Matrix4, sceneHandler: SceneHandler, device: DeviceDescriptor);
|
|
31
|
+
constructor(worldTransform: THREE.Matrix4, sceneHandler: SceneHandler, device: DeviceDescriptor, _requestRedraw?: () => void, faceTextureLoader?: FaceTextureLoader);
|
|
30
32
|
setWorldTransform(matrix: THREE.Matrix4): void;
|
|
31
|
-
|
|
33
|
+
setImages(textures: Image360Texture[]): void;
|
|
34
|
+
private buildVisualizationMesh;
|
|
32
35
|
getTransform(): THREE.Matrix4;
|
|
33
|
-
loadFaceTextures(faces: Image360Face[]): Promise<Image360Texture[]>;
|
|
36
|
+
loadFaceTextures(faces: Image360Face[], onFirstFaceReady?: () => void, onFirstFaceTypeDetected?: (type: JpegType) => void, abortSignal?: AbortSignal): Promise<Image360Texture[]>;
|
|
37
|
+
private createPlaceholderMesh;
|
|
38
|
+
updateFaceTexture(face: Image360Face['face'], texture: THREE.Texture): void;
|
|
34
39
|
unloadImages(): void;
|
|
35
|
-
private getScaledImageTexture;
|
|
36
40
|
setAnnotationsVisibility(visibility: boolean): void;
|
|
37
41
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { Texture } from 'three';
|
|
5
|
-
import { CanvasTexture, Matrix4, Vector3 } from 'three';
|
|
6
|
-
import type { SceneHandler } from '../../../utilities';
|
|
7
|
-
import type { Overlay3DIcon } from '../../../3d-overlays';
|
|
1
|
+
import { Texture, CanvasTexture, Matrix4, Vector3 } from 'three';
|
|
2
|
+
import { SceneHandler } from '../../../utilities';
|
|
3
|
+
import { Overlay3DIcon } from '../../../3d-overlays';
|
|
8
4
|
/**
|
|
9
5
|
* Manages two floor disc meshes (same level, elevated) and the floor hover mesh.
|
|
10
6
|
* Encapsulates all per-frame instance placement and elevation routing.
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import type { DefaultOverlay3DContentType } from '../../../3d-overlays';
|
|
8
|
-
import { IconOctree, Overlay3DIcon } from '../../../3d-overlays';
|
|
9
|
-
import type { PointOctant } from 'sparse-octree';
|
|
10
|
-
import type { ClusterScreenInfo } from './clustering';
|
|
11
|
-
import type { HtmlClusterRendererOptions } from '../types';
|
|
1
|
+
import { Ray, Matrix4, Vector3 } from 'three';
|
|
2
|
+
import { BeforeSceneRenderedDelegate, SceneHandler } from '../../../utilities';
|
|
3
|
+
import { DefaultOverlay3DContentType, IconOctree, Overlay3DIcon } from '../../../3d-overlays';
|
|
4
|
+
import { PointOctant } from 'sparse-octree';
|
|
5
|
+
import { ClusterScreenInfo } from './clustering';
|
|
6
|
+
import { HtmlClusterRendererOptions } from '../types';
|
|
12
7
|
export type IconCullingScheme = 'clustered' | 'proximity';
|
|
13
8
|
export type IconsOptions = {
|
|
14
9
|
platformMaxPointsSize?: number;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Matrix4, PerspectiveCamera, Vector3, WebGLRenderer } from 'three';
|
|
5
|
-
import type { Overlay3DIcon } from '../../../../3d-overlays';
|
|
1
|
+
import { Matrix4, PerspectiveCamera, Vector3, WebGLRenderer } from 'three';
|
|
2
|
+
import { Overlay3DIcon } from '../../../../3d-overlays';
|
|
6
3
|
export type ClusteredIconData = {
|
|
7
4
|
icon: Overlay3DIcon;
|
|
8
5
|
isCluster: boolean;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Overlay3DIcon } from '../../../../3d-overlays';
|
|
5
|
-
import type { ClusterScreenInfo } from './ClusterRenderingStrategy';
|
|
1
|
+
import { Overlay3DIcon } from '../../../../3d-overlays';
|
|
2
|
+
import { ClusterScreenInfo } from './ClusterRenderingStrategy';
|
|
6
3
|
export interface HtmlClusterCollection {
|
|
7
4
|
getStagedHtmlClusterScreenInfos(): ClusterScreenInfo[];
|
|
8
5
|
applyHtmlClusterOcclusion(occludedIcons: Set<Overlay3DIcon>): void;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { Overlay3DIcon } from '../../../../3d-overlays';
|
|
5
|
-
import type { ClusteredIconData, ClusterRenderParams, ClusterScreenInfo } from './ClusterRenderingStrategy';
|
|
6
|
-
import type { HtmlClusterRendererOptions } from '../../types';
|
|
1
|
+
import { Overlay3DIcon } from '../../../../3d-overlays';
|
|
2
|
+
import { ClusteredIconData, ClusterRenderParams, ClusterScreenInfo } from './ClusterRenderingStrategy';
|
|
3
|
+
import { HtmlClusterRendererOptions } from '../../types';
|
|
7
4
|
/** HTML-based cluster rendering for high-definition text display */
|
|
8
5
|
export declare class HtmlClusterRenderer {
|
|
9
6
|
private readonly _container;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import type { ClassicDataSourceType, DataSourceType } from '../../data-providers';
|
|
8
|
-
import type { Image360Entity } from './entity/Image360Entity';
|
|
9
|
-
import type { DefaultImage360Collection } from './collection/DefaultImage360Collection';
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { Image360 } from './entity/Image360';
|
|
3
|
+
import { Image360Revision } from './entity/Image360Revision';
|
|
4
|
+
import { ClassicDataSourceType, DataSourceType } from '../../data-providers';
|
|
5
|
+
import { Image360Entity } from './entity/Image360Entity';
|
|
6
|
+
import { DefaultImage360Collection } from './collection/DefaultImage360Collection';
|
|
10
7
|
/**
|
|
11
8
|
* The SourceType of a 360 image collection
|
|
12
9
|
*/
|