@cornerstonejs/core
Version:
Cornerstone3D Core
18 lines (17 loc) • 944 B
TypeScript
import { ViewportType } from '../../../enums/index.js';
import type { DataAddOptions, LoadedData, RenderPathAttachment, RenderPathDefinition, RenderPath } from '../ViewportArchitectureTypes.js';
import type { ECGCanvasRenderContext, ECGDataPresentation } from './ECGViewportTypes.js';
export declare class CanvasECGRenderPath implements RenderPath<ECGCanvasRenderContext> {
addData(ctx: ECGCanvasRenderContext, data: LoadedData, options: DataAddOptions): Promise<RenderPathAttachment<ECGDataPresentation>>;
private updateDataPresentation;
private applyViewState;
private getFrameOfReferenceUID;
private render;
private removeData;
}
export declare class CanvasECGPath implements RenderPathDefinition<ECGCanvasRenderContext> {
readonly id = "ecg:canvas-signal";
readonly type = ViewportType.ECG_NEXT;
matches(data: LoadedData, options: DataAddOptions): boolean;
createRenderPath(): CanvasECGRenderPath;
}