Skip to main content

Function: getCurrentLabelmapImageIdsForViewport()

getCurrentLabelmapImageIdsForViewport(viewportId, segmentationId): string[]

Retrieves the labelmap image IDs for a specific viewport and segmentation representation. If the segmentation has multiple imageIds for in the current view of the same segmentation this function will return an array of imageIds.

Parameters

viewportId: string

The ID of the viewport.

segmentationId: string

The ID of the segmentation.

Returns

string[]

An array of labelmap image IDs.

Defined in

tools/src/stateManagement/segmentation/getCurrentLabelmapImageIdForViewport.ts:35