Function: getVolumeSliceRangeInfo()
getVolumeSliceRangeInfo(
viewport
,volumeId
,useSlabThickness
):object
Calculates the slice range for the given volume based on its orientation
Parameters
• viewport: VolumeViewport
Volume viewport
• volumeId: string
Id of one of the volumes loaded on the given viewport
• useSlabThickness: boolean
= false
If true, the slice range will be calculated based on the slab thickness instead of the spacing in the normal direction
Returns
object
slice range information
camera
camera:
ICamera
sliceRange
sliceRange:
ActorSliceRange
spacingInNormalDirection
spacingInNormalDirection:
number