bimatter-viewer-react 0.5.10 → 0.5.11
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/lib/api/ViewerApi.d.ts +6 -2
- package/lib/assets/BmtConverterWorker-D4BQ-hoH.js +3668 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1131 -919
- package/lib/types.d.ts +2 -2
- package/lib/utils/ClippingUtils/ClippingUtils.d.ts +3 -2
- package/lib/workers/BmtConverterWorker.d.ts +50 -0
- package/lib/workers/BmtConverterWorkerClient.d.ts +11 -0
- package/lib/workers/index.d.ts +3 -0
- package/package.json +1 -1
package/lib/api/ViewerApi.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type ViewerGeometryUtilsApi = {
|
|
|
24
24
|
toggleIIfcSpacesVisibility: () => void;
|
|
25
25
|
};
|
|
26
26
|
export type ViewerSelectorApi = {
|
|
27
|
-
addSelected: (modelID: number, ids: number[]) => void;
|
|
27
|
+
addSelected: (modelID: number, ids: number[], setTarget?: boolean, fitTarget?: boolean) => void;
|
|
28
28
|
collector: () => FilteredElementsCollector;
|
|
29
29
|
getPreselectionColor: () => ColorRepresentation;
|
|
30
30
|
getSelectionColor: () => ColorRepresentation;
|
|
@@ -33,7 +33,10 @@ export type ViewerSelectorApi = {
|
|
|
33
33
|
resetSelection: (modelID?: number) => void;
|
|
34
34
|
setPreselectionColor: (color: ColorRepresentation) => void;
|
|
35
35
|
setSelectionColor: (color: ColorRepresentation) => void;
|
|
36
|
-
setSelected: (modelID: number, ids: number[], reset?: boolean) => void;
|
|
36
|
+
setSelected: (modelID: number, ids: number[], reset?: boolean, setTarget?: boolean, fitTarget?: boolean) => void;
|
|
37
|
+
};
|
|
38
|
+
export type ViewerSceneSelectorApi = {
|
|
39
|
+
setTargetToSelection: (selection: ViewerSelection, fitTarget?: boolean) => void;
|
|
37
40
|
};
|
|
38
41
|
export type ViewerColorsApi = {
|
|
39
42
|
clearAllColors: () => void;
|
|
@@ -85,6 +88,7 @@ export type ViewerSceneApi = {
|
|
|
85
88
|
converter: ViewerConverterApi;
|
|
86
89
|
dimensions: ViewerDimensionsApi;
|
|
87
90
|
geometryUtils: ViewerGeometryUtilsApi;
|
|
91
|
+
selector: ViewerSceneSelectorApi;
|
|
88
92
|
};
|
|
89
93
|
export declare function serializeSelected(selected: SelectedStore): ViewerSelection;
|
|
90
94
|
export declare function createSelectedStore(selection: ViewerSelection): SelectedStore;
|