Function: removeSegmentationRepresentation()
removeSegmentationRepresentation(
viewportId
,specifier
,immediate
?):object
[]
Removes a segmentation representation from a viewport.
Parameters
• viewportId: string
The ID of the viewport.
• specifier
• specifier.segmentationId: string
• specifier.type?: SegmentationRepresentations
• immediate?: boolean
Optional. If true, the removal is performed immediately.
Returns
object
[]
Remarks
If a specific type is provided, only that representation type is removed. If no type is specified, all representations for the segmentation are removed.
Defined in
tools/src/stateManagement/segmentation/removeSegmentationRepresentations.ts:22