SoVRDicomFileReaderSetFilenameList Method (String, Int32, Int32, Int32) |
Specify a list of DICOM files to load, using a sprintf-like format.
Namespace: OIV.VolumeViz.Readers
public bool SetFilenameList( string format, int startIndex, int endIndex, int indexStep )
The format of the file name, which must be an absolute file path. e.g. "c:/testData/Brain.%04d.dcm", where "%04d" will be replaced by the current index, producing "c:/testData/Brain.0000.dcm" and so on.
The index of the first file to add
The index of the last file to add
the stride to use (e.g. 2 will skip one out of two files, by generating indices 0, 2, 4, ...)
true if successful.
This will iterate from startIndex to endIndex (included) with increment of indexStep. For each step, this will add a file of name f, where f is format sprintf-ed with the current iteration index. All the specified files should be part of the same volume data set.
Note |
---|
Member available since Open Inventor 9.4.1 |