ng-cornerstone
Version:
[](https://github.com/prettier/prettier) [](http://commitizen.git
50 lines (49 loc) • 1.22 kB
TypeScript
import { Enums } from '@cornerstonejs/core';
export declare enum ToolEnum {
Reset = 0,
BaseToo = 1,
PanTool = 2,
TrackballRotateTool = 3,
DragProbeTool = 4,
WindowLevelTool = 5,
ZoomTool = 6,
StackScrollTool = 7,
StackScrollMouseWheelTool = 8,
VolumeRotateMouseWheelTool = 9,
MIPJumpToClickTool = 10,
LengthTool = 11,
CrosshairsTool = 12,
ProbeTool = 13,
RectangleROITool = 14,
EllipticalROITool = 15,
BidirectionalTool = 16,
PlanarFreehandROITool = 17,
ArrowAnnotateTool = 18,
AngleTool = 19,
MagnifyTool = 20,
SegmentationDisplayTool = 21,
RectangleScissorsTool = 22,
CircleScissorsTool = 23,
SphereScissorsTool = 24,
RectangleROIThresholdTool = 25,
RectangleROIStartEndThresholdTool = 26,
BrushTool = 27,
FlipV = 28,
FlipH = 29,
Rotate = 30,
Next = 31,
Previous = 32,
Coronal = 33,
Axial = 34,
Sagittal = 35
}
export interface ToolConfig {
label: string;
icon: string;
name: string;
tool?: any;
callback?: (renderingEngineId: string, viewportId: string, options?: any) => void;
options?: any;
types: Enums.ViewportType[];
disabled?: boolean;
}