19 lines
520 B
Plaintext
19 lines
520 B
Plaintext
import * as cornerstoneTools from 'cornerstone-tools'
|
|
|
|
import renderToolData from './renderToolData'
|
|
/**
|
|
* @public
|
|
* @class BidirectionalTool
|
|
* @memberof Tools.Annotation
|
|
* @classdesc Create and position an annotation that measures the
|
|
* length and width of a region.
|
|
* @extends Tools.Base.BaseAnnotationTool
|
|
*/
|
|
|
|
export default class BidirectionalTool extends cornerstoneTools.BidirectionalTool {
|
|
constructor(props) {
|
|
super(props)
|
|
this.renderToolData = renderToolData.bind(this)
|
|
}
|
|
}
|