Skip to main content

Function: addContourRepresentationToViewportMap()

addContourRepresentationToViewportMap(viewportInputMap): object

Adds multiple contour segmentations to multiple viewports.

Parameters​

• viewportInputMap

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

Returns​

object

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

Defined in​

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