SoSFImageGetValue Method (SbVec2s, Int32, SoSFImageDataTypes) |
Returns the pixels in the image as an array of values of type <dataType>.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SbNativeArray<byte> GetValue(
out SbVec2s size,
out int nc,
out SoSFImageDataTypes dataType
)
Public Function GetValue (
<OutAttribute> ByRef size As SbVec2s,
<OutAttribute> ByRef nc As Integer,
<OutAttribute> ByRef dataType As SoSFImageDataTypes
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ GetValue(
[OutAttribute] SbVec2s% size,
[OutAttribute] int% nc,
[OutAttribute] SoSFImageDataTypes% dataType
)
member GetValue :
size : SbVec2s byref *
nc : int byref *
dataType : SoSFImageDataTypes byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.InventorSbVec2s
- nc
- Type: SystemInt32
- dataType
- Type: OIV.Inventor.FieldsSoSFImageDataTypes
Return Value
Type:
SbNativeArrayByteRemarks 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