Skip to main content

Function: addLabelmapRepresentationToViewportMap()

addLabelmapRepresentationToViewportMap(viewportInputMap): void

Adds multiple labelmap segmentations to multiple viewports.

Parameters​

• viewportInputMap

An object mapping viewport IDs to arrays of labelmap segmentation inputs.

Returns​

void

A promise that resolves to an object mapping viewport IDs to arrays of segmentation representation UIDs.

Defined in​

tools/src/stateManagement/segmentation/addSegmentationRepresentationsToViewport.ts:84