com.esri.arcgis.datasourcesraster
Class IRasterGeometryProc2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesraster.IRasterGeometryProc2Proxy
All Implemented Interfaces:
IRasterGeometryProc2, java.io.Externalizable, java.io.Serializable

public class IRasterGeometryProc2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IRasterGeometryProc2, java.io.Serializable

Internal use class Proxy for COM Interface 'IRasterGeometryProc2'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that allow raster geometry processing.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterGeometryProc2
IID, IID9092c7c1_5c8f_4ce8_bb2c_5a98e2574ee7
 
Constructor Summary
  IRasterGeometryProc2Proxy()
          For internal use only
  IRasterGeometryProc2Proxy(java.lang.Object obj)
           
protected IRasterGeometryProc2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IRasterGeometryProc2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IRasterGeometryProc2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void clip(IEnvelope ipRectangle, IRaster pRaster)
          Clips the input raster based on the specified envelope.
 void flip(IRaster pRaster)
          Flips the input raster.
 void getRasterXFormByIndex(IRaster pRaster, int band, boolean forward, int index, int[] order, java.lang.Object[] pVar)
          Gets the polynomial order and the polynomial coefficients of the indexed transformation.
 int getRasterXFormCount(IRaster pRaster, int band)
          Gets the number of transformations.
 int getRasterXFormOrderByIndex(IRaster pRaster, int band, int index)
          Gets the polynomial order of the indexed transformation.
 boolean isPixelToMapTransSimple(IRaster pRaster)
          Indicates if the transformation of pixel to map is simple.
 java.lang.Object leastSquareFit(IPointCollection sourceControlPoints, IPointCollection targetControlPoints, int transformType, boolean forwardTransformation, boolean returnTransformationCoef)
          Computes a least squares fit for the input control points.
 IRaster merge(java.lang.String saveas_name, IWorkspace ipWorkspace, java.lang.String outRasterFormat, double cellSize, ISpatialReference ipSR, IRaster pRaster)
          Merges the input rasters into a single dataset.
 void mirror(IRaster pRaster)
          Mirrors the input raster.
 IRaster mosaic(java.lang.String saveas_name, IWorkspace ipWorkspace, java.lang.String outRasterFormat, double cellSize, ISpatialReference ipSR, IRaster pRaster)
          Mosaics the input rasters into a single dataset.
 IPointCollection pointsTransform(IPointCollection inPoints, boolean isForward, IRaster pRaster)
          Transforms a set of points based upon the transformation being applied to the input raster.
 void projectFast(ISpatialReference pNewSR, int resampleType, java.lang.Object cellSize, IRaster pRaster)
          Projects the input raster using a single polynomial fit to compute the adjustment between coordinate systems.
 void putRasterXForm(IRaster pRaster, boolean clean, int order, java.lang.Object pVar)
          Sets a polynomial transformation to the Raster.
 void rectify(java.lang.String saveas_name, java.lang.String format, IRaster pRaster)
          Persists the input raster to a new dataset of the specified format.
 void register(IRaster pRaster)
          Outputs the current transformation properties to the dataset header or auxilliary file.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void resample(int resampleType, double newCellsize, IRaster pRaster)
          Resamples the input raster to a new cellsize.
 void reScale(double xScale, double yScale, IRaster pRaster)
          Scales the input raster by the specified x and y scale factors.
 void reset(IRaster pRaster)
          Resets the input raster to its native coordinate space.
 void rotate(IPoint ipPivotPoint, double rotateAngle, IRaster pRaster)
          Rotates the input raster around the specified pivot by an angle specified in degrees.
 void shift(double deltaX, double deltaY, IRaster pRaster)
          Shifts the input raster by deltaX and deltaY map units.
 void twoPointsAdjust(IPointCollection sourceControlPoints, IPointCollection targetControlPoints, IRaster pRaster)
          Performs a Hermite transformation on the input raster based upon the 2 input control point pairs.
 void warp(IPointCollection sourceControlPoints, IPointCollection targetControlPoints, int transformType, IRaster pRaster)
          Warps the input raster based upon the input control points using the transformation type specified.
 void wKSPointsMap2PixelTransform(int pointsCount, _WKSPoint inPoints, boolean isForward, IRaster pRaster, _WKSPoint[] outPoints)
          Performs the map to pixel transformation.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IRasterGeometryProc2Proxy

public IRasterGeometryProc2Proxy(java.lang.String CLSID,
                                 java.lang.String host,
                                 com.esri.arcgis.interop.AuthInfo authInfo)
                          throws java.net.UnknownHostException,
                                 java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IRasterGeometryProc2Proxy

