Skip to main content

Function: addSurfaceRepresentationToViewportMap()

addSurfaceRepresentationToViewportMap(viewportInputMap): object

Adds multiple surface segmentations to multiple viewports.

Parameters

viewportInputMap

An object mapping viewport IDs to arrays of surface 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:126