@cornerstonejs/core
Version:
Cornerstone3D Core
17 lines (16 loc) • 968 B
TypeScript
import { ViewportType } from '../../../enums/index.js';
import type { DataAddOptions, LoadedData, RenderPathAttachment, RenderPathDefinition, RenderPath } from '../ViewportArchitectureTypes.js';
import type { WSIDataPresentation, WSIViewportRenderContext } from './WSIViewportTypes.js';
export declare class DicomMicroscopyRenderPath implements RenderPath<WSIViewportRenderContext> {
addData(ctx: WSIViewportRenderContext, data: LoadedData, options: DataAddOptions): Promise<RenderPathAttachment<WSIDataPresentation>>;
private updateDataPresentation;
private applyViewState;
private getFrameOfReferenceUID;
private removeData;
}
export declare class DicomMicroscopyPath implements RenderPathDefinition<WSIViewportRenderContext> {
readonly id = "wsi:dicom-microscopy-viewer";
readonly type = ViewportType.WHOLE_SLIDE_NEXT;
matches(data: LoadedData, options: DataAddOptions): boolean;
createRenderPath(): DicomMicroscopyRenderPath;
}