Function: getSlabIntensityPickContext()
getSlabIntensityPickContext(
viewport):object|null
Resolves how (and whether) intensity picking applies to a viewport: the viewport must be a Generic planar viewport in volume mode whose source display-set presentation renders an intensity-projection slab (MIP or MinIP with a real slab thickness).
Returns the pick mode ('max' for MIP, 'min' for MinIP) and the slab thickness, or null when intensity picking does not apply.
Parameters
• viewport: Viewport
Returns
object | null