Function: getImageSliceDataForVolumeViewport()
getImageSliceDataForVolumeViewport(
viewport
):ImageSliceData
It calculates the number of slices and the current slice index for a given Volume viewport
Parameters
• viewport: VolumeViewport
volume viewport
Returns
An object with two properties: numberOfSlices and imageIndex.
Defined in
packages/core/src/utilities/getImageSliceDataForVolumeViewport.ts:11