@cognite/reveal 4.33.0 → 4.34.1
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 +13 -13
- package/dist/api-entry-points/core.d.ts +1 -1
- package/dist/assets/eptBinaryDecoder.worker-XgCyWWQG.js.map +1 -0
- package/dist/index.js +18112 -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 +18 -17
- 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 +16 -19
- package/dist/packages/api/src/public/RevealOptions.d.ts +4 -7
- package/dist/packages/api/src/public/createRevealManager.d.ts +7 -10
- package/dist/packages/api/src/public/migration/Cognite3DViewer.d.ts +46 -52
- 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 +13 -16
- package/dist/packages/api/src/utilities/Spinner.d.ts +2 -5
- 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 +11 -15
- package/dist/packages/cad-geometry-loaders/src/CadModelUpdateHandler.d.ts +11 -14
- 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 +11 -14
- package/dist/packages/cad-geometry-loaders/src/sector/culling/computeNdcAreaOfBox.d.ts +2 -5
- 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/transformBoxToNDC.d.ts +2 -5
- package/dist/packages/cad-geometry-loaders/src/sector/culling/types.d.ts +10 -13
- 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 +8 -11
- package/dist/packages/cad-model/src/types.d.ts +1 -4
- package/dist/packages/cad-model/src/utilities/BoundingBoxClipper.d.ts +3 -6
- package/dist/packages/cad-model/src/utilities/CustomSectorBounds.d.ts +4 -7
- 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 +24 -28
- package/dist/packages/cad-model/visual-tests/CadClipping.VisualTest.d.ts +4 -0
- package/dist/packages/cad-model/visual-tests/DebugLoadedSectorsTool.d.ts +23 -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 +30 -0
- package/dist/packages/cad-parsers/src/cad/filterPrimitivesCommon.d.ts +2 -5
- package/dist/packages/cad-parsers/src/cad/filterPrimitivesV9.d.ts +2 -5
- package/dist/packages/cad-parsers/src/cad/types.d.ts +7 -10
- package/dist/packages/cad-parsers/src/metadata/CadMetadataParser.d.ts +1 -4
- package/dist/packages/cad-parsers/src/metadata/CadModelClipper.d.ts +3 -6
- package/dist/packages/cad-parsers/src/metadata/CadModelMetadata.d.ts +7 -10
- package/dist/packages/cad-parsers/src/metadata/CadModelMetadataRepository.d.ts +3 -7
- package/dist/packages/cad-parsers/src/metadata/parsers/CadMetadataParserGltf.d.ts +4 -7
- package/dist/packages/cad-parsers/src/metadata/types.d.ts +3 -6
- package/dist/packages/cad-parsers/src/sector/RootSectorNode.d.ts +4 -7
- package/dist/packages/cad-parsers/src/sector/SectorNode.d.ts +6 -9
- package/dist/packages/cad-parsers/src/utilities/SectorScene.d.ts +7 -10
- package/dist/packages/cad-parsers/src/utilities/SectorSceneFactory.d.ts +2 -2
- package/dist/packages/cad-parsers/src/utilities/computeBoundingBoxFromAttributes.d.ts +6 -9
- package/dist/packages/cad-parsers/src/utilities/types.d.ts +7 -10
- package/dist/packages/cad-styling/index.d.ts +2 -1
- package/dist/packages/cad-styling/src/AssetNodeCollection.d.ts +7 -10
- package/dist/packages/cad-styling/src/CdfModelNodeCollectionDataProvider.d.ts +3 -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 +6 -15
- package/dist/packages/cad-styling/src/NodeAppearanceProvider.d.ts +4 -7
- package/dist/packages/cad-styling/src/NodeAppearanceTextureBuilder.d.ts +4 -7
- 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 +5 -9
- 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 +5 -8
- 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 +4 -7
- package/dist/packages/cad-styling/src/transform/TransformOverrideBuffer.d.ts +4 -7
- 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 +9 -12
- 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 +6 -9
- 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 +8 -12
- package/dist/packages/data-providers/src/metadata-providers/LocalModelMetadataProvider.d.ts +7 -11
- 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 +9 -10
- package/dist/packages/data-providers/src/utilities/applyDefaultModelTransformation.d.ts +2 -5
- 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 +4 -7
- package/dist/packages/model-base/src/MetadataRepository.d.ts +1 -4
- package/dist/packages/model-base/src/types.d.ts +5 -8
- package/dist/packages/nodes-api/src/NodesApiClient.d.ts +3 -6
- package/dist/packages/nodes-api/src/NodesCdfClient.d.ts +4 -7
- package/dist/packages/nodes-api/src/NodesLocalClient.d.ts +4 -7
- 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 +25 -28
- 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 +13 -17
- package/dist/packages/pointclouds/src/PointCloudMetadata.d.ts +4 -7
- 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 +6 -9
- 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 +5 -8
- 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 +5 -5
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/IPointCloudTreeGeometryNode.d.ts +4 -4
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometry.d.ts +12 -12
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometryNode.d.ts +12 -13
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/translationUtils.d.ts +4 -7
- 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 +4 -4
- package/dist/packages/pointclouds/src/potree-three-loader/tree/IPointCloudTreeNodeBase.d.ts +3 -3
- package/dist/packages/pointclouds/src/potree-three-loader/tree/PointAttributes.d.ts +4 -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/WorkerPool.d.ts +3 -0
- 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 +10 -14
- package/dist/packages/rendering/src/PointCloudMaterialManager.d.ts +3 -6
- package/dist/packages/rendering/src/RenderPass.d.ts +2 -5
- package/dist/packages/rendering/src/RenderPipelineExecutor.d.ts +3 -6
- 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 +5 -8
- package/dist/packages/rendering/src/pipeline-executors/StepPipelineExecutor.d.ts +14 -0
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudMaterial.d.ts +9 -13
- package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectAppearanceTexture.d.ts +6 -9
- 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 +5 -8
- package/dist/packages/rendering/src/render-passes/PointCloudEffectsPass.d.ts +6 -6
- package/dist/packages/rendering/src/render-passes/PostProcessingPass.d.ts +6 -9
- package/dist/packages/rendering/src/render-passes/SSAOPass.d.ts +5 -8
- package/dist/packages/rendering/src/render-passes/types.d.ts +21 -24
- package/dist/packages/rendering/src/render-pipeline-providers/CadGeometryRenderModePipelineProvider.d.ts +10 -13
- package/dist/packages/rendering/src/render-pipeline-providers/CadGeometryRenderPipelineProvider.d.ts +8 -11
- package/dist/packages/rendering/src/render-pipeline-providers/DefaultRenderPipelineProvider.d.ts +11 -14
- package/dist/packages/rendering/src/render-pipeline-providers/PointCloudRenderPipelineProvider.d.ts +8 -11
- package/dist/packages/rendering/src/render-pipeline-providers/pointCloudParameterUtils.d.ts +1 -4
- package/dist/packages/rendering/src/render-pipeline-providers/types.d.ts +12 -15
- package/dist/packages/rendering/src/rendering/SettableRenderTarget.d.ts +1 -4
- package/dist/packages/rendering/src/rendering/materials.d.ts +18 -21
- package/dist/packages/rendering/src/rendering/shaders.d.ts +27 -74
- package/dist/packages/rendering/src/utilities/GpuTimer.d.ts +19 -0
- package/dist/packages/rendering/src/utilities/renderUtilities.d.ts +12 -15
- package/dist/packages/rendering/src/utilities/types.d.ts +14 -17
- 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 +8 -11
- 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 +3 -0
- package/dist/packages/tools/src/AxisGizmo/AxisGizmoOptions.d.ts +2 -2
- 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 +7 -10
- 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 +8 -11
- package/dist/packages/tools/src/Measurement/MeasurementLine.d.ts +7 -10
- package/dist/packages/tools/src/Measurement/MeasurementManager.d.ts +7 -10
- package/dist/packages/tools/src/Measurement/MeasurementTool.d.ts +7 -10
- package/dist/packages/tools/src/Measurement/types.d.ts +1 -4
- package/dist/packages/tools/src/Overlay3D/Overlay3DTool.d.ts +8 -11
- 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/RandomColors.d.ts +4 -7
- package/dist/packages/utilities/src/SceneHandler.d.ts +11 -14
- package/dist/packages/utilities/src/WebGLRendererStateHelper.d.ts +4 -7
- 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/createDistinctColors.d.ts +2 -5
- package/dist/packages/utilities/src/three/createFullScreenTriangleGeometry.d.ts +2 -5
- package/dist/packages/utilities/src/three/fitCameraToBoundingBox.d.ts +4 -7
- package/dist/packages/utilities/src/three/fromThreeVector3.d.ts +2 -5
- package/dist/packages/utilities/src/three/isBox3OnPositiveSideOfPlane.d.ts +2 -5
- 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 +3 -6
- package/dist/packages/utilities/src/three/unionBoxes.d.ts +2 -5
- package/dist/packages/utilities/src/three/visitBox3CornerPoints.d.ts +3 -6
- package/dist/packages/utilities/src/transformCameraConfiguration.d.ts +3 -6
- package/dist/packages/utilities/src/worldToViewport.d.ts +7 -10
- package/package.json +33 -55
- 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
package/dist/packages/data-providers/src/image-360-data-providers/cdm/getObject3dAssetMap.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { DMInstanceRef } from '../../../../utilities';
|
|
5
|
-
import type { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
6
|
-
import type { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
1
|
+
import { DMInstanceRef } from '../../../../utilities';
|
|
2
|
+
import { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
3
|
+
import { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
7
4
|
export declare function getObject3dAssetMap(queryResponse: GetImage360AnnotationsFromCollectionResponse | GetImage360FromRevisionResponse): Record<string, Record<string, DMInstanceRef & {
|
|
8
5
|
name: string;
|
|
9
6
|
}>>;
|
package/dist/packages/data-providers/src/image-360-data-providers/cdm/queryNodesAndEdges.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2025 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { EdgeDefinition, NodeDefinition, NodeOrEdge, CogniteClient, QueryRequest, ViewReference } from '@cognite/sdk';
|
|
1
|
+
import { EdgeDefinition, NodeDefinition, NodeOrEdge, CogniteClient, QueryRequest, ViewReference } from '@cognite/sdk';
|
|
5
2
|
export declare function queryNodesAndEdges<TQueryRequest extends QueryRequest, TypedSelectSources extends SelectSourceWithParams = SelectSourceWithParams>(query: TQueryRequest, sdk: CogniteClient): Promise<QueryResult<TQueryRequest, TypedSelectSources>>;
|
|
6
3
|
export type SelectSourceWithParams = Array<{
|
|
7
4
|
source: ViewReference;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { Vector3 } from 'three';
|
|
5
|
-
import type { CoreDmImage360Properties } from './properties';
|
|
6
|
-
import type { SemanticVersion } from './semanticVersioningUtils';
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { CoreDmImage360Properties } from './properties';
|
|
3
|
+
import { SemanticVersion } from './semanticVersioningUtils';
|
|
7
4
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { CoreDmImage360Annotation } from './types';
|
|
2
|
+
import { GetImage360AnnotationsFromCollectionResponse } from './fetchCoreDm360AnnotationsForCollection';
|
|
3
|
+
import { GetImage360FromRevisionResponse } from './fetchCoreDm360AnnotationsForRevision';
|
|
4
4
|
export declare function transformAnnotations(queryResponse: GetImage360AnnotationsFromCollectionResponse | GetImage360FromRevisionResponse): CoreDmImage360Annotation[];
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2025 Cognite AS
|
|
3
|
-
*/
|
|
4
1
|
import { Vector3 } from 'three';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
2
|
+
import { CoreDmImage360Properties } from './properties';
|
|
3
|
+
import { SemanticVersion } from './semanticVersioningUtils';
|
|
7
4
|
export declare function transformSphericalCoordinatesToVectors(phiThetaPairs: number[], imageProperties: CoreDmImage360Properties, annotationFormatVersion: SemanticVersion): Vector3[];
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
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';
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { AssetSimpleProperties, CoreDmImage360AnnotationProperties, CoreDmImage360Properties } from './properties';
|
|
3
|
+
import { COGNITE_ASSET_VIEW_REFERENCE, CORE_DM_IMAGE_360_ANNOTATION_VIEW_REFERENCE, CORE_DM_IMAGE_360_VIEW_REFERENCE } from './sources';
|
|
4
|
+
import { DMInstanceRef } from '../../../../utilities';
|
|
8
5
|
/**
|
|
9
6
|
* Data contained in a single CoreDM-based annotation
|
|
10
7
|
*/
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import type { Historical360ImageSet } from '../../../../types';
|
|
7
|
-
import type { DMDataSourceType } from '../../../../DataSourceType';
|
|
8
|
-
import type { DMInstanceKey, DMInstanceRef } from '../../../../../../utilities';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { DataModelsSdk } from '../../../../DataModelsSdk';
|
|
3
|
+
import { Historical360ImageSet } from '../../../../types';
|
|
4
|
+
import { DMDataSourceType } from '../../../../DataSourceType';
|
|
5
|
+
import { DMInstanceKey, DMInstanceRef } from '../../../../../../utilities';
|
|
9
6
|
import { BatchLoader } from '../../../../utilities/BatchLoader';
|
|
10
7
|
/**
|
|
11
8
|
* Coordinates batched loading of multiple 360 image collections.
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
6
|
-
import type { Image360DataModelIdentifier } from '../system-space/Cdf360DataModelsDescriptorProvider';
|
|
7
|
-
import type { DMDataSourceType } from '../../../../DataSourceType';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
3
|
+
import { Image360DataModelIdentifier } from '../system-space/Cdf360DataModelsDescriptorProvider';
|
|
4
|
+
import { DMDataSourceType } from '../../../../DataSourceType';
|
|
8
5
|
export declare class Cdf360CdmDescriptorProvider implements Image360DescriptorProvider<DMDataSourceType> {
|
|
9
6
|
private readonly _dmsSdk;
|
|
10
7
|
private readonly _batchLoader;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2025 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { DMInstanceRef } from '../../../../../../utilities';
|
|
1
|
+
import { DMInstanceRef } from '../../../../../../utilities';
|
|
5
2
|
declare function createCollectionsQuery(instanceReferences: DMInstanceRef[]): {
|
|
6
3
|
with: {
|
|
7
4
|
image_collections: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import type { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { Historical360ImageSet, Image360DescriptorProvider } from '../../../../types';
|
|
6
3
|
import { DataModelsSdk } from '../../../../DataModelsSdk';
|
|
7
|
-
import
|
|
4
|
+
import { ClassicDataSourceType } from '../../../../DataSourceType';
|
|
8
5
|
/**
|
|
9
6
|
* An identifier uniquely determining a datamodel-based instance of a Cognite 360 image collection
|
|
10
7
|
*/
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { CogniteClient, Metadata } from '@cognite/sdk';
|
|
5
|
-
import type { Historical360ImageSet } from '../../../types';
|
|
6
|
-
import type { ClassicDataSourceType } from '../../../DataSourceType';
|
|
1
|
+
import { CogniteClient, Metadata } from '@cognite/sdk';
|
|
2
|
+
import { Historical360ImageSet } from '../../../types';
|
|
3
|
+
import { ClassicDataSourceType } from '../../../DataSourceType';
|
|
7
4
|
import { BatchLoader } from '../../../utilities/BatchLoader';
|
|
8
5
|
type EventCollectionIdentifier = {
|
|
9
6
|
siteId: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { CogniteClient, Metadata } from '@cognite/sdk';
|
|
5
|
-
import type { Historical360ImageSet, Image360DescriptorProvider } from '../../../types';
|
|
6
|
-
import type { ClassicDataSourceType } from '../../../DataSourceType';
|
|
1
|
+
import { CogniteClient, Metadata } from '@cognite/sdk';
|
|
2
|
+
import { Historical360ImageSet, Image360DescriptorProvider } from '../../../types';
|
|
3
|
+
import { ClassicDataSourceType } from '../../../DataSourceType';
|
|
7
4
|
export declare class Cdf360EventDescriptorProvider implements Image360DescriptorProvider<ClassicDataSourceType> {
|
|
8
5
|
private readonly _batchLoader;
|
|
9
6
|
constructor(client: CogniteClient);
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
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';
|
|
1
|
+
import { Image360RevisionId } from '../types';
|
|
2
|
+
import { DataSourceType } from '../DataSourceType';
|
|
3
|
+
import { Metadata } from '@cognite/sdk';
|
|
4
|
+
import { Image360DataModelIdentifier, Image360LegacyDataModelIdentifier } from './descriptor-providers/datamodels/system-space/Cdf360DataModelsDescriptorProvider';
|
|
8
5
|
export declare function isClassicMetadata360Identifier(id: DataSourceType['image360Identifier']): id is Metadata & {
|
|
9
6
|
site_id: string;
|
|
10
7
|
};
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { File3dFormat } from '../types';
|
|
7
|
-
import type { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
8
|
-
import type { CogniteClient } from '@cognite/sdk';
|
|
9
|
-
import type { ModelIdentifier } from '../ModelIdentifier';
|
|
1
|
+
import { Matrix4, Vector3 } from 'three';
|
|
2
|
+
import { BlobOutputMetadata, File3dFormat } from '../types';
|
|
3
|
+
import { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
4
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
5
|
+
import { ModelIdentifier } from '../ModelIdentifier';
|
|
10
6
|
export declare class CdfModelMetadataProvider implements ModelMetadataProvider {
|
|
11
7
|
private readonly _client;
|
|
12
8
|
constructor(client: CogniteClient);
|
|
13
|
-
getModelMatrix(modelIdentifier: ModelIdentifier, format: File3dFormat): Promise<
|
|
9
|
+
getModelMatrix(modelIdentifier: ModelIdentifier, format: File3dFormat): Promise<Matrix4>;
|
|
14
10
|
getModelCamera(modelIdentifier: ModelIdentifier): Promise<{
|
|
15
|
-
position:
|
|
16
|
-
target:
|
|
11
|
+
position: Vector3;
|
|
12
|
+
target: Vector3;
|
|
17
13
|
} | undefined>;
|
|
18
14
|
getModelUri(modelIdentifier: ModelIdentifier, formatMetadata: BlobOutputMetadata): Promise<string>;
|
|
19
15
|
getModelOutputs(modelIdentifier: ModelIdentifier): Promise<BlobOutputMetadata[]>;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { ModelIdentifier } from '../ModelIdentifier';
|
|
6
|
-
import type { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
7
|
-
import type { BlobOutputMetadata } from '../types';
|
|
8
|
-
import { File3dFormat } from '../types';
|
|
1
|
+
import { Vector3, Matrix4 } from 'three';
|
|
2
|
+
import { ModelIdentifier } from '../ModelIdentifier';
|
|
3
|
+
import { ModelMetadataProvider } from '../ModelMetadataProvider';
|
|
4
|
+
import { BlobOutputMetadata, File3dFormat } from '../types';
|
|
9
5
|
export declare class LocalModelMetadataProvider implements ModelMetadataProvider {
|
|
10
6
|
getModelUri(modelIdentifier: ModelIdentifier): Promise<string>;
|
|
11
|
-
getModelMatrix(modelIdentifier: ModelIdentifier, format: File3dFormat): Promise<
|
|
7
|
+
getModelMatrix(modelIdentifier: ModelIdentifier, format: File3dFormat): Promise<Matrix4>;
|
|
12
8
|
getModelCamera(modelIdentifier: ModelIdentifier): Promise<{
|
|
13
|
-
position:
|
|
14
|
-
target:
|
|
9
|
+
position: Vector3;
|
|
10
|
+
target: Vector3;
|
|
15
11
|
} | undefined>;
|
|
16
12
|
getModelOutputs(modelIdentifier: ModelIdentifier): Promise<BlobOutputMetadata[]>;
|
|
17
13
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { ModelDataProvider } from '../ModelDataProvider';
|
|
5
|
-
import type { CacheConfig } from '../../../utilities';
|
|
6
|
-
import { DataFileCacheManager } from '../../../utilities';
|
|
1
|
+
import { ModelDataProvider } from '../ModelDataProvider';
|
|
2
|
+
import { CacheConfig, DataFileCacheManager } from '../../../utilities';
|
|
7
3
|
/**
|
|
8
4
|
* Wraps a ModelDataProvider with caching capabilities using the Cache API.
|
|
9
5
|
*
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { CogniteClient } from '@cognite/sdk';
|
|
5
|
-
import type { ModelDataProvider } from '../ModelDataProvider';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { ModelDataProvider } from '../ModelDataProvider';
|
|
6
3
|
/**
|
|
7
4
|
* Provides 3D V2 specific extensions for the standard CogniteClient used by Reveal.
|
|
8
5
|
*/
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2021 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { ModelDataProvider } from '../ModelDataProvider';
|
|
1
|
+
import { ModelDataProvider } from '../ModelDataProvider';
|
|
5
2
|
export declare class LocalModelDataProvider implements ModelDataProvider {
|
|
6
3
|
getBinaryFile(baseUrl: string, fileName: string, abortSignal?: AbortSignal): Promise<ArrayBuffer>;
|
|
7
4
|
getJsonFile(baseUrl: string, fileName: string): Promise<any>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { ModelIdentifier } from '../ModelIdentifier';
|
|
5
|
-
import type { File3dFormat } from '../types';
|
|
1
|
+
import { ModelIdentifier } from '../ModelIdentifier';
|
|
2
|
+
import { File3dFormat } from '../types';
|
|
6
3
|
/**
|
|
7
4
|
* Identifies a 3D model stored in CDF by the combination of a modelId, a revisionId
|
|
8
5
|
* and a format.
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2024 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { ClassicModelIdentifierType, DMModelIdentifierType } from '../DataSourceType';
|
|
1
|
+
import { ClassicModelIdentifierType, DMModelIdentifierType } from '../DataSourceType';
|
|
5
2
|
import { CdfModelIdentifier } from './CdfModelIdentifier';
|
|
6
3
|
export declare class DMModelIdentifier extends CdfModelIdentifier {
|
|
7
4
|
readonly revealInternalId: symbol;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { PointCloudObject } from './types';
|
|
6
|
-
import type { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
7
|
-
import type { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { PointCloudObject } from './types';
|
|
3
|
+
import { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
4
|
+
import { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
8
5
|
export declare class CdfPointCloudStylableObjectProvider implements PointCloudStylableObjectProvider<ClassicDataSourceType> {
|
|
9
6
|
private readonly _sdk;
|
|
10
7
|
constructor(sdk: CogniteClient);
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
5
|
-
import type { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
6
|
-
import type { PointCloudObject } from './types';
|
|
1
|
+
import { ClassicDataSourceType, ClassicModelIdentifierType } from '../DataSourceType';
|
|
2
|
+
import { PointCloudStylableObjectProvider } from '../PointCloudStylableObjectProvider';
|
|
3
|
+
import { PointCloudObject } from './types';
|
|
7
4
|
export declare class DummyPointCloudStylableObjectProvider implements PointCloudStylableObjectProvider<ClassicDataSourceType> {
|
|
8
5
|
getPointCloudObjects(_modelIdentifier: ClassicModelIdentifierType): Promise<PointCloudObject[]>;
|
|
9
6
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { PointCloudObject, CdfPointCloudObjectAnnotation } from './types';
|
|
5
|
-
import type { DataSourceType } from '../DataSourceType';
|
|
1
|
+
import { PointCloudObject, CdfPointCloudObjectAnnotation } from './types';
|
|
2
|
+
import { DataSourceType } from '../DataSourceType';
|
|
6
3
|
export declare function cdfAnnotationsToObjects<T extends DataSourceType>(cdfAnnotations: CdfPointCloudObjectAnnotation[]): PointCloudObject<T>[];
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
6
|
-
import type { PointCloudObject } from '../types';
|
|
7
|
-
import type { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
3
|
+
import { PointCloudObject } from '../types';
|
|
4
|
+
import { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
8
5
|
export declare class CdfPointCloudDMStylableObjectProvider implements PointCloudStylableObjectProvider<DMDataSourceType> {
|
|
9
6
|
private readonly _dmsSdk;
|
|
10
7
|
constructor(sdk: CogniteClient);
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
5
|
-
import type { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
6
|
-
import type { PointCloudObject } from '../types';
|
|
1
|
+
import { DMDataSourceType, DMModelIdentifierType } from '../../DataSourceType';
|
|
2
|
+
import { PointCloudStylableObjectProvider } from '../../PointCloudStylableObjectProvider';
|
|
3
|
+
import { PointCloudObject } from '../types';
|
|
7
4
|
export declare class DummyPointCloudDMStylableObjectProvider implements PointCloudStylableObjectProvider<DMDataSourceType> {
|
|
8
5
|
getPointCloudObjects(_modelIdentifier: DMModelIdentifierType): Promise<PointCloudObject<DMDataSourceType>[]>;
|
|
9
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { DataModelsSdk } from '../../DataModelsSdk';
|
|
2
|
+
import { CdfDMPointCloudVolumeQuery } from './getDMPointCloudVolumeCollectionQuery';
|
|
3
|
+
import { CdfPointCloudObjectAnnotation } from '../types';
|
|
4
|
+
import { 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,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2024 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { DMInstanceRef } from '../../../../utilities';
|
|
1
|
+
import { DMInstanceRef } from '../../../../utilities';
|
|
5
2
|
declare const getDMPointCloudVolumeQuery: (revisionRef: DMInstanceRef) => {
|
|
6
3
|
readonly with: {
|
|
7
4
|
readonly pointCloudVolumes: {
|
|
@@ -14,7 +11,7 @@ declare const getDMPointCloudVolumeQuery: (revisionRef: DMInstanceRef) => {
|
|
|
14
11
|
readonly version: "v1";
|
|
15
12
|
readonly type: "view";
|
|
16
13
|
}];
|
|
17
|
-
}, import(
|
|
14
|
+
}, import('@cognite/sdk').TableExpressionContainsAnyFilterV3];
|
|
18
15
|
};
|
|
19
16
|
};
|
|
20
17
|
readonly limit: 1000;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { TableExpressionContainsAnyFilterV3 } from '@cognite/sdk';
|
|
5
|
-
import type { DMInstanceRef } from '../../../../utilities';
|
|
1
|
+
import { TableExpressionContainsAnyFilterV3 } from '@cognite/sdk';
|
|
2
|
+
import { DMInstanceRef } from '../../../../utilities';
|
|
6
3
|
export declare function getRevisionContainsAnyFilter(revisionReferences: DMInstanceRef[]): TableExpressionContainsAnyFilterV3;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import type { Box3 } from 'three';
|
|
7
|
-
import type { AnnotationsAssetRef } from '@cognite/sdk';
|
|
8
|
-
import type { ClassicDataSourceType, DataSourceType } from '../DataSourceType';
|
|
1
|
+
import { StylableObject } from './StylableObject';
|
|
2
|
+
import { DMInstanceRef, IShape } from '../../../utilities';
|
|
3
|
+
import { Box3 } from 'three';
|
|
4
|
+
import { AnnotationsAssetRef } from '@cognite/sdk';
|
|
5
|
+
import { ClassicDataSourceType, DataSourceType } from '../DataSourceType';
|
|
9
6
|
export type VolumeAnnotation = {
|
|
10
7
|
annotationId: number;
|
|
11
8
|
asset?: AnnotationsAssetRef;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2024 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { CogniteClient } from '@cognite/sdk';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
5
2
|
export declare function fetchDMModelIdFromRevisionId(revisionExternalId: string, space: string, sdk: CogniteClient | undefined): Promise<{
|
|
6
3
|
modelId: number;
|
|
7
4
|
revisionId: number;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import type { ClassicDataSourceType, DataSourceType, DMDataSourceType } from './DataSourceType';
|
|
7
|
-
import type { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult, Image360AnnotationInstanceReference } from '../../360-images';
|
|
8
|
-
import type { DMInstanceRef } from '../../utilities';
|
|
1
|
+
import { AnnotationModel, AnnotationsTypesImagesAssetLink, AnnotationsTypesImagesInstanceLink, IdEither } from '@cognite/sdk';
|
|
2
|
+
import { Matrix4, Texture } from 'three';
|
|
3
|
+
import { ClassicDataSourceType, DataSourceType, DMDataSourceType } from './DataSourceType';
|
|
4
|
+
import { AssetAnnotationImage360Info, AssetHybridAnnotationImage360Info, DefaultImage360Collection, Image360AnnotationAssetQueryResult, Image360AnnotationInstanceReference } from '../../360-images';
|
|
5
|
+
import { DMInstanceRef } from '../../utilities';
|
|
9
6
|
export type Image360AnnotationFilterDelegate<T extends DataSourceType> = (annotation: T['image360AnnotationType']) => boolean;
|
|
10
7
|
export interface JsonFileProvider {
|
|
11
8
|
getJsonFile(baseUrl: string, fileName: string): Promise<any>;
|
|
@@ -82,17 +79,19 @@ export type Image360RevisionDescriptor<T extends DataSourceType> = {
|
|
|
82
79
|
label: string | undefined;
|
|
83
80
|
collectionId: string;
|
|
84
81
|
collectionLabel: string | undefined;
|
|
85
|
-
transform:
|
|
82
|
+
transform: Matrix4;
|
|
86
83
|
};
|
|
87
84
|
export type FaceName = 'front' | 'back' | 'left' | 'right' | 'top' | 'bottom';
|
|
88
85
|
export type Image360Face = {
|
|
89
86
|
face: FaceName;
|
|
90
87
|
mimeType: 'image/jpeg' | 'image/png';
|
|
91
88
|
data: ArrayBuffer;
|
|
89
|
+
/** Signed download URL for streaming. When present, data is empty. */
|
|
90
|
+
downloadUrl?: string;
|
|
92
91
|
};
|
|
93
92
|
export type Image360Texture = {
|
|
94
93
|
face: FaceName;
|
|
95
|
-
texture:
|
|
94
|
+
texture: Texture;
|
|
96
95
|
};
|
|
97
96
|
export type Image360FileDescriptor = {
|
|
98
97
|
face: FaceName;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2021 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type * as THREE from 'three';
|
|
1
|
+
import { Matrix4 } from 'three';
|
|
5
2
|
import { File3dFormat } from '../types';
|
|
6
|
-
export declare function applyDefaultModelTransformation(matrix:
|
|
3
|
+
export declare function applyDefaultModelTransformation(matrix: Matrix4, format: File3dFormat | string): void;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2025 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import type { Image360FileDescriptor } from '../types';
|
|
1
|
+
import { Image360FileDescriptor } from '../types';
|
|
5
2
|
/**
|
|
6
3
|
* Gets the externalId from a file descriptor, if available.
|
|
7
4
|
* Works with both direct externalId and instanceId.externalId.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DataSourceType } from '../DataSourceType';
|
|
2
|
+
import { InstanceReference } from '../types';
|
|
3
3
|
export declare function getInstanceKey(instanceReference: InstanceReference<DataSourceType>): string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { GeometryFilter } from '../../../cad-model';
|
|
5
|
-
import type { ClassicModelIdentifierType, InternalDataSourceType, LocalModelIdentifierType } from '../DataSourceType';
|
|
6
|
-
import type { File3dFormat } from '../types';
|
|
1
|
+
import { GeometryFilter } from '../../../cad-model';
|
|
2
|
+
import { ClassicModelIdentifierType, InternalDataSourceType, LocalModelIdentifierType } from '../DataSourceType';
|
|
3
|
+
import { File3dFormat } from '../types';
|
|
7
4
|
/**
|
|
8
5
|
* Model options common to all model types.
|
|
9
6
|
*/
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { TableExpressionEqualsFilterV3 } from '@cognite/sdk';
|
|
5
|
-
import type { PointCloudObject } from '../pointcloud-stylable-object-providers/types';
|
|
6
|
-
import type { ClassicDataSourceType, DMDataSourceType, DataSourceType } from '../DataSourceType';
|
|
1
|
+
import { TableExpressionEqualsFilterV3 } from '@cognite/sdk';
|
|
2
|
+
import { PointCloudObject } from '../pointcloud-stylable-object-providers/types';
|
|
3
|
+
import { ClassicDataSourceType, DMDataSourceType, DataSourceType } from '../DataSourceType';
|
|
7
4
|
/**
|
|
8
5
|
* Type guard to check if a point cloud object contains data type DMDataSourceType
|
|
9
6
|
* @param pointCloudObject - The object to check
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { DataSource } from './DataSource';
|
|
6
|
-
import type { NodesApiClient } from '../../nodes-api';
|
|
7
|
-
import type { ModelDataProvider, ModelMetadataProvider } from '../../data-providers';
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { DataSource } from './DataSource';
|
|
3
|
+
import { NodesApiClient } from '../../nodes-api';
|
|
4
|
+
import { ModelDataProvider, ModelMetadataProvider } from '../../data-providers';
|
|
8
5
|
/**
|
|
9
6
|
* Data source for Cognite Data Fusion.
|
|
10
7
|
*/
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { NodesApiClient } from '../../nodes-api';
|
|
5
|
-
import type { ModelDataProvider, ModelMetadataProvider } from '../../data-providers';
|
|
1
|
+
import { NodesApiClient } from '../../nodes-api';
|
|
2
|
+
import { ModelDataProvider, ModelMetadataProvider } from '../../data-providers';
|
|
6
3
|
/**
|
|
7
4
|
* Describes how Reveal data is stored, and provides means to create custom storage providers
|
|
8
5
|
* that Reveal will fetch data from.
|