Function: loadVolume()
loadVolume(
volumeId,options):Promise<IImageVolume>
Loads a volume given a volumeId and optional priority and returns a promise which will resolve to the loaded image object or fail if an error occurred. The loaded image is not stored in the cache.
Parameters
• volumeId: string
A Cornerstone Image Object's volumeId
• options: VolumeLoaderOptions = ...
Options to be passed to the Volume Loader
Returns
Promise<IImageVolume>
An Object which can be used to act after an image is loaded or loading fails