@cognite/reveal 4.0.0-dev.20230113 → 4.0.0-dev.20230116
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.
|
@@ -207,6 +207,18 @@ export declare class CogniteCadModel implements CdfModelNodeCollectionDataProvid
|
|
|
207
207
|
* @param out Preallocated `THREE.Matrix4` (optional)
|
|
208
208
|
*/
|
|
209
209
|
getCdfToDefaultModelTransformation(out?: THREE.Matrix4): THREE.Matrix4;
|
|
210
|
+
/**
|
|
211
|
+
* Map point from CDF to model space, taking the model's custom transformation into account
|
|
212
|
+
* @param point Point to compute transformation from
|
|
213
|
+
* @param out Optional pre-allocated point
|
|
214
|
+
*/
|
|
215
|
+
mapPointFromCdfToModelCoordinates(point: THREE.Vector3, out?: THREE.Vector3): THREE.Vector3;
|
|
216
|
+
/**
|
|
217
|
+
* Map bounding box from CDF to model space, taking the model's custom transformation into account
|
|
218
|
+
* @param box Box to compute transformation from
|
|
219
|
+
* @param out Optional pre-allocated box
|
|
220
|
+
*/
|
|
221
|
+
mapBoxFromCdfToModelCoordinates(box: THREE.Box3, out?: THREE.Box3): THREE.Box3;
|
|
210
222
|
/**
|
|
211
223
|
* Fetches a bounding box from the CDF by the nodeId.
|
|
212
224
|
* @param nodeId
|
|
@@ -64,6 +64,18 @@ export declare class CognitePointCloudModel {
|
|
|
64
64
|
* @param out Preallocated `THREE.Matrix4` (optional)
|
|
65
65
|
*/
|
|
66
66
|
getCdfToDefaultModelTransformation(out?: THREE.Matrix4): THREE.Matrix4;
|
|
67
|
+
/**
|
|
68
|
+
* Map point from CDF to model space, taking the model's custom transformation into account
|
|
69
|
+
* @param point Point to compute transformation from
|
|
70
|
+
* @param out Optional pre-allocated point
|
|
71
|
+
*/
|
|
72
|
+
mapPointFromCdfToModelCoordinates(point: THREE.Vector3, out?: THREE.Vector3): THREE.Vector3;
|
|
73
|
+
/**
|
|
74
|
+
* Map bounding box from CDF to model space, taking the model's custom transformation into account
|
|
75
|
+
* @param box Box to compute transformation from
|
|
76
|
+
* @param out Optional pre-allocated box
|
|
77
|
+
*/
|
|
78
|
+
mapBoxFromCdfToModelCoordinates(box: THREE.Box3, out?: THREE.Box3): THREE.Box3;
|
|
67
79
|
/**
|
|
68
80
|
* Sets a visible filter on points of a given class.
|
|
69
81
|
* @param pointClass ASPRS classification class code. Either one of the well known
|
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.20230116",
|
|
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": {
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"nock": "13.2.9",
|
|
136
136
|
"prettier": "2.8.2",
|
|
137
137
|
"process": "0.11.10",
|
|
138
|
-
"puppeteer": "19.
|
|
138
|
+
"puppeteer": "19.5.0",
|
|
139
139
|
"random-seed": "0.3.0",
|
|
140
140
|
"raw-loader": "4.0.2",
|
|
141
141
|
"remove-files-webpack-plugin": "1.5.0",
|