@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
47 lines (46 loc) • 1.32 kB
TypeScript
export declare const IMAGE_LOADER_SCHEME: {
readonly WADO: "wadouri";
readonly DICOMFILE: "dicomfile";
readonly WEB: "web";
};
export declare const LOADER_TYPE: {
readonly DICOM: "dicom";
readonly WEB: "web";
};
export declare const CONFIG: {
onError: (e: Error) => void;
Progress: undefined;
requestInterceptor: (_request: Request) => void;
timeout: number;
};
export declare const LOADING_STATE: {
readonly INITIAL: "initial";
readonly LOADING: "loading";
readonly SUCCESS: "success";
readonly FAIL: "fail";
};
export declare const BASE_VIEWPORT: {
scale: number;
invert: boolean;
hflip: boolean;
vflip: boolean;
rotation: number;
x: number;
y: number;
windowWidth: number;
windowCenter: number;
};
export declare const DEFAULT_VIEWPORT_OPTIONS: {
fitScale: boolean;
};
export declare const DEFAULT_VIEWPORT_VIEWER_REF: {
current: null;
};
export declare const ERROR_MESSAGE: {
readonly ENABLED_ELEMENT_NOT_READY: "enabledElement value is null, Please check the enabledElement value.";
};
/**
* The Annotation Overlay z index should keep the highest value.
* When using z index, please use a value below that value.
*/
export declare const ANNOTATION_OVERLAY_Z_INDEX = 10;