@cognite/reveal 4.32.2 → 4.33.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/README.md +1 -1
- package/dist/api-entry-points/core.d.ts +17 -9
- package/dist/api-entry-points/datasource.d.ts +4 -3
- package/dist/index.js +227 -255
- package/dist/index.js.map +1 -1
- package/dist/packages/360-images/index.d.ts +14 -12
- package/dist/packages/360-images/src/Image360Facade.d.ts +10 -9
- package/dist/packages/360-images/src/Image360History.d.ts +2 -2
- package/dist/packages/360-images/src/annotation/Image360Annotation.d.ts +2 -2
- package/dist/packages/360-images/src/annotation/Image360AnnotationFilter.d.ts +2 -2
- package/dist/packages/360-images/src/annotation/Image360AnnotationIntersection.d.ts +3 -3
- package/dist/packages/360-images/src/annotation/ImageAnnotationObject.d.ts +5 -4
- package/dist/packages/360-images/src/annotation/geometry/BoxAnnotationGeometryData.d.ts +4 -3
- package/dist/packages/360-images/src/annotation/geometry/DmMesh3dAnnotationGeometryData.d.ts +3 -2
- package/dist/packages/360-images/src/annotation/geometry/ImageAnnotationGeometryData.d.ts +1 -1
- package/dist/packages/360-images/src/annotation/geometry/PolygonAnnotationGeometryData.d.ts +4 -3
- package/dist/packages/360-images/src/annotation/geometry/utils.d.ts +2 -1
- package/dist/packages/360-images/src/annotation/getInstanceId.d.ts +2 -2
- package/dist/packages/360-images/src/annotation/typeGuards.d.ts +2 -2
- package/dist/packages/360-images/src/annotation/types.d.ts +3 -3
- package/dist/packages/360-images/src/cache/Image360LoadingCache.d.ts +3 -3
- package/dist/packages/360-images/src/collection/DefaultImage360Collection.d.ts +17 -11
- package/dist/packages/360-images/src/collection/Image360Collection.d.ts +9 -9
- package/dist/packages/360-images/src/collection/Image360CollectionFactory.d.ts +6 -7
- package/dist/packages/360-images/src/collection/createCollectionIdString.d.ts +1 -1
- package/dist/packages/360-images/src/entity/Image360.d.ts +6 -5
- package/dist/packages/360-images/src/entity/Image360Entity.d.ts +9 -8
- package/dist/packages/360-images/src/entity/Image360Revision.d.ts +2 -2
- package/dist/packages/360-images/src/entity/Image360RevisionEntity.d.ts +9 -9
- package/dist/packages/360-images/src/entity/Image360VisualizationBox.d.ts +4 -4
- package/dist/packages/360-images/src/icons/FlooredIconManager.d.ts +6 -3
- package/dist/packages/360-images/src/icons/IconCollection.d.ts +15 -10
- package/dist/packages/360-images/src/icons/clustering/ClusterRenderingStrategy.d.ts +9 -2
- package/dist/packages/360-images/src/icons/clustering/HtmlClusterCoordinator.d.ts +19 -0
- package/dist/packages/360-images/src/icons/clustering/HtmlClusterRenderer.d.ts +15 -12
- package/dist/packages/360-images/src/icons/clustering/index.d.ts +4 -2
- package/dist/packages/360-images/src/types.d.ts +19 -6
- package/dist/packages/3d-overlays/index.d.ts +6 -4
- package/dist/packages/3d-overlays/src/CameraChangeThrottler.d.ts +1 -1
- package/dist/packages/3d-overlays/src/IconOctree.d.ts +6 -4
- package/dist/packages/3d-overlays/src/Overlay3D.d.ts +1 -1
- package/dist/packages/3d-overlays/src/Overlay3DCollection.d.ts +4 -3
- package/dist/packages/3d-overlays/src/Overlay3DIcon.d.ts +4 -3
- package/dist/packages/3d-overlays/src/OverlayCollection.d.ts +1 -1
- package/dist/packages/3d-overlays/src/OverlayPointsObject.d.ts +2 -1
- package/dist/packages/api/index.d.ts +1 -1
- package/dist/packages/api/src/api-helpers/Image360ApiHelper.d.ts +9 -9
- package/dist/packages/api/src/public/RevealManager.d.ts +11 -11
- package/dist/packages/api/src/public/RevealOptions.d.ts +3 -3
- package/dist/packages/api/src/public/createRevealManager.d.ts +5 -5
- package/dist/packages/api/src/public/migration/Cognite3DViewer.d.ts +13 -11
- package/dist/packages/api/src/public/migration/renderOptionsHelpers.d.ts +5 -4
- package/dist/packages/api/src/public/migration/types.d.ts +47 -14
- package/dist/packages/api/src/public/types.d.ts +4 -4
- package/dist/packages/api/src/storage/RevealManagerHelper.d.ts +10 -10
- package/dist/packages/api/src/utilities/Spinner.d.ts +1 -1
- package/dist/packages/api/src/utilities/ViewStateHelper.d.ts +4 -4
- package/dist/packages/api/src/utilities/utils.d.ts +4 -4
- package/dist/packages/cad-geometry-loaders/index.d.ts +4 -3
- package/dist/packages/cad-geometry-loaders/src/CadManager.d.ts +9 -8
- package/dist/packages/cad-geometry-loaders/src/CadModelUpdateHandler.d.ts +8 -8
- package/dist/packages/cad-geometry-loaders/src/InternalRevealCadOptions.d.ts +1 -1
- package/dist/packages/cad-geometry-loaders/src/createCadManager.d.ts +3 -3
- package/dist/packages/cad-geometry-loaders/src/sector/SectorDownloadScheduler.d.ts +1 -1
- package/dist/packages/cad-geometry-loaders/src/sector/SectorLoader.d.ts +4 -4
- package/dist/packages/cad-geometry-loaders/src/sector/culling/ByScreenSizeSectorCuller.d.ts +3 -3
- package/dist/packages/cad-geometry-loaders/src/sector/culling/SectorCuller.d.ts +2 -2
- 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 +3 -2
- package/dist/packages/cad-geometry-loaders/src/sector/culling/takensectors/TakenSectorMapBase.d.ts +2 -2
- package/dist/packages/cad-geometry-loaders/src/sector/culling/takensectors/TakenV9SectorMap.d.ts +3 -3
- package/dist/packages/cad-geometry-loaders/src/sector/culling/types.d.ts +6 -6
- package/dist/packages/cad-geometry-loaders/src/sector/rxSectorUtilities.d.ts +2 -2
- package/dist/packages/cad-model/index.d.ts +1 -1
- package/dist/packages/cad-model/src/CadModelFactory.d.ts +5 -4
- package/dist/packages/cad-model/src/batching/DrawCallBatchingManager.d.ts +1 -1
- 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/utilities/CustomSectorBounds.d.ts +1 -1
- package/dist/packages/cad-model/src/utilities/GeometryBufferUtils.d.ts +1 -1
- package/dist/packages/cad-model/src/utilities/TreeIndexToSectorsMap.d.ts +1 -1
- package/dist/packages/cad-model/src/utilities/getShaderMaterial.d.ts +2 -2
- package/dist/packages/cad-model/src/wrappers/CadMeshManager.d.ts +5 -5
- package/dist/packages/cad-model/src/wrappers/CadNode.d.ts +11 -7
- package/dist/packages/cad-model/src/wrappers/CogniteCadModel.d.ts +6 -5
- package/dist/packages/cad-parsers/index.d.ts +4 -4
- package/dist/packages/cad-parsers/src/cad/types.d.ts +5 -5
- package/dist/packages/cad-parsers/src/metadata/CadMetadataParser.d.ts +1 -1
- package/dist/packages/cad-parsers/src/metadata/CadModelClipper.d.ts +1 -1
- package/dist/packages/cad-parsers/src/metadata/CadModelMetadata.d.ts +4 -4
- package/dist/packages/cad-parsers/src/metadata/CadModelMetadataRepository.d.ts +4 -3
- package/dist/packages/cad-parsers/src/metadata/parsers/CadMetadataParserGltf.d.ts +2 -2
- package/dist/packages/cad-parsers/src/metadata/types.d.ts +1 -1
- package/dist/packages/cad-parsers/src/sector/RootSectorNode.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 +2 -2
- package/dist/packages/cad-styling/index.d.ts +10 -7
- package/dist/packages/cad-styling/src/AssetNodeCollection.d.ts +4 -4
- package/dist/packages/cad-styling/src/CdfModelNodeCollectionDataProvider.d.ts +1 -1
- package/dist/packages/cad-styling/src/CdfNodeCollectionBase.d.ts +3 -3
- package/dist/packages/cad-styling/src/CombineNodeCollectionBase.d.ts +3 -3
- package/dist/packages/cad-styling/src/IntersectionNodeCollection.d.ts +3 -3
- package/dist/packages/cad-styling/src/InvertedNodeCollection.d.ts +3 -3
- package/dist/packages/cad-styling/src/NodeAppearanceProvider.d.ts +4 -4
- package/dist/packages/cad-styling/src/NodeCollection.d.ts +3 -3
- package/dist/packages/cad-styling/src/NodeCollectionDeserializer.d.ts +4 -4
- package/dist/packages/cad-styling/src/NodeIdNodeCollection.d.ts +4 -4
- package/dist/packages/cad-styling/src/PopulateIndexSetFromPagedResponseHelper.d.ts +5 -4
- package/dist/packages/cad-styling/src/PropertyFilterNodeCollection.d.ts +3 -3
- package/dist/packages/cad-styling/src/SinglePropertyFilterNodeCollection.d.ts +4 -4
- package/dist/packages/cad-styling/src/TreeIndexNodeCollection.d.ts +2 -2
- package/dist/packages/cad-styling/src/UnionNodeCollection.d.ts +3 -3
- package/dist/packages/cad-styling/src/nodeAppearanceSerialization.d.ts +1 -1
- package/dist/packages/cad-styling/src/prioritized/ClusteredAreaCollection.d.ts +1 -1
- package/dist/packages/cad-styling/src/prioritized/EmptyAreaCollection.d.ts +1 -1
- package/dist/packages/cad-styling/src/transform/NodeTransformProvider.d.ts +1 -1
- package/dist/packages/cad-styling/src/transform/NodeTransformTextureBuilder.d.ts +1 -1
- package/dist/packages/camera-manager/index.d.ts +8 -6
- package/dist/packages/camera-manager/src/CameraManager.d.ts +2 -2
- package/dist/packages/camera-manager/src/CameraManagerHelper.d.ts +2 -1
- package/dist/packages/camera-manager/src/ComboControls.d.ts +1 -1
- package/dist/packages/camera-manager/src/DefaultCameraManager.d.ts +4 -4
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraEventTarget.d.ts +3 -3
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraManager.d.ts +6 -5
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraMarkers.d.ts +2 -2
- package/dist/packages/camera-manager/src/Flexible/FlexibleControls.d.ts +4 -3
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsRotationHelper.d.ts +1 -1
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsTranslator.d.ts +2 -2
- package/dist/packages/camera-manager/src/Flexible/GetPickedPointByPixelCoordinates.d.ts +1 -1
- package/dist/packages/camera-manager/src/Flexible/IFlexibleCameraManager.d.ts +4 -4
- package/dist/packages/camera-manager/src/Flexible/moveCamera.d.ts +1 -1
- package/dist/packages/camera-manager/src/ProxyCameraManager.d.ts +3 -3
- package/dist/packages/camera-manager/src/StationaryCameraManager.d.ts +4 -3
- package/dist/packages/camera-manager/src/utils/DebouncedCameraStopEventTrigger.d.ts +2 -2
- package/dist/packages/data-providers/index.d.ts +19 -12
- package/dist/packages/data-providers/src/DataModelsSdk.d.ts +2 -2
- package/dist/packages/data-providers/src/DataSourceType.d.ts +5 -5
- package/dist/packages/data-providers/src/Image360Provider.d.ts +3 -3
- package/dist/packages/data-providers/src/Image360ProviderCombiner.d.ts +5 -5
- package/dist/packages/data-providers/src/ModelDataProvider.d.ts +1 -1
- package/dist/packages/data-providers/src/ModelIdentifier.d.ts +2 -2
- package/dist/packages/data-providers/src/ModelMetadataProvider.d.ts +3 -3
- package/dist/packages/data-providers/src/PointCloudStylableObjectProvider.d.ts +2 -2
- package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageAnnotationCache.d.ts +12 -0
- package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageAnnotationProvider.d.ts +12 -12
- 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 +2 -2
- package/dist/packages/data-providers/src/image-360-data-providers/CoreDm360ImageAnnotationProvider.d.ts +4 -4
- 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 +2 -0
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/fetchAnnotationsForInstance.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/fetchCoreDm360AnnotationsForCollection.d.ts +4 -4
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/fetchCoreDm360AnnotationsForRevision.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/getImage360Map.d.ts +4 -4
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/getObject3dAssetMap.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/readAnnotations.d.ts +3 -3
- 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 -2
- package/dist/packages/data-providers/src/image-360-data-providers/cdm/types.d.ts +4 -4
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/cdm/Cdf360CdmBatchCollectionLoader.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/cdm/Cdf360CdmDescriptorProvider.d.ts +4 -4
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/cdm/get360CdmCollectionsQuery.d.ts +1 -1
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/datamodels/system-space/Cdf360DataModelsDescriptorProvider.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/events/Cdf360BatchEventCollectionLoader.d.ts +2 -2
- package/dist/packages/data-providers/src/image-360-data-providers/descriptor-providers/events/Cdf360EventDescriptorProvider.d.ts +3 -3
- package/dist/packages/data-providers/src/image-360-data-providers/shared.d.ts +4 -4
- package/dist/packages/data-providers/src/metadata-providers/CdfModelMetadataProvider.d.ts +5 -4
- package/dist/packages/data-providers/src/metadata-providers/LocalModelMetadataProvider.d.ts +4 -3
- package/dist/packages/data-providers/src/model-data-providers/CachedModelDataProvider.d.ts +3 -2
- package/dist/packages/data-providers/src/model-data-providers/CdfModelDataProvider.d.ts +2 -2
- package/dist/packages/data-providers/src/model-data-providers/LocalModelDataProvider.d.ts +1 -1
- package/dist/packages/data-providers/src/model-identifiers/CdfModelIdentifier.d.ts +2 -2
- package/dist/packages/data-providers/src/model-identifiers/DMModelIdentifier.d.ts +1 -1
- package/dist/packages/data-providers/src/model-identifiers/LocalModelIdentifier.d.ts +1 -1
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/CdfPointCloudStylableObjectProvider.d.ts +4 -4
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/DummyPointCloudStylableObjectProvider.d.ts +3 -3
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/StylableObject.d.ts +1 -1
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.d.ts +2 -2
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/CdfPointCloudDMStylableObjectProvider.d.ts +4 -4
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/DummyPointCloudDMStylableObjectProvider.d.ts +3 -3
- 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 +1 -1
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/types.d.ts +1 -1
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/utils.d.ts +2 -2
- package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/types.d.ts +5 -5
- package/dist/packages/data-providers/src/requests/fetchDMModelIdFromRevisionId.d.ts +1 -1
- package/dist/packages/data-providers/src/types.d.ts +9 -9
- package/dist/packages/data-providers/src/utilities/applyDefaultModelTransformation.d.ts +1 -1
- package/dist/packages/data-providers/src/utilities/getExternalIdFromDescriptor.d.ts +1 -1
- package/dist/packages/data-providers/src/utilities/instanceIds.d.ts +2 -2
- package/dist/packages/data-providers/src/utilities/internalAddModelOptions.d.ts +3 -3
- package/dist/packages/data-providers/src/utilities/utils.d.ts +3 -3
- package/dist/packages/data-source/index.d.ts +1 -1
- package/dist/packages/data-source/src/CdfDataSource.d.ts +4 -4
- package/dist/packages/data-source/src/DataSource.d.ts +2 -2
- package/dist/packages/data-source/src/LocalDataSource.d.ts +3 -3
- package/dist/packages/metrics/src/Fingerprint/generateAudioFingerprint.d.ts +1 -1
- package/dist/packages/metrics/src/Fingerprint/generateCanvasFingerprint.d.ts +1 -1
- package/dist/packages/metrics/src/Fingerprint/getUserFingerprint.d.ts +1 -1
- package/dist/packages/metrics/src/MetricsLogger.d.ts +1 -1
- package/dist/packages/model-base/index.d.ts +3 -3
- package/dist/packages/model-base/src/MetadataRepository.d.ts +1 -1
- package/dist/packages/model-base/src/types.d.ts +1 -1
- package/dist/packages/nodes-api/index.d.ts +1 -1
- package/dist/packages/nodes-api/src/NodesApiClient.d.ts +2 -2
- package/dist/packages/nodes-api/src/NodesCdfClient.d.ts +3 -3
- package/dist/packages/nodes-api/src/NodesLocalClient.d.ts +3 -3
- package/dist/packages/nodes-api/src/types.d.ts +1 -1
- package/dist/packages/pointcloud-styling/index.d.ts +2 -1
- package/dist/packages/pointcloud-styling/src/PointCloudDMVolumeCollection.d.ts +1 -1
- package/dist/packages/pointcloud-styling/src/StyledPointCloudVolumeCollection.d.ts +2 -2
- package/dist/packages/pointcloud-styling/src/utils.d.ts +2 -2
- package/dist/packages/pointclouds/index.d.ts +3 -3
- package/dist/packages/pointclouds/src/ClassificationHandler.d.ts +2 -2
- package/dist/packages/pointclouds/src/CognitePointCloudModel.d.ts +7 -6
- package/dist/packages/pointclouds/src/PointCloudFactory.d.ts +6 -6
- package/dist/packages/pointclouds/src/PointCloudIntersection.d.ts +3 -3
- package/dist/packages/pointclouds/src/PointCloudLoadingStateHandler.d.ts +4 -4
- package/dist/packages/pointclouds/src/PointCloudManager.d.ts +9 -9
- package/dist/packages/pointclouds/src/PointCloudMetadata.d.ts +3 -3
- package/dist/packages/pointclouds/src/PointCloudMetadataRepository.d.ts +3 -3
- package/dist/packages/pointclouds/src/PointCloudNode.d.ts +10 -8
- package/dist/packages/pointclouds/src/PointCloudPickingHandler.d.ts +4 -4
- package/dist/packages/pointclouds/src/classificationsProviders/IPointClassificationsProvider.d.ts +2 -2
- package/dist/packages/pointclouds/src/classificationsProviders/LocalPointClassificationsProvider.d.ts +3 -3
- package/dist/packages/pointclouds/src/classificationsProviders/UrlPointClassificationsProvider.d.ts +4 -4
- package/dist/packages/pointclouds/src/createPointCloudManager.d.ts +4 -4
- package/dist/packages/pointclouds/src/decomposeStylableObjects.d.ts +1 -1
- 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 +2 -2
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/IPointCloudTreeGeometryNode.d.ts +2 -2
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometry.d.ts +4 -4
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometryNode.d.ts +6 -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 +3 -3
- package/dist/packages/pointclouds/src/potree-three-loader/tree/IPointCloudTreeNodeBase.d.ts +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctree.d.ts +10 -9
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctreeNode.d.ts +5 -4
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctreePicker.d.ts +5 -5
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointCloudOctreePickerHelper.d.ts +5 -4
- 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 +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/utils/bounds.d.ts +2 -1
- package/dist/packages/pointclouds/src/potree-three-loader/utils/createObjectIdMaps.d.ts +2 -2
- 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 +1 -1
- package/dist/packages/pointclouds/src/potree-three-loader/workers/eptBinaryDecoder.worker.d.ts +3 -3
- 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 -1
- package/dist/packages/pointclouds/src/typeGuards.d.ts +2 -2
- package/dist/packages/pointclouds/src/types.d.ts +3 -3
- package/dist/packages/pointclouds/wasm/index.d.ts +1 -1
- package/dist/packages/rendering/index.d.ts +11 -8
- package/dist/packages/rendering/src/CadMaterialManager.d.ts +4 -3
- package/dist/packages/rendering/src/PointCloudMaterialManager.d.ts +3 -3
- package/dist/packages/rendering/src/RenderPass.d.ts +1 -1
- package/dist/packages/rendering/src/RenderPipelineExecutor.d.ts +2 -2
- package/dist/packages/rendering/src/RenderPipelineProvider.d.ts +1 -1
- package/dist/packages/rendering/src/ResizeHandler.d.ts +2 -2
- package/dist/packages/rendering/src/pipeline-executors/BasicPipelineExecutor.d.ts +3 -3
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudMaterial.d.ts +5 -4
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectAppearanceTexture.d.ts +3 -3
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectIdMaps.d.ts +1 -1
- package/dist/packages/rendering/src/pointcloud-rendering/classification.d.ts +1 -1
- package/dist/packages/rendering/src/pointcloud-rendering/gradients/SpectralGradient.d.ts +1 -1
- package/dist/packages/rendering/src/pointcloud-rendering/texture-generation.d.ts +3 -2
- package/dist/packages/rendering/src/pointcloud-rendering/types.d.ts +2 -1
- package/dist/packages/rendering/src/render-passes/GeometryPass.d.ts +3 -3
- package/dist/packages/rendering/src/render-passes/PointCloudEffectsPass.d.ts +4 -4
- package/dist/packages/rendering/src/render-passes/PostProcessingPass.d.ts +4 -4
- package/dist/packages/rendering/src/render-passes/SSAOPass.d.ts +2 -2
- package/dist/packages/rendering/src/render-passes/types.d.ts +2 -2
- 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 -6
- 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 -1
- package/dist/packages/rendering/src/render-pipeline-providers/types.d.ts +2 -2
- package/dist/packages/rendering/src/utilities/renderUtilities.d.ts +4 -4
- package/dist/packages/rendering/src/utilities/types.d.ts +1 -1
- package/dist/packages/sector-loader/index.d.ts +1 -1
- package/dist/packages/sector-loader/src/GltfSectorLoader.d.ts +2 -2
- package/dist/packages/sector-loader/src/GltfSectorRepository.d.ts +3 -3
- package/dist/packages/sector-loader/src/SectorRepository.d.ts +2 -2
- package/dist/packages/sector-parser/index.d.ts +2 -1
- package/dist/packages/sector-parser/src/GltfSectorParser.d.ts +1 -1
- package/dist/packages/sector-parser/src/constants.d.ts +1 -1
- package/dist/packages/sector-parser/src/reveal-glb-parser/GlbMetadataParser.d.ts +1 -1
- package/dist/packages/tools/index.d.ts +8 -6
- 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 -2
- package/dist/packages/tools/src/DebugCameraTool.d.ts +2 -2
- package/dist/packages/tools/src/HtmlOverlay/BucketGrid2D.d.ts +1 -1
- package/dist/packages/tools/src/HtmlOverlay/HtmlOverlayTool.d.ts +33 -4
- package/dist/packages/tools/src/Measurement/MeasurementManager.d.ts +2 -2
- package/dist/packages/tools/src/Measurement/MeasurementTool.d.ts +4 -4
- package/dist/packages/tools/src/Overlay3D/Overlay3DTool.d.ts +3 -3
- package/dist/packages/tools/src/Timeline/Keyframe.d.ts +2 -2
- package/dist/packages/tools/src/Timeline/TimelineTool.d.ts +2 -2
- package/dist/packages/tools/src/Timeline/types.d.ts +1 -1
- package/dist/packages/tools/src/utilities/moveCameraTo.d.ts +1 -1
- package/dist/packages/utilities/index.d.ts +11 -8
- package/dist/packages/utilities/src/SceneHandler.d.ts +1 -1
- package/dist/packages/utilities/src/assetMappings/index.d.ts +1 -1
- package/dist/packages/utilities/src/assetMappings/isCdfAssetMapping.d.ts +2 -2
- package/dist/packages/utilities/src/assetMappings/types.d.ts +1 -1
- package/dist/packages/utilities/src/cache/DataFileCacheManager.d.ts +5 -3
- package/dist/packages/utilities/src/cache/MemoryRequestCache.d.ts +1 -1
- package/dist/packages/utilities/src/customObject/CustomObject.d.ts +5 -4
- package/dist/packages/utilities/src/customObject/CustomObjectIntersectInput.d.ts +2 -1
- package/dist/packages/utilities/src/customObject/CustomObjectIntersection.d.ts +2 -2
- package/dist/packages/utilities/src/customObject/ICustomObject.d.ts +3 -3
- package/dist/packages/utilities/src/datastructures/DynamicDefragmentedBuffer.d.ts +1 -1
- 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 -1
- package/dist/packages/utilities/src/fdm/index.d.ts +3 -2
- package/dist/packages/utilities/src/fdm/toKey.d.ts +1 -1
- package/dist/packages/utilities/src/fdm/typeGuards.d.ts +1 -1
- package/dist/packages/utilities/src/indexset/IndexSet.d.ts +1 -1
- package/dist/packages/utilities/src/indexset/IntermediateIndexNode.d.ts +1 -1
- package/dist/packages/utilities/src/indexset/LeafIndexNode.d.ts +1 -1
- package/dist/packages/utilities/src/projectedBounds.d.ts +2 -1
- package/dist/packages/utilities/src/shapes/Box.d.ts +4 -3
- package/dist/packages/utilities/src/shapes/CompositeShape.d.ts +2 -2
- package/dist/packages/utilities/src/shapes/Cylinder.d.ts +2 -2
- package/dist/packages/utilities/src/shapes/IShape.d.ts +2 -2
- package/dist/packages/utilities/src/shapes/SerializableBox.d.ts +2 -2
- package/dist/packages/utilities/src/shapes/SerializableCompositeShape.d.ts +1 -1
- package/dist/packages/utilities/src/shapes/SerializableCylinder.d.ts +2 -2
- package/dist/packages/utilities/src/shapes/index.d.ts +6 -5
- package/dist/packages/utilities/src/three/AttributeDataAccessor.d.ts +2 -2
- package/dist/packages/utilities/src/three/VariableWidthLine.d.ts +1 -1
- package/dist/packages/utilities/src/three/fromThreeVector3.d.ts +1 -1
- package/dist/packages/utilities/src/three/isBox3OnPositiveSideOfPlane.d.ts +1 -1
- package/dist/packages/utilities/src/three/isPointVisibleByPlanes.d.ts +1 -1
- package/dist/packages/utilities/src/three/lines/LineGeometry.d.ts +1 -1
- package/dist/packages/utilities/src/three/lines/LineSegments2.d.ts +2 -1
- package/dist/packages/utilities/src/three/lines/LineSegmentsGeometry.d.ts +2 -1
- package/dist/packages/utilities/src/three/toThreeBox3.d.ts +1 -1
- package/dist/packages/utilities/src/transformCameraConfiguration.d.ts +2 -2
- package/package.json +26 -35
package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageAnnotationCache.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Cognite AS
|
|
3
|
+
*/
|
|
4
|
+
import type { AnnotationModel, CogniteClient, FileInfo, IdEither, InternalId } from '@cognite/sdk';
|
|
5
|
+
import type { InstanceReference } from '../types';
|
|
6
|
+
import type { DataSourceType } from '../DataSourceType';
|
|
7
|
+
export interface Cdf360ImageAnnotationCache {
|
|
8
|
+
reverseLookup(assetId: InstanceReference<DataSourceType>): Promise<AnnotationModel[]>;
|
|
9
|
+
getAnnotationsForFiles(fileIds: InternalId[]): Promise<AnnotationModel[]>;
|
|
10
|
+
getFileInfosForFileIds(fileIds: IdEither[]): Promise<FileInfo[]>;
|
|
11
|
+
}
|
|
12
|
+
export declare function createCdf360ImageAnnotationCache(client: CogniteClient): Cdf360ImageAnnotationCache;
|
package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageAnnotationProvider.d.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2022 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { AnnotationModel
|
|
5
|
-
import { Image360AnnotationFilterDelegate, Image360AnnotationProvider, Image360AnnotationSpecifier, Image360FileDescriptor, InstanceReference } from '../types';
|
|
6
|
-
import { ClassicDataSourceType, DataSourceType, DMDataSourceType } from '../DataSourceType';
|
|
7
|
-
import { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult } from '../../../360-images';
|
|
4
|
+
import type { AnnotationModel } from '@cognite/sdk';
|
|
5
|
+
import type { FaceName, Image360AnnotationFilterDelegate, Image360AnnotationProvider, Image360AnnotationSpecifier, Image360FileDescriptor, InstanceReference } from '../types';
|
|
6
|
+
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType } from '../DataSourceType';
|
|
7
|
+
import type { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult, Image360Entity, Image360RevisionEntity } from '../../../360-images';
|
|
8
|
+
import type { Cdf360ImageAnnotationCache } from './Cdf360ImageAnnotationCache';
|
|
9
|
+
export type RevisionFaceRelation = {
|
|
10
|
+
entity: Image360Entity<ClassicDataSourceType>;
|
|
11
|
+
revision: Image360RevisionEntity<ClassicDataSourceType>;
|
|
12
|
+
faceName: FaceName;
|
|
13
|
+
};
|
|
8
14
|
export declare class Cdf360ImageAnnotationProvider implements Image360AnnotationProvider<ClassicDataSourceType> {
|
|
9
|
-
private readonly
|
|
15
|
+
private readonly _cache;
|
|
10
16
|
private readonly _collectionToInstanceReferenceToAnnotationMap;
|
|
11
17
|
private readonly _collectionAnnotationsCache;
|
|
12
18
|
private readonly _collectionFileIdMapCache;
|
|
13
|
-
constructor(
|
|
19
|
+
constructor(cache: Cdf360ImageAnnotationCache);
|
|
14
20
|
findImageAnnotationsForInstance(asset: InstanceReference<DataSourceType>, collection: DefaultImage360Collection<ClassicDataSourceType>): Promise<Image360AnnotationAssetQueryResult<ClassicDataSourceType>[]>;
|
|
15
21
|
private fetchImageAnnotationsForInstance;
|
|
16
|
-
/**
|
|
17
|
-
* Uses annotations reverseLookup to find only the files annotated with the given asset/instance,
|
|
18
|
-
* then fetches full annotation models for those files only
|
|
19
|
-
*/
|
|
20
|
-
private fetchAnnotationsByReverseLookup;
|
|
21
22
|
/**
|
|
22
23
|
* Gets all annotations for a collection
|
|
23
24
|
*/
|
|
@@ -48,5 +49,4 @@ export declare class Cdf360ImageAnnotationProvider implements Image360Annotation
|
|
|
48
49
|
*/
|
|
49
50
|
private buildFileIdToEntityRevisionMap;
|
|
50
51
|
private fetchAllAnnotations;
|
|
51
|
-
private listFileAnnotations;
|
|
52
52
|
}
|
package/dist/packages/data-providers/src/image-360-data-providers/Cdf360ImageFileProvider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Image360Face, Image360FileDescriptor, Image360FileProvider } from '../types';
|
|
2
|
-
import { FileIdentifier, FileDownloadResult } from './CdfImageFileProvider';
|
|
3
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
1
|
+
import type { Image360Face, Image360FileDescriptor, Image360FileProvider } from '../types';
|
|
2
|
+
import type { FileIdentifier, FileDownloadResult } from './CdfImageFileProvider';
|
|
3
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
4
4
|
export declare class Cdf360ImageFileProvider implements Image360FileProvider {
|
|
5
5
|
private readonly _imageFileProvider;
|
|
6
6
|
constructor(client: CogniteClient);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { DMInstanceRef } from '../../../utilities';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { DMInstanceRef } from '../../../utilities';
|
|
6
6
|
/**
|
|
7
7
|
* File identifier types supported by CDF's /files/downloadlink endpoint.
|
|
8
8
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { ClassicDataSourceType, DataSourceType, DMDataSourceType } from '../DataSourceType';
|
|
5
|
-
import { Image360AnnotationFilterDelegate, Image360AnnotationProvider, Image360AnnotationSpecifier, InstanceReference } from '../types';
|
|
6
|
-
import { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult } from '../../../360-images';
|
|
7
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
4
|
+
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType } from '../DataSourceType';
|
|
5
|
+
import type { Image360AnnotationFilterDelegate, Image360AnnotationProvider, Image360AnnotationSpecifier, InstanceReference } from '../types';
|
|
6
|
+
import type { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult } from '../../../360-images';
|
|
7
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
8
8
|
export declare class CoreDm360ImageAnnotationProvider implements Image360AnnotationProvider<DMDataSourceType> {
|
|
9
9
|
private readonly _client;
|
|
10
10
|
constructor(client: CogniteClient);
|
package/dist/packages/data-providers/src/image-360-data-providers/Local360ImageProvider.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Image360Provider } from '../Image360Provider';
|
|
2
|
-
import { Historical360ImageSet, Image360AnnotationFilterDelegate, Image360AnnotationSpecifier, Image360Face, Image360FileDescriptor, InstanceReference } from '../types';
|
|
3
|
-
import { CogniteInternalId, IdEither } from '@cognite/sdk';
|
|
4
|
-
import { ClassicDataSourceType, DataSourceType, DMDataSourceType } from '../DataSourceType';
|
|
5
|
-
import { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult } from '../../../360-images';
|
|
1
|
+
import type { Image360Provider } from '../Image360Provider';
|
|
2
|
+
import type { Historical360ImageSet, Image360AnnotationFilterDelegate, Image360AnnotationSpecifier, Image360Face, Image360FileDescriptor, InstanceReference } from '../types';
|
|
3
|
+
import type { CogniteInternalId, IdEither } from '@cognite/sdk';
|
|
4
|
+
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType } from '../DataSourceType';
|
|
5
|
+
import type { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult } from '../../../360-images';
|
|
6
6
|
export declare class Local360ImageProvider implements Image360Provider<ClassicDataSourceType> {
|
|
7
7
|
private readonly _modelUrl;
|
|
8
8
|
constructor(modelUrl: string);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
6
6
|
import { queryNodesAndEdges } from './queryNodesAndEdges';
|
|
7
|
-
import { Image360AnnotationViewReferenceAndProperties } from './types';
|
|
7
|
+
import type { Image360AnnotationViewReferenceAndProperties } from './types';
|
|
8
8
|
export type Image360AnnotationsForInstanceResult = {
|
|
9
9
|
annotationIds: DMInstanceRef[];
|
|
10
10
|
imageRevisionIds: DMInstanceRef[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
5
|
import { queryNodesAndEdges } from './queryNodesAndEdges';
|
|
6
|
-
import { CoreDmImage360Annotation, Image360AnnotationViewReferenceAndProperties } from './types';
|
|
7
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
6
|
+
import type { CoreDmImage360Annotation, Image360AnnotationViewReferenceAndProperties } from './types';
|
|
7
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
8
8
|
export declare function fetchCoreDm360AnnotationsForCollection(collectionIdentifier: DMInstanceRef, sdk: CogniteClient): Promise<CoreDmImage360Annotation[]>;
|
|
9
9
|
export type GetImage360AnnotationsFromCollectionResponse = Awaited<ReturnType<typeof queryNodesAndEdges<ReturnType<typeof getImage360AnnotationsQuery>, Image360AnnotationViewReferenceAndProperties>>>;
|
|
10
10
|
declare function getImage360AnnotationsQuery(collectionReference: DMInstanceRef): {
|
|
@@ -26,7 +26,7 @@ declare function getImage360AnnotationsQuery(collectionReference: DMInstanceRef)
|
|
|
26
26
|
readonly value: "Image360";
|
|
27
27
|
};
|
|
28
28
|
}];
|
|
29
|
-
}, import("@cognite/sdk
|
|
29
|
+
}, import("@cognite/sdk").TableExpressionEqualsFilterV3, import("@cognite/sdk").TableExpressionEqualsFilterV3];
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
5
|
import { queryNodesAndEdges } from './queryNodesAndEdges';
|
|
6
|
-
import { CoreDmImage360Annotation, Image360AnnotationViewReferenceAndProperties } from './types';
|
|
7
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
6
|
+
import type { CoreDmImage360Annotation, Image360AnnotationViewReferenceAndProperties } from './types';
|
|
7
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
8
8
|
export declare function fetchCoreDm360AnnotationsForRevision(revision: DMInstanceRef, sdk: CogniteClient): Promise<CoreDmImage360Annotation[]>;
|
|
9
9
|
export type GetImage360FromRevisionResponse = Awaited<ReturnType<typeof queryNodesAndEdges<ReturnType<typeof getImage360AnnotationsByRevisionQuery>, Image360AnnotationViewReferenceAndProperties>>>;
|
|
10
10
|
declare function getImage360AnnotationsByRevisionQuery(revisionReference: DMInstanceRef): {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
5
|
-
import { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
6
|
-
import { CoreDmImage360Properties } from './properties';
|
|
7
|
-
import { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
4
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
5
|
+
import type { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
6
|
+
import type { CoreDmImage360Properties } from './properties';
|
|
7
|
+
import type { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
8
8
|
export declare function getImage360Map(queryResponse: GetImage360AnnotationsFromCollectionResponse | GetImage360FromRevisionResponse): Record<string, Record<string, DMInstanceRef & CoreDmImage360Properties>>;
|
package/dist/packages/data-providers/src/image-360-data-providers/cdm/getObject3dAssetMap.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
5
|
-
import { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
6
|
-
import { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
4
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
5
|
+
import type { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
6
|
+
import type { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
7
7
|
export declare function getObject3dAssetMap(queryResponse: GetImage360AnnotationsFromCollectionResponse | GetImage360FromRevisionResponse): Record<string, Record<string, DMInstanceRef & {
|
|
8
8
|
name: string;
|
|
9
9
|
}>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { Vector3 } from 'three';
|
|
5
|
-
import { CoreDmImage360Properties } from './properties';
|
|
6
|
-
import { SemanticVersion } from './semanticVersioningUtils';
|
|
4
|
+
import type { Vector3 } from 'three';
|
|
5
|
+
import type { CoreDmImage360Properties } from './properties';
|
|
6
|
+
import type { SemanticVersion } from './semanticVersioningUtils';
|
|
7
7
|
export declare function readAnnotations(formatVersion: SemanticVersion, imageProperties: CoreDmImage360Properties, data: number[]): Vector3[][];
|
package/dist/packages/data-providers/src/image-360-data-providers/cdm/transformCdmAnnotations.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CoreDmImage360Annotation } from './types';
|
|
2
|
-
import { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
3
|
-
import { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
1
|
+
import type { CoreDmImage360Annotation } from './types';
|
|
2
|
+
import type { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
3
|
+
import type { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
4
4
|
export declare function transformAnnotations(queryResponse: GetImage360AnnotationsFromCollectionResponse | GetImage360FromRevisionResponse): CoreDmImage360Annotation[];
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
4
|
import { Vector3 } from 'three';
|
|
5
|
-
import { CoreDmImage360Properties } from './properties';
|
|
6
|
-
import { SemanticVersion } from './semanticVersioningUtils';
|
|
5
|
+
import type { CoreDmImage360Properties } from './properties';
|
|
6
|
+
import type { SemanticVersion } from './semanticVersioningUtils';
|
|
7
7
|
export declare function transformSphericalCoordinatesToVectors(phiThetaPairs: number[], imageProperties: CoreDmImage360Properties, annotationFormatVersion: SemanticVersion): Vector3[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { Vector3 } from 'three';
|
|
5
|
-
import { AssetSimpleProperties, CoreDmImage360AnnotationProperties, CoreDmImage360Properties } from './properties';
|
|
6
|
-
import { COGNITE_ASSET_VIEW_REFERENCE, CORE_DM_IMAGE_360_ANNOTATION_VIEW_REFERENCE, CORE_DM_IMAGE_360_VIEW_REFERENCE } from './sources';
|
|
7
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
4
|
+
import type { Vector3 } from 'three';
|
|
5
|
+
import type { AssetSimpleProperties, CoreDmImage360AnnotationProperties, CoreDmImage360Properties } from './properties';
|
|
6
|
+
import type { COGNITE_ASSET_VIEW_REFERENCE, CORE_DM_IMAGE_360_ANNOTATION_VIEW_REFERENCE, CORE_DM_IMAGE_360_VIEW_REFERENCE } from './sources';
|
|
7
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
8
8
|
/**
|
|
9
9
|
* Data contained in a single CoreDM-based annotation
|
|
10
10
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { DataModelsSdk } from '../../../../DataModelsSdk';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { DataModelsSdk } from '../../../../DataModelsSdk';
|
|
6
6
|
import type { Historical360ImageSet } from '../../../../types';
|
|
7
7
|
import type { DMDataSourceType } from '../../../../DataSourceType';
|
|
8
|
-
import { DMInstanceKey, DMInstanceRef } from '../../../../../../utilities';
|
|
8
|
+
import type { DMInstanceKey, DMInstanceRef } from '../../../../../../utilities';
|
|
9
9
|
import { BatchLoader } from '../../../../utilities/BatchLoader';
|
|
10
10
|
/**
|
|
11
11
|
* Coordinates batched loading of multiple 360 image collections.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2023 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
6
|
-
import { Image360DataModelIdentifier } from '../system-space/Cdf360DataModelsDescriptorProvider';
|
|
7
|
-
import { DMDataSourceType } from '../../../../DataSourceType';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
6
|
+
import type { Image360DataModelIdentifier } from '../system-space/Cdf360DataModelsDescriptorProvider';
|
|
7
|
+
import type { DMDataSourceType } from '../../../../DataSourceType';
|
|
8
8
|
export declare class Cdf360CdmDescriptorProvider implements Image360DescriptorProvider<DMDataSourceType> {
|
|
9
9
|
private readonly _dmsSdk;
|
|
10
10
|
private readonly _batchLoader;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { DMInstanceRef } from '../../../../../../utilities';
|
|
4
|
+
import type { DMInstanceRef } from '../../../../../../utilities';
|
|
5
5
|
declare function createCollectionsQuery(instanceReferences: DMInstanceRef[]): {
|
|
6
6
|
with: {
|
|
7
7
|
image_collections: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2023 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
6
6
|
import { DataModelsSdk } from '../../../../DataModelsSdk';
|
|
7
|
-
import { ClassicDataSourceType } from '../../../../DataSourceType';
|
|
7
|
+
import type { ClassicDataSourceType } from '../../../../DataSourceType';
|
|
8
8
|
/**
|
|
9
9
|
* An identifier uniquely determining a datamodel-based instance of a Cognite 360 image collection
|
|
10
10
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient, Metadata } from '@cognite/sdk';
|
|
4
|
+
import type { CogniteClient, Metadata } from '@cognite/sdk';
|
|
5
5
|
import type { Historical360ImageSet } from '../../../types';
|
|
6
|
-
import { ClassicDataSourceType } from '../../../DataSourceType';
|
|
6
|
+
import type { ClassicDataSourceType } from '../../../DataSourceType';
|
|
7
7
|
import { BatchLoader } from '../../../utilities/BatchLoader';
|
|
8
8
|
type EventCollectionIdentifier = {
|
|
9
9
|
siteId: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2023 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient, Metadata } from '@cognite/sdk';
|
|
5
|
-
import { Historical360ImageSet, Image360DescriptorProvider } from '../../../types';
|
|
6
|
-
import { ClassicDataSourceType } from '../../../DataSourceType';
|
|
4
|
+
import type { CogniteClient, Metadata } from '@cognite/sdk';
|
|
5
|
+
import type { Historical360ImageSet, Image360DescriptorProvider } from '../../../types';
|
|
6
|
+
import type { ClassicDataSourceType } from '../../../DataSourceType';
|
|
7
7
|
export declare class Cdf360EventDescriptorProvider implements Image360DescriptorProvider<ClassicDataSourceType> {
|
|
8
8
|
private readonly _batchLoader;
|
|
9
9
|
constructor(client: CogniteClient);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { Image360RevisionId } from '../types';
|
|
5
|
-
import { DataSourceType } from '../DataSourceType';
|
|
6
|
-
import { Metadata } from '@cognite/sdk';
|
|
7
|
-
import { Image360DataModelIdentifier, Image360LegacyDataModelIdentifier } from './descriptor-providers/datamodels/system-space/Cdf360DataModelsDescriptorProvider';
|
|
4
|
+
import type { Image360RevisionId } from '../types';
|
|
5
|
+
import type { DataSourceType } from '../DataSourceType';
|
|
6
|
+
import type { Metadata } from '@cognite/sdk';
|
|
7
|
+
import type { Image360DataModelIdentifier, Image360LegacyDataModelIdentifier } from './descriptor-providers/datamodels/system-space/Cdf360DataModelsDescriptorProvider';
|
|
8
8
|
export declare function isClassicMetadata360Identifier(id: DataSourceType['image360Identifier']): id is Metadata & {
|
|
9
9
|
site_id: string;
|
|
10
10
|
};
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
4
|
import * as THREE from 'three';
|
|
5
|
-
import { BlobOutputMetadata
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import type { BlobOutputMetadata } from '../types';
|
|
6
|
+
import { File3dFormat } from '../types';
|
|
7
|
+
import type { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
8
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
9
|
+
import type { ModelIdentifier } from '../ModelIdentifier';
|
|
9
10
|
export declare class CdfModelMetadataProvider implements ModelMetadataProvider {
|
|
10
11
|
private readonly _client;
|
|
11
12
|
constructor(client: CogniteClient);
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
4
|
import * as THREE from 'three';
|
|
5
|
-
import { ModelIdentifier } from '../ModelIdentifier';
|
|
6
|
-
import { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
7
|
-
import { BlobOutputMetadata
|
|
5
|
+
import type { ModelIdentifier } from '../ModelIdentifier';
|
|
6
|
+
import type { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
7
|
+
import type { BlobOutputMetadata } from '../types';
|
|
8
|
+
import { File3dFormat } from '../types';
|
|
8
9
|
export declare class LocalModelMetadataProvider implements ModelMetadataProvider {
|
|
9
10
|
getModelUri(modelIdentifier: ModelIdentifier): Promise<string>;
|
|
10
11
|
getModelMatrix(modelIdentifier: ModelIdentifier, format: File3dFormat): Promise<THREE.Matrix4>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2025 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { ModelDataProvider } from '../ModelDataProvider';
|
|
5
|
-
import {
|
|
4
|
+
import type { ModelDataProvider } from '../ModelDataProvider';
|
|
5
|
+
import type { CacheConfig } from '../../../utilities';
|
|
6
|
+
import { DataFileCacheManager } from '../../../utilities';
|
|
6
7
|
/**
|
|
7
8
|
* Wraps a ModelDataProvider with caching capabilities using the Cache API.
|
|
8
9
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { ModelDataProvider } from '../ModelDataProvider';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { ModelDataProvider } from '../ModelDataProvider';
|
|
6
6
|
/**
|
|
7
7
|
* Provides 3D V2 specific extensions for the standard CogniteClient used by Reveal.
|
|
8
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { ModelDataProvider } from '../ModelDataProvider';
|
|
4
|
+
import type { ModelDataProvider } from '../ModelDataProvider';
|
|
5
5
|
export declare class LocalModelDataProvider implements ModelDataProvider {
|
|
6
6
|
getBinaryFile(baseUrl: string, fileName: string, abortSignal?: AbortSignal): Promise<ArrayBuffer>;
|
|
7
7
|
getJsonFile(baseUrl: string, fileName: string): Promise<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { ModelIdentifier } from '../ModelIdentifier';
|
|
5
|
-
import { File3dFormat } from '../types';
|
|
4
|
+
import type { ModelIdentifier } from '../ModelIdentifier';
|
|
5
|
+
import type { File3dFormat } from '../types';
|
|
6
6
|
/**
|
|
7
7
|
* Identifies a 3D model stored in CDF by the combination of a modelId, a revisionId
|
|
8
8
|
* and a format.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { ClassicModelIdentifierType, DMModelIdentifierType } from '../DataSourceType';
|
|
4
|
+
import type { ClassicModelIdentifierType, DMModelIdentifierType } from '../DataSourceType';
|
|
5
5
|
import { CdfModelIdentifier } from './CdfModelIdentifier';
|
|
6
6
|
export declare class DMModelIdentifier extends CdfModelIdentifier {
|
|
7
7
|
readonly revealInternalId: symbol;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2022 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { PointCloudObject } from './types';
|
|
6
|
-
import { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
7
|
-
import { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { PointCloudObject } from './types';
|
|
6
|
+
import type { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
7
|
+
import type { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
8
8
|
export declare class CdfPointCloudStylableObjectProvider implements PointCloudStylableObjectProvider<ClassicDataSourceType> {
|
|
9
9
|
private readonly _sdk;
|
|
10
10
|
constructor(sdk: CogniteClient);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2022 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
5
|
-
import { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
6
|
-
import { PointCloudObject } from './types';
|
|
4
|
+
import type { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
5
|
+
import type { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
6
|
+
import type { PointCloudObject } from './types';
|
|
7
7
|
export declare class DummyPointCloudStylableObjectProvider implements PointCloudStylableObjectProvider<ClassicDataSourceType> {
|
|
8
8
|
getPointCloudObjects(_modelIdentifier: ClassicModelIdentifierType): Promise<PointCloudObject[]>;
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2022 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { PointCloudObject, CdfPointCloudObjectAnnotation } from './types';
|
|
5
|
-
import { DataSourceType } from '../DataSourceType';
|
|
4
|
+
import type { PointCloudObject, CdfPointCloudObjectAnnotation } from './types';
|
|
5
|
+
import type { DataSourceType } from '../DataSourceType';
|
|
6
6
|
export declare function cdfAnnotationsToObjects<T extends DataSourceType>(cdfAnnotations: CdfPointCloudObjectAnnotation[]): PointCloudObject<T>[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
6
|
-
import { PointCloudObject } from '../types';
|
|
7
|
-
import { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import type { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
6
|
+
import type { PointCloudObject } from '../types';
|
|
7
|
+
import type { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
8
8
|
export declare class CdfPointCloudDMStylableObjectProvider implements PointCloudStylableObjectProvider<DMDataSourceType> {
|
|
9
9
|
private readonly _dmsSdk;
|
|
10
10
|
constructor(sdk: CogniteClient);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
5
|
-
import { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
6
|
-
import { PointCloudObject } from '../types';
|
|
4
|
+
import type { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
5
|
+
import type { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
6
|
+
import type { PointCloudObject } from '../types';
|
|
7
7
|
export declare class DummyPointCloudDMStylableObjectProvider implements PointCloudStylableObjectProvider<DMDataSourceType> {
|
|
8
8
|
getPointCloudObjects(_modelIdentifier: DMModelIdentifierType): Promise<PointCloudObject<DMDataSourceType>[]>;
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DataModelsSdk } from '../../DataModelsSdk';
|
|
2
|
-
import { CdfDMPointCloudVolumeQuery } from './getDMPointCloudVolumeCollectionQuery';
|
|
3
|
-
import { CdfPointCloudObjectAnnotation } from '../types';
|
|
4
|
-
import { DMModelIdentifierType } from '../../DataSourceType';
|
|
1
|
+
import type { DataModelsSdk } from '../../DataModelsSdk';
|
|
2
|
+
import type { CdfDMPointCloudVolumeQuery } from './getDMPointCloudVolumeCollectionQuery';
|
|
3
|
+
import type { CdfPointCloudObjectAnnotation } from '../types';
|
|
4
|
+
import type { DMModelIdentifierType } from '../../DataSourceType';
|
|
5
5
|
type QueryResult = Awaited<ReturnType<typeof DataModelsSdk.prototype.queryNodesAndEdges<CdfDMPointCloudVolumeQuery>>>;
|
|
6
6
|
export type ExhaustedQueryResult = {
|
|
7
7
|
pointCloudVolumes: QueryResult['pointCloudVolumes'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
4
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
5
5
|
declare const getDMPointCloudVolumeQuery: (revisionRef: DMInstanceRef) => {
|
|
6
6
|
readonly with: {
|
|
7
7
|
readonly pointCloudVolumes: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { TableExpressionContainsAnyFilterV3 } from '@cognite/sdk';
|
|
5
|
-
import { DMInstanceRef } from '../../../../utilities';
|
|
4
|
+
import type { TableExpressionContainsAnyFilterV3 } from '@cognite/sdk';
|
|
5
|
+
import type { DMInstanceRef } from '../../../../utilities';
|
|
6
6
|
export declare function getRevisionContainsAnyFilter(revisionReferences: DMInstanceRef[]): TableExpressionContainsAnyFilterV3;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2022 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { StylableObject } from './StylableObject';
|
|
5
|
-
import { DMInstanceRef, IShape } from '../../../utilities';
|
|
6
|
-
import { Box3 } from 'three';
|
|
7
|
-
import { AnnotationsAssetRef } from '@cognite/sdk';
|
|
8
|
-
import { ClassicDataSourceType, DataSourceType } from '../DataSourceType';
|
|
4
|
+
import type { StylableObject } from './StylableObject';
|
|
5
|
+
import type { DMInstanceRef, IShape } from '../../../utilities';
|
|
6
|
+
import type { Box3 } from 'three';
|
|
7
|
+
import type { AnnotationsAssetRef } from '@cognite/sdk';
|
|
8
|
+
import type { ClassicDataSourceType, DataSourceType } from '../DataSourceType';
|
|
9
9
|
export type VolumeAnnotation = {
|
|
10
10
|
annotationId: number;
|
|
11
11
|
asset?: AnnotationsAssetRef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { CogniteClient } from '@cognite/sdk';
|
|
4
|
+
import type { CogniteClient } from '@cognite/sdk';
|
|
5
5
|
export declare function fetchDMModelIdFromRevisionId(revisionExternalId: string, space: string, sdk: CogniteClient | undefined): Promise<{
|
|
6
6
|
modelId: number;
|
|
7
7
|
revisionId: number;
|