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

Data values in a single seismic trace (a row of voxels along the volume X axis) are asynchronously 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 int RequestData(
	int resolution,
	SbBox3i32 subVolume0,
	SbVec2i32 coord,
	SoBufferObject bufferObj
)

Parameters

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

Return Value

Type: Int32
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 (which may be the full dimensions of the volume). 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 request ID. If requestID is positive, this value will be passed to the OIV.LDM.SoLDMDataAccess.EndRequest(System.Int32) method when the requested data is ready, and can then be used with the getRequestedData method to complete the transaction. If requestID is negative, the data is already in memory, so endRequest will not be called, and -requestID (a positive value) should be used with the getRequestedData method.

Call this method with buffer = NULL to get the required size of the application buffer (in the bufferSize member of OIV.LDM.SoLDMDataAccess.DataInfoTrace). Limitations :

  • it is not possible to perform an asynchronous data request within GLRender action

See Also