The Viewer.
Plugin configuration.
ID for this Plugin, unique within its Viewer.
A set of {@link Storey}s for each MetaModel.
These are created and destroyed automatically as models are loaded and destroyed.
A {@link Storey} for each ````IfcBuildingStorey```.
There will be a {@link Storey} for every existing MetaObject whose MetaObject.type equals "IfcBuildingStorey".
These are created and destroyed automatically as models are loaded and destroyed.
The Viewer that contains this Plugin.
Gets map of visual states for the Entitys as rendered within each {@link Storey}.
Default value is IFCStoreyPlanObjectStates.
Sets map of visual states for the Entitys as rendered within each {@link Storey}.
Default value is IFCStoreyPlanObjectStates.
Creates a 2D map of the given storey.
ID of the IfcBuildingStorey object.
The StoreyMap.
Destroys this Plugin and removes it from its Viewer.
Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires an event at this Plugin.
The event type name
The event parameters
Gets the ID of the storey that contains the given 3D World-space position. .
3D World-space position.
ID of the storey containing the position, or null if the position falls outside all the storeys.
See also: CameraMemento, which saves and restores the state of the Scene's Camera
ID of the IfcBuildingStorey object.
Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires when the storeys are updated (after a model is added or removed).
The storeys event
Callback fired on the event
Attempts to pick an Entity at the given pixel coordinates within a StoreyMap image.
The StoreyMap.
2D pixel coordinates within the bounds of {@link StoreyMap.imageData}.
The pick result, if an Entity was successfully picked, else null.
Shows the Entitys within the given storey.
Optionally hides all other Entitys.
Optionally sets the visual appearance of each of the Entitys according to its IFC type. The appearance of IFC types in plan views is configured by StoreyViewsPlugin.objectStates.
See also: ObjectsMemento, which saves and restores a memento of the visual state of the Entity's that represent objects within a Scene.
ID of the IfcBuildingStorey object.
Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Executes a callback on each of the objects within the given storey.
ID of the IfcBuildingStorey object.
The callback.
Converts a 3D World-space direction vector to a 2D vector within a StoreyMap image.
The StoreyMap.
3D World-space direction vector.
Normalized 2D direction vector.
Converts a 3D World-space position to a 2D position within a StoreyMap image.
Use StoreyViewsPlugin.pickStoreyMap to convert 2D image positions to 3D world-space.
The StoreyMap.
3D World-space position within the storey.
2D pixel position within the {@link StoreyMap.imageData}.
True if imagePos is within the bounds of the {@link StoreyMap.imageData}, else false if it falls outside.
Generated using TypeDoc
A Viewer plugin that provides methods for visualizing IfcBuildingStoreys.