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, or null when the viewport holds no volume that this function can measure
camera
camera:
ICamera
sliceRange
sliceRange:
ActorSliceRange
spacingInNormalDirection
spacingInNormalDirection:
number