Click or drag to resize
SbRasterImage Methods

The SbRasterImage type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetBuffer Obsolete.

Returns the pixel buffer of the raster image.

Public methodGetBufferObject

Returns the pixel buffer of the raster image.

Public methodGetComponents

Returns the number of components of each pixel as an enum.

Public methodGetComponentsCount

Returns the number of components of each pixel.

Public methodGetComponentsSize

Returns the size in bytes of each pixel in the image.

Public methodGetCopyPolicy

Returns the current buffer copy policy.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumMipmaps

Returns the number of mipmaps contained by the buffer.

Public methodGetSize

Returns the raster image size in pixels.

Public methodGetSize_i32

Returns the raster image size in pixels for large images.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveAlphaChannel

Removes the Alpha channel from the current raster image.

Public methodSetBuffer(Byte) Obsolete.
Calls SetBuffer(buffer, OIV.Inventor.Image.SbRasterImage.CopyPolicies( .SbRasterImage.COPY )).
Public methodSetBuffer(SbNativeArrayByte)
Sets the pixel buffer of the raster image. By default, the memory policy is COPY.
Public methodSetBuffer(SoBufferObject)

Sets the pixel buffer of the raster image.

Public methodSetBuffer(Byte, SbRasterImageCopyPolicies) Obsolete.

Sets the pixel buffer of the raster image.

Public methodSetBuffer(SbNativeArrayByte, SbRasterImageCopyPolicies)
Sets the pixel buffer of the raster image. By default, the memory policy is COPY, NO_COPY is the most likely to be efficient.
Public methodSetComponents

Sets the number of components in each pixel of the raster image.

Public methodSetSize

Sets the raster image size in pixels.

Public methodSetSize_i32

Sets the raster image size in pixels.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also