Click or drag to resize
SoVRDicomDataGetNumFrames Method

Returns the number of frames.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public int GetNumFrames()

Return Value

Type: Int32
Remarks

Currently an OIV.VolumeViz.Readers.SoVRDicomData object corresponds to a single DICOM file. Therefore OIV.VolumeViz.Readers.SoVRDicomData.GetNumFrames() returns the number of images in the associated DICOM file, not (in general) the number of images in the volume. Typically it returns 1 because there is a single image in the file. Note that even if the OIV.VolumeViz.Readers.SoVRDicomData object was queried from an OIV.VolumeViz.Readers.SoVRDicomFileReader, it does not return the number of images in the volume except in the special case where all images are stored in a single file. To get the number of images in the volume use the volume reader or OIV.VolumeViz.Nodes.SoVolumeData object.

See Also