Function: getSegmentationRepresentation()
getSegmentationRepresentation(
viewportId,specifier):SegmentationRepresentation|undefined
Retrieves a specific segmentation representation for a given viewport and specifier.
Parameters
• viewportId: string
The ID of the viewport.
• specifier
The specifier object containing segmentationId and type.
• specifier.segmentationId: string
• specifier.type: SegmentationRepresentations
Returns
SegmentationRepresentation | undefined
A SegmentationRepresentation object if found, or undefined if not found.
Defined in
tools/src/stateManagement/segmentation/getSegmentationRepresentation.ts:43