SoSFImage.GetValue Method (SbVec2s, Int32, SoSFImage.DataTypes) |
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: 10.12.3.0 (10.12.3.0)
Syntaxpublic SbNativeArray<byte> GetValue(
out SbVec2s size,
out int nc,
out SoSFImage. DataTypes dataType
)
Public Function GetValue (
<OutAttribute> ByRef size As SbVec2s,
<OutAttribute> ByRef nc As Integer,
<OutAttribute> ByRef dataType As SoSFImage. DataTypes
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ GetValue(
[OutAttribute] SbVec2s% size,
[OutAttribute] int% nc,
[OutAttribute] SoSFImage. DataTypes% dataType
)
member GetValue :
size : SbVec2s byref *
nc : int byref *
dataType : SoSFImage. DataTypes byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.Inventor.SbVec2s
- nc
- Type: System.Int32
- dataType
- Type: OIV.Inventor.Fields.SoSFImage.DataTypes
Return Value
Type:
SbNativeArray<Byte>
RemarksThe 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