Function: getViewportAssociatedToSegmentation()
getViewportAssociatedToSegmentation(
segmentationId):Viewport
Gets the viewport associated with a given segmentation ID. Returns the first viewport that contains the segmentation.
Parameters
• segmentationId: string
The unique identifier of the segmentation
Returns
Viewport
The viewport associated with the segmentation, or undefined if not found
Defined in
tools/src/stateManagement/segmentation/utilities/getViewportAssociatedToSegmentation.ts:41