ohif-viewer/platform/viewer/public
Alireza c9d3c08cb6
feat(cst): Add new command to get nearby annotation tools (#3327)
* feat(cst): Add new command to get nearby annotation tools
This commit adds a new command `getNearbyAnnotation` to the `commandsModule.ts` file that identifies nearby annotation tools excluding Crosshairs and ReferenceLines. It also removes an unused mapping to `Crosshairs` in `initMeasurementService.js` and changes the command run in `findNearbyToolData.ts` to `getNearbyAnnotation`.

* perf(cornerstone): Improve performance by optimizing tools

Removes unnecessary imports to improve app's performance. Changes how annotations are detected on the `commandsModule.js` file by fetching the `isAnnotation` property of the tool instance if available. Updates `CrosshairsTool` and `ReferenceLinesTool` to not be annotations anymore. Adjusts the `localhost` URL ports for the `dcm4chee-arc` service interface on `local_dcm4chee.js` to allow for more efficient server communication.

* feat(cornerstone): Add CornerstoneServices type and ToolGroupService.getToolGroup to get tool group by ID or active viewport

This commit introduces the new CornerstoneServices interface to the code and adds the ToolGroupService.getToolGroup method, which can retrieve a specific tool group by ID or from the active viewport. The older _getToolGroup method has also been removed from commandsModule. When no tool group ID is provided, this method now retrieves the tool group from the currently active viewport with the help of getActiveViewportEnabledElement. Additionally, the required reference to @ohif/core has been removed.
2023-04-28 10:14:14 -04:00
..
assets feat: New favicon and logo 2021-07-08 10:04:23 +02:00
config feat(cst): Add new command to get nearby annotation tools (#3327) 2023-04-28 10:14:14 -04:00
html-templates feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
_headers feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
_redirects fix: button colors quick (#2056) 2020-09-22 21:41:42 -04:00
es6-shim.min.js Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
init-service-worker.js fix: rollbar template needs PUBLIC_URL defined (#1127) 2019-10-29 16:04:53 -04:00
manifest.json feat: service worker (#1045) 2019-10-29 14:51:40 -04:00
ohif-logo-light.svg feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
ohif-logo.svg feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
oidc-client.min.js Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
polyfill.min.js Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
silent-refresh.html Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00