Click or drag to resize
SoLDMDataAccessGetData Method (Int32, SbBox3i32, SbVec2i32, SoBufferObject)

Data values in a single seismic trace (a row of voxels along the volume X axis) are copied into an application buffer.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoLDMDataAccessDataInfoTrace GetData(
	int resolution,
	SbBox3i32 subVolume,
	SbVec2i32 coord,
	SoBufferObject bufferObj
)

Parameters

resolution
Type: SystemInt32
subVolume
Type: OIV.InventorSbBox3i32
coord
Type: OIV.InventorSbVec2i32
bufferObj
Type: OIV.Inventor.DevicesSoBufferObject

Return Value

Type: SoLDMDataAccessDataInfoTrace
Remarks

The trace is identified by a YZ voxel coordinate. The range of values returned is the intersection of the trace with the specified subvolume. The resolution is the power of 2 of the desired subsampling level (0:1/1, 1:1/2, 2:1/4, ...) NOTE: The data is copied.

Returns a OIV.LDM.SoLDMDataAccess.DataInfoTrace struct containing errorFlag, bufferSize (number of bytes) and bufferDimension (number of values). Call this method with buffer = NULL to get the required size of the application buffer (in the bufferSize member of OIV.LDM.SoLDMDataAccess.DataInfoTrace).

See Also