import { Group, Vector3 } from "three"; import { Scene as ConwayScene } from "../../core/scene.js"; import { ILocalIdSet } from "../../core/i_local_id_set.js"; /** * A three proxy for a conway scene of a model. */ export default class SceneObject extends Group { readonly target: ConwayScene; private readonly sink_; /** * Set the visibility set for the elements in this scene object. * Note it is a set of of the local IDs of the related elements * (i.e. IfcProducts) that are used to control visibility. * * @return {ILocalIdSet | Set< number > | null} The visibility set to use, or null for all items. */ get visibilitySet(): ILocalIdSet | Set | null; /** * Set the visibility set for the elements in this scene object. * Note it is a set of of the local IDs of the related elements * (i.e. IfcProducts) that are used to control visibility. * * @param value The visibility set to use, or null for all items. */ set visibilitySet(value: ILocalIdSet | Set | null); /** * Does this have instances that aren't spaces? * * @return {boolean} Does this have non spzces? */ get hasNonSpaces(): boolean; /** * Should the spaces of this object be shown? * * @return {boolean} Whether spaces are shown. */ get showSpaces(): boolean; /** * Should spaces of this object be shown? * * @param value The value to set (default is false) */ set showSpaces(value: boolean); /** * Should non-space elements of this be hidden. * * @return {boolean} True if non-spaces are hidden. */ get hideNonSpaces(): boolean; /** * Should non-space elements of this be hidden. * * @param value The value to set (default is false) */ set hideNonSpaces(value: boolean); /** * Get the reference point for this in absolute space. * * Note that this should be used like an RTC reference to * calculate relative transforms in a high bit space or using fixed * point to produce an eye relative transform matrix. * * @return {Vector3} The reference point. */ get referencePoint(): Vector3; /** * Construct this from a conway scene. * * @param target The target scene to use. * @param cork Should this start corked/not creating geometry batches (defaults to true), * call uncork to create geometry on a corked sink. */ constructor(target: ConwayScene, cork?: boolean); /** * Uncork the scene to batch add the geometry */ uncork(): void; /** * Dispose this and remove its scene elements */ dispose(): void; } //# sourceMappingURL=scene_object.d.ts.map