@procore/bim-webviewer-sdk 14.0.0-beta.0 → 14.0.0-lana.0
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 +2 -0
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/components/StatsJS.d.ts +11 -0
- package/dist/types/src/controllers/RenderController.d.ts +1 -0
- package/dist/types/src/pwfreader/PWF.d.ts +6 -0
- package/dist/types/src/pwfreader/pwf/impl/bufferReader/PartitionProxyBufferReader.d.ts +1 -0
- package/dist/types/src/pwfreader/shared/MeshServices.d.ts +1 -0
- package/dist/types/src/pwfreader/streaming/PartitionProxy.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class StatsJS {
|
|
2
|
+
private static attached;
|
|
3
|
+
private static statsFPS;
|
|
4
|
+
private static statsTime;
|
|
5
|
+
private static statsMemory;
|
|
6
|
+
private static FpsCss;
|
|
7
|
+
private static TimeCss;
|
|
8
|
+
private static MemCss;
|
|
9
|
+
static attach(document: Document): void;
|
|
10
|
+
static update(): void;
|
|
11
|
+
}
|
|
@@ -111,6 +111,7 @@ export class RenderController {
|
|
|
111
111
|
} | null | undefined;
|
|
112
112
|
getInitEventPayload(params: any): import("../api/analytic_events/analyticKeys").ModelInitializationPayload;
|
|
113
113
|
launchAnimationLoop(): void;
|
|
114
|
+
captureModelStats(): void;
|
|
114
115
|
init(meshnodeAB: any, nodeAB: any, meshAB: any, manifest: any): Promise<void>;
|
|
115
116
|
nodeAB: any;
|
|
116
117
|
meshnodeAB: any;
|
|
@@ -110,6 +110,12 @@ export class PWF {
|
|
|
110
110
|
forEachNode(callback: any): void;
|
|
111
111
|
getMeshVerticesAndFaces(meshRef: any, meshnodeOffset: any): import("./shared/MeshServices").MeshVerticesAndFaces;
|
|
112
112
|
findFirstObject(meshnodeIndex: any): import("./shared/Node").Node;
|
|
113
|
+
captureModelStats(): void;
|
|
114
|
+
captureStandardModelStats(pwfModel: any): void;
|
|
115
|
+
modelStats: {
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
} | undefined;
|
|
118
|
+
capturePartitionedModelStats(pwfModel: any): void;
|
|
113
119
|
#private;
|
|
114
120
|
}
|
|
115
121
|
import { NodeServices } from "./shared";
|
|
@@ -22,6 +22,7 @@ export declare class MeshServices {
|
|
|
22
22
|
getMeshGeometryForOffsets(meshOffset: number, _meshnodeOffset: number | undefined): MeshGeometry | undefined;
|
|
23
23
|
meshFromOffset(offset: number): Mesh;
|
|
24
24
|
numMeshes(): number;
|
|
25
|
+
meshes(): PWFMesh[];
|
|
25
26
|
loadAllMeshGeometryToGPU(): {
|
|
26
27
|
isComplete: boolean;
|
|
27
28
|
};
|
|
@@ -22,6 +22,12 @@ export declare class PartitionProxy {
|
|
|
22
22
|
offsetTop: number;
|
|
23
23
|
offsetLeft: number;
|
|
24
24
|
};
|
|
25
|
+
static Stats: {
|
|
26
|
+
PartitionsLoaded: number;
|
|
27
|
+
MeshesLoaded: number;
|
|
28
|
+
VerticesLoaded: number;
|
|
29
|
+
FacesLoaded: number;
|
|
30
|
+
};
|
|
25
31
|
constructor(pwfPartitionProxy: PWFPartitionProxy);
|
|
26
32
|
partitionId(): number;
|
|
27
33
|
partitionUrl(): string;
|