Skip to main content

Variable: ecgProjection

const ecgProjection: object

Experimental

Lower-level ECG projection helpers for custom synchronizers and tooling. ECG projection exposes signal space as sample index, amplitude value, and channel index.

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

Type declaration​

adapter​

adapter: ViewportProjectionAdapter<ECGViewState, ViewPresentation, ECGProjectionSnapshot> = ecgProjectionAdapter

Experimental

getSnapshot()​

getSnapshot: (request) => ECGProjectionSnapshot | undefined = getECGProjectionSnapshot

Builds the signal-space ECG projection snapshot for a viewport-like object.

Parameters​

• request: ECGProjectionRequest

Returns​

ECGProjectionSnapshot | undefined

Defined in​

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