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

Given a subvolume in voxel coordinates and a line, copies the data intersecting the line and the subvolume 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 SoLDMDataAccessDataInfoLine GetData(
	int resolution,
	SbBox3i32 subVolume0,
	SbLine line,
	SoBufferObject bufferObj
)

Parameters

resolution
Type: SystemInt32
subVolume0
Type: OIV.InventorSbBox3i32
line
Type: OIV.InventorSbLine
bufferObj
Type: OIV.Inventor.DevicesSoBufferObject

Return Value

Type: SoLDMDataAccessDataInfoLine
Remarks

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.

All information is returned in the struct OIV.LDM.SoLDMDataAccess.DataInfoLine. Call this method with buffer = NULL to get the required size of the application buffer (in the bufferSize member of OIV.LDM.SoLDMDataAccess.DataInfoLine).

See Also