Click or drag to resize
SoDataCompositorCompose Method (Int32, SbVec3i32, Int32, SoBufferObject, SoBufferObject)

The compose method can be overridden in a subclass to specify a custom composition.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual void Compose(
	int numDataSet,
	SbVec3i32 tileDimension,
	int[] vdid,
	SoBufferObject[] inputBuffer,
	SoBufferObject outputBuffer
)

Parameters

numDataSet
Type: SystemInt32
tileDimension
Type: OIV.InventorSbVec3i32
vdid
Type: SystemInt32
inputBuffer
Type: OIV.Inventor.DevicesSoBufferObject
outputBuffer
Type: OIV.Inventor.DevicesSoBufferObject
Remarks

Inputs are:

  • numDataSet is the number of data sets to compose.

  • tileDimension specifies the dimension of the tile (same for each data set).

  • vdid is an array of integers giving the id of each data set (set by the dataSetId field of the OIV.LDM.Nodes.SoDataSet node).

  • inputBuffer is an array of buffers containing the tile of each data set. For example, inputBuffer[0] is the data corresponding to the data set with id vdid[0] . Each tile has already been converted to the final data type (dataType field) if necessary.

  • outputBuffer is the buffer to fill with the composed data (allocated by LDM, filled in by the compose method). The outputBuffer is of type dataType (number of bytes returned by getDataSize).

NOTE: For compatibility purposes, if this method is not redefined then the version with void* parameters instead of SoBufferObject* will be used.

See Also