Skip to main content

cornerstoneStreamingDynamicImageVolumeLoader

Callable

  • cornerstoneStreamingDynamicImageVolumeLoader(volumeId: string, options: { imageIds: string[] }): 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: { imageIds: string[] }

      options for loading, imageIds

    Returns IVolumeLoader

    a promise that resolves to a StreamingDynamicImageVolume