SoLDMDataAccessGetData Method (Int32, SbBox3i32, SbPlane, SoBufferObject) |
Given a subvolume in voxel coordinates and a plane, copies the data intersecting the plane and the subvolume into an application buffer.
Namespace: OIV.LDMAssembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic SoLDMDataAccessDataInfoPlane GetData(
int resolution,
SbBox3i32 subVolume0,
SbPlane plane,
SoBufferObject bufferObj
)
Public Function GetData (
resolution As Integer,
subVolume0 As SbBox3i32,
plane As SbPlane,
bufferObj As SoBufferObject
) As SoLDMDataAccessDataInfoPlane
public:
SoLDMDataAccessDataInfoPlane GetData(
int resolution,
SbBox3i32 subVolume0,
SbPlane plane,
SoBufferObject^ bufferObj
)
member GetData :
resolution : int *
subVolume0 : SbBox3i32 *
plane : SbPlane *
bufferObj : SoBufferObject -> SoLDMDataAccessDataInfoPlane
Parameters
- resolution
- Type: SystemInt32
- subVolume0
- Type: OIV.InventorSbBox3i32
- plane
- Type: OIV.InventorSbPlane
- bufferObj
- Type: OIV.Inventor.DevicesSoBufferObject
Return Value
Type:
SoLDMDataAccessDataInfoPlane
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 DataInfoPlane. Call this method with buffer = NULL to get the required size of the application buffer (in the bufferSize member of DataInfoPlane).
See Also