com.esri.arcgis.datasourcesraster
Class IRasterFunctionHelperProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesraster.IRasterFunctionHelperProxy
All Implemented Interfaces:
IRasterFunctionHelper, Externalizable, Serializable

public class IRasterFunctionHelperProxy
extends com.esri.arcgis.interop.Dispatch
implements IRasterFunctionHelper, Serializable

Provides access to members that control a raster function helper.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IRasterFunctionHelperProxy()
           
  IRasterFunctionHelperProxy(Object obj)
           
protected IRasterFunctionHelperProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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.
 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.
 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 removeListener(String iidStr, Object theListener)
           
 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 com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IRasterFunctionHelperProxy

public IRasterFunctionHelperProxy()

IRasterFunctionHelperProxy

public IRasterFunctionHelperProxy(Object obj)
                           throws IOException
Throws:
IOException

IRasterFunctionHelperProxy

protected IRasterFunctionHelperProxy(Object obj,
                                     String iid)
                              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

bind

public void bind(Object pArguments)
          throws IOException,
                 AutomationException
Binds function arguments to the associated raster function.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
bind in interface IRasterFunctionHelper
Parameters:
pArguments - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterInfo

public IRasterInfo getRasterInfo()
                          throws IOException,
                                 AutomationException
The raster information after this function is applied to an object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getRasterInfo in interface IRasterFunctionHelper
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

read

public void read(IPnt pTlc,
                 IRaster pRaster,
                 IRaster pReferenceRaster,
                 IPixelBlock pPixelBlock)
          throws IOException,
                 AutomationException
Reads a pixel block starting from the top left corner.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
read in interface IRasterFunctionHelper
Parameters:
pTlc - 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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isResampling

public boolean isResampling()
                     throws IOException,
                            AutomationException
Indicates if this raster source wants to perform resampling.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isResampling in interface IRasterFunctionHelper
Returns:
The pResampling
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResampling

public void setResampling(boolean pResampling)
                   throws IOException,
                          AutomationException
Indicates if this raster source wants to perform resampling.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setResampling in interface IRasterFunctionHelper
Parameters:
pResampling - The pResampling (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReferenceProperties

public int getReferenceProperties()
                           throws IOException,
                                  AutomationException
The properties to be used in reference raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getReferenceProperties in interface IRasterFunctionHelper
Returns:
The pReferenceProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReferenceProperties

public void setReferenceProperties(int pReferenceProperties)
                            throws IOException,
                                   AutomationException
The properties to be used in reference raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setReferenceProperties in interface IRasterFunctionHelper
Parameters:
pReferenceProperties - The pReferenceProperties (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportBandSelection

public boolean isSupportBandSelection()
                               throws IOException,
                                      AutomationException
Indicates if this function supports band selection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isSupportBandSelection in interface IRasterFunctionHelper
Returns:
The pSupportBandSelection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSupportBandSelection

public void setSupportBandSelection(boolean pSupportBandSelection)
                             throws IOException,
                                    AutomationException
Indicates if this function supports band selection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSupportBandSelection in interface IRasterFunctionHelper
Parameters:
pSupportBandSelection - The pSupportBandSelection (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRaster

public void createRaster(IRaster pRaster,
                         IRaster pReferenceRaster,
                         ILongArray[] ppBandIDs,
                         IRaster[] ppNewRaster)
                  throws IOException,
                         AutomationException
Creates a new raster using a given reference raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
createRaster in interface IRasterFunctionHelper
Parameters:
pRaster - 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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRaster

public IRaster getRaster()
                  throws IOException,
                         AutomationException
The current source raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getRaster in interface IRasterFunctionHelper
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.