feat(window-level-region): add window level region tool (#4127)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-06-05 09:50:22 -04:00
1 parent 4761bbf0c8
commit ab1a18af5a
15 files changed
+75 -3

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ function modeFactory({ modeConfiguration }) {
toolbarService.createButtonSection('primary', [
'WindowLevel',
'WindowLevelRegion',
'Pan',
'Zoom',
'TrackballRotate',
+1
View File
@@ -87,6 +87,7 @@ function createTools(utilityModule) {
{ toolName: toolNames.StackScroll },
{ toolName: toolNames.Magnify },
{ toolName: toolNames.SegmentationDisplay },
{ toolName: toolNames.WindowLevelRegion },
{ toolName: toolNames.UltrasoundDirectional },
],
+10
View File
@@ -38,6 +38,16 @@ const toolbarButtons: Button[] = [
evaluate: 'evaluate.cornerstoneTool',
},
},
{
id: 'WindowLevelRegion',
uiType: 'ohif.radioGroup',
props: {
icon: 'icon-tool-window-region',
label: 'Window Level Region',
commands: setToolActiveToolbar,
evaluate: 'evaluate.cornerstoneTool',
},
},
{
id: 'Pan',
uiType: 'ohif.radioGroup',