SoDataSetLDMDataTransformUserDataCB Delegate |
Note: This API is now obsolete.
Data transforming delegate for LDM mode.
Namespace: OIV.LDM.NodesAssembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute]
public delegate void LDMDataTransformUserDataCB(
SoDataSet volumeData,
SbVec3i32 bufferDimension,
SbNativeArray<byte> bufferToTransform,
SbBox3i32 dataBox,
int resolutionLevel,
Object userData
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute>
Public Delegate Sub LDMDataTransformUserDataCB (
volumeData As SoDataSet,
bufferDimension As SbVec3i32,
bufferToTransform As SbNativeArray(Of Byte),
dataBox As SbBox3i32,
resolutionLevel As Integer,
userData As Object
)
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute]
public delegate void LDMDataTransformUserDataCB(
SoDataSet^ volumeData,
SbVec3i32 bufferDimension,
SbNativeArray<unsigned char>^ bufferToTransform,
SbBox3i32 dataBox,
int resolutionLevel,
Object^ userData
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute>]
type LDMDataTransformUserDataCB =
delegate of
volumeData : SoDataSet *
bufferDimension : SbVec3i32 *
bufferToTransform : SbNativeArray<byte> *
dataBox : SbBox3i32 *
resolutionLevel : int *
userData : Object -> unit
Parameters
- volumeData
- Type: OIV.LDM.NodesSoDataSet
- bufferDimension
- Type: OIV.InventorSbVec3i32
- bufferToTransform
- Type: OIV.Inventor.GenericSbNativeArrayByte
- dataBox
- Type: OIV.InventorSbBox3i32
- resolutionLevel
- Type: SystemInt32
- userData
- Type: SystemObject
Remarks
Data transforming delegate for LDM mode.
This delegate allows the data to be transformed before storing it in main memory.
Inputs are the associated volume data the method is calling for, this allows retrieving
information about data type vd.GetDataType()),
the dimension of the tile to transform and its data type,
the actual buffer of the tile to transform,
the position of tile in data space and its resolution level.
Those two last argument allow to being able to access the neighborhood of the tile through
the data access API (see #LDMDataAccess).
See Also