@pilotdev/pilot-web-3d 25.3.0 → 25.3.2-alpha
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/index.d.ts +20 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1895,6 +1895,10 @@ export interface ModelPart {
|
|
|
1895
1895
|
getViewObject(): ViewObject;
|
|
1896
1896
|
dispose(): void;
|
|
1897
1897
|
}
|
|
1898
|
+
export class ModelPartVisibilityState {
|
|
1899
|
+
get elements(): ModelElementIds;
|
|
1900
|
+
get isContainsHiddenElements(): boolean;
|
|
1901
|
+
}
|
|
1898
1902
|
export enum IfcType {
|
|
1899
1903
|
IfcAbsorbedDoseMeasure = 0,
|
|
1900
1904
|
IfcAccelerationMeasure = 1,
|
|
@@ -3223,8 +3227,13 @@ export class Model {
|
|
|
3223
3227
|
*/
|
|
3224
3228
|
getVisibleModelParts(): ModelPart[];
|
|
3225
3229
|
/**
|
|
3226
|
-
* Gets
|
|
3227
|
-
* @returns {ModelPart[]} - An array of
|
|
3230
|
+
* Gets completely visible model parst
|
|
3231
|
+
* @returns {ModelPart[]} - An array of completely visible model parts
|
|
3232
|
+
*/
|
|
3233
|
+
getCompletelyVisibleModelParts(): ModelPart[];
|
|
3234
|
+
/**
|
|
3235
|
+
* Gets completely hidden model parts
|
|
3236
|
+
* @returns {ModelPart[]} - An array of completely hidden model parts
|
|
3228
3237
|
*/
|
|
3229
3238
|
getHiddenModelParts(): ModelPart[];
|
|
3230
3239
|
/**
|
|
@@ -3308,6 +3317,15 @@ export class Model {
|
|
|
3308
3317
|
* @returns {ModelElementIds[]} Array of the currently visible model elements.
|
|
3309
3318
|
*/
|
|
3310
3319
|
getVisibleElements(): ModelElementIds[];
|
|
3320
|
+
/**
|
|
3321
|
+
* Returns the visibility states of the specified model parts.
|
|
3322
|
+
* @returns {ModelPartVisibilityState[]} Array of the visibility states.
|
|
3323
|
+
*/
|
|
3324
|
+
getVisibility(modelParts: string[] | ModelPart[]): ModelPartVisibilityState[];
|
|
3325
|
+
/**
|
|
3326
|
+
* Sets the visibility states of several model parts.
|
|
3327
|
+
*/
|
|
3328
|
+
setVisibility(states: ModelPartVisibilityState[]): void;
|
|
3311
3329
|
/**
|
|
3312
3330
|
* Returns the isolated element ids.
|
|
3313
3331
|
* @returns {ModelElementIds[]} Array of the currently visible model elements.
|