@procore/bim-webviewer-sdk 6.6.0-jv-test-merge-develop.11 → 6.6.0-jv-test-merge-develop.13

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/CHANGELOG.md CHANGED
@@ -9,7 +9,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
+ - Added a new `gui` namespace:
13
+ - `gui.addContextMenuItem(...)`: Appends a new entry in the Context Menu;
14
+ - `gui.removeContextMenuItems(...)`: Removes a set of entries from the Context Menu;
15
+ - [Internal] Update the public documentation repository!!!!
12
16
  - Added `this.viewer.model.getObject` to the Web Viewer SDK which takes a object id as a parameter and returns a node object.
17
+ - Added Hidden Objects api to the Web Viewer SDK and adds the following
18
+ - `model.hideObjects` to hide objects by id
19
+ - `model.unhideAllObjects` to unhide all objects
20
+ - `model.unhideObjects` to unhide objects by id
21
+ - `model.getHiddenObjects` to get an array of object ids that are hidden
22
+ - [Internal] Added an Debug.gui option to set the background color used in the scene.
23
+ - Added `this.viewer.model.getRootObject` to the Web Viewer SDK which returns a root node object.
24
+
25
+ ### Changed
26
+
27
+ - [Internal] `VisibleObjectsCache` was revamped in the following ways:
28
+ - Renamed `RelevantMeshnodesSet`;
29
+ - Uses a spatial index (`KDTree`) to store the meshnodes instead of arrays;
30
+ - Adds a `cullTree` function, taking the same arguments as `SceneGraph.cullTree()`.
31
+
32
+ ### Fixed
33
+
34
+ - `camera.getBcfCamera` was returning a wonky `camera_up_vector` value. It now returns the correct value.
13
35
 
14
36
  ## [6.6.0] - 2022-01-23
15
37