Represents a toolbar for BIM CT (Building Information Modeling Construction Toolkit). This toolbar provides various tools and functionalities for interacting with the BIM model.

Remarks

The toolbar includes items such as selection, pick mode, projection, shaders, cutting sections, regions, and markups. It also handles the responsiveness of submenus and manages the expanded/collapsed state of the toolbar.

Hierarchy

  • BimCTToolbar

Constructors

Accessors

  • get div(): HTMLDivElement
  • Gets the main wrapper div.

    Returns

    The main wrapper div.

    Returns HTMLDivElement

  • set onMarkupSave(saveAction: MarkupPreSaveAction): void
  • Sets the save action for the markup toolbar.

    Parameters

    • saveAction: MarkupPreSaveAction

      The save action.

    Returns void

  • get renderer(): BaseRenderer
  • Gets the renderer.

    Returns

    The renderer.

    Returns BaseRenderer

  • get toolbarExpandedEvent(): IEvent<BimCTToolbar, boolean>
  • Returns

    The renderer.

    Returns IEvent<BimCTToolbar, boolean>

Methods

  • Hides the submenus of the toolbar.

    Returns void

  • Checks if the toolbar is expanded.

    Returns

    The expanded state.

    Returns boolean

  • Checks if the transform mode is on.

    Returns

    The transform mode state.

    Returns boolean

  • Handles the menu state change event.

    Returns void

  • Opens a submenu item.

    Parameters

    • value: SubmenuToolbarItem

      The submenu item to open.

    Returns void

  • Refreshes the toolbar.

    Returns void

  • Sets the expanded state of the toolbar.

    Parameters

    • expanded: boolean

      The expanded state.

    Returns void

  • Updates the toolbar based on the camera state.

    Parameters

    • state: CameraState

      The camera state.

    • animate: boolean

      Indicates if the transition should be animated.

    • distatchStateChanged: boolean = true

    Returns Promise<void>