ohif-viewer/extensions/cornerstone/src/utils
Joe Boccanfuso d5ff590dfc
feat(DoubleClick): double click a viewport to one up and back (#3285)
* feat(DoubleClick): double click a viewport to one up and back

Added a toggleOneUp command that puts the active viewport into a 1x1 grid layout
and it toggles out of 'one-up' by restoring its saved 'toggleOneUpViewportGridStore'
from the StateSyncService.
Added double click customization for the Cornerstone extension with the
default double click handling being the toggleOneUp command.
Added a cypress test for the double click functionality.

* PR feedback:
- tracked viewport measurements no longer show as dashed when toggling one up
- disallowed double clicking near a measurement
- updated cornerstone3D dependencies to fix double click of TMTV and volume viewport 3D
- created ViewportGridService.getLayoutOptionsFromState

* Updated the ViewportGridService docs.

* Switched to using 'cornerstoneViewportClickCommands' and consistency with the context menu clicks.
2023-03-29 15:39:51 -04:00
..
colormap feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
measurementServiceMappings feat(measurementService): use the new api for annotation manager in cs3d (#3206) 2023-03-02 17:11:51 -05:00
mpr feat: state sync service and hanging protocol updates to preserve state (#3131) 2023-03-15 12:41:41 -04:00
stackSync fix(typescript): rename services to fix typescript (#3165) 2023-02-10 16:46:09 -05:00
callInputDialog.tsx feat(Calibration Tool): add a calibration tool that can manually recalibrate an image and measurements on it (#3136) 2023-02-22 21:01:36 -05:00
CornerstoneViewportDownloadForm.tsx fix(typescript): rename services to fix typescript (#3165) 2023-02-10 16:46:09 -05:00
dicomLoaderService.js feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
findNearbyToolData.ts feat(DoubleClick): double click a viewport to one up and back (#3285) 2023-03-29 15:39:51 -04:00
getActiveViewportEnabledElement.ts feat(Calibration Tool): add a calibration tool that can manually recalibrate an image and measurements on it (#3136) 2023-02-22 21:01:36 -05:00
getCornerstoneBlendMode.ts feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
getCornerstoneOrientation.ts fix(SegmentationPanel): should be able to hide and only show one segment (#3270) 2023-03-22 12:44:52 -04:00
getCornerstoneViewportType.ts feat(VolumeViewport3D): add volumeViewport3Dd sample hp (#3241) 2023-03-21 16:09:50 -04:00
getInterleavedFrames.js feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
getNthFrames.js feat(imageLoader):Add an nth image loader strategy (#10) (#3044) 2022-12-29 11:00:13 -05:00
interleave.js feat(imageLoader):Add an nth image loader strategy (#10) (#3044) 2022-12-29 11:00:13 -05:00
interleaveCenterLoader.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
interleaveTopToBottom.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
JumpPresets.ts feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
nthLoader.ts feat(imageLoader):Add an nth image loader strategy (#10) (#3044) 2022-12-29 11:00:13 -05:00
removeToolGroupSegmentationRepresentations.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
transitions.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00