-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/px measurement units corrected (#320)
* mm/px measurement units corrected * Update docs * docs * Update docs * fixed freehandRoi * Update docs --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
43c55d9
commit d6831d3
Showing
23 changed files
with
4,207 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
declare const BaseAnnotationTool: any; | ||
import { Coords, EventData, MeasurementData, MeasurementMouseEvent } from "../types"; | ||
/** | ||
* @public | ||
* @class EllipticalRoiTool | ||
* @memberof Tools.Annotation | ||
* @classdesc Tool for drawing elliptical regions of interest, and measuring | ||
* the statistics of the enclosed pixels. | ||
* @extends Tools.Base.BaseAnnotationTool | ||
*/ | ||
export default class EllipticalRoiTool extends BaseAnnotationTool { | ||
constructor(props?: {}); | ||
createNewMeasurement(eventData: EventData): { | ||
visible: boolean; | ||
active: boolean; | ||
color: undefined; | ||
invalidated: boolean; | ||
handles: { | ||
start: { | ||
x: number; | ||
y: number; | ||
highlight: boolean; | ||
active: boolean; | ||
}; | ||
end: { | ||
x: number; | ||
y: number; | ||
highlight: boolean; | ||
active: boolean; | ||
}; | ||
initialRotation: any; | ||
textBox: { | ||
active: boolean; | ||
hasMoved: boolean; | ||
movesIndependently: boolean; | ||
drawnIndependently: boolean; | ||
allowedOutsideImage: boolean; | ||
hasBoundingBox: boolean; | ||
}; | ||
}; | ||
} | undefined; | ||
pointNearTool(element: Element, data: MeasurementData, coords: Coords, interactionType: string): boolean; | ||
updateCachedStats(image: cornerstone.Image, element: Element, data: MeasurementData): void; | ||
renderToolData(evt: MeasurementMouseEvent): void; | ||
} | ||
export {}; |
Oops, something went wrong.