Function: convertVolumeToStackViewport()
convertVolumeToStackViewport(
params
):Promise
<IStackViewport
>
Converts a volume viewport to a stack viewport.
Parameters
• params
The parameters for the conversion.
• params.options
The conversion options.
• params.options.background?: Point3
• params.options.viewportId?: string
• params.viewport: VolumeViewport
The volume viewport to convert.
Returns
Promise
<IStackViewport
>
The converted stack viewport.
Defined in
packages/core/src/utilities/convertVolumeToStackViewport.ts:18