|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRaster2
Provides access to members that control a raster.
IRaster2 interface, new at ArcGIS 9.2, provides many functions working with a Raster object.
| Method Summary | |
|---|---|
IRasterCursor |
createCursorEx(IPnt pBlockSize)
Creates a cursor with a given pixel block size or native block size. |
ITable |
getAttributeTable()
The raster value attribute table. |
IRasterColormap |
getColormap()
The colormap. |
IGeodataXform |
getGeodataXform()
The geodata transform. |
IGeoTransformationOperationSet |
getGeoTransformations()
The set of geographic transformations to be applied. |
Object |
getPixelValue(int iBand,
int iColumn,
int iRow)
Gets the pixel value for a given band at a given column and row. |
IRasterDataset |
getRasterDataset()
The parent raster dataset. |
IRasterXformer |
getRasterXformer()
The raster transformer. |
void |
mapToPixel(double x,
double y,
int[] pColumn,
int[] pRow)
Converts a location (x, y) in map space into pixel space. |
void |
pixelToMap(int iColumn,
int iRow,
double[] pX,
double[] pY)
Converts a location (column, row) in pixel space into map space. |
void |
setAttributeTableByRef(ITable ppVAT)
The raster value attribute table. |
void |
setColormapByRef(IRasterColormap ppColormap)
The colormap. |
void |
setGeodataXform(IGeodataXform ppXform)
The geodata transform. |
void |
setGeoTransformationsByRef(IGeoTransformationOperationSet ppGeoXforms)
The set of geographic transformations to be applied. |
double |
toMapX(int iColumn)
Maps a pixel column to the x coordinate in map space. |
double |
toMapY(int iRow)
Maps a pixel row to the y coordinate in map space. |
int |
toPixelColumn(double x)
Maps a x coordinate in map space to the pixel column. |
int |
toPixelRow(double y)
Maps a y coordinate in map space to the pixel row. |
| Method Detail |
|---|
IGeodataXform getGeodataXform()
throws IOException,
AutomationException
After you set a GeodataXform on a Raster and perform SaveAs, you must also set the extent, width and height of the raster in the space after the transformation.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setGeodataXform(IGeodataXform ppXform)
throws IOException,
AutomationException
The put GeodataXform does not automatically update the extent and cell size, to save out a transformed raster, you need to transform the extent and cell size first, then put the transformed extent and cell size on the raster, the call SaveAs.
ppXform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setGeoTransformationsByRef(IGeoTransformationOperationSet ppGeoXforms)
throws IOException,
AutomationException
ppGeoXforms - A reference to a com.esri.arcgis.geometry.IGeoTransformationOperationSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGeoTransformationOperationSet getGeoTransformations()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ITable getAttributeTable()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setAttributeTableByRef(ITable ppVAT)
throws IOException,
AutomationException
ppVAT - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRasterColormap getColormap()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setColormapByRef(IRasterColormap ppColormap)
throws IOException,
AutomationException
ppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRasterDataset getRasterDataset()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRasterCursor createCursorEx(IPnt pBlockSize)
throws IOException,
AutomationException
pBlockSize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRasterXformer getRasterXformer()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void mapToPixel(double x,
double y,
int[] pColumn,
int[] pRow)
throws IOException,
AutomationException
x - The x (in)y - The y (in)pColumn - The pColumn (out: use single element array)pRow - The pRow (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void pixelToMap(int iColumn,
int iRow,
double[] pX,
double[] pY)
throws IOException,
AutomationException
iColumn - The iColumn (in)iRow - The iRow (in)pX - The pX (out: use single element array)pY - The pY (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int toPixelColumn(double x)
throws IOException,
AutomationException
x - The x (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int toPixelRow(double y)
throws IOException,
AutomationException
y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double toMapX(int iColumn)
throws IOException,
AutomationException
iColumn - The iColumn (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double toMapY(int iRow)
throws IOException,
AutomationException
iRow - The iRow (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getPixelValue(int iBand,
int iColumn,
int iRow)
throws IOException,
AutomationException
iBand - The iBand (in)iColumn - The iColumn (in)iRow - The iRow (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||