Documentation - v19.12.0-dev
    Preparing search index...

    Plugin saving selections of a Twin as selection filters, and registering the TeiaSelectionRecord widget listing them. Use its toolbar items to save the selection and to open the widget.

    Requires the Teia and Viewport plugins to be registered. Call setupLegacyPluginsTranslation once i18next is initialized to load its translations.

    Hierarchy

    • PluginBaseClass
      • SelectionInfoPlugin
    Index

    Constructors

    Properties

    name: string

    Display name of the plugin

    settings: TSettings

    Plugin settings

    viewer: Viewer
    ToolbarItems: {
        SaveSelectionToolbarItem: () => Element;
        ShowTeiaSelectionRecordWidgetToolbarItem: () => Element;
    } = ...

    Toolbar items provided by the plugin

    Type Declaration

    • SaveSelectionToolbarItem: () => Element

      Toolbar item saving the current selection as a selection filter of the Twin project. Disabled when the loaded source is not a Twin or when nothing is selected.

    • ShowTeiaSelectionRecordWidgetToolbarItem: () => Element

      Toolbar item opening the TeiaSelectionRecordWidget. Disabled when the loaded source is not a Twin.

    Methods

    • Returns void

    • List of plugins this plugin depends on

      Returns readonly (keyof ViewerPluginRegistry)[]

    • Indicates whether the plugin has settings

      Returns boolean

    • Called when the plugin is registered in the viewer.

      Returns void

    • Called when the plugin is unregistred from the viewer.

      Returns void