@cognite/reveal 4.0.0-dev.20230116 → 4.0.0-dev.20230118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +78 -78
- package/dist/index.js.map +1 -1
- package/dist/packages/camera-manager/src/StationaryCameraManager.d.ts +1 -0
- package/dist/packages/pointclouds/src/PointCloudNode.d.ts +1 -0
- package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometry.d.ts +0 -1
- package/dist/packages/tools/src/Measurement/MeasurementLine.d.ts +2 -2
- package/package.json +10 -12
|
@@ -85,4 +85,5 @@ export declare class PointCloudNode extends Group {
|
|
|
85
85
|
set clippingPlanes(clippingPlanes: THREE.Plane[]);
|
|
86
86
|
assignStyledPointCloudObjectCollection(styledCollection: StyledPointCloudObjectCollection): void;
|
|
87
87
|
removeAllStyledPointCloudObjects(): void;
|
|
88
|
+
dispose(): void;
|
|
88
89
|
}
|
package/dist/packages/pointclouds/src/potree-three-loader/geometry/PointCloudEptGeometry.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export declare class PointCloudEptGeometry implements IPointCloudTreeGeometry {
|
|
|
16
16
|
private readonly _spacing;
|
|
17
17
|
private readonly _schema;
|
|
18
18
|
private _root;
|
|
19
|
-
private readonly _projection;
|
|
20
19
|
get loader(): EptBinaryLoader;
|
|
21
20
|
get root(): PointCloudEptGeometryNode | undefined;
|
|
22
21
|
set root(r: PointCloudEptGeometryNode | undefined);
|
|
@@ -7,7 +7,8 @@ export declare class MeasurementLine {
|
|
|
7
7
|
private readonly _meshes;
|
|
8
8
|
private readonly _fixedWidthLineMaterial;
|
|
9
9
|
private readonly _adaptiveWidthLineMaterial;
|
|
10
|
-
private readonly
|
|
10
|
+
private readonly _startPos;
|
|
11
|
+
private readonly _endpoint;
|
|
11
12
|
constructor(lineWidth: number, lineColor: THREE.Color, startPoint: THREE.Vector3);
|
|
12
13
|
dispose(): void;
|
|
13
14
|
get meshes(): THREE.Group;
|
|
@@ -38,7 +39,6 @@ export declare class MeasurementLine {
|
|
|
38
39
|
updateLineColor(color: THREE.Color): void;
|
|
39
40
|
/**
|
|
40
41
|
* Generate line geometry and create the mesh.
|
|
41
|
-
* @param point Point from where the line will be generated.
|
|
42
42
|
*/
|
|
43
43
|
private startLine;
|
|
44
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.20230118",
|
|
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": {
|
|
@@ -81,14 +81,13 @@
|
|
|
81
81
|
"loglevel": "1.8.1",
|
|
82
82
|
"mixpanel-browser": "2.45.0",
|
|
83
83
|
"path-browserify": "1.0.1",
|
|
84
|
-
"proj4": "2.8.0",
|
|
85
84
|
"rxjs": "7.8.0",
|
|
86
85
|
"skmeans": "0.11.3",
|
|
87
86
|
"three-stdlib": "2.21.1"
|
|
88
87
|
},
|
|
89
88
|
"devDependencies": {
|
|
90
|
-
"@azure/msal-browser": "2.32.
|
|
91
|
-
"@cognite/sdk": "7.
|
|
89
|
+
"@azure/msal-browser": "2.32.2",
|
|
90
|
+
"@cognite/sdk": "7.15.0",
|
|
92
91
|
"@microsoft/api-extractor": "^7.33.6",
|
|
93
92
|
"@types/dat.gui": "0.7.7",
|
|
94
93
|
"@types/expect-puppeteer": "5.0.2",
|
|
@@ -101,13 +100,12 @@
|
|
|
101
100
|
"@types/lodash": "4.14.191",
|
|
102
101
|
"@types/mixpanel-browser": "2.38.0",
|
|
103
102
|
"@types/node": "18.11.3",
|
|
104
|
-
"@types/proj4": "2.5.2",
|
|
105
103
|
"@types/random-seed": "0.3.3",
|
|
106
104
|
"@types/skmeans": "0.11.3",
|
|
107
105
|
"@types/stats": "0.16.30",
|
|
108
106
|
"@types/tween.js": "18.5.1",
|
|
109
|
-
"@typescript-eslint/eslint-plugin": "5.48.
|
|
110
|
-
"@typescript-eslint/parser": "5.48.
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "5.48.1",
|
|
108
|
+
"@typescript-eslint/parser": "5.48.1",
|
|
111
109
|
"concurrently": "7.6.0",
|
|
112
110
|
"cross-env": "7.0.3",
|
|
113
111
|
"cross-var": "1.1.0",
|
|
@@ -127,15 +125,15 @@
|
|
|
127
125
|
"jest": "29.3.1",
|
|
128
126
|
"jest-canvas-mock": "2.4.0",
|
|
129
127
|
"jest-environment-jsdom": "29.3.1",
|
|
130
|
-
"jest-extended": "3.2.
|
|
128
|
+
"jest-extended": "3.2.3",
|
|
131
129
|
"jest-image-snapshot": "6.1.0",
|
|
132
130
|
"jest-puppeteer": "6.2.0",
|
|
133
131
|
"jsdom": "20.0.3",
|
|
134
132
|
"moq.ts": "10.0.2",
|
|
135
|
-
"nock": "13.
|
|
133
|
+
"nock": "13.3.0",
|
|
136
134
|
"prettier": "2.8.2",
|
|
137
135
|
"process": "0.11.10",
|
|
138
|
-
"puppeteer": "19.5.
|
|
136
|
+
"puppeteer": "19.5.2",
|
|
139
137
|
"random-seed": "0.3.0",
|
|
140
138
|
"raw-loader": "4.0.2",
|
|
141
139
|
"remove-files-webpack-plugin": "1.5.0",
|
|
@@ -143,7 +141,7 @@
|
|
|
143
141
|
"shx": "0.3.4",
|
|
144
142
|
"stats.js": "0.17.0",
|
|
145
143
|
"three": "0.148.0",
|
|
146
|
-
"ts-jest": "29.0.
|
|
144
|
+
"ts-jest": "29.0.5",
|
|
147
145
|
"ts-loader": "9.4.2",
|
|
148
146
|
"tsc-alias": "1.8.2",
|
|
149
147
|
"typescript": "4.9.4",
|
|
@@ -156,7 +154,7 @@
|
|
|
156
154
|
"workerize-loader": "2.0.2"
|
|
157
155
|
},
|
|
158
156
|
"peerDependencies": {
|
|
159
|
-
"@cognite/sdk": "7.
|
|
157
|
+
"@cognite/sdk": "7.15.0",
|
|
160
158
|
"three": "0.148.0"
|
|
161
159
|
},
|
|
162
160
|
"glslify": {
|