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: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual 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 OIV.LDM.Readers.SoVolumeReader.SetFilename(System.String) first. Returns false if the operation fails, for example, if OIV.LDM.Readers.SoVolumeReader.SetFilename(System.String) 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