public IRasterGeometryProc2Proxy()
For internal use only


IRasterGeometryProc2Proxy

public IRasterGeometryProc2Proxy(java.lang.Object obj)
                          throws java.io.IOException
Throws:
java.io.IOException

IRasterGeometryProc2Proxy

protected IRasterGeometryProc2Proxy(java.lang.Object obj,
                                    java.lang.String iid)
                             throws java.io.IOException
Throws:
java.io.IOException

IRasterGeometryProc2Proxy

protected IRasterGeometryProc2Proxy(java.lang.String CLSID,
                                    java.lang.String iid,
                                    java.lang.String host,
                                    com.esri.arcgis.interop.AuthInfo authInfo)
                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

flip

public void flip(IRaster pRaster)
          throws java.io.IOException,
                 AutomationException
Flips the input raster.

Specified by:
flip in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mirror

public void mirror(IRaster pRaster)
            throws java.io.IOException,
                   AutomationException
Mirrors the input raster.

Specified by:
mirror in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shift

public void shift(double deltaX,
                  double deltaY,
                  IRaster pRaster)
           throws java.io.IOException,
                  AutomationException
Shifts the input raster by deltaX and deltaY map units.

Specified by:
shift in interface IRasterGeometryProc2
Parameters:
deltaX - The deltaX (in)
deltaY - The deltaY (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reScale

public void reScale(double xScale,
                    double yScale,
                    IRaster pRaster)
             throws java.io.IOException,
                    AutomationException
Scales the input raster by the specified x and y scale factors.

Specified by:
reScale in interface IRasterGeometryProc2
Parameters:
xScale - The xScale (in)
yScale - The yScale (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotate

public void rotate(IPoint ipPivotPoint,
                   double rotateAngle,
                   IRaster pRaster)
            throws java.io.IOException,
                   AutomationException
Rotates the input raster around the specified pivot by an angle specified in degrees.

Specified by:
rotate in interface IRasterGeometryProc2
Parameters:
ipPivotPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
rotateAngle - The rotateAngle (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

warp

public void warp(IPointCollection sourceControlPoints,
                 IPointCollection targetControlPoints,
                 int transformType,
                 IRaster pRaster)
          throws java.io.IOException,
                 AutomationException
Warps the input raster based upon the input control points using the transformation type specified.

Specified by:
warp in interface IRasterGeometryProc2
Parameters:
sourceControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
targetControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
transformType - A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

twoPointsAdjust

public void twoPointsAdjust(IPointCollection sourceControlPoints,
                            IPointCollection targetControlPoints,
                            IRaster pRaster)
                     throws java.io.IOException,
                            AutomationException
Performs a Hermite transformation on the input raster based upon the 2 input control point pairs.

Specified by:
twoPointsAdjust in interface IRasterGeometryProc2
Parameters:
sourceControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
targetControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pointsTransform

public IPointCollection pointsTransform(IPointCollection inPoints,
                                        boolean isForward,
                                        IRaster pRaster)
                                 throws java.io.IOException,
                                        AutomationException
Transforms a set of points based upon the transformation being applied to the input raster.

Specified by:
pointsTransform in interface IRasterGeometryProc2
Parameters:
inPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
isForward - The isForward (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPointCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

leastSquareFit

public java.lang.Object leastSquareFit(IPointCollection sourceControlPoints,
                                       IPointCollection targetControlPoints,
                                       int transformType,
                                       boolean forwardTransformation,
                                       boolean returnTransformationCoef)
                                throws java.io.IOException,
                                       AutomationException
Computes a least squares fit for the input control points.

Specified by:
leastSquareFit in interface IRasterGeometryProc2
Parameters:
sourceControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
targetControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
transformType - A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant (in)
forwardTransformation - The forwardTransformation (in)
returnTransformationCoef - The returnTransformationCoef (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset(IRaster pRaster)
           throws java.io.IOException,
                  AutomationException
Resets the input raster to its native coordinate space.

Specified by:
reset in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rectify

public void rectify(java.lang.String saveas_name,
                    java.lang.String format,
                    IRaster pRaster)
             throws java.io.IOException,
                    AutomationException
Persists the input raster to a new dataset of the specified format.

Specified by:
rectify in interface IRasterGeometryProc2
Parameters:
saveas_name - The saveas_name (in)
format - The format (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

register

public void register(IRaster pRaster)
              throws java.io.IOException,
                     AutomationException
Outputs the current transformation properties to the dataset header or auxilliary file.

Specified by:
register in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clip

public void clip(IEnvelope ipRectangle,
                 IRaster pRaster)
          throws java.io.IOException,
                 AutomationException
Clips the input raster based on the specified envelope.

Specified by:
clip in interface IRasterGeometryProc2
Parameters:
ipRectangle - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

projectFast

public void projectFast(ISpatialReference pNewSR,
                        int resampleType,
                        java.lang.Object cellSize,
                        IRaster pRaster)
                 throws java.io.IOException,
                        AutomationException
Projects the input raster using a single polynomial fit to compute the adjustment between coordinate systems.

Specified by:
projectFast in interface IRasterGeometryProc2
Parameters:
pNewSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
resampleType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
cellSize - A Variant (in, optional, pass null if not required)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

merge

public IRaster merge(java.lang.String saveas_name,
                     IWorkspace ipWorkspace,
                     java.lang.String outRasterFormat,
                     double cellSize,
                     ISpatialReference ipSR,
                     IRaster pRaster)
              throws java.io.IOException,
                     AutomationException
Merges the input rasters into a single dataset.

Specified by:
merge in interface IRasterGeometryProc2
Parameters:
saveas_name - The saveas_name (in)
ipWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
outRasterFormat - The outRasterFormat (in)
cellSize - The cellSize (in)
ipSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mosaic

public IRaster mosaic(java.lang.String saveas_name,
                      IWorkspace ipWorkspace,
                      java.lang.String outRasterFormat,
                      double cellSize,
                      ISpatialReference ipSR,
                      IRaster pRaster)
               throws java.io.IOException,
                      AutomationException
Mosaics the input rasters into a single dataset.

Specified by:
mosaic in interface IRasterGeometryProc2
Parameters:
saveas_name - The saveas_name (in)
ipWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
outRasterFormat - The outRasterFormat (in)
cellSize - The cellSize (in)
ipSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resample

public void resample(int resampleType,
                     double newCellsize,
                     IRaster pRaster)
              throws java.io.IOException,
                     AutomationException
Resamples the input raster to a new cellsize.

Specified by:
resample in interface IRasterGeometryProc2
Parameters:
resampleType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
newCellsize - The newCellsize (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPixelToMapTransSimple

public boolean isPixelToMapTransSimple(IRaster pRaster)
                                throws java.io.IOException,
                                       AutomationException
Indicates if the transformation of pixel to map is simple.

Specified by:
isPixelToMapTransSimple in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Returns:
The isSimple
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterXFormCount

public int getRasterXFormCount(IRaster pRaster,
                               int band)
                        throws java.io.IOException,
                               AutomationException
Gets the number of transformations.

Specified by:
getRasterXFormCount in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
band - The band (in)
Returns:
The xFormCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterXFormOrderByIndex

public int getRasterXFormOrderByIndex(IRaster pRaster,
                                      int band,
                                      int index)
                               throws java.io.IOException,
                                      AutomationException
Gets the polynomial order of the indexed transformation.

Specified by:
getRasterXFormOrderByIndex in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
band - The band (in)
index - The index (in)
Returns:
A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterXFormByIndex

public void getRasterXFormByIndex(IRaster pRaster,
                                  int band,
                                  boolean forward,
                                  int index,
                                  int[] order,
                                  java.lang.Object[] pVar)
                           throws java.io.IOException,
                                  AutomationException
Gets the polynomial order and the polynomial coefficients of the indexed transformation.

Specified by:
getRasterXFormByIndex in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
band - The band (in)
forward - The forward (in)
index - The index (in)
order - A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant (in/out: use single element array)
pVar - A Variant (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putRasterXForm

public void putRasterXForm(IRaster pRaster,
                           boolean clean,
                           int order,
                           java.lang.Object pVar)
                    throws java.io.IOException,
                           AutomationException
Sets a polynomial transformation to the Raster.

Specified by:
putRasterXForm in interface IRasterGeometryProc2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
clean - The clean (in)
order - A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant (in)
pVar - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

wKSPointsMap2PixelTransform

public void wKSPointsMap2PixelTransform(int pointsCount,
                                        _WKSPoint inPoints,
                                        boolean isForward,
                                        IRaster pRaster,
                                        _WKSPoint[] outPoints)
                                 throws java.io.IOException,
                                        AutomationException
Performs the map to pixel transformation.

Specified by:
wKSPointsMap2PixelTransform in interface IRasterGeometryProc2
Parameters:
pointsCount - The pointsCount (in)
inPoints - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
isForward - The isForward (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
outPoints - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.