Click or drag to resize
SoVRSegyTraceHeaderBytePositionSetByteFormat Method

Sets/Gets the field format of a specific attribute within the trace header.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetByteFormat(
	SoVRSegyTraceHeaderBytePositionTraceAttributes attr,
	SoVRSegyTraceHeaderBytePositionTraceByteFormats format
)

Parameters

attr
Type: OIV.VolumeViz.ReadersSoVRSegyTraceHeaderBytePositionTraceAttributes
format
Type: OIV.VolumeViz.ReadersSoVRSegyTraceHeaderBytePositionTraceByteFormats
Remarks

The default format for all the fields is either SEGY_INTEGER16_FORMAT or SEGY_INTEGER32_FORMAT, see the class OIV.VolumeViz.Readers.SoVRSegyTraceIdHeader below. For instance calling setByteFormat(TraceAttribute.SEGY_SX, SEGY_IEEE_FLOAT_FORMAT) means that the attribute source coordinate X should be coded as a IEEE float.

See Also