Click or drag to resize
SoVRSegyFileReaderGetSegyFileHeader Method (SoVRSegyFileHeader, Boolean)

Gets the SEGY file header.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public bool GetSegyFileHeader(
	out SoVRSegyFileHeader fileHeader,
	bool readFile
)

Parameters

fileHeader
Type: OIV.VolumeViz.ReadersSoVRSegyFileHeader
readFile
Type: SystemBoolean

Return Value

Type: Boolean
Remarks

If you use this class to read a SEGY file directly, you will have to call the method SoVolumeReader.setFilename() first. Returns false if the operation fails, for example, if SoVolumeReader.setFilename() was not called first. If readFile is true the file header is read from the file, otherwise the value set by OIV.VolumeViz.Readers.SoVRSegyFileReader.SetSegyFileHeader(OIV.VolumeViz.Readers.SoVRSegyFileHeader) is returned instead. If readFile is false but OIV.VolumeViz.Readers.SoVRSegyFileReader.SetSegyFileHeader(OIV.VolumeViz.Readers.SoVRSegyFileHeader) was never called, the file header is read from the file anyway.

See Also