Constructors

Methods

  • Clears one representation-set selection for a view.

    Parameters

    • viewId: string

      View ID.

    • selectionId: string

      Stable representation-set selection ID.

    Returns boolean

    true when a selection was removed.

  • Gets the monotonically increasing suppression version for a view.

    Consumers use this to detect per-view LOD suppression changes without comparing object sets.

    Parameters

    • viewId: string

      View ID.

    Returns number

    Current suppression version for the view.

  • Tests whether an object is suppressed in one view.

    Parameters

    • viewId: string

      View ID.

    • objectId: string

      Scene object ID.

    Returns boolean

    true when LOD selection suppresses the object in that view.

  • Selects one representation within a representation set for a view.

    The supplied reps array is treated as stable membership metadata. This method indexes it the first time it sees the array for viewId and selectionId; subsequent calls with the same array and a different selectedRepId only update the selected representation. This is the intended fast path for large visibility switches, because callers select the active representation once and renderers suppress the non-selected representation memberships.

    Parameters

    • viewId: string

      View ID.

    • selectionId: string

      Stable representation-set selection ID.

    • reps: readonly LODRepSelection[]

      Representations and their object membership.

    • selectedRepId: string

      Currently selected representation ID.

    Returns boolean

    true when the effective LOD suppression state changed.

  • Suppresses or unsuppresses objects in one view.

    Parameters

    • viewId: string

      View ID.

    • objectIds: readonly string[]

      Scene object IDs to update.

    • suppressed: boolean

      Whether to suppress or unsuppress the objects.

    Returns boolean

    true when the suppression set changed.