Segmentation
panelSegmentation.tableMode
| ID | panelSegmentation.tableMode | 
|---|---|
| Description | Defines the mode of the segmentation table.  | 
| Default Value | collapsed  | 
| Example |  | 
panelSegmentation.showAddSegment
| ID | panelSegmentation.showAddSegment | 
|---|---|
| Description | Controls whether the "Add Segment" button is displayed in the segmentation panel.  | 
| Default Value | true  | 
| Example |  | 
panelSegmentation.readableText
| ID | panelSegmentation.readableText | 
|---|---|
| Description | Defines the readable text labels for segmentation panel statistics and metrics.  | 
| Default Value | 
{
  "lesionStats": "Lesion Statistics",
  "minValue": "Minimum Value",
  "maxValue": "Maximum Value",
  "meanValue": "Mean Value",
  "volume": "Volume (ml)",
  "suvPeak": "SUV Peak",
  "suvMax": "Maximum SUV",
  "suvMaxIJK": "SUV Max IJK",
  "lesionGlyoclysisStats": "Lesion Glycolysis"
} | 
| Example |  | 
panelSegmentation.onSegmentationAdd
| ID | panelSegmentation.onSegmentationAdd | 
|---|---|
| Description | Defines the behavior when a new segmentation is added to the segmentation panel.  | 
| Default Value | 
() => {
      // default is to create a labelmap for the active viewport
      const { viewportGridService } = servicesManager.services;
      const viewportId = viewportGridService.getState().activeViewportId;
      commandsManager.run('createLabelmapForViewport', { viewportId });
    } | 
| Example |  | 
panelSegmentation.disableEditing
| ID | panelSegmentation.disableEditing | 
|---|---|
| Description | Determines whether editing of segmentations in the panel is disabled.  | 
| Default Value | false  | 
| Example |  |