Class: TagsComponent

TagsComponent

This class extends the Component class and provides functionalities for handling tag features in IFC models.

new TagsComponent(components, ui)

Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts, line 25

Constructs a TagsComponent instance.

Name Type Description
components Components

The Components instance associated with this component.

ui GoIFCUI

The UI component associated with GoIFCComponents.

Extends

  • undefined

Methods

activate()

Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts, line 100

Activates the TagsComponent, enabling its functionality. This includes enabling the raycaster and displaying all tags.

deactivate()

Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts, line 124

Deactivates the TagsComponent, disabling its functionality. This includes disabling the raycaster and hiding all tags.

deactivateListener()

Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts, line 116

Deactivates the double-click event listener from the renderer's DOM element.

get(){module:Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts~TagsComponent}

Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts, line 92

Returns the current instance of TagsComponent.

Returns:
Type Description
module:Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts~TagsComponent The current instance of the component.

reset()

Interactions/IFC/interact/GoIFCComponents/Components/TagsComponent/index.ts, line 76

Resets and removes all tags from the scene.