Skip to main content

Function: cornerstoneStreamingImageVolumeLoader()

cornerstoneStreamingImageVolumeLoader(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 StreamingImageVolume instance.

In order to use the cornerstoneStreamingImageVolumeLoader 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[]

options.progressiveRendering?: boolean | IRetrieveConfiguration

Returns

IVolumeLoader

a promise that resolves to a StreamingImageVolume

Defined in

packages/core/src/loaders/cornerstoneStreamingImageVolumeLoader.ts:26