our-medical
Version:
medical image vue component
45 lines (44 loc) • 1.8 kB
TypeScript
import { type Types as coreTypes } from '@cornerstonejs/core';
import { type Types as toolsTypes } from '@cornerstonejs/tools';
import DraggableTool from './DraggableTool';
import DraggableDisplayTool from './DraggableDisplayTool';
import registerDraggableAddHandlors from './draggable_element_add';
import registerDraggableNearHandlors from './draggable_element_near';
import registerDraggableNearToolHandlors from './draggable_element_near_tool';
import registerDraggableRenderHandlors from './draggable_element_renders';
import registerDraggableSelectedHandlors from './draggable_element_selected';
import registerDraggableSelectedToolHandlors from './draggable_element_selected_tool';
export { DraggableTool, DraggableDisplayTool };
export { registerDraggableAddHandlors, registerDraggableNearHandlors, registerDraggableNearToolHandlors, registerDraggableRenderHandlors, registerDraggableSelectedHandlors, registerDraggableSelectedToolHandlors };
/**
* @description
* @author jiannan.jiao
* @date 21/09/2023
* @export
* @param {toolsTypes.Annotation} annotation
* @param {coreTypes.Point3[]} points
* @returns {*}
*/
export declare function setAnnotationWorldPoints(annotation: toolsTypes.Annotation, points: coreTypes.Point3[]): boolean;
export declare enum OriginCtrlType {
x = "X",// 视口中X方向拖拽 -> 原点下方的控制点
xy = "X&Y",// 视口中X和Y方向拖拽 -> 原点上的控制点
y = "Y"
}
/**
* @description 轴状位上头框顶点连线关系下标增量
*
* 0--------3
* | |
* 1 4
* | |
* 2--------5
*
* 轴状位上绘制头框连线规则
* 0 1 2 3 4 5 启点
* | | | | | |
* 1 2 5 0 3 4 终点
*
* 1 1 3 -3 -1 -1 终点index增量
*/
export declare const frameLinesEndPointIndex: number[];