SoLDMDataAccessGetData Method (SoLDMDataAccessDataInfoPolyLine, Int32, SbBox3i32, SbVec3i32, SoBufferObject) |
Given a subvolume in voxel coordinates and a polyline (set of connected line segments), copies the data intersecting each line segment with the subvolume into an application buffer.
Namespace: OIV.LDMAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void GetData(
SoLDMDataAccessDataInfoPolyLine infoPolyline,
int resolution,
SbBox3i32 subVolume,
SbVec3i32[] polyline,
SoBufferObject bufferObj
)
Public Sub GetData (
infoPolyline As SoLDMDataAccessDataInfoPolyLine,
resolution As Integer,
subVolume As SbBox3i32,
polyline As SbVec3i32(),
bufferObj As SoBufferObject
)
public:
void GetData(
SoLDMDataAccessDataInfoPolyLine^ infoPolyline,
int resolution,
SbBox3i32 subVolume,
array<SbVec3i32>^ polyline,
SoBufferObject^ bufferObj
)
member GetData :
infoPolyline : SoLDMDataAccessDataInfoPolyLine *
resolution : int *
subVolume : SbBox3i32 *
polyline : SbVec3i32[] *
bufferObj : SoBufferObject -> unit
Parameters
- infoPolyline
- Type: OIV.LDMSoLDMDataAccessDataInfoPolyLine
- resolution
- Type: SystemInt32
- subVolume
- Type: OIV.InventorSbBox3i32
- polyline
- Type: OIV.InventorSbVec3i32
- bufferObj
- Type: OIV.Inventor.DevicesSoBufferObject
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 DataInfoPolyline. 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