Function: getViewportForAnnotation()
getViewportForAnnotation(
annotation
):Types.IStackViewport
|Types.IVolumeViewport
|undefined
Finds a matching viewport in terms of the orientation of the annotation data and the frame of reference. This doesn't mean the annotation IS being displayed in the viewport, just that it could be by navigating the slice, and/or pan/zoom, without changing the orientation.
Parameters
• annotation: Annotation
to find a viewport that it could display in
Returns
Types.IStackViewport
| Types.IVolumeViewport
| undefined
The viewport to display in