Click or drag to resize
SbRasterImage Class

Class encapsulating a raster image and its attributes.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ImageSbRasterImage

Namespace: OIV.Inventor.Image
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public class SbRasterImage : SoNetBase

The SbRasterImage type exposes the following members.

Constructors
  NameDescription
Public methodSbRasterImage

Constructor that creates an empty image.

Public methodSbRasterImage(SbVec2i32, SbRasterImageComponents, SoBufferObject)

Constructor that initializes with an image.

Public methodSbRasterImage(SbVec2i32, SbRasterImageComponents, Byte) Obsolete.
Calls SbRasterImage(size, components, bytes, OIV.Inventor.Image.SbRasterImage.CopyPolicies( .SbRasterImage.COPY )).
Public methodSbRasterImage(SbVec2s, SbRasterImageComponents, Byte) Obsolete.
Calls SbRasterImage(size, components, bytes, OIV.Inventor.Image.SbRasterImage.CopyPolicies( .SbRasterImage.COPY )).
Public methodSbRasterImage(SbVec2i32, SbRasterImageComponents, Byte, SbRasterImageCopyPolicies) Obsolete.

Constructor that initializes with a large image.

Public methodSbRasterImage(SbVec2s, SbRasterImageComponents, Byte, SbRasterImageCopyPolicies) Obsolete.

Constructor that initializes with an image.

Top
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
Remarks

This class encapsulates a raster image, including its size and number of color components.

See Also