@cognite/reveal 4.2.0-dev.20230428 → 4.2.0-dev.20230502
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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/packages/360-images/src/annotation/Image360Annotation.d.ts +2 -2
- package/dist/packages/360-images/src/annotation/ImageAnnotationObject.d.ts +1 -1
- package/dist/packages/360-images/src/annotation/types.d.ts +2 -2
- package/package.json +3 -3
|
@@ -12,11 +12,11 @@ export interface Image360Annotation {
|
|
|
12
12
|
*/
|
|
13
13
|
readonly annotation: AnnotationModel;
|
|
14
14
|
/**
|
|
15
|
-
* Set the display color of this annotation. Default:
|
|
15
|
+
* Set the display color of this annotation. Default: Random, based on annotation label
|
|
16
16
|
*/
|
|
17
17
|
setColor(color?: Color): void;
|
|
18
18
|
/**
|
|
19
19
|
* Set whether this annotation should be visible. Default: true
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
setVisible(visible?: boolean): void;
|
|
22
22
|
}
|
|
@@ -22,6 +22,6 @@ export declare class ImageAnnotationObject implements Image360Annotation {
|
|
|
22
22
|
updateMaterial(): void;
|
|
23
23
|
setDefaultStyle(appearance: Image360AnnotationAppearance): void;
|
|
24
24
|
setColor(color?: Color): void;
|
|
25
|
-
|
|
25
|
+
setVisible(visible?: boolean): void;
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -7,11 +7,11 @@ import { Color } from 'three';
|
|
|
7
7
|
*/
|
|
8
8
|
export type Image360AnnotationAppearance = {
|
|
9
9
|
/**
|
|
10
|
-
* The color of the annotation. Default:
|
|
10
|
+
* The color of the annotation. Default: Random, based on annotation label
|
|
11
11
|
*/
|
|
12
12
|
color?: Color;
|
|
13
13
|
/**
|
|
14
14
|
* Whether the annotation is visible. Default: true
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
visible?: boolean;
|
|
17
17
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.2.0-dev.
|
|
3
|
+
"version": "4.2.0-dev.20230502",
|
|
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": {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@types/jsdom": "21.1.1",
|
|
92
92
|
"@types/lodash": "4.14.194",
|
|
93
93
|
"@types/mixpanel-browser": "2.38.1",
|
|
94
|
-
"@types/node": "18.16.
|
|
94
|
+
"@types/node": "18.16.1",
|
|
95
95
|
"@types/random-seed": "0.3.3",
|
|
96
96
|
"@types/skmeans": "0.11.4",
|
|
97
97
|
"@types/stats": "0.16.30",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"nock": "13.3.0",
|
|
126
126
|
"prettier": "2.8.8",
|
|
127
127
|
"process": "0.11.10",
|
|
128
|
-
"puppeteer": "19.
|
|
128
|
+
"puppeteer": "19.11.1",
|
|
129
129
|
"random-seed": "0.3.0",
|
|
130
130
|
"raw-loader": "4.0.2",
|
|
131
131
|
"remove-files-webpack-plugin": "1.5.0",
|