Viewer - Interaction
    Preparing search index...

    Function convertUserDefinedNameFilters

    • Convert the user-defined name-filters to filter patterns as used by useNodeInteractionData.

      The name filter is an array of dot-separated strings. Each string represents a pattern to hierarchically match node names. The first part of the pattern is the output name. The rest of the pattern correspond to hierarchical node names, which may contain the "*" character as a wildcard to match any node name or any part of the node name.

      Parameters

      • nameFilter: string[]

        The user-defined name filters to convert.

      • outputIdsToNamesMapping: { [key: string]: string }

        A mapping of output IDs to output names for the session to be used.

      Returns OutputNodeNameFilterPatterns

      The filter pattern object to be used with useNodeInteractionData, useSelection, and other interaction hooks.