public class RasterGeometryProc extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterGeometryProc, IRasterGeometryProc3, ISupportErrorInfo
Description 'A mechanism to perform raster geometric operations, such as flip, rotate, and merge on rasters.' 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 =
IID, IID2b473c3c_b18e_11d3_a650_0008c7df88a8, xxDummyIID, IIDded6b7b3_5158_4f28_a970_86529c5d0696, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy| Constructor and Description |
|---|
RasterGeometryProc()
Constructs a RasterGeometryProc using ArcGIS Engine.
|
RasterGeometryProc(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterGeometryProc theRasterGeometryProc = (RasterGeometryProc) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
clip(IEnvelope ipRectangle,
IRaster pRaster)
Clips the input raster based on the specified envelope.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
flip(IRaster pRaster)
Flips the input raster.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
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 pWorkspace,
java.lang.String outRasterFormat,
double cellSize,
ISpatialReference pSR,
IRaster pRaster)
Mosaics the input rasters into a single dataset.
|
IPointCollection |
pointsMap2PixelTransform(IPointCollection pInPoints,
boolean isForward,
IRaster pRaster)
Performs the map to pixel transformation.
|
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 pCellsize,
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 |
release()
Release this COM object reference
|
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 pPivotPoint,
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.
|
public RasterGeometryProc()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic RasterGeometryProc(java.lang.Object obj)
throws java.io.IOException
RasterGeometryProc theRasterGeometryProc = (RasterGeometryProc) obj;obj to RasterGeometryProc.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void flip(IRaster pRaster) throws java.io.IOException, AutomationException
flip in interface IRasterGeometryProcflip in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void mirror(IRaster pRaster) throws java.io.IOException, AutomationException
mirror in interface IRasterGeometryProcmirror in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void shift(double deltaX,
double deltaY,
IRaster pRaster)
throws java.io.IOException,
AutomationException
shift in interface IRasterGeometryProcshift in interface IRasterGeometryProc3deltaX - The deltaX (in)deltaY - The deltaY (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void reScale(double xScale,
double yScale,
IRaster pRaster)
throws java.io.IOException,
AutomationException
reScale in interface IRasterGeometryProcreScale in interface IRasterGeometryProc3xScale - The xScale (in)yScale - The yScale (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rotate(IPoint pPivotPoint, double rotateAngle, IRaster pRaster) throws java.io.IOException, AutomationException
rotate in interface IRasterGeometryProcrotate in interface IRasterGeometryProc3pPivotPoint - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void warp(IPointCollection sourceControlPoints, IPointCollection targetControlPoints, int transformType, IRaster pRaster) throws java.io.IOException, AutomationException
warp in interface IRasterGeometryProcwarp in interface IRasterGeometryProc3sourceControlPoints - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void twoPointsAdjust(IPointCollection sourceControlPoints, IPointCollection targetControlPoints, IRaster pRaster) throws java.io.IOException, AutomationException
twoPointsAdjust in interface IRasterGeometryProctwoPointsAdjust in interface IRasterGeometryProc3sourceControlPoints - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPointCollection pointsTransform(IPointCollection inPoints, boolean isForward, IRaster pRaster) throws java.io.IOException, AutomationException
pointsTransform in interface IRasterGeometryProcpointsTransform in interface IRasterGeometryProc3inPoints - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object leastSquareFit(IPointCollection sourceControlPoints, IPointCollection targetControlPoints, int transformType, boolean forwardTransformation, boolean returnTransformationCoef) throws java.io.IOException, AutomationException
leastSquareFit in interface IRasterGeometryProcleastSquareFit in interface IRasterGeometryProc3sourceControlPoints - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void reset(IRaster pRaster) throws java.io.IOException, AutomationException
reset in interface IRasterGeometryProcreset in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rectify(java.lang.String saveas_name,
java.lang.String format,
IRaster pRaster)
throws java.io.IOException,
AutomationException
rectify in interface IRasterGeometryProcrectify in interface IRasterGeometryProc3saveas_name - The saveas_name (in)format - The format (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void register(IRaster pRaster) throws java.io.IOException, AutomationException
register in interface IRasterGeometryProcregister in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void clip(IEnvelope ipRectangle, IRaster pRaster) throws java.io.IOException, AutomationException
clip in interface IRasterGeometryProcclip in interface IRasterGeometryProc3ipRectangle - A reference to a com.esri.arcgis.geometry.IEnvelope (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void projectFast(ISpatialReference pNewSR, int resampleType, java.lang.Object pCellsize, IRaster pRaster) throws java.io.IOException, AutomationException
projectFast in interface IRasterGeometryProcprojectFast in interface IRasterGeometryProc3pNewSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)resampleType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)pCellsize - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.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
merge in interface IRasterGeometryProcmerge in interface IRasterGeometryProc3saveas_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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRaster mosaic(java.lang.String saveas_name, IWorkspace pWorkspace, java.lang.String outRasterFormat, double cellSize, ISpatialReference pSR, IRaster pRaster) throws java.io.IOException, AutomationException
mosaic in interface IRasterGeometryProcmosaic in interface IRasterGeometryProc3saveas_name - The saveas_name (in)pWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outRasterFormat - The outRasterFormat (in)cellSize - The cellSize (in)pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void resample(int resampleType,
double newCellsize,
IRaster pRaster)
throws java.io.IOException,
AutomationException
resample in interface IRasterGeometryProcresample in interface IRasterGeometryProc3resampleType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)newCellsize - The newCellsize (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isPixelToMapTransSimple(IRaster pRaster) throws java.io.IOException, AutomationException
isPixelToMapTransSimple in interface IRasterGeometryProcisPixelToMapTransSimple in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getRasterXFormCount(IRaster pRaster, int band) throws java.io.IOException, AutomationException
getRasterXFormCount in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)band - The band (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getRasterXFormOrderByIndex(IRaster pRaster, int band, int index) throws java.io.IOException, AutomationException
getRasterXFormOrderByIndex in interface IRasterGeometryProc3pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)band - The band (in)index - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getRasterXFormByIndex(IRaster pRaster, int band, boolean forward, int index, int[] order, java.lang.Object[] pVar) throws java.io.IOException, AutomationException
getRasterXFormByIndex in interface IRasterGeometryProc3pRaster - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void putRasterXForm(IRaster pRaster, boolean clean, int order, java.lang.Object pVar) throws java.io.IOException, AutomationException
putRasterXForm in interface IRasterGeometryProc3pRaster - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPointCollection pointsMap2PixelTransform(IPointCollection pInPoints, boolean isForward, IRaster pRaster) throws java.io.IOException, AutomationException
pointsMap2PixelTransform in interface IRasterGeometryProc3pInPoints - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.