AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsRaster Interface

Description

A raster dataset. A raster consists of one or more bands, or sets of values, which are most commonly associated with colors when the raster represents an image. For instance, a typical color image contains three sets of values, or bands (red, green, and blue) which define the color of pixels within the image. The following raster image formats can be read by the raster class: BMP, ECW, IMG, JP2, NTF, NITF, PNG, SID, TIF, TIFF, JPG, JPEG, PPM, PGM, CLDS, and TGA. To create a texture from a raster, pass it to the From Raster method.

Object Model


Public Methods

Public Method Apply Applies a Raster Filter to the raster and returns a new raster with the results of the filtering. The current raster is not modified.
Public Method ApplyInPlace Applies a Raster Filter to the raster. The current raster will contain the results of the filtering.
Public Method CopyFromRaster Copies the data associated with the given Raster into this raster.
Public Method ExtractBand Extracts the band of raster data associated with the given Raster Band.
Public Method ExtractBandFromRasterFormat Extracts the bands of raster data associated with the given Raster Format.
Public Method Flip Flips the raster along the given axis.
Public Method Rotate Rotates the raster by the given angle.

Public Properties

Public Property Attributes Gets the Raster Attributes that define the raster data.
Public Property Height Gets the height of the raster in pixels.
Public Property Width Gets the width of the raster in pixels.

See Also

CoClasses that Implement IAgStkGraphicsRaster

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface