ohif-viewer/extensions/cornerstone/src/utils
Igor Octaviano 9ca02b4071
fix: Remove dead code and fix rectangle roi rehydration (#5490)
* Remove dead code and fix rectangle roi rehydration

* Revert bun.lock

* Remove hardcoded modality

* Add e2e tests

* Update screewnshots

* Adjustments to tests

* disabvle test for now

* Add test again

* Use ohif data soure

* Revert changes

* Test

* Update testdata to include point

* Improve tests

* Update screenshot

---------

Co-authored-by: Andrey Fedorov <andrey.fedorov@gmail.com>
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
2025-11-19 20:04:23 -05:00
..
imageSliceSync feat(typings): Enhance typing support with withAppTypes and custom services throughout OHIF (#4090) 2024-05-08 12:12:49 -04:00
measurementServiceMappings fix: Remove dead code and fix rectangle roi rehydration (#5490) 2025-11-19 20:04:23 -05:00
mpr
presentations feat(data overlay): add foreground background control plus orientation change in the UI and add RTDOSE support (#5007) 2025-05-05 16:35:05 -04:00
ActiveViewportBehavior.tsx fix(core): Address 3D reconstruction and Android compatibility issues and clean up 4D data mode (#4762) 2025-02-04 12:25:10 -05:00
colormaps.js feat(data overlay): add foreground background control plus orientation change in the UI and add RTDOSE support (#5007) 2025-05-05 16:35:05 -04:00
CornerstoneViewportDownloadForm.tsx fix(capture): Disable or enable the tool group based on the show flag. (#5069) 2025-05-26 16:08:17 -04:00
createSegmentationForViewport.ts feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
DicomFileUploader.ts
dicomLoaderService.js fix: prevent failure in DICOM loader for wadouri type (#5260) 2025-07-25 09:41:53 -04:00
findNearbyToolData.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
findNearbyToolData.ts
generateSegmentationCSVReport.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
generateSegmentationCSVReport.ts feat(segmentation): segment statistics, labelmap interpolation and segment bidirectional (#4865) 2025-03-17 22:34:34 -04:00
getActiveViewportEnabledElement.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getActiveViewportEnabledElement.ts feat(commandsModule): Enhanced flipViewport and rotateViewport commands (#5065) 2025-06-11 08:59:37 -04:00
getCenterExtent.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getCenterExtent.ts feat: Jump to measurement moves the camera if it is not in the viewport (#5023) 2025-08-22 10:30:18 -04:00
getCornerstoneBlendMode.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getCornerstoneBlendMode.ts fix(vewport): Add missing blendmodes from cornerstonejs (#4055) 2024-04-22 14:33:52 -04:00
getCornerstoneOrientation.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getCornerstoneOrientation.ts
getCornerstoneViewportType.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getCornerstoneViewportType.ts OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
getInterleavedFrames.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getInterleavedFrames.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getNthFrames.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getNthFrames.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getViewportEnabledElement.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getViewportEnabledElement.ts feat(commandsModule): Enhanced flipViewport and rotateViewport commands (#5065) 2025-06-11 08:59:37 -04:00
getViewportOrientationFromImageOrientationPatient.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
getViewportOrientationFromImageOrientationPatient.ts OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
hydrationUtils.test.ts fix(3DSegmentation): [Bug] The viewports become blank when loading the seg file in advanced layout after closing the seg file from any other advanced layout (#5505) 2025-10-28 08:52:12 -04:00
hydrationUtils.ts fix(3DSegmentation): [Bug] The viewports become blank when loading the seg file in advanced layout after closing the seg file from any other advanced layout (#5505) 2025-10-28 08:52:12 -04:00
index.ts feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
initViewTiming.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
initViewTiming.ts fix(demo): Deploy issue (#3951) 2024-02-22 14:42:46 -05:00
initWebWorkerProgressHandler.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
initWebWorkerProgressHandler.ts chore: recovery 2 (#5014) merge to 3.11 (#5175) 2025-07-03 14:08:46 -04:00
interleave.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
interleave.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
interleaveCenterLoader.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
interleaveCenterLoader.ts fix(3DSegmentation): [Bug] The viewports become blank when loading the seg file in advanced layout after closing the seg file from any other advanced layout (#5505) 2025-10-28 08:52:12 -04:00
interleaveTopToBottom.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
interleaveTopToBottom.ts fix(3DSegmentation): [Bug] The viewports become blank when loading the seg file in advanced layout after closing the seg file from any other advanced layout (#5505) 2025-10-28 08:52:12 -04:00
isMeasurementWithinViewport.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
isMeasurementWithinViewport.ts feat: Jump to measurement moves the camera if it is not in the viewport (#5023) 2025-08-22 10:30:18 -04:00
isReferenceViewable.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
isReferenceViewable.ts feat: add support to scoord3d (#5016) 2025-07-31 00:21:26 -04:00
JumpPresets.ts
nthLoader.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
nthLoader.ts fix(segmentation): Changes to fix problems with non hydrated/loaded segmentations to be viewable when switching hanging protocols (e.g. MPR) (#5139) 2025-06-27 07:11:46 -04:00
promptHydrationDialog.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
promptHydrationDialog.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
removeViewportSegmentationRepresentations.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
removeViewportSegmentationRepresentations.ts OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
segmentationExportUtils.ts feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
segmentationHandlers.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
segmentationHandlers.ts feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
segmentUtils.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
segmentUtils.ts feat(actions): simplify action corner api through the toolbarService (#5033) 2025-05-15 12:08:12 -04:00
setUpAnnotationEventHandlers.ts fix(interpolation): Auto accept interpolation when the interpolation process is completed. (#5555) 2025-11-11 08:19:45 -05:00
setUpSegmentationEventHandlers.test.ts fix(segmentation): Allow for manually added label map and contour segmentations to be used as viewport data overlays. (#5562) 2025-11-13 07:12:28 -05:00
setUpSegmentationEventHandlers.ts fix(segmentation): Allow for manually added label map and contour segmentations to be used as viewport data overlays. (#5562) 2025-11-13 07:12:28 -05:00
toggleVOISliceSync.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
toggleVOISliceSync.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
transitions.test.ts fix(3DSegmentation): [Bug] The viewports become blank when loading the seg file in advanced layout after closing the seg file from any other advanced layout (#5505) 2025-10-28 08:52:12 -04:00
transitions.ts feat(Segmentation): Segmentation highlight animation function selection (#5401) 2025-09-21 22:48:35 -04:00
updateSegmentationStats.test.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00
updateSegmentationStats.ts test(CornerstoneUtils): Adding unit tests for most of Cornerstone Extension utilities (#5454) 2025-10-07 11:42:47 -04:00