@cornerstonejs/core
Version:
Cornerstone3D Core
8 lines (7 loc) • 678 B
TypeScript
import type { ViewPresentation } from '../../../types/index.js';
import type { ViewPresentationSelector } from '../../../types/IViewport.js';
import type { ProjectionWriteOptions } from '../ViewportProjectionTypes.js';
import type { WSIProjectionSnapshot } from './WSIProjectionTypes.js';
import type { WSIViewState } from './WSIViewportTypes.js';
export declare function getWSIProjectionPresentation(snapshot: WSIProjectionSnapshot, selector: ViewPresentationSelector | undefined): ViewPresentation;
export declare function withWSIProjectionPresentation(snapshot: WSIProjectionSnapshot, presentation: Partial<ViewPresentation>, options?: ProjectionWriteOptions): WSIViewState;