ohif-viewer/extensions/dicom-segmentation
James Petts a4f286feee
[OHIF 284] - JumpToMeasurement + prevent layout change on scroll Prevent layout change on scroll (#1889)
* No more setting on debounce, jumpToMeasurement service set up.

* Fix bug causing a race condition sometimes if you click super fast.

* Optimise rendering of Tracking viewport slightly.

* element => targetElement

* Remove complete TODO

* Respond to reviewer comments.

* Fix e2e workflow.

* Fix regression that removed highlighting on jump to.

* Make sure jump to works from panel as well as viewport.

* Fix typo and remove debugger.

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-07-22 19:40:40 +02:00
..
.webpack feat: Segmentations Settings UI - Phase 1 #1391 (#1392) 2020-03-13 15:45:26 -04:00
src OHIF-208 (#1842) 2020-07-02 16:53:38 -04:00
CHANGELOG.md chore(release): publish [skip ci] 2020-05-12 14:49:58 +00:00
LICENSE feat: Segmentations Settings UI - Phase 1 #1391 (#1392) 2020-03-13 15:45:26 -04:00
package.json [OHIF 284] - JumpToMeasurement + prevent layout change on scroll Prevent layout change on scroll (#1889) 2020-07-22 19:40:40 +02:00
README.md feat: Segmentations Settings UI - Phase 1 #1391 (#1392) 2020-03-13 15:45:26 -04:00

@ohif/dicom-segmentation

npm (scoped)

This extension adds support to view and navigate the segments available in the DICOM SEG, allowing control over visibility of a given segment and providing metadata about the segment(s).

Index

Extension Id: com.ohif.dicom-segmentation

Tool Configuration

Tools can be configured through extension configuration using the tools key:

  ...
  cornerstoneExtensionConfig: {
    tools: {
      ArrowAnnotate: {
        configuration: {
          getTextCallback: (callback, eventDetails) => callback(prompt('Enter your custom annotation')),
        },
      },
    },
  },
  ...

Annotate Tools Configuration

We currently support one property for annotation tools.

Hide handles

This extension configuration allows you to toggle on/off handle rendering for all annotate tools:

  ...
  cornerstoneExtensionConfig: {
    hideHandles: true,
  },
  ...

## Resources

### Repositories

- [cornerstonejs/react-cornerstone-viewport][react-viewport]
- [cornerstonejs/cornerstoneTools][cornerstone-tools]
- [cornerstonejs/cornerstone][cornerstone]

<!--
  Links
  -->

<!-- prettier-ignore-start -->
[docs-commands]: https://www.com
[docs-hotkeys]: https://www.com
[docs-userprefs]: htt
[react-viewport]: https://github.com/cornerstonejs/react-cornerstone-viewport
[cornerstone-tools]: https://github.com/cornerstonejs/cornerstoneTools
[cornerstone]: https://github.com/cornerstonejs/cornerstone
<!-- prettier-ignore-end -->