Click or drag to resize
SoVRSegyFileReaderGetDataChar Method

Gets the characteristics (file header) of the data volume.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax
public override SoVolumeReaderReadErrors GetDataChar(
	out SbBox3f size,
	out SoDataSetDataTypes type,
	out SbVec3i32 dim
)

Parameters

size
Type: OIV.InventorSbBox3f
type
Type: OIV.LDM.NodesSoDataSetDataTypes
dim
Type: OIV.InventorSbVec3i32

Return Value

Type: SoVolumeReaderReadErrors
Remarks

See SoDataSet.setVolumeData(). You can use the convenience method OIV.VolumeViz.Readers.SoVRSegyFileReader.SetFilename(System.String) to specify the file location, in which case you will not have to open the file yourself. Then you can use the convenience method getBuffer() to read the header in order to get the requested information.

NOTE: We strongly recommend that readers implement this version of OIV.VolumeViz.Readers.SoVRSegyFileReader.GetDataChar(OIV.Inventor.SbBox3f@, OIV.LDM.Nodes.SoDataSet.DataTypes@, OIV.Inventor.SbVec3i32@), introduced in VolumeViz 5.1, because it uses OIV.Inventor.SbVec3i32 for the volume dimension.

See Also