@xeokit/xeokit-sdk 2.6.65 → 2.6.67
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/{LICENSE.txt → LICENSE} +30 -27
- package/README.md +13 -6
- package/dist/xeokit-sdk.cjs.js +50322 -25848
- package/dist/xeokit-sdk.es.js +50322 -25848
- package/dist/xeokit-sdk.es5.js +7982 -4807
- package/dist/xeokit-sdk.min.cjs.js +5 -5
- package/dist/xeokit-sdk.min.es.js +5 -5
- package/dist/xeokit-sdk.min.es5.js +4 -4
- package/package.json +34 -32
- package/src/extras/PointerCircle/PointerCircle.js +1 -1
- package/src/plugins/AnnotationsPlugin/Annotation.js +45 -5
- package/src/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.js +1 -1
- package/src/plugins/GLTFLoaderPlugin/GLTFSceneModelLoader.js +3 -2
- package/src/plugins/LASLoaderPlugin/LASLoaderPlugin.js +1 -1
- package/src/plugins/SectionPlanesPlugin/Control.js +11 -12
- package/src/plugins/XKTLoaderPlugin/XKTLoaderPlugin.js +57 -2
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV10.js +6 -0
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV11.js +6 -0
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV12.js +822 -0
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV6.js +6 -0
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV7.js +6 -0
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV8.js +6 -0
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV9.js +6 -0
- package/src/{plugins/lib → viewer/scene/libs}/earcut.js +194 -189
- package/src/viewer/scene/materials/EmphasisMaterial.js +5 -1
- package/src/viewer/scene/math/math.js +6 -2
- package/src/viewer/scene/model/SceneModel.js +1 -0
- package/src/viewer/scene/model/SceneModelEntity.js +26 -0
- package/src/viewer/scene/model/SceneModelMesh.js +4 -0
- package/src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js +1 -1
- package/src/viewer/scene/model/vbo/batching/triangles/VBOBatchingTrianglesLayer.js +1 -1
- package/src/viewer/scene/model/vbo/batching/triangles/renderers/TrianglesColorRenderer.js +4 -1
- package/src/viewer/scene/model/vbo/instancing/triangles/VBOInstancingTrianglesLayer.js +1 -1
- package/src/viewer/scene/model/vbo/instancing/triangles/renderers/TrianglesColorRenderer.js +4 -1
- package/src/viewer/scene/scene/Scene.js +50 -6
- package/src/viewer/scene/sectionCaps/SectionCaps.js +774 -0
- package/src/viewer/scene/sectionCaps/index.js +1 -0
- package/src/viewer/scene/sectionPlane/SectionPlane.js +79 -1
- package/src/viewer/scene/webgl/Renderer.js +19 -10
- package/types/extras/PointerCircle/PointerCircle.d.ts +50 -0
- package/types/extras/PointerCircle/index.d.ts +1 -0
- package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +2 -1
- package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +28 -0
- package/types/plugins/index.d.ts +1 -0
- package/types/plugins/lib/ui/index.d.ts +12 -0
- package/types/viewer/scene/models/SceneModelMesh.d.ts +7 -0
|
@@ -180,6 +180,12 @@ function load(viewer, options, inflatedData, sceneModel, metaModel, manifestCtx)
|
|
|
180
180
|
continue;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
// Mask loading of object ids
|
|
184
|
+
|
|
185
|
+
if (options.includeIdsMap && metaObject.id && (!options.includeIdsMap[metaObject.id])) {
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
|
|
183
189
|
// Get initial property values for object types
|
|
184
190
|
|
|
185
191
|
const props = options.objectDefaults ? options.objectDefaults[metaObject.type] || options.objectDefaults["DEFAULT"] : null;
|
|
@@ -230,6 +230,12 @@ function load(viewer, options, inflatedData, sceneModel, metaModel, manifestCtx)
|
|
|
230
230
|
continue;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
+
// Mask loading of object ids
|
|
234
|
+
|
|
235
|
+
if (options.includeIdsMap && metaObject.id && (!options.includeIdsMap[metaObject.id])) {
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
|
|
233
239
|
// Get initial property values for object types
|
|
234
240
|
|
|
235
241
|
const props = options.objectDefaults ? options.objectDefaults[metaObject.type] || options.objectDefaults["DEFAULT"] : null;
|
|
@@ -273,6 +273,12 @@ function load(viewer, options, inflatedData, sceneModel, metaModel, manifestCtx)
|
|
|
273
273
|
continue;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
+
// Mask loading of object ids
|
|
277
|
+
|
|
278
|
+
if (options.includeIdsMap && metaObject.id && (!options.includeIdsMap[metaObject.id])) {
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
|
|
276
282
|
// Get initial property values for object types
|
|
277
283
|
|
|
278
284
|
const props = options.objectDefaults ? options.objectDefaults[metaObject.type] || options.objectDefaults["DEFAULT"] : null;
|
|
@@ -230,6 +230,12 @@ function load(viewer, options, inflatedData, sceneModel, metaModel, manifestCtx)
|
|
|
230
230
|
continue;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
+
// Mask loading of object ids
|
|
234
|
+
|
|
235
|
+
if (options.includeIdsMap && metaObject.id && (!options.includeIdsMap[metaObject.id])) {
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
|
|
233
239
|
// Get initial property values for object types
|
|
234
240
|
|
|
235
241
|
const props = options.objectDefaults ? options.objectDefaults[metaObject.type] || options.objectDefaults["DEFAULT"] : null;
|