|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterFunctionHelper
public class RasterFunctionHelper
A class for a raster function helper.
| Constructor Summary | |
|---|---|
RasterFunctionHelper()
Constructs a RasterFunctionHelper using ArcGIS Engine. |
|
RasterFunctionHelper(Object obj)
Construct a RasterFunctionHelper using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
bind(Object pArguments)
Binds function arguments to the associated raster function. |
void |
createRaster(IRaster pRaster,
IRaster pReferenceRaster,
ILongArray[] ppBandIDs,
IRaster[] ppNewRaster)
Creates a new raster using a given reference raster. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IRaster |
getRaster()
The current source raster. |
IRasterInfo |
getRasterInfo()
The raster information after this function is applied to an object. |
int |
getReferenceProperties()
The properties to be used in reference raster. |
int |
hashCode()
the hashcode for this object |
boolean |
isResampling()
Indicates if this raster source wants to perform resampling. |
boolean |
isSupportBandSelection()
Indicates if this function supports band selection. |
void |
read(IPnt pTlc,
IRaster pRaster,
IRaster pReferenceRaster,
IPixelBlock pPixelBlock)
Reads a pixel block starting from the top left corner. |
void |
setReferenceProperties(int pReferenceProperties)
The properties to be used in reference raster. |
void |
setResampling(boolean pResampling)
Indicates if this raster source wants to perform resampling. |
void |
setSupportBandSelection(boolean pSupportBandSelection)
Indicates if this function supports band selection. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public RasterFunctionHelper()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterFunctionHelper(Object obj)
throws IOException
obj to RasterFunctionHelper.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
RasterFunctionHelper theRasterFunctionHelper = (RasterFunctionHelper) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void bind(Object pArguments)
throws IOException,
AutomationException
bind in interface IRasterFunctionHelperpArguments - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterInfo getRasterInfo()
throws IOException,
AutomationException
getRasterInfo in interface IRasterFunctionHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void read(IPnt pTlc,
IRaster pRaster,
IRaster pReferenceRaster,
IPixelBlock pPixelBlock)
throws IOException,
AutomationException
read in interface IRasterFunctionHelperpTlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pReferenceRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isResampling()
throws IOException,
AutomationException
isResampling in interface IRasterFunctionHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResampling(boolean pResampling)
throws IOException,
AutomationException
setResampling in interface IRasterFunctionHelperpResampling - The pResampling (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getReferenceProperties()
throws IOException,
AutomationException
getReferenceProperties in interface IRasterFunctionHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceProperties(int pReferenceProperties)
throws IOException,
AutomationException
setReferenceProperties in interface IRasterFunctionHelperpReferenceProperties - The pReferenceProperties (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportBandSelection()
throws IOException,
AutomationException
isSupportBandSelection in interface IRasterFunctionHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSupportBandSelection(boolean pSupportBandSelection)
throws IOException,
AutomationException
setSupportBandSelection in interface IRasterFunctionHelperpSupportBandSelection - The pSupportBandSelection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void createRaster(IRaster pRaster,
IRaster pReferenceRaster,
ILongArray[] ppBandIDs,
IRaster[] ppNewRaster)
throws IOException,
AutomationException
createRaster in interface IRasterFunctionHelperpRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pReferenceRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)ppBandIDs - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)ppNewRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRaster getRaster()
throws IOException,
AutomationException
getRaster in interface IRasterFunctionHelperIOException - 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 | ||||||||