@soonspacejs/plugin-ifc-loader 2.13.16 → 2.14.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/dist/index.d.ts +1 -1
- package/dist/index.esm.js +36853 -1
- package/dist/libs/IFCLoader.d.ts +786 -0
- package/dist/libs/web-ifc-api.d.ts +1690 -0
- package/package.json +3 -3
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
import { Loader, BufferGeometry, Mesh, Matrix4 } from 'three';
|
|
2
|
+
import { IFCSPACE, IFCOPENINGELEMENT } from './web-ifc-api';
|
|
3
|
+
export class IFCLoader extends Loader<any, string> {
|
|
4
|
+
constructor(manager: any);
|
|
5
|
+
ifcManager: IFCManager;
|
|
6
|
+
load(url: any, onLoad: any, onProgress: any, onError: any): void;
|
|
7
|
+
onProgress: any;
|
|
8
|
+
parse(buffer: any): Promise<IFCModel>;
|
|
9
|
+
}
|
|
10
|
+
declare class IFCManager {
|
|
11
|
+
state: {
|
|
12
|
+
models: never[];
|
|
13
|
+
api: {
|
|
14
|
+
wasmPath: string;
|
|
15
|
+
isWasmPathAbsolute: boolean;
|
|
16
|
+
modelSchemaList: any[];
|
|
17
|
+
modelSchemaNameList: any[];
|
|
18
|
+
ifcGuidMap: Map<any, any>;
|
|
19
|
+
deletedLines: Map<any, any>;
|
|
20
|
+
properties: {
|
|
21
|
+
api: any;
|
|
22
|
+
getItemProperties(modelID: any, id: any, recursive?: boolean, inverse?: boolean): Promise<any>;
|
|
23
|
+
getPropertySets(modelID: any, elementID?: number, recursive?: boolean, includeTypeProperties?: boolean): any;
|
|
24
|
+
setPropertySets(modelID: any, elementID: any, psetID: any): Promise<boolean>;
|
|
25
|
+
getTypeProperties(modelID: any, elementID?: number, recursive?: boolean): Promise<any[]>;
|
|
26
|
+
getMaterialsProperties(modelID: any, elementID?: number, recursive?: boolean, includeTypeMaterials?: boolean): any;
|
|
27
|
+
setMaterialsProperties(modelID: any, elementID: any, materialID: any): Promise<boolean>;
|
|
28
|
+
getSpatialStructure(modelID: any, includeProperties?: boolean): Promise<{
|
|
29
|
+
expressID: any;
|
|
30
|
+
type: string;
|
|
31
|
+
children: never[];
|
|
32
|
+
}>;
|
|
33
|
+
getRelatedProperties(modelID: any, elementID: any, propsName: any, recursive?: boolean): Promise<any[]>;
|
|
34
|
+
getChunks(modelID: any, chunks: any, propNames: any): Promise<void>;
|
|
35
|
+
getSpatialNode(modelID: any, node: any, treeChunks: any, includeProperties: any): Promise<void>;
|
|
36
|
+
getChildren(modelID: any, node: any, treeChunks: any, propNames: any, includeProperties: any): Promise<void>;
|
|
37
|
+
newNode(id: any, type: any): {
|
|
38
|
+
expressID: any;
|
|
39
|
+
type: any;
|
|
40
|
+
children: never[];
|
|
41
|
+
};
|
|
42
|
+
getSpatialTreeChunks(modelID: any): Promise<{}>;
|
|
43
|
+
saveChunk(chunks: any, propNames: any, rel: any): void;
|
|
44
|
+
setItemProperties(modelID: any, elementID: any, propID: any, propsName: any): Promise<boolean>;
|
|
45
|
+
};
|
|
46
|
+
Init(customLocateFileHandler: any): Promise<void>;
|
|
47
|
+
wasmModule: any;
|
|
48
|
+
OpenModels(dataSets: any, settings: any): any[];
|
|
49
|
+
CreateSettings(settings: any): any;
|
|
50
|
+
LookupSchemaId(schemaName: any): number;
|
|
51
|
+
OpenModel(data: any, settings: any): any;
|
|
52
|
+
OpenModelFromCallback(callback: any, settings: any): any;
|
|
53
|
+
GetModelSchema(modelID: any): any;
|
|
54
|
+
CreateModel(model: any, settings: any): any;
|
|
55
|
+
SaveModel(modelID: any): Uint8Array<ArrayBuffer>;
|
|
56
|
+
SaveModelToCallback(modelID: any, callback: any): void;
|
|
57
|
+
GetGeometry(modelID: any, geometryExpressID: any): any;
|
|
58
|
+
GetHeaderLine(modelID: any, headerType: any): any;
|
|
59
|
+
GetAllTypesOfModel(modelID: any): {
|
|
60
|
+
typeID: number;
|
|
61
|
+
typeName: any;
|
|
62
|
+
}[];
|
|
63
|
+
GetLine(modelID: any, expressID: any, flatten?: boolean, inverse?: boolean, inversePropKey?: null): any;
|
|
64
|
+
GetNextExpressID(modelID: any, expressID: any): any;
|
|
65
|
+
CreateIfcEntity(modelID: any, type: any, ...args: any[]): any;
|
|
66
|
+
CreateIfcType(modelID: any, type: any, value: any): any;
|
|
67
|
+
GetNameFromTypeCode(type: any): any;
|
|
68
|
+
GetTypeCodeFromName(typeName: any): any;
|
|
69
|
+
IsIfcElement(type: any): any;
|
|
70
|
+
GetIfcEntityList(modelID: any): number[];
|
|
71
|
+
DeleteLine(modelID: any, expressID: any): void;
|
|
72
|
+
WriteLines(modelID: any, lineObjects: any): void;
|
|
73
|
+
WriteLine(modelID: any, lineObject: any): void;
|
|
74
|
+
FlattenLine(modelID: any, line: any): void;
|
|
75
|
+
GetRawLineData(modelID: any, expressID: any): any;
|
|
76
|
+
WriteRawLineData(modelID: any, data: any): void;
|
|
77
|
+
WriteRawLinesData(modelID: any, data: any): void;
|
|
78
|
+
GetLineIDsWithType(modelID: any, type: any, includeInherited?: boolean): any;
|
|
79
|
+
GetAllLines(modelID: any): any;
|
|
80
|
+
GetAllCrossSections2D(modelID: any): {
|
|
81
|
+
origin: string;
|
|
82
|
+
curves: {
|
|
83
|
+
points: {
|
|
84
|
+
x: any;
|
|
85
|
+
y: any;
|
|
86
|
+
z: any;
|
|
87
|
+
}[];
|
|
88
|
+
}[];
|
|
89
|
+
expressID: any[];
|
|
90
|
+
}[];
|
|
91
|
+
GetAllCrossSections3D(modelID: any): {
|
|
92
|
+
origin: string;
|
|
93
|
+
curves: {
|
|
94
|
+
points: {
|
|
95
|
+
x: any;
|
|
96
|
+
y: any;
|
|
97
|
+
z: any;
|
|
98
|
+
}[];
|
|
99
|
+
}[];
|
|
100
|
+
expressID: any[];
|
|
101
|
+
}[];
|
|
102
|
+
GetAllAlignments(modelID: any): {
|
|
103
|
+
origin: string;
|
|
104
|
+
horizontal: {
|
|
105
|
+
points: {
|
|
106
|
+
x: any;
|
|
107
|
+
y: any;
|
|
108
|
+
}[];
|
|
109
|
+
data: any[];
|
|
110
|
+
}[];
|
|
111
|
+
vertical: {
|
|
112
|
+
points: {
|
|
113
|
+
x: any;
|
|
114
|
+
y: any;
|
|
115
|
+
}[];
|
|
116
|
+
data: any[];
|
|
117
|
+
}[];
|
|
118
|
+
curve3D: {
|
|
119
|
+
points: {
|
|
120
|
+
x: number;
|
|
121
|
+
y: number;
|
|
122
|
+
z: number;
|
|
123
|
+
}[];
|
|
124
|
+
}[];
|
|
125
|
+
}[];
|
|
126
|
+
SetGeometryTransformation(modelID: any, transformationMatrix: any): void;
|
|
127
|
+
GetCoordinationMatrix(modelID: any): any;
|
|
128
|
+
GetVertexArray(ptr: any, size: any): any;
|
|
129
|
+
GetIndexArray(ptr: any, size: any): any;
|
|
130
|
+
getSubArray(heap: any, startPtr: any, sizeBytes: any): any;
|
|
131
|
+
CloseModel(modelID: any): void;
|
|
132
|
+
StreamMeshes(modelID: any, expressIDs: any, meshCallback: any): void;
|
|
133
|
+
StreamAllMeshes(modelID: any, meshCallback: any): void;
|
|
134
|
+
StreamAllMeshesWithTypes(modelID: any, types: any, meshCallback: any): void;
|
|
135
|
+
IsModelOpen(modelID: any): any;
|
|
136
|
+
LoadAllGeometry(modelID: any): any;
|
|
137
|
+
GetFlatMesh(modelID: any, expressID: any): any;
|
|
138
|
+
GetMaxExpressID(modelID: any): any;
|
|
139
|
+
GetLineType(modelID: any, expressID: any): any;
|
|
140
|
+
GetVersion(): any;
|
|
141
|
+
GetExpressIdFromGuid(modelID: any, guid: any): any;
|
|
142
|
+
GetGuidFromExpressId(modelID: any, expressID: any): any;
|
|
143
|
+
CreateIfcGuidToExpressIdMapping(modelID: any): void;
|
|
144
|
+
SetWasmPath(path: any, absolute?: boolean): void;
|
|
145
|
+
SetLogLevel(level: any): void;
|
|
146
|
+
};
|
|
147
|
+
useJSON: boolean;
|
|
148
|
+
worker: {
|
|
149
|
+
active: boolean;
|
|
150
|
+
path: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
BVH: BvhManager;
|
|
154
|
+
parser: IFCParser;
|
|
155
|
+
subsets: SubsetManager;
|
|
156
|
+
utils: IFCUtils;
|
|
157
|
+
sequenceData: Data;
|
|
158
|
+
properties: PropertyManager;
|
|
159
|
+
types: TypeManager;
|
|
160
|
+
useFragments: boolean;
|
|
161
|
+
cleaner: MemoryCleaner;
|
|
162
|
+
get ifcAPI(): {
|
|
163
|
+
wasmPath: string;
|
|
164
|
+
isWasmPathAbsolute: boolean;
|
|
165
|
+
modelSchemaList: any[];
|
|
166
|
+
modelSchemaNameList: any[];
|
|
167
|
+
ifcGuidMap: Map<any, any>;
|
|
168
|
+
deletedLines: Map<any, any>;
|
|
169
|
+
properties: {
|
|
170
|
+
api: any;
|
|
171
|
+
getItemProperties(modelID: any, id: any, recursive?: boolean, inverse?: boolean): Promise<any>;
|
|
172
|
+
getPropertySets(modelID: any, elementID?: number, recursive?: boolean, includeTypeProperties?: boolean): any;
|
|
173
|
+
setPropertySets(modelID: any, elementID: any, psetID: any): Promise<boolean>;
|
|
174
|
+
getTypeProperties(modelID: any, elementID?: number, recursive?: boolean): Promise<any[]>;
|
|
175
|
+
getMaterialsProperties(modelID: any, elementID?: number, recursive?: boolean, includeTypeMaterials?: boolean): any;
|
|
176
|
+
setMaterialsProperties(modelID: any, elementID: any, materialID: any): Promise<boolean>;
|
|
177
|
+
getSpatialStructure(modelID: any, includeProperties?: boolean): Promise<{
|
|
178
|
+
expressID: any;
|
|
179
|
+
type: string;
|
|
180
|
+
children: never[];
|
|
181
|
+
}>;
|
|
182
|
+
getRelatedProperties(modelID: any, elementID: any, propsName: any, recursive?: boolean): Promise<any[]>;
|
|
183
|
+
getChunks(modelID: any, chunks: any, propNames: any): Promise<void>;
|
|
184
|
+
getSpatialNode(modelID: any, node: any, treeChunks: any, includeProperties: any): Promise<void>;
|
|
185
|
+
getChildren(modelID: any, node: any, treeChunks: any, propNames: any, includeProperties: any): Promise<void>;
|
|
186
|
+
newNode(id: any, type: any): {
|
|
187
|
+
expressID: any;
|
|
188
|
+
type: any;
|
|
189
|
+
children: never[];
|
|
190
|
+
};
|
|
191
|
+
getSpatialTreeChunks(modelID: any): Promise<{}>;
|
|
192
|
+
saveChunk(chunks: any, propNames: any, rel: any): void;
|
|
193
|
+
setItemProperties(modelID: any, elementID: any, propID: any, propsName: any): Promise<boolean>;
|
|
194
|
+
};
|
|
195
|
+
Init(customLocateFileHandler: any): Promise<void>;
|
|
196
|
+
wasmModule: any;
|
|
197
|
+
OpenModels(dataSets: any, settings: any): any[];
|
|
198
|
+
CreateSettings(settings: any): any;
|
|
199
|
+
LookupSchemaId(schemaName: any): number;
|
|
200
|
+
OpenModel(data: any, settings: any): any;
|
|
201
|
+
OpenModelFromCallback(callback: any, settings: any): any;
|
|
202
|
+
GetModelSchema(modelID: any): any;
|
|
203
|
+
CreateModel(model: any, settings: any): any;
|
|
204
|
+
SaveModel(modelID: any): Uint8Array<ArrayBuffer>;
|
|
205
|
+
SaveModelToCallback(modelID: any, callback: any): void;
|
|
206
|
+
GetGeometry(modelID: any, geometryExpressID: any): any;
|
|
207
|
+
GetHeaderLine(modelID: any, headerType: any): any;
|
|
208
|
+
GetAllTypesOfModel(modelID: any): {
|
|
209
|
+
typeID: number;
|
|
210
|
+
typeName: any;
|
|
211
|
+
}[];
|
|
212
|
+
GetLine(modelID: any, expressID: any, flatten?: boolean, inverse?: boolean, inversePropKey?: null): any;
|
|
213
|
+
GetNextExpressID(modelID: any, expressID: any): any;
|
|
214
|
+
CreateIfcEntity(modelID: any, type: any, ...args: any[]): any;
|
|
215
|
+
CreateIfcType(modelID: any, type: any, value: any): any;
|
|
216
|
+
GetNameFromTypeCode(type: any): any;
|
|
217
|
+
GetTypeCodeFromName(typeName: any): any;
|
|
218
|
+
IsIfcElement(type: any): any;
|
|
219
|
+
GetIfcEntityList(modelID: any): number[];
|
|
220
|
+
DeleteLine(modelID: any, expressID: any): void;
|
|
221
|
+
WriteLines(modelID: any, lineObjects: any): void;
|
|
222
|
+
WriteLine(modelID: any, lineObject: any): void;
|
|
223
|
+
FlattenLine(modelID: any, line: any): void;
|
|
224
|
+
GetRawLineData(modelID: any, expressID: any): any;
|
|
225
|
+
WriteRawLineData(modelID: any, data: any): void;
|
|
226
|
+
WriteRawLinesData(modelID: any, data: any): void;
|
|
227
|
+
GetLineIDsWithType(modelID: any, type: any, includeInherited?: boolean): any;
|
|
228
|
+
GetAllLines(modelID: any): any;
|
|
229
|
+
GetAllCrossSections2D(modelID: any): {
|
|
230
|
+
origin: string;
|
|
231
|
+
curves: {
|
|
232
|
+
points: {
|
|
233
|
+
x: any;
|
|
234
|
+
y: any;
|
|
235
|
+
z: any;
|
|
236
|
+
}[];
|
|
237
|
+
}[];
|
|
238
|
+
expressID: any[];
|
|
239
|
+
}[];
|
|
240
|
+
GetAllCrossSections3D(modelID: any): {
|
|
241
|
+
origin: string;
|
|
242
|
+
curves: {
|
|
243
|
+
points: {
|
|
244
|
+
x: any;
|
|
245
|
+
y: any;
|
|
246
|
+
z: any;
|
|
247
|
+
}[];
|
|
248
|
+
}[];
|
|
249
|
+
expressID: any[];
|
|
250
|
+
}[];
|
|
251
|
+
GetAllAlignments(modelID: any): {
|
|
252
|
+
origin: string;
|
|
253
|
+
horizontal: {
|
|
254
|
+
points: {
|
|
255
|
+
x: any;
|
|
256
|
+
y: any;
|
|
257
|
+
}[];
|
|
258
|
+
data: any[];
|
|
259
|
+
}[];
|
|
260
|
+
vertical: {
|
|
261
|
+
points: {
|
|
262
|
+
x: any;
|
|
263
|
+
y: any;
|
|
264
|
+
}[];
|
|
265
|
+
data: any[];
|
|
266
|
+
}[];
|
|
267
|
+
curve3D: {
|
|
268
|
+
points: {
|
|
269
|
+
x: number;
|
|
270
|
+
y: number;
|
|
271
|
+
z: number;
|
|
272
|
+
}[];
|
|
273
|
+
}[];
|
|
274
|
+
}[];
|
|
275
|
+
SetGeometryTransformation(modelID: any, transformationMatrix: any): void;
|
|
276
|
+
GetCoordinationMatrix(modelID: any): any;
|
|
277
|
+
GetVertexArray(ptr: any, size: any): any;
|
|
278
|
+
GetIndexArray(ptr: any, size: any): any;
|
|
279
|
+
getSubArray(heap: any, startPtr: any, sizeBytes: any): any;
|
|
280
|
+
CloseModel(modelID: any): void;
|
|
281
|
+
StreamMeshes(modelID: any, expressIDs: any, meshCallback: any): void;
|
|
282
|
+
StreamAllMeshes(modelID: any, meshCallback: any): void;
|
|
283
|
+
StreamAllMeshesWithTypes(modelID: any, types: any, meshCallback: any): void;
|
|
284
|
+
IsModelOpen(modelID: any): any;
|
|
285
|
+
LoadAllGeometry(modelID: any): any;
|
|
286
|
+
GetFlatMesh(modelID: any, expressID: any): any;
|
|
287
|
+
GetMaxExpressID(modelID: any): any;
|
|
288
|
+
GetLineType(modelID: any, expressID: any): any;
|
|
289
|
+
GetVersion(): any;
|
|
290
|
+
GetExpressIdFromGuid(modelID: any, guid: any): any;
|
|
291
|
+
GetGuidFromExpressId(modelID: any, expressID: any): any;
|
|
292
|
+
CreateIfcGuidToExpressIdMapping(modelID: any): void;
|
|
293
|
+
SetWasmPath(path: any, absolute?: boolean): void;
|
|
294
|
+
SetLogLevel(level: any): void;
|
|
295
|
+
};
|
|
296
|
+
parse(buffer: any): Promise<IFCModel>;
|
|
297
|
+
setWasmPath(path: any): Promise<void>;
|
|
298
|
+
setupThreeMeshBVH(computeBoundsTree: any, disposeBoundsTree: any, acceleratedRaycast: any): void;
|
|
299
|
+
setOnProgress(onProgress: any): void;
|
|
300
|
+
setupCoordinationMatrix(matrix: any): void;
|
|
301
|
+
clearCoordinationMatrix(): void;
|
|
302
|
+
applyWebIfcConfig(settings: any): Promise<void>;
|
|
303
|
+
useWebWorkers(active: any, path: any): Promise<void>;
|
|
304
|
+
useJSONData(useJSON?: boolean): Promise<void>;
|
|
305
|
+
addModelJSONData(modelID: any, data: any): Promise<void>;
|
|
306
|
+
loadJsonDataFromWorker(modelID: any, path: any): Promise<void>;
|
|
307
|
+
close(modelID: any, scene: any): void;
|
|
308
|
+
getExpressId(geometry: any, faceIndex: any): any;
|
|
309
|
+
getAllItemsOfType(modelID: any, type: any, verbose: any): Promise<any[]>;
|
|
310
|
+
getItemProperties(modelID: any, id: any, recursive?: boolean): Promise<any>;
|
|
311
|
+
getPropertySets(modelID: any, id: any, recursive?: boolean): Promise<void>;
|
|
312
|
+
getTypeProperties(modelID: any, id: any, recursive?: boolean): Promise<void>;
|
|
313
|
+
getMaterialsProperties(modelID: any, id: any, recursive?: boolean): Promise<void>;
|
|
314
|
+
getIfcType(modelID: any, id: any): any;
|
|
315
|
+
getSpatialStructure(modelID: any, includeProperties: any): Promise<{
|
|
316
|
+
expressID: any;
|
|
317
|
+
type: string;
|
|
318
|
+
children: never[];
|
|
319
|
+
}>;
|
|
320
|
+
getSubset(modelID: any, material: any, customId: any): any;
|
|
321
|
+
removeSubset(modelID: any, material: any, customID: any): void;
|
|
322
|
+
createSubset(config: any): any;
|
|
323
|
+
removeFromSubset(modelID: any, ids: any, customID: any, material: any): any;
|
|
324
|
+
clearSubset(modelID: any, customID: any, material: any): void;
|
|
325
|
+
isA(entity: any, entity_class: any): Promise<any>;
|
|
326
|
+
getSequenceData(modelID: any): Promise<Data>;
|
|
327
|
+
byType(modelID: any, entityClass: any): Promise<any[] | undefined>;
|
|
328
|
+
byId(modelID: any, id: any): Promise<any>;
|
|
329
|
+
idsByType(modelID: any, entityClass: any): Promise<any>;
|
|
330
|
+
dispose(): Promise<void>;
|
|
331
|
+
disposeMemory(): Promise<void>;
|
|
332
|
+
getAndClearErrors(modelID: any): void;
|
|
333
|
+
initializeWorkers(): Promise<void>;
|
|
334
|
+
worker: IFCWorkerHandler | undefined;
|
|
335
|
+
}
|
|
336
|
+
declare class IFCModel extends Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap> {
|
|
337
|
+
static dispose(): void;
|
|
338
|
+
constructor(...args: any[]);
|
|
339
|
+
modelID: number;
|
|
340
|
+
ifcManager: any;
|
|
341
|
+
mesh: this;
|
|
342
|
+
setIFCManager(manager: any): void;
|
|
343
|
+
setWasmPath(path: any): void;
|
|
344
|
+
close(scene: any): void;
|
|
345
|
+
getExpressId(geometry: any, faceIndex: any): any;
|
|
346
|
+
getAllItemsOfType(type: any, verbose: any): any;
|
|
347
|
+
getItemProperties(id: any, recursive?: boolean): any;
|
|
348
|
+
getPropertySets(id: any, recursive?: boolean): any;
|
|
349
|
+
getTypeProperties(id: any, recursive?: boolean): any;
|
|
350
|
+
getIfcType(id: any): any;
|
|
351
|
+
getSpatialStructure(): any;
|
|
352
|
+
getSubset(material: any): any;
|
|
353
|
+
removeSubset(material: any, customID: any): void;
|
|
354
|
+
createSubset(config: any): any;
|
|
355
|
+
}
|
|
356
|
+
declare namespace IFCModel {
|
|
357
|
+
let modelIdCounter: number;
|
|
358
|
+
}
|
|
359
|
+
declare class BvhManager {
|
|
360
|
+
initializeMeshBVH(computeBoundsTree: any, disposeBoundsTree: any, acceleratedRaycast: any): void;
|
|
361
|
+
computeBoundsTree: any;
|
|
362
|
+
disposeBoundsTree: any;
|
|
363
|
+
acceleratedRaycast: any;
|
|
364
|
+
applyThreeMeshBVH(geometry: any): void;
|
|
365
|
+
setupThreeMeshBVH(): void;
|
|
366
|
+
}
|
|
367
|
+
declare class IFCParser {
|
|
368
|
+
constructor(state: any, BVH: any);
|
|
369
|
+
state: any;
|
|
370
|
+
BVH: any;
|
|
371
|
+
loadedModels: number;
|
|
372
|
+
optionalCategories: {
|
|
373
|
+
[IFCSPACE]: boolean;
|
|
374
|
+
[IFCOPENINGELEMENT]: boolean;
|
|
375
|
+
};
|
|
376
|
+
geometriesByMaterials: {};
|
|
377
|
+
loadingState: {
|
|
378
|
+
total: number;
|
|
379
|
+
current: number;
|
|
380
|
+
step: number;
|
|
381
|
+
};
|
|
382
|
+
currentWebIfcID: number;
|
|
383
|
+
currentModelID: number;
|
|
384
|
+
setupOptionalCategories(config: any): Promise<void>;
|
|
385
|
+
parse(buffer: any, coordinationMatrix: any): Promise<IFCModel>;
|
|
386
|
+
getAndClearErrors(_modelId: any): void;
|
|
387
|
+
notifyProgress(loaded: any, total: any): void;
|
|
388
|
+
newIfcModel(buffer: any): Promise<void>;
|
|
389
|
+
loadAllGeometry(modelID: any): Promise<IFCModel>;
|
|
390
|
+
initializeLoadingState(modelID: any): Promise<void>;
|
|
391
|
+
notifyLoadingEnded(): void;
|
|
392
|
+
updateLoadingState(): void;
|
|
393
|
+
addOptionalCategories(modelID: any): void;
|
|
394
|
+
streamMesh(modelID: any, mesh: any): void;
|
|
395
|
+
getPlacedGeometry(modelID: any, expressID: any, placedGeometry: any): Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>;
|
|
396
|
+
getBufferGeometry(modelID: any, expressID: any, placedGeometry: any): BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>;
|
|
397
|
+
storeGeometryByMaterial(color: any, geometry: any): void;
|
|
398
|
+
getMeshMatrix(matrix: any): Matrix4;
|
|
399
|
+
ifcGeometryToBuffer(expressID: any, vertexData: any, indexData: any): BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>;
|
|
400
|
+
cleanUpGeometryMemory(geometries: any): void;
|
|
401
|
+
}
|
|
402
|
+
declare class SubsetManager {
|
|
403
|
+
constructor(state: any, BVH: any);
|
|
404
|
+
subsets: {};
|
|
405
|
+
state: any;
|
|
406
|
+
items: ItemsMap;
|
|
407
|
+
BVH: any;
|
|
408
|
+
subsetCreator: SubsetCreator;
|
|
409
|
+
getAllSubsets(): {};
|
|
410
|
+
getSubset(modelID: any, material: any, customId: any): any;
|
|
411
|
+
removeSubset(modelID: any, material: any, customID: any): void;
|
|
412
|
+
createSubset(config: any): any;
|
|
413
|
+
removeFromSubset(modelID: any, ids: any, customID: any, material: any): any;
|
|
414
|
+
clearSubset(modelID: any, customID: any, material: any): void;
|
|
415
|
+
dispose(): void;
|
|
416
|
+
getSubsetID(modelID: any, material: any, customID?: string): string;
|
|
417
|
+
}
|
|
418
|
+
declare class IFCUtils {
|
|
419
|
+
constructor(state: any);
|
|
420
|
+
state: any;
|
|
421
|
+
map: {};
|
|
422
|
+
isA(entity: any, entity_class: any): any;
|
|
423
|
+
byId(modelID: any, id: any): Promise<any>;
|
|
424
|
+
idsByType(modelID: any, entity_class: any): Promise<any>;
|
|
425
|
+
byType(modelID: any, entity_class: any): Promise<any[] | undefined>;
|
|
426
|
+
}
|
|
427
|
+
declare class Data {
|
|
428
|
+
constructor(state: any);
|
|
429
|
+
state: any;
|
|
430
|
+
isLoaded: boolean;
|
|
431
|
+
workPlans: {};
|
|
432
|
+
workSchedules: {};
|
|
433
|
+
workCalendars: {};
|
|
434
|
+
workTimes: {};
|
|
435
|
+
recurrencePatterns: {};
|
|
436
|
+
timePeriods: {};
|
|
437
|
+
tasks: {};
|
|
438
|
+
taskTimes: {};
|
|
439
|
+
lagTimes: {};
|
|
440
|
+
sequences: {};
|
|
441
|
+
utils: IFCUtils;
|
|
442
|
+
load(modelID: any): Promise<void>;
|
|
443
|
+
loadWorkSchedules(modelID: any): Promise<void>;
|
|
444
|
+
loadWorkScheduleRelatedObjects(modelID: any): Promise<void>;
|
|
445
|
+
loadTasks(modelID: any): Promise<void>;
|
|
446
|
+
loadTaskSequence(modelID: any): Promise<void>;
|
|
447
|
+
loadTaskOutputs(modelID: any): Promise<void>;
|
|
448
|
+
loadTaskNesting(modelID: any): Promise<void>;
|
|
449
|
+
loadTaskOperations(modelID: any): Promise<void>;
|
|
450
|
+
loadAssignementsWorkCalendar(modelID: any): Promise<void>;
|
|
451
|
+
loadWorkCalendars(modelID: any): Promise<void>;
|
|
452
|
+
loadWorkTimes(modelID: any): Promise<void>;
|
|
453
|
+
loadTimePeriods(modelID: any): Promise<void>;
|
|
454
|
+
}
|
|
455
|
+
declare class PropertyManager {
|
|
456
|
+
constructor(state: any);
|
|
457
|
+
state: any;
|
|
458
|
+
webIfcProps: WebIfcPropertyManager;
|
|
459
|
+
jsonProps: JSONPropertyManager;
|
|
460
|
+
currentProps: WebIfcPropertyManager;
|
|
461
|
+
serializer: PropertySerializer;
|
|
462
|
+
getExpressId(geometry: any, faceIndex: any): any;
|
|
463
|
+
getHeaderLine(modelID: any, headerType: any): Promise<any>;
|
|
464
|
+
getItemProperties(modelID: any, elementID: any, recursive?: boolean): Promise<any>;
|
|
465
|
+
getAllItemsOfType(modelID: any, type: any, verbose: any): Promise<any[]>;
|
|
466
|
+
getPropertySets(modelID: any, elementID: any, recursive?: boolean): Promise<void>;
|
|
467
|
+
getTypeProperties(modelID: any, elementID: any, recursive?: boolean): Promise<void>;
|
|
468
|
+
getMaterialsProperties(modelID: any, elementID: any, recursive?: boolean): Promise<void>;
|
|
469
|
+
getSpatialStructure(modelID: any, includeProperties: any): Promise<{
|
|
470
|
+
expressID: any;
|
|
471
|
+
type: string;
|
|
472
|
+
children: never[];
|
|
473
|
+
}>;
|
|
474
|
+
updateCurrentProps(): void;
|
|
475
|
+
}
|
|
476
|
+
declare class TypeManager {
|
|
477
|
+
constructor(state: any);
|
|
478
|
+
state: any;
|
|
479
|
+
getAllTypes(worker: any): Promise<void>;
|
|
480
|
+
getAllTypesOfModel(modelID: any, worker: any): Promise<void>;
|
|
481
|
+
}
|
|
482
|
+
declare class MemoryCleaner {
|
|
483
|
+
constructor(state: any);
|
|
484
|
+
state: any;
|
|
485
|
+
dispose(): Promise<void>;
|
|
486
|
+
}
|
|
487
|
+
declare class IFCWorkerHandler {
|
|
488
|
+
constructor(state: any, BVH: any);
|
|
489
|
+
state: any;
|
|
490
|
+
BVH: any;
|
|
491
|
+
requestID: number;
|
|
492
|
+
rejectHandlers: {};
|
|
493
|
+
resolveHandlers: {};
|
|
494
|
+
serializeHandlers: {};
|
|
495
|
+
callbackHandlers: {};
|
|
496
|
+
onprogressHandlers: {};
|
|
497
|
+
serializer: Serializer;
|
|
498
|
+
IDB: IndexedDatabase;
|
|
499
|
+
workerPath: any;
|
|
500
|
+
ifcWorker: Worker;
|
|
501
|
+
properties: PropertyHandler;
|
|
502
|
+
parser: ParserHandler;
|
|
503
|
+
webIfc: WebIfcHandler;
|
|
504
|
+
workerState: WorkerStateHandler;
|
|
505
|
+
request(worker: any, action: any, args: any): Promise<any>;
|
|
506
|
+
terminate(): Promise<void>;
|
|
507
|
+
Close(): Promise<void>;
|
|
508
|
+
handleResponse(event: any): void;
|
|
509
|
+
callHandlers(data: any): void;
|
|
510
|
+
resolveOnProgress(data: any): void;
|
|
511
|
+
resolveSerializations(data: any): void;
|
|
512
|
+
resolveCallbacks(data: any): void;
|
|
513
|
+
}
|
|
514
|
+
declare class ItemsMap {
|
|
515
|
+
constructor(state: any);
|
|
516
|
+
state: any;
|
|
517
|
+
map: {};
|
|
518
|
+
generateGeometryIndexMap(modelID: any): void;
|
|
519
|
+
getSubsetID(modelID: any, material: any, customID?: string): string;
|
|
520
|
+
dispose(): void;
|
|
521
|
+
getGeometry(modelID: any): any;
|
|
522
|
+
newItemsMap(modelID: any, geometry: any): any;
|
|
523
|
+
fillItemsWithGroupInfo(group: any, geometry: any, items: any): void;
|
|
524
|
+
getMaterialStore(map: any, id: any, matIndex: any): any;
|
|
525
|
+
}
|
|
526
|
+
declare class SubsetCreator {
|
|
527
|
+
constructor(state: any, items: any, subsets: any, BVH: any);
|
|
528
|
+
state: any;
|
|
529
|
+
items: any;
|
|
530
|
+
subsets: any;
|
|
531
|
+
BVH: any;
|
|
532
|
+
tempIndex: any[];
|
|
533
|
+
createSubset(config: any, subsetID: any): any;
|
|
534
|
+
dispose(): void;
|
|
535
|
+
initializeSubset(config: any, subsetID: any): void;
|
|
536
|
+
initializeSubsetAttributes(subsetGeom: any, model: any): void;
|
|
537
|
+
initializeSubsetGroups(subsetGeom: any, model: any): void;
|
|
538
|
+
filterIndices(config: any, subsetID: any): void;
|
|
539
|
+
constructSubsetByMaterial(config: any, subsetID: any): void;
|
|
540
|
+
insertNewIndices(config: any, subsetID: any, materialIndex: any, newIndices: any): void;
|
|
541
|
+
insertIndicesAtGroup(subsetID: any, indicesByGroup: any, index: any, newIndices: any): void;
|
|
542
|
+
getCurrentGroup(subsetID: any, groupIndex: any): any;
|
|
543
|
+
resetGroups(geometry: any): void;
|
|
544
|
+
}
|
|
545
|
+
declare class WebIfcPropertyManager extends BasePropertyManager {
|
|
546
|
+
getItemProperties(modelID: any, id: any, recursive?: boolean): Promise<any>;
|
|
547
|
+
getHeaderLine(modelID: any, headerType: any): Promise<any>;
|
|
548
|
+
getSpatialStructure(modelID: any, includeProperties: any): Promise<{
|
|
549
|
+
expressID: any;
|
|
550
|
+
type: string;
|
|
551
|
+
children: never[];
|
|
552
|
+
}>;
|
|
553
|
+
getAllItemsOfType(modelID: any, type: any, verbose: any): Promise<any[]>;
|
|
554
|
+
getProperty(modelID: any, elementID: any, recursive: boolean | undefined, propName: any): Promise<any[]>;
|
|
555
|
+
getNodeType(modelID: any, id: any): any;
|
|
556
|
+
getAllRelatedItemsOfType(modelID: any, id: any, propNames: any): Promise<any[]>;
|
|
557
|
+
}
|
|
558
|
+
declare class JSONPropertyManager extends BasePropertyManager {
|
|
559
|
+
getItemProperties(modelID: any, id: any, recursive?: boolean): Promise<any>;
|
|
560
|
+
getHeaderLine(modelID: any): Promise<{}>;
|
|
561
|
+
getSpatialStructure(modelID: any, includeProperties: any): Promise<{
|
|
562
|
+
expressID: any;
|
|
563
|
+
type: string;
|
|
564
|
+
children: never[];
|
|
565
|
+
}>;
|
|
566
|
+
getAllItemsOfType(modelID: any, type: any, verbose: any): Promise<any[]>;
|
|
567
|
+
getProperty(modelID: any, elementID: any, recursive: boolean | undefined, propName: any): Promise<any[]>;
|
|
568
|
+
getNodeType(modelID: any, id: any): any;
|
|
569
|
+
filterItemsByType(data: any, typeName: any, verbose: any): any[];
|
|
570
|
+
getAllRelatedItemsOfType(modelID: any, id: any, propNames: any): Promise<any[]>;
|
|
571
|
+
getItemsByID(modelID: any, ids: any): any[];
|
|
572
|
+
getReferencesRecursively(modelID: any, jsonObject: any): void;
|
|
573
|
+
getJSONItem(modelID: any, jsonObject: any, key: any): void;
|
|
574
|
+
getMultipleJSONItems(modelID: any, jsonObject: any, key: any): void;
|
|
575
|
+
}
|
|
576
|
+
declare class PropertySerializer {
|
|
577
|
+
constructor(webIfc: any);
|
|
578
|
+
webIfc: any;
|
|
579
|
+
dispose(): void;
|
|
580
|
+
serializeAllProperties(modelID: any, maxSize: any, event: any): Promise<any[]>;
|
|
581
|
+
getPropertiesAsBlobs(modelID: any, blobs: any, maxSize: any, event: any): Promise<void>;
|
|
582
|
+
getItemProperty(modelID: any, id: any, properties: any): Promise<void>;
|
|
583
|
+
formatItemProperties(props: any): void;
|
|
584
|
+
initializePropertiesObject(modelID: any): Promise<{
|
|
585
|
+
coordinationMatrix: any;
|
|
586
|
+
globalHeight: any;
|
|
587
|
+
}>;
|
|
588
|
+
getBuildingHeight(modelID: any): Promise<any>;
|
|
589
|
+
getBuilding(modelID: any): Promise<any>;
|
|
590
|
+
getAllGeometriesIDs(modelID: any): Promise<Set<any>>;
|
|
591
|
+
}
|
|
592
|
+
declare class Serializer {
|
|
593
|
+
serializeVector(vector: any): {
|
|
594
|
+
size: any;
|
|
595
|
+
};
|
|
596
|
+
reconstructVector(vector: any): Vector;
|
|
597
|
+
serializeIfcGeometry(geometry: any): {
|
|
598
|
+
GetVertexData: any;
|
|
599
|
+
GetVertexDataSize: any;
|
|
600
|
+
GetIndexData: any;
|
|
601
|
+
GetIndexDataSize: any;
|
|
602
|
+
};
|
|
603
|
+
reconstructIfcGeometry(geometry: any): IfcGeometry;
|
|
604
|
+
serializeFlatMesh(flatMesh: any): {
|
|
605
|
+
expressID: any;
|
|
606
|
+
geometries: {
|
|
607
|
+
size: any;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
reconstructFlatMesh(flatMesh: any): FlatMesh;
|
|
611
|
+
serializeFlatMeshVector(vector: any): {
|
|
612
|
+
size: any;
|
|
613
|
+
};
|
|
614
|
+
reconstructFlatMeshVector(vector: any): FlatMeshVector;
|
|
615
|
+
serializeIfcModel(model: any): SerializedMesh;
|
|
616
|
+
reconstructIfcModel(model: any): IFCModel;
|
|
617
|
+
}
|
|
618
|
+
declare class IndexedDatabase {
|
|
619
|
+
static getDBItems(open: any, id: any): {
|
|
620
|
+
db: any;
|
|
621
|
+
tx: any;
|
|
622
|
+
store: any;
|
|
623
|
+
};
|
|
624
|
+
static openOrCreateDB(id: any): IDBOpenDBRequest;
|
|
625
|
+
static closeDB(db: any, tx: any, resolve: any): void;
|
|
626
|
+
save(item: any, id: any): Promise<any>;
|
|
627
|
+
load(id: any): Promise<any>;
|
|
628
|
+
createSchema(open: any, id: any): void;
|
|
629
|
+
saveItem(item: any, open: any, id: any, resolve: any): void;
|
|
630
|
+
loadItem(open: any, id: any, resolve: any): void;
|
|
631
|
+
}
|
|
632
|
+
declare class PropertyHandler {
|
|
633
|
+
constructor(handler: any);
|
|
634
|
+
handler: any;
|
|
635
|
+
API: any;
|
|
636
|
+
getExpressId(geometry: any, faceIndex: any): any;
|
|
637
|
+
getHeaderLine(modelID: any, headerType: any): any;
|
|
638
|
+
getAllItemsOfType(modelID: any, type: any, verbose: any): any;
|
|
639
|
+
getItemProperties(modelID: any, elementID: any, recursive: any): any;
|
|
640
|
+
getMaterialsProperties(modelID: any, elementID: any, recursive: any): any;
|
|
641
|
+
getPropertySets(modelID: any, elementID: any, recursive: any): any;
|
|
642
|
+
getTypeProperties(modelID: any, elementID: any, recursive: any): any;
|
|
643
|
+
getSpatialStructure(modelID: any, includeProperties: any): any;
|
|
644
|
+
}
|
|
645
|
+
declare class ParserHandler {
|
|
646
|
+
constructor(handler: any, serializer: any, BVH: any, IDB: any);
|
|
647
|
+
handler: any;
|
|
648
|
+
serializer: any;
|
|
649
|
+
BVH: any;
|
|
650
|
+
IDB: any;
|
|
651
|
+
optionalCategories: {
|
|
652
|
+
[IFCSPACE]: boolean;
|
|
653
|
+
[IFCOPENINGELEMENT]: boolean;
|
|
654
|
+
};
|
|
655
|
+
API: any;
|
|
656
|
+
setupOptionalCategories(config: any): Promise<any>;
|
|
657
|
+
parse(buffer: any, coordinationMatrix: any): Promise<any>;
|
|
658
|
+
getAndClearErrors(_modelId: any): void;
|
|
659
|
+
updateState(modelID: any): void;
|
|
660
|
+
getModel(): Promise<any>;
|
|
661
|
+
}
|
|
662
|
+
declare class WebIfcHandler {
|
|
663
|
+
constructor(handler: any, serializer: any);
|
|
664
|
+
handler: any;
|
|
665
|
+
serializer: any;
|
|
666
|
+
API: any;
|
|
667
|
+
Init(): Promise<any>;
|
|
668
|
+
wasmModule: boolean | undefined;
|
|
669
|
+
OpenModel(data: any, settings: any): Promise<any>;
|
|
670
|
+
CreateModel(model: any, settings: any): Promise<any>;
|
|
671
|
+
ExportFileAsIFC(modelID: any): Promise<any>;
|
|
672
|
+
GetHeaderLine(modelID: any, headerType: any): Promise<any>;
|
|
673
|
+
GetGeometry(modelID: any, geometryExpressID: any): Promise<any>;
|
|
674
|
+
GetLine(modelID: any, expressID: any, flatten: any): Promise<any>;
|
|
675
|
+
GetAndClearErrors(modelID: any): Promise<any>;
|
|
676
|
+
GetNameFromTypeCode(type: any): Promise<any>;
|
|
677
|
+
GetIfcEntityList(modelID: any): Promise<any>;
|
|
678
|
+
GetTypeCodeFromName(modelID: any, typeName: any): Promise<any>;
|
|
679
|
+
WriteLine(modelID: any, lineObject: any): Promise<any>;
|
|
680
|
+
FlattenLine(modelID: any, line: any): Promise<any>;
|
|
681
|
+
GetRawLineData(modelID: any, expressID: any): Promise<any>;
|
|
682
|
+
WriteRawLineData(modelID: any, data: any): Promise<any>;
|
|
683
|
+
GetLineIDsWithType(modelID: any, type: any): Promise<any>;
|
|
684
|
+
GetAllLines(modelID: any): Promise<any>;
|
|
685
|
+
SetGeometryTransformation(modelID: any, transformationMatrix: any): Promise<any>;
|
|
686
|
+
GetCoordinationMatrix(modelID: any): Promise<any>;
|
|
687
|
+
GetVertexArray(ptr: any, size: any): Promise<any>;
|
|
688
|
+
GetIndexArray(ptr: any, size: any): Promise<any>;
|
|
689
|
+
getSubArray(heap: any, startPtr: any, sizeBytes: any): Promise<any>;
|
|
690
|
+
CloseModel(modelID: any): Promise<any>;
|
|
691
|
+
StreamAllMeshes(modelID: any, meshCallback: any): Promise<any>;
|
|
692
|
+
StreamAllMeshesWithTypes(modelID: any, types: any, meshCallback: any): Promise<any>;
|
|
693
|
+
IsModelOpen(modelID: any): Promise<any>;
|
|
694
|
+
LoadAllGeometry(modelID: any): Promise<any>;
|
|
695
|
+
GetFlatMesh(modelID: any, expressID: any): Promise<any>;
|
|
696
|
+
SetWasmPath(path: any): Promise<any>;
|
|
697
|
+
}
|
|
698
|
+
declare class WorkerStateHandler {
|
|
699
|
+
constructor(handler: any);
|
|
700
|
+
handler: any;
|
|
701
|
+
API: any;
|
|
702
|
+
state: any;
|
|
703
|
+
updateStateUseJson(): Promise<any>;
|
|
704
|
+
updateStateWebIfcSettings(): Promise<any>;
|
|
705
|
+
updateModelStateTypes(modelID: any, types: any): Promise<any>;
|
|
706
|
+
updateModelStateJsonData(modelID: any, jsonData: any): Promise<any>;
|
|
707
|
+
loadJsonDataFromWorker(modelID: any, path: any): Promise<any>;
|
|
708
|
+
}
|
|
709
|
+
declare class BasePropertyManager {
|
|
710
|
+
static isRelated(id: any, rel: any, propNames: any): boolean;
|
|
711
|
+
static newIfcProject(id: any): {
|
|
712
|
+
expressID: any;
|
|
713
|
+
type: string;
|
|
714
|
+
children: never[];
|
|
715
|
+
};
|
|
716
|
+
constructor(state: any);
|
|
717
|
+
state: any;
|
|
718
|
+
getPropertySets(modelID: any, elementID: any, recursive?: boolean): Promise<void>;
|
|
719
|
+
getTypeProperties(modelID: any, elementID: any, recursive?: boolean): Promise<void>;
|
|
720
|
+
getMaterialsProperties(modelID: any, elementID: any, recursive?: boolean): Promise<void>;
|
|
721
|
+
getSpatialNode(modelID: any, node: any, treeChunks: any, includeProperties: any): Promise<void>;
|
|
722
|
+
getChildren(modelID: any, node: any, treeChunks: any, propNames: any, includeProperties: any): Promise<void>;
|
|
723
|
+
newNode(modelID: any, id: any): {
|
|
724
|
+
expressID: any;
|
|
725
|
+
type: void;
|
|
726
|
+
children: never[];
|
|
727
|
+
};
|
|
728
|
+
getSpatialTreeChunks(modelID: any): Promise<{}>;
|
|
729
|
+
saveChunk(chunks: any, propNames: any, rel: any): void;
|
|
730
|
+
getRelated(rel: any, propNames: any, IDs: any): void;
|
|
731
|
+
getProperty(modelID: any, elementID: any, recursive: boolean | undefined, propName: any): Promise<void>;
|
|
732
|
+
getChunks(modelID: any, chunks: any, propNames: any): Promise<void>;
|
|
733
|
+
getItemProperties(modelID: any, expressID: any, recursive?: boolean): Promise<void>;
|
|
734
|
+
getNodeType(modelID: any, id: any): void;
|
|
735
|
+
}
|
|
736
|
+
declare class Vector {
|
|
737
|
+
constructor(vector: any);
|
|
738
|
+
_data: {};
|
|
739
|
+
_size: any;
|
|
740
|
+
size(): any;
|
|
741
|
+
get(index: any): any;
|
|
742
|
+
}
|
|
743
|
+
declare class IfcGeometry {
|
|
744
|
+
constructor(vector: any);
|
|
745
|
+
_GetVertexData: any;
|
|
746
|
+
_GetVertexDataSize: any;
|
|
747
|
+
_GetIndexData: any;
|
|
748
|
+
_GetIndexDataSize: any;
|
|
749
|
+
GetVertexData(): any;
|
|
750
|
+
GetVertexDataSize(): any;
|
|
751
|
+
GetIndexData(): any;
|
|
752
|
+
GetIndexDataSize(): any;
|
|
753
|
+
}
|
|
754
|
+
declare class FlatMesh {
|
|
755
|
+
constructor(serializer: any, flatMesh: any);
|
|
756
|
+
expressID: any;
|
|
757
|
+
geometries: any;
|
|
758
|
+
}
|
|
759
|
+
declare class FlatMeshVector {
|
|
760
|
+
constructor(serializer: any, vector: any);
|
|
761
|
+
_data: {};
|
|
762
|
+
_size: any;
|
|
763
|
+
size(): any;
|
|
764
|
+
get(index: any): any;
|
|
765
|
+
}
|
|
766
|
+
declare class SerializedMesh {
|
|
767
|
+
constructor(model: any);
|
|
768
|
+
materials: SerializedMaterial[];
|
|
769
|
+
modelID: any;
|
|
770
|
+
geometry: SerializedGeometry;
|
|
771
|
+
}
|
|
772
|
+
declare class SerializedMaterial {
|
|
773
|
+
constructor(material: any);
|
|
774
|
+
color: any[];
|
|
775
|
+
opacity: any;
|
|
776
|
+
transparent: any;
|
|
777
|
+
}
|
|
778
|
+
declare class SerializedGeometry {
|
|
779
|
+
constructor(geometry: any);
|
|
780
|
+
position: any;
|
|
781
|
+
normal: any;
|
|
782
|
+
expressID: any;
|
|
783
|
+
index: any;
|
|
784
|
+
groups: any;
|
|
785
|
+
}
|
|
786
|
+
export {};
|