our-medical
Version:
medical image vue component
36 lines (35 loc) • 933 B
TypeScript
/**
* @description 用于记录不同体积三个轴位方向上呈现的相机状态
* @author jiannan.jiao
*/
import type { AxisSlice, Orientations } from '../types';
import type { VolumeId } from '.';
/**
* @description
* @author jiannan.jiao
* @date 11/09/2023
* @export
* @param {VolumeId} id
* @returns {*}
*/
export declare function initComponentSliceIndexState(id: VolumeId): AxisSlice;
/**
* @description
* @author jiannan.jiao
* @date 11/09/2023
* @export
* @param {VolumeId} id
* @param {Orientations} orientation
* @param {number} index
*/
export declare function setSliceIndex(id: VolumeId, orientation: Orientations, index: number): void;
/**
* @description
* @author jiannan.jiao
* @date 11/09/2023
* @export
* @param {VolumeId} id
* @param {Orientations} orientation
* @returns {*} {boolean}
*/
export declare function getSliceIndex(id: VolumeId, orientation: Orientations): number | null;