Skip to main content

Function: addDefaultSegmentationListener()

addDefaultSegmentationListener(viewport, segmentationId, representationType): void

Add the default listener of the given SegmentationRepresentation type.

Parameters

viewport: StackViewport | VolumeViewport

viewport to which the representation was added

segmentationId: string

ID of the segmentation

representationType: SegmentationRepresentations

representation type

Returns

void

Defined in

tools/src/stateManagement/segmentation/segmentationEventManager.ts:29