JSPM

cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q30015F
  • License MIT

An annotation tool of drawing rotated elliptical roi. It is 3rd party library of cornerstoneTools

Package Exports

  • cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


Modified cornerstoneTools-RotatedEllipticalRoiTool for touch event

(forked from https://github.com/sisobus/cornerstoneTools-RotatedEllipticalRoiTool)


cornerstoneTools-RotatedEllipticalRoiTool

An annotation tool of drawing rotated elliptical roi. It is 3rd party library of cornerstoneTools.
You can try to test this tool in here

Demo

Installation

$ yarn add cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

or

$ npm i cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

This library has dependencies below

Examples

browser example

<script src="../dist/rotated-elliptical-roi-tool.umd.js"></script>
<script>
  cornerstoneTools.init({
    showSVGCursors: true,
  });
  cornerstoneTools.addTool(RotatedEllipticalRoiTool);
  cornerstoneTools.setToolActive("RotatedEllipticalRoi", { mouseButtonMask: 1 });
</script>

node example

import RotatedEllipticalRoiTool from "cornerstone-tools-rotated-elliptical-roi-tool";
cornerstoneTools.init({
  showSVGCursors: true,
})
cornerstoneTools.addTool(RotatedEllipticalRoiTool)
cornerstoneTools.setToolActive("RotatedEllipticalRoi", {
  mouseButtonMask: 1,
})

LICENSE

MIT