@cognite/reveal 4.1.1-dev.20230307 → 4.1.1-dev.20230308
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.
|
@@ -16,7 +16,7 @@ export declare class Image360Facade<T> {
|
|
|
16
16
|
constructor(_entityFactory: Image360CollectionFactory<T>);
|
|
17
17
|
create(dataProviderFilter: T, postTransform?: THREE.Matrix4, preComputedRotation?: boolean): Promise<DefaultImage360Collection>;
|
|
18
18
|
delete(entity: Image360Entity): Promise<void>;
|
|
19
|
-
preload(entity: Image360Entity): Promise<void>;
|
|
19
|
+
preload(entity: Image360Entity, lockDownload?: boolean): Promise<void>;
|
|
20
20
|
intersect(coords: {
|
|
21
21
|
x: number;
|
|
22
22
|
y: number;
|
|
@@ -12,11 +12,12 @@ export declare class Image360LoadingCache {
|
|
|
12
12
|
private readonly _downloadCacheSize;
|
|
13
13
|
private readonly _loaded360Images;
|
|
14
14
|
private readonly _inProgressDownloads;
|
|
15
|
+
private _lockedDownload;
|
|
15
16
|
get cachedEntities(): Image360Entity[];
|
|
16
17
|
get currentlyLoadingEntities(): DownloadRequest[];
|
|
17
18
|
getDownloadInProgress(entity: Image360Entity): DownloadRequest | undefined;
|
|
18
19
|
constructor(_imageCacheSize?: number, _downloadCacheSize?: number);
|
|
19
|
-
cachedPreload(entity: Image360Entity): Promise<void>;
|
|
20
|
+
cachedPreload(entity: Image360Entity, lockDownload?: boolean): Promise<void>;
|
|
20
21
|
purge(entity: Image360Entity): Promise<void>;
|
|
21
22
|
private purgeLastRecentlyUsedInvisibleEntity;
|
|
22
23
|
private abortLastRecentlyReqestedEntity;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.1.1-dev.
|
|
3
|
+
"version": "4.1.1-dev.20230308",
|
|
4
4
|
"description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
|
|
5
5
|
"homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
|
|
6
6
|
"repository": {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@types/jsdom": "21.1.0",
|
|
91
91
|
"@types/lodash": "4.14.191",
|
|
92
92
|
"@types/mixpanel-browser": "2.38.1",
|
|
93
|
-
"@types/node": "18.14.
|
|
93
|
+
"@types/node": "18.14.5",
|
|
94
94
|
"@types/random-seed": "0.3.3",
|
|
95
95
|
"@types/skmeans": "0.11.4",
|
|
96
96
|
"@types/stats": "0.16.30",
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
"eslint": "8.35.0",
|
|
105
105
|
"eslint-config-prettier": "8.7.0",
|
|
106
106
|
"eslint-plugin-header": "3.1.1",
|
|
107
|
-
"eslint-plugin-jsdoc": "40.0.
|
|
107
|
+
"eslint-plugin-jsdoc": "40.0.1",
|
|
108
108
|
"eslint-plugin-lodash": "7.4.0",
|
|
109
109
|
"eslint-plugin-prettier": "4.2.1",
|
|
110
110
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
111
111
|
"file-loader": "6.2.0",
|
|
112
112
|
"gl": "6.0.2",
|
|
113
|
-
"glob": "
|
|
113
|
+
"glob": "9.2.1",
|
|
114
114
|
"glslify-loader": "2.0.0",
|
|
115
115
|
"html-webpack-plugin": "5.5.0",
|
|
116
116
|
"jest": "29.4.3",
|