public class RemapFilter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPixelFilter, IRemapFilter
Description 'A class for remap 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, IID2f07be89_35d7_4cf3_be0d_2f13e56948f0, xxDummy
Constructor and Description |
---|
RemapFilter()
Constructs a RemapFilter using ArcGIS Engine.
|
RemapFilter(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RemapFilter theRemapFilter = (RemapFilter) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addClass(double minvalue,
double maxvalue,
double newvalue)
Adds a remap class that remaps values in [minvalue,maxvalue) to a give new value.
|
void |
addNoDataClass(double minvalue,
double maxvalue)
Adds a remap class that remaps values in [minvalue,maxvalue) to NoData.
|
void |
empty()
Removes all classes.
|
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.
|
int |
getClassCount()
The number of remapped classes.
|
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 |
getSize(int[] columns,
int[] rows)
Gets dimension of the filter.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isAllowUnmatched()
Indicates if unmatched values should be passed through.
|
void |
putClass(int index,
double minvalue,
double maxvalue,
double newvalue)
Puts a remap class at a given class index (starting from 0).
|
void |
queryClass(int index,
double[] minvalue,
double[] maxvalue,
double[] newvalue)
Queries a remap class at a given class index (starting from 0).
|
void |
release()
Release this COM object reference
|
void |
setAllowUnmatched(boolean pAllowUnmatched)
Indicates if unmatched values should be passed through.
|
public RemapFilter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RemapFilter(java.lang.Object obj) throws java.io.IOException
RemapFilter theRemapFilter = (RemapFilter) obj;
obj
to RemapFilter
.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
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
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 int getClassCount() throws java.io.IOException, AutomationException
getClassCount
in interface IRemapFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addClass(double minvalue, double maxvalue, double newvalue) throws java.io.IOException, AutomationException
addClass
in interface IRemapFilter
minvalue
- The minvalue (in)maxvalue
- The maxvalue (in)newvalue
- The newvalue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addNoDataClass(double minvalue, double maxvalue) throws java.io.IOException, AutomationException
addNoDataClass
in interface IRemapFilter
minvalue
- The minvalue (in)maxvalue
- The maxvalue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryClass(int index, double[] minvalue, double[] maxvalue, double[] newvalue) throws java.io.IOException, AutomationException
queryClass
in interface IRemapFilter
index
- The index (in)minvalue
- The minvalue (out: use single element array)maxvalue
- The maxvalue (out: use single element array)newvalue
- The newvalue (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void putClass(int index, double minvalue, double maxvalue, double newvalue) throws java.io.IOException, AutomationException
putClass
in interface IRemapFilter
index
- The index (in)minvalue
- The minvalue (in)maxvalue
- The maxvalue (in)newvalue
- The newvalue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void empty() throws java.io.IOException, AutomationException
empty
in interface IRemapFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAllowUnmatched() throws java.io.IOException, AutomationException
isAllowUnmatched
in interface IRemapFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAllowUnmatched(boolean pAllowUnmatched) throws java.io.IOException, AutomationException
setAllowUnmatched
in interface IRemapFilter
pAllowUnmatched
- The pAllowUnmatched (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.