public class RasterConvolutionFilter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPixelFilter, IRasterConvolutionFilter, IStockConvolutionFilter
Description 'A raster kernel-based filter.' 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, IID90e3de9d_4fff_4575_b833_3ad29a57eeca, xxDummy
IID, IID64db07df_fc21_4c9a_8441_7cb9791855ea, xxDummy
IID, IID4b0cc599_d839_46fd_9865_33bdb167cdc6, xxDummy
Constructor and Description |
---|
RasterConvolutionFilter()
Constructs a RasterConvolutionFilter using ArcGIS Engine.
|
RasterConvolutionFilter(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterConvolutionFilter theRasterConvolutionFilter = (RasterConvolutionFilter) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
filter(IPixelBlock pBlock)
Filters a pixel block.
|
void |
getCenterPosition(int[] atColumn,
int[] atRow)
Gets center position of the filter.
|
static java.lang.String |
getClsid()
getClsid.
|
double |
getGainFactor()
The gain factor of the kernel filter.
|
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 |
getSize(int[] columns,
int[] rows)
Gets dimension of the filter.
|
int |
getType()
The type of the stock kernel filter.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isNormalized()
Indicates whether the filter is normalized.
|
boolean |
isRecursive()
Indicates whether the filter is recursive.
|
void |
normalize()
Normalizes the filter.
|
void |
putCoefficients(double[][] coefList)
Sets the element coefficients of the kernel filter.
|
void |
queryCoefficients(double[][] coefList)
Gets the element coefficients of the kernel filter.
|
void |
release()
Release this COM object reference
|
void |
scaleBy(double scaleFactor)
Scales the filter coefficients.
|
void |
setCenterPosition(int atColumn,
int atRow)
Sets the center position of the kernel filter.
|
void |
setGainFactor(double gainFactor)
The gain factor of the kernel filter.
|
void |
setRecursive(boolean recursive)
Indicates whether the filter is recursive.
|
void |
setSize(int nColumns,
int nRows)
Sets the size of the kernel filter.
|
void |
setType(int filterType)
The type of the stock kernel filter.
|
public RasterConvolutionFilter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RasterConvolutionFilter(java.lang.Object obj) throws java.io.IOException
RasterConvolutionFilter theRasterConvolutionFilter = (RasterConvolutionFilter) obj;
obj
to RasterConvolutionFilter
.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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void getSize(int[] columns, int[] rows) throws java.io.IOException, AutomationException
getSize
in interface IPixelFilter
getSize
in interface IRasterConvolutionFilter
columns
- The columns (in/out: use single element array)rows
- The rows (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getCenterPosition(int[] atColumn, int[] atRow) throws java.io.IOException, AutomationException
getCenterPosition
in interface IPixelFilter
getCenterPosition
in interface IRasterConvolutionFilter
atColumn
- The atColumn (in/out: use single element array)atRow
- The atRow (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void filter(IPixelBlock pBlock) throws java.io.IOException, AutomationException
filter
in interface IPixelFilter
pBlock
- A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSize(int nColumns, int nRows) throws java.io.IOException, AutomationException
setSize
in interface IRasterConvolutionFilter
nColumns
- The nColumns (in)nRows
- The nRows (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCenterPosition(int atColumn, int atRow) throws java.io.IOException, AutomationException
setCenterPosition
in interface IRasterConvolutionFilter
atColumn
- The atColumn (in)atRow
- The atRow (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void putCoefficients(double[][] coefList) throws java.io.IOException, AutomationException
putCoefficients
in interface IRasterConvolutionFilter
coefList
- The coefList (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryCoefficients(double[][] coefList) throws java.io.IOException, AutomationException
queryCoefficients
in interface IRasterConvolutionFilter
coefList
- The coefList (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGainFactor(double gainFactor) throws java.io.IOException, AutomationException
setGainFactor
in interface IRasterConvolutionFilter
gainFactor
- The gainFactor (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getGainFactor() throws java.io.IOException, AutomationException
getGainFactor
in interface IRasterConvolutionFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRecursive(boolean recursive) throws java.io.IOException, AutomationException
setRecursive
in interface IRasterConvolutionFilter
recursive
- The recursive (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isRecursive() throws java.io.IOException, AutomationException
isRecursive
in interface IRasterConvolutionFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void normalize() throws java.io.IOException, AutomationException
normalize
in interface IRasterConvolutionFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isNormalized() throws java.io.IOException, AutomationException
isNormalized
in interface IRasterConvolutionFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void scaleBy(double scaleFactor) throws java.io.IOException, AutomationException
scaleBy
in interface IRasterConvolutionFilter
scaleFactor
- The scaleFactor (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setType(int filterType) throws java.io.IOException, AutomationException
setType
in interface IStockConvolutionFilter
filterType
- A com.esri.arcgis.datasourcesraster.esriRasterFilterTypeEnum constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getType() throws java.io.IOException, AutomationException
getType
in interface IStockConvolutionFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.