Click or drag to resize
SoSFImage.GetValue Method (SbVec2s, Int32, SoSFImage.DataTypes)

Returns the pixels in the image as an array of values of type <dataType>.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SbNativeArray<byte> GetValue(
	out SbVec2s size,
	out int nc,
	out SoSFImage. DataTypes dataType
)

Parameters

size
Type: OIV.Inventor.SbVec2s
nc
Type: System.Int32
dataType
Type: OIV.Inventor.Fields.SoSFImage.DataTypes

Return Value

Type: SbNativeArray<Byte>
Remarks

The size and nc arguments are filled in with the dimensions of the image and the number of components in the image. The number of bytes in the array returned will be size[0]*size[1]*nc*sizeof(<dataType>)*nc.

See Also