@procore/bim-webviewer-sdk 17.3.0-rc.6 → 17.3.0-rc.8
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 +1 -0
- package/dist/Procore.Bim.Webviewer.d.ts +0 -5
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/controllers/RenderController.d.ts +0 -2
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +0 -2
- package/dist/types/src/controllers/RenderControllerWorker.d.ts +0 -2
- package/dist/types/src/controllers/ShortestDistanceController.d.ts +0 -1
- package/dist/types/src/pwfreader/PWF.d.ts +1 -2
- package/dist/types/src/pwfreader/PWFProxy.d.ts +1 -2
- package/dist/types/src/pwfreader/v1/PWFV1.d.ts +0 -2
- package/dist/types/src/pwfreader/v2/PWFV2.d.ts +0 -2
- package/package.json +1 -1
|
@@ -371,7 +371,6 @@ export class RenderController {
|
|
|
371
371
|
destinationObjectTreeName: any;
|
|
372
372
|
}): void;
|
|
373
373
|
validateObjectTree(resourceId: any, objectTreeName: any): boolean;
|
|
374
|
-
isPartitionedModel(): boolean;
|
|
375
374
|
setPwfFileCacheState(states: any): void;
|
|
376
375
|
getPwfFileCacheState(): {
|
|
377
376
|
meshnodeABCached: boolean;
|
|
@@ -382,7 +381,6 @@ export class RenderController {
|
|
|
382
381
|
getNumMeshes(params?: {}): number;
|
|
383
382
|
getNumMeshnodes(params?: {}): number;
|
|
384
383
|
getNumNodes(params?: {}): number;
|
|
385
|
-
getMeasureObjectMeshesPartition(): Promise<import("../pwfreader/PWFTypes").MeshnodeObject[]>;
|
|
386
384
|
}
|
|
387
385
|
export namespace RenderController {
|
|
388
386
|
namespace NullSelectedSubtree {
|
|
@@ -275,8 +275,6 @@ export class RenderControllerProxy {
|
|
|
275
275
|
getSectionBoxDisplayBbox(...params: any[]): Promise<any> | import("../sdk").BoundingBox;
|
|
276
276
|
getSectionsAsBox(...params: any[]): Promise<any> | import("../sectioning/SectionController").OrientedBox | null;
|
|
277
277
|
setHotkeysEnabled(enabled: any): void;
|
|
278
|
-
isPartitionedModel(...params: any[]): boolean | Promise<any>;
|
|
279
|
-
getMeasureObjectMeshesPartition(...params: any[]): Promise<any>;
|
|
280
278
|
getRayIntersectPoint(...params: any[]): Promise<any> | {
|
|
281
279
|
intersection: import("../sdk").Vector3 | null;
|
|
282
280
|
meshnodeIndex: number;
|
|
@@ -119,7 +119,5 @@ export class RenderControllerWorker {
|
|
|
119
119
|
getSectionsAsBox(...params: any[]): Promise<any>;
|
|
120
120
|
setPwfFileCacheState(...params: any[]): Promise<any>;
|
|
121
121
|
partitionUrlsFromMeshnodeIndices(...params: any[]): Promise<any>;
|
|
122
|
-
isPartitionedModel(...params: any[]): Promise<any>;
|
|
123
|
-
getMeasureObjectMeshesPartition(...params: any[]): Promise<any>;
|
|
124
122
|
getRayIntersectPoint(evt: any, returnOnEdgeHitFailure: any): Promise<any>;
|
|
125
123
|
}
|
|
@@ -13,5 +13,4 @@ export declare class ShortestDistanceController {
|
|
|
13
13
|
removeMeasureIds(virtualMeshnodeIndices: number[]): void;
|
|
14
14
|
handleMeasurementClick(virtualMeshnodeIndex: number): void;
|
|
15
15
|
getMeasureObjectMeshes(): MeshnodeObject[];
|
|
16
|
-
getMeasureObjectMeshesPartition(): Promise<MeshnodeObject[]>;
|
|
17
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StreamedGeometryFactory } from '../procoregl/StreamedGeometryFactory';
|
|
2
2
|
import type { GeometryFactory } from '../procoregl/GeometryFactory';
|
|
3
|
-
import type { Node, Meshnode,
|
|
3
|
+
import type { Node, Meshnode, MeshObject, ModelAnalyticsData } from './PWFTypes';
|
|
4
4
|
import type { BootstrapperResult } from '../controllers/Bootstrapper';
|
|
5
5
|
import { Vector3 } from '../types/Math';
|
|
6
6
|
export interface PWF {
|
|
@@ -42,7 +42,6 @@ export interface PWF {
|
|
|
42
42
|
hasNode(id: number): boolean;
|
|
43
43
|
loadAllMeshGeometryToGPU(): BootstrapperResult;
|
|
44
44
|
loadAllPartitionProxies(): void;
|
|
45
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject>;
|
|
46
45
|
captureModelStats(): void;
|
|
47
46
|
getModelAnalyticsData(): ModelAnalyticsData;
|
|
48
47
|
get virtualMeshnodeIndexOffset(): number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meshnode, Node, MeshObject,
|
|
1
|
+
import { Meshnode, Node, MeshObject, ModelAnalyticsData, PWF as PWFVersion, Manifest } from './PWFTypes';
|
|
2
2
|
import { StreamedGeometryFactory } from '../procoregl/StreamedGeometryFactory';
|
|
3
3
|
import { GeometryFactory } from '../procoregl/GeometryFactory';
|
|
4
4
|
import type { BootstrapperResult } from '../controllers/Bootstrapper';
|
|
@@ -53,7 +53,6 @@ export declare class PWFProxy implements PWF {
|
|
|
53
53
|
numFirstObjects(): number;
|
|
54
54
|
breadthFirstTraversalNodes(callback: (n: Node | Meshnode) => void): BootstrapperResult;
|
|
55
55
|
getNamedNode(nodeId: number): Node;
|
|
56
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject>;
|
|
57
56
|
captureModelStats(): number;
|
|
58
57
|
getModelAnalyticsData(): ModelAnalyticsData;
|
|
59
58
|
get virtualMeshnodeIndexOffset(): number;
|
|
@@ -16,7 +16,6 @@ import { Meshnode } from './standard/Meshnode';
|
|
|
16
16
|
import { PartitionProxy } from './streaming/PartitionProxy';
|
|
17
17
|
import { StreamedGeometryFactory } from '../../procoregl/StreamedGeometryFactory';
|
|
18
18
|
import { MeshObject } from './objects/MeshObject';
|
|
19
|
-
import { MeshnodeObject } from './objects/MeshnodeObject';
|
|
20
19
|
import { LRUCache } from '../../utils/LRUCache';
|
|
21
20
|
import { Partition } from './streaming/Partition';
|
|
22
21
|
import { GeometryFactory } from '../../procoregl/GeometryFactory';
|
|
@@ -101,7 +100,6 @@ export declare class PWFV1 implements PWF {
|
|
|
101
100
|
numFirstObjects(): number;
|
|
102
101
|
breadthFirstTraversalNodes(callback: (n: Node | Meshnode) => void): BootstrapperResult;
|
|
103
102
|
getNamedNode(nodeId: number): Node;
|
|
104
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject>;
|
|
105
103
|
captureModelStats(): number;
|
|
106
104
|
private captureStandardModelStats;
|
|
107
105
|
private capturePartitionedModelStats;
|
|
@@ -16,7 +16,6 @@ import { Meshnode } from './standard/Meshnode';
|
|
|
16
16
|
import { PartitionProxy } from './streaming/PartitionProxy';
|
|
17
17
|
import { StreamedGeometryFactory } from '../../procoregl/StreamedGeometryFactory';
|
|
18
18
|
import { MeshObject } from './objects/MeshObject';
|
|
19
|
-
import { MeshnodeObject } from './objects/MeshnodeObject';
|
|
20
19
|
import { LRUCache } from '../../utils/LRUCache';
|
|
21
20
|
import { Partition } from './streaming/Partition';
|
|
22
21
|
import { GeometryFactory } from '../../procoregl/GeometryFactory';
|
|
@@ -98,7 +97,6 @@ export declare class PWFV2 implements PWF {
|
|
|
98
97
|
numFirstObjects(): number;
|
|
99
98
|
breadthFirstTraversalNodes(callback: (n: Node | Meshnode) => void): BootstrapperResult;
|
|
100
99
|
getNamedNode(nodeId: number): Node;
|
|
101
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject>;
|
|
102
100
|
captureModelStats(): number;
|
|
103
101
|
private captureStandardModelStats;
|
|
104
102
|
private capturePartitionedModelStats;
|