com.esri.arcgis.datasourcesraster
Interface IRaster2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IRaster2Proxy, Raster

public interface IRaster2
extends java.io.Serializable

COM Interface 'IRaster2'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that control a raster.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID0d668d08_92c1_4999_9a77_490790821969
           
static int xxDummy
          Deprecated. Internal use only
 
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.
 java.lang.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.
 

Field Detail

IID0d668d08_92c1_4999_9a77_490790821969

static final int IID0d668d08_92c1_4999_9a77_490790821969
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getGeodataXform

IGeodataXform getGeodataXform()
                              throws java.io.IOException,
                                     AutomationException
The geodata transform.

Returns:
A reference to a com.esri.arcgis.geodatabase.IGeodataXform
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeodataXform

void setGeodataXform(IGeodataXform ppXform)
                     throws java.io.IOException,
                            AutomationException
The geodata transform.

Parameters:
ppXform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeoTransformationsByRef

void setGeoTransformationsByRef(IGeoTransformationOperationSet ppGeoXforms)
                                throws java.io.IOException,
                                       AutomationException
The set of geographic transformations to be applied.

Parameters:
ppGeoXforms - A reference to a com.esri.arcgis.geometry.IGeoTransformationOperationSet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeoTransformations

IGeoTransformationOperationSet getGeoTransformations()
                                                     throws java.io.IOException,
                                                            AutomationException
The set of geographic transformations to be applied.

Returns:
A reference to a com.esri.arcgis.geometry.IGeoTransformationOperationSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeTable

ITable getAttributeTable()
                         throws java.io.IOException,
                                AutomationException
The raster value attribute table.

Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeTableByRef

void setAttributeTableByRef(ITable ppVAT)
                            throws java.io.IOException,
                                   AutomationException
The raster value attribute table.

Parameters:
ppVAT - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColormap

IRasterColormap getColormap()
                            throws java.io.IOException,
                                   AutomationException
The colormap.

Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterColormap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormapByRef

void setColormapByRef(IRasterColormap ppColormap)
                      throws java.io.IOException,
                             AutomationException
The colormap.

Parameters:
ppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterDataset

IRasterDataset getRasterDataset()
                                throws java.io.IOException,
                                       AutomationException
The parent raster dataset.

Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createCursorEx

IRasterCursor createCursorEx(IPnt pBlockSize)
                             throws java.io.IOException,
                                    AutomationException
Creates a cursor with a given pixel block size or native block size.

Parameters:
pBlockSize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterXformer

IRasterXformer getRasterXformer()
                                throws java.io.IOException,
                                       AutomationException
The raster transformer.

Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterXformer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapToPixel

void mapToPixel(double x,
                double y,
                int[] pColumn,
                int[] pRow)
                throws java.io.IOException,
                       AutomationException
Converts a location (x, y) in map space into pixel space.

Parameters:
x - The x (in)
y - The y (in)
pColumn - The pColumn (out: use single element array)
pRow - The pRow (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pixelToMap

void pixelToMap(int iColumn,
                int iRow,
                double[] pX,
                double[] pY)
                throws java.io.IOException,
                       AutomationException
Converts a location (column, row) in pixel space into map space.

Parameters:
iColumn - The iColumn (in)
iRow - The iRow (in)
pX - The pX (out: use single element array)
pY - The pY (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toPixelColumn

int toPixelColumn(double x)
                  throws java.io.IOException,
                         AutomationException
Maps a x coordinate in map space to the pixel column.

Parameters:
x - The x (in)
Returns:
The pColumn
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toPixelRow

int toPixelRow(double y)
               throws java.io.IOException,
                      AutomationException
Maps a y coordinate in map space to the pixel row.

Parameters:
y - The y (in)
Returns:
The pRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toMapX

double toMapX(int iColumn)
              throws java.io.IOException,
                     AutomationException
Maps a pixel column to the x coordinate in map space.

Parameters:
iColumn - The iColumn (in)
Returns:
The pX
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toMapY

double toMapY(int iRow)
              throws java.io.IOException,
                     AutomationException
Maps a pixel row to the y coordinate in map space.

Parameters:
iRow - The iRow (in)
Returns:
The pY
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelValue

java.lang.Object getPixelValue(int iBand,
                               int iColumn,
                               int iRow)
                               throws java.io.IOException,
                                      AutomationException
Gets the pixel value for a given band at a given column and row.

Parameters:
iBand - The iBand (in)
iColumn - The iColumn (in)
iRow - The iRow (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.