feat(segmentation mode): Add create, and export SEG with Brushes (#3632)

This commit is contained in:
Alireza authored and GitHub committed 2023-09-22 10:23:44 -04:00
1 parent 896866e9d0
commit 48bbd6281a
186 files changed
+6801 -2883

No files matched your search

+8 -2
View File
@@ -74,7 +74,7 @@ function modeFactory({ modeConfiguration }) {
toolbarService,
toolGroupService,
panelService,
segmentationService,
customizationService,
} = servicesManager.services;
measurementService.clearMeasurements();
@@ -87,7 +87,6 @@ function modeFactory({ modeConfiguration }) {
const activateTool = () => {
toolbarService.recordInteraction({
groupId: 'WindowLevel',
itemId: 'WindowLevel',
interactionType: 'tool',
commands: [
{
@@ -126,6 +125,13 @@ function modeFactory({ modeConfiguration }) {
'MoreTools',
]);
customizationService.addModeCustomizations([
{
id: 'segmentation.disableEditing',
value: true,
},
]);
// // ActivatePanel event trigger for when a segmentation or measurement is added.
// // Do not force activation so as to respect the state the user may have left the UI in.
// _activatePanelTriggersSubscriptions = [