Skip to main content

Variable: wsiProjection

const wsiProjection: object

Experimental

Lower-level WSI projection helpers for custom synchronizers and tooling. WSI projection exposes slide/world coordinates with zoom and rotation presentation compatibility.

Advanced helper namespace; prefer viewportProjection for stable application-level presentation reads and writes.

Type declaration​

adapter​

adapter: ViewportProjectionAdapter<WSIViewState, ViewPresentation, WSIProjectionSnapshot> = wsiProjectionAdapter

Experimental

getSnapshot()​

getSnapshot: (request) => WSIProjectionSnapshot | undefined = getWSIProjectionSnapshot

Builds the WSI projection snapshot for a viewport-like object.

Parameters​

• request: WSIProjectionRequest

Returns​

WSIProjectionSnapshot | undefined

Defined in​

packages/core/src/RenderingEngine/GenericViewport/WSI/index.ts:19