public VolumeIdentifier StoreVolume(
string seriesInstanceUID,
List<Stream> volumeData,
List<Stream> volumeState,
string storageDirectory,
string userIdentifier
)
seriesInstanceUID
Type: System.String The Series Instance UID which represents the series that the stored volume is generated from.
volumeData
Type: List of Stream Array A list which contains the chunks of bytes that used to create a 3D volume.
volumeState
Type: List of Stream Array A list which contains the chunks of bytes that contains state information about the 3D volume.
storageDirectory
Type: System.String The path of the directory where the 3D volume should be stored.
userIdentifier
Type: System.String A string that identifies the 3D volume for the user.
Type: VolumeIdentifier An object which is used to uniquely identify the stored 3D volume.
Since the 3D volume data might be huge the data is sent as chunks of bytes in the volumeData list, this way there is no need to allocate a huge consecutive memory and the chunks could be of any size.
To specify where the volume should be stored use the overloaded method of this function that accepts a storage directory.