SoRasterImageRWReadRegion Method |
Read the specified region of current open image into rasterImage.
Namespace: OIV.Inventor.Image
Returns true if successful. Call the OIV.Inventor.Image.SoRasterImageRW.Open(OIV.Inventor.Image.SoRasterImageIO, OIV.Inventor.Image.SoRasterImageRW.OpenModes) method before calling this method.
After calling this method successfully, the size of the OIV.Inventor.Image.SbRasterImage is the requested region size. The requested region may extend outside the source image. In this case, undefined pixels are set to zero. The region may be as small as a single pixel, e.g. (1,1,1,1), but xmin must be <= xmax and ymin <= ymax.