Commit d8099a6
Slicer plugin: Keep showing segmentation in 3D when using sam_3d (#1789)
* Fix Slicer plugin trainWidget disappearing from .ui file when editing in Qt Designer
* Slicer plugin: Keep showing segmentation in 3D when using sam_3d
In 3D Slicer, when sam_3d result was imported it always removed the closed surface representation, therefore if a user wanted to see the segmentation in 3D then after each sam_3d update the user had to go to "Segment Editor" section and click "Show 3D".
This commit makes the MONAILabel module remember the "Show 3D" state when performing a sam_3d update.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent da0247e commit d8099a6
File tree
2 files changed
+48
-13
lines changed- plugins/slicer/MONAILabel
- Resources/UI
2 files changed
+48
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1823 | 1823 | | |
1824 | 1824 | | |
1825 | 1825 | | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
1826 | 1836 | | |
1827 | 1837 | | |
1828 | 1838 | | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
1829 | 1843 | | |
1830 | 1844 | | |
1831 | 1845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
214 | 235 | | |
215 | 236 | | |
216 | 237 | | |
| |||
277 | 298 | | |
278 | 299 | | |
279 | 300 | | |
280 | | - | |
281 | | - | |
| 301 | + | |
| 302 | + | |
282 | 303 | | |
283 | 304 | | |
284 | 305 | | |
| |||
540 | 561 | | |
541 | 562 | | |
542 | 563 | | |
543 | | - | |
| 564 | + | |
544 | 565 | | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
552 | 571 | | |
553 | 572 | | |
554 | 573 | | |
555 | 574 | | |
| 575 | + | |
| 576 | + | |
556 | 577 | | |
557 | 578 | | |
558 | 579 | | |
| |||
714 | 735 | | |
715 | 736 | | |
716 | 737 | | |
717 | | - | |
| 738 | + | |
718 | 739 | | |
719 | 740 | | |
720 | | - | |
| 741 | + | |
721 | 742 | | |
722 | 743 | | |
723 | 744 | | |
| |||
0 commit comments