SoVRSegyFileReaderGetSegyFileHeader Method (SoVRSegyFileHeader, Boolean) |
Gets the SEGY file header.
Namespace: OIV.VolumeViz.Readers
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.