From 479f6d5ea8b5f79f4d75a88f1bcc5baa8bab800d Mon Sep 17 00:00:00 2001 From: Dan Rukas Date: Thu, 20 Feb 2025 10:57:34 -0500 Subject: [PATCH 1/2] Added New Seg Icon Art --- .../ui-next/src/components/Icons/Icons.tsx | 15 ++ .../src/components/Icons/Sources/Tools.tsx | 145 ++++++++++++++++++ 2 files changed, 160 insertions(+) diff --git a/platform/ui-next/src/components/Icons/Icons.tsx b/platform/ui-next/src/components/Icons/Icons.tsx index d3c566d291..07891e9129 100644 --- a/platform/ui-next/src/components/Icons/Icons.tsx +++ b/platform/ui-next/src/components/Icons/Icons.tsx @@ -122,6 +122,11 @@ import { ToolBrush, ToolThreshold, ToolShape, + ToolContourAssist, + ToolPETSegment, + ToolInterpolation, + ToolBidirectionalSegment, + ToolSegmentAnything, } from './Sources/Tools'; import ActionNewDialog from './Sources/ActionNewDialog'; import NotificationInfo from './Sources/NotificationInfo'; @@ -550,6 +555,11 @@ export const Icons = { ToolBrush, ToolThreshold, ToolShape, + ToolContourAssist, + ToolSegmentAnything, + ToolPETSegment, + ToolInterpolation, + ToolBidirectionalSegment, ExternalLink, OHIFLogoColorDarkBackground, Magnifier, @@ -577,7 +587,12 @@ export const Icons = { 'checkbox-active': (props: IconProps) => CheckBoxChecked(props), 'icon-tool-eraser': (props: IconProps) => ToolEraser(props), 'icon-tool-brush': (props: IconProps) => ToolBrush(props), + 'icon-tool-contour-assist': (props: IconProps) => ToolContourAssist(props), + 'icon-tool-segment-anything': (props: IconProps) => ToolSegmentAnything(props), 'icon-tool-threshold': (props: IconProps) => ToolThreshold(props), + 'icon-tool-pet-segment': (props: IconProps) => ToolPETSegment(props), + 'icon-tool-interpolation': (props: IconProps) => ToolInterpolation(props), + 'icon-tool-bidirectional-segment': (props: IconProps) => ToolBidirectionalSegment(props), 'icon-tool-shape': (props: IconProps) => ToolShape(props), link: (props: IconProps) => Link(props), 'icon-color-lut': (props: IconProps) => IconColorLUT(props), diff --git a/platform/ui-next/src/components/Icons/Sources/Tools.tsx b/platform/ui-next/src/components/Icons/Sources/Tools.tsx index 4140dc5f77..38791a2a1c 100644 --- a/platform/ui-next/src/components/Icons/Sources/Tools.tsx +++ b/platform/ui-next/src/components/Icons/Sources/Tools.tsx @@ -3324,3 +3324,148 @@ export const ToolShape = (props: IconProps) => ( ); +export const ToolContourAssist = (props: IconProps) => ( + + + + + + +); +export const ToolSegmentAnything = (props: IconProps) => ( + + + + + +); +export const ToolPETSegment = (props: IconProps) => ( + + + + + +); +export const ToolInterpolation = (props: IconProps) => ( + + + + + + + +); +export const ToolBidirectionalSegment = (props: IconProps) => ( + + + + + +); From 764db2a378e513c945dc5c98f36372d85ddde9b8 Mon Sep 17 00:00:00 2001 From: Dan Rukas Date: Thu, 20 Feb 2025 11:47:02 -0500 Subject: [PATCH 2/2] Added Expand and Contract icons --- .../ui-next/src/components/Icons/Icons.tsx | 12 ++++++-- .../src/components/Icons/Sources/Tools.tsx | 30 ++++++++++++++++++- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/platform/ui-next/src/components/Icons/Icons.tsx b/platform/ui-next/src/components/Icons/Icons.tsx index 07891e9129..0e1dd5abd7 100644 --- a/platform/ui-next/src/components/Icons/Icons.tsx +++ b/platform/ui-next/src/components/Icons/Icons.tsx @@ -122,11 +122,13 @@ import { ToolBrush, ToolThreshold, ToolShape, - ToolContourAssist, + ToolLabelmapAssist, ToolPETSegment, ToolInterpolation, ToolBidirectionalSegment, ToolSegmentAnything, + ToolContract, + ToolExpand, } from './Sources/Tools'; import ActionNewDialog from './Sources/ActionNewDialog'; import NotificationInfo from './Sources/NotificationInfo'; @@ -555,11 +557,13 @@ export const Icons = { ToolBrush, ToolThreshold, ToolShape, - ToolContourAssist, + ToolLabelmapAssist, ToolSegmentAnything, ToolPETSegment, ToolInterpolation, ToolBidirectionalSegment, + ToolContract, + ToolExpand, ExternalLink, OHIFLogoColorDarkBackground, Magnifier, @@ -587,12 +591,14 @@ export const Icons = { 'checkbox-active': (props: IconProps) => CheckBoxChecked(props), 'icon-tool-eraser': (props: IconProps) => ToolEraser(props), 'icon-tool-brush': (props: IconProps) => ToolBrush(props), - 'icon-tool-contour-assist': (props: IconProps) => ToolContourAssist(props), + 'icon-tool-labelmap-assist': (props: IconProps) => ToolLabelmapAssist(props), 'icon-tool-segment-anything': (props: IconProps) => ToolSegmentAnything(props), 'icon-tool-threshold': (props: IconProps) => ToolThreshold(props), 'icon-tool-pet-segment': (props: IconProps) => ToolPETSegment(props), 'icon-tool-interpolation': (props: IconProps) => ToolInterpolation(props), 'icon-tool-bidirectional-segment': (props: IconProps) => ToolBidirectionalSegment(props), + 'icon-tool-expand': (props: IconProps) => ToolExpand(props), + 'icon-tool-contract': (props: IconProps) => ToolContract(props), 'icon-tool-shape': (props: IconProps) => ToolShape(props), link: (props: IconProps) => Link(props), 'icon-color-lut': (props: IconProps) => IconColorLUT(props), diff --git a/platform/ui-next/src/components/Icons/Sources/Tools.tsx b/platform/ui-next/src/components/Icons/Sources/Tools.tsx index 38791a2a1c..e21e91a519 100644 --- a/platform/ui-next/src/components/Icons/Sources/Tools.tsx +++ b/platform/ui-next/src/components/Icons/Sources/Tools.tsx @@ -3324,7 +3324,7 @@ export const ToolShape = (props: IconProps) => ( ); -export const ToolContourAssist = (props: IconProps) => ( +export const ToolLabelmapAssist = (props: IconProps) => ( ( /> ); +export const ToolExpand = (props: IconProps) => ( + + + +); +export const ToolContract = (props: IconProps) => ( + + + +);