Click or drag to resize
SoVolumeReaderGetAppropriateReader Method

Returns a preconfigured OIV.LDM.Readers.SoVolumeReader instance that can be used to load the given file (based on the filename extension).

Namespace: OIV.LDM.Readers
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static SoVolumeReader GetAppropriateReader(
	string filename
)

Parameters

filename
Type: SystemString

Return Value

Type: SoVolumeReader
Remarks

For example, would return an instance of OIV.VolumeViz.Readers.SoVRDicomFileReader for a file named "data.dic".

If no OIV.LDM.Readers.SoVolumeReader is associated to this extension through registerVolumeReaderExtension() then NULL is returned.

Note Note

Member available since Open Inventor 9.4

See Also