SbRasterImage Class |
Class encapsulating a raster image and its attributes.
Namespace: OIV.Inventor.Image
The SbRasterImage type exposes the following members.
Name | Description | |
---|---|---|
![]() | SbRasterImage | Constructor that creates an empty image. |
![]() | SbRasterImage(SbVec2i32, SbRasterImageComponents, SoBufferObject) | Constructor that initializes with an image. |
![]() | SbRasterImage(SbVec2i32, SbRasterImageComponents, Byte) | Obsolete. Calls SbRasterImage(size, components, bytes, OIV.Inventor.Image.SbRasterImage.CopyPolicies( .SbRasterImage.COPY )). |
![]() | SbRasterImage(SbVec2s, SbRasterImageComponents, Byte) | Obsolete. Calls SbRasterImage(size, components, bytes, OIV.Inventor.Image.SbRasterImage.CopyPolicies( .SbRasterImage.COPY )). |
![]() | SbRasterImage(SbVec2i32, SbRasterImageComponents, Byte, SbRasterImageCopyPolicies) | Obsolete. Constructor that initializes with a large image. |
![]() | SbRasterImage(SbVec2s, SbRasterImageComponents, Byte, SbRasterImageCopyPolicies) | Obsolete. Constructor that initializes with an image. |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetBuffer | Obsolete. Returns the pixel buffer of the raster image. |
![]() | GetBufferObject | Returns the pixel buffer of the raster image. |
![]() | GetComponents | Returns the number of components of each pixel as an enum. |
![]() | GetComponentsCount | Returns the number of components of each pixel. |
![]() | GetComponentsSize | Returns the size in bytes of each pixel in the image. |
![]() | GetCopyPolicy | Returns the current buffer copy policy. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetNumMipmaps | Returns the number of mipmaps contained by the buffer. |
![]() | GetSize | Returns the raster image size in pixels. |
![]() | GetSize_i32 | Returns the raster image size in pixels for large images. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | RemoveAlphaChannel | Removes the Alpha channel from the current raster image. |
![]() | SetBuffer(Byte) | Obsolete. Calls SetBuffer(buffer, OIV.Inventor.Image.SbRasterImage.CopyPolicies( .SbRasterImage.COPY )). |
![]() | SetBuffer(SbNativeArrayByte) |
Sets the pixel buffer of the raster image.
By default, the memory policy is COPY.
|
![]() | SetBuffer(SoBufferObject) | Sets the pixel buffer of the raster image. |
![]() | SetBuffer(Byte, SbRasterImageCopyPolicies) | Obsolete. Sets the pixel buffer of the raster image. |
![]() | SetBuffer(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.
|
![]() | SetComponents | Sets the number of components in each pixel of the raster image. |
![]() | SetSize | Sets the raster image size in pixels. |
![]() | SetSize_i32 | Sets the raster image size in pixels. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class encapsulates a raster image, including its size and number of color components.