Skip to main content

Function: isAcquisitionPlaneNormal()

isAcquisitionPlaneNormal(imageVolume, viewPlaneNormal): boolean

Whether a view plane normal shows the acquisition plane of a volume.

The tilt of the normal from the scan axis must move the plane by less than half a slice across the in-plane extent of the volume. The planar viewport draws the acquired frames of a reduced volume by this rule, so a caller that asks "is this view in the acquisition plane" gets the same answer as the render. Either direction of the scan axis counts.

The 0.99 tolerance of VolumeViewport.isInAcquisitionPlane is wider, and it still decides whether a reference to an image counts as the view.

Parameters​

• imageVolume: Pick<ImageVolume, "direction" | "dimensions" | "spacing">

• viewPlaneNormal: Point3

Returns​

boolean

Defined in​

packages/core/src/utilities/isAcquisitionPlaneNormal.ts:16