Skip to main content

Function: getViewportsWithImageURI()

getViewportsWithImageURI(imageURI): Viewport[]

Get the viewport that is rendering the image with the given imageURI (imageId without the loader schema), this can be a stackViewport or a volumeViewport.

Parameters​

• imageURI: string

The imageURI of the image that is requested

Returns​

Viewport[]

A Viewport

Defined in​

packages/core/src/utilities/getViewportsWithImageURI.ts:14