Skip to main content

Function: cornerstoneStreamingDynamicImageVolumeLoader()

cornerstoneStreamingDynamicImageVolumeLoader(volumeId, options): IVolumeLoader

It handles loading of a image by streaming in its imageIds. It will be the volume loader if the schema for the volumeID is cornerstoneStreamingImageVolume. This function returns a promise that resolves to the StreamingDynamicImageVolume instance.

In order to use the cornerstoneStreamingDynamicImageVolumeLoader you should use createAndCacheVolume helper from the cornerstone-core volumeLoader module.

Parameters

volumeId: string

The ID of the volume

options

options for loading, imageIds

options.imageIds: string[]

Returns

IVolumeLoader

a promise that resolves to a StreamingDynamicImageVolume

Defined in

packages/core/src/loaders/cornerstoneStreamingDynamicImageVolumeLoader.ts:28