|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RemapFilter
public class RemapFilter
A class for remap filter.
RemapFilter object can be used to map the pixel values of a raster into your specified classes.
| Constructor Summary | |
|---|---|
RemapFilter()
Constructs a RemapFilter using ArcGIS Engine. |
|
RemapFilter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RemapFilter theRemapFilter = (RemapFilter) obj; |
|
| Method Summary | |
|---|---|
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(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 String |
getClsid()
getClsid. |
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 |
setAllowUnmatched(boolean pAllowUnmatched)
Indicates if unmatched values should be passed through. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public RemapFilter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RemapFilter(Object obj)
throws IOException
RemapFilter theRemapFilter = (RemapFilter) obj;
obj to RemapFilter.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void getSize(int[] columns,
int[] rows)
throws IOException,
AutomationException
getSize in interface IPixelFiltercolumns - The columns (in/out: use single element array)rows - The rows (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getCenterPosition(int[] atColumn,
int[] atRow)
throws IOException,
AutomationException
getCenterPosition in interface IPixelFilteratColumn - The atColumn (in/out: use single element array)atRow - The atRow (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void filter(IPixelBlock pBlock)
throws IOException,
AutomationException
filter in interface IPixelFilterpBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassCount()
throws IOException,
AutomationException
getClassCount in interface IRemapFilterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addClass(double minvalue,
double maxvalue,
double newvalue)
throws IOException,
AutomationException
addClass in interface IRemapFilterminvalue - The minvalue (in)maxvalue - The maxvalue (in)newvalue - The newvalue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addNoDataClass(double minvalue,
double maxvalue)
throws IOException,
AutomationException
addNoDataClass in interface IRemapFilterminvalue - The minvalue (in)maxvalue - The maxvalue (in)
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 IOException,
AutomationException
queryClass in interface IRemapFilterindex - 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)
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 IOException,
AutomationException
putClass in interface IRemapFilterindex - The index (in)minvalue - The minvalue (in)maxvalue - The maxvalue (in)newvalue - The newvalue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void empty()
throws IOException,
AutomationException
empty in interface IRemapFilterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAllowUnmatched()
throws IOException,
AutomationException
isAllowUnmatched in interface IRemapFilterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowUnmatched(boolean pAllowUnmatched)
throws IOException,
AutomationException
setAllowUnmatched in interface IRemapFilterpAllowUnmatched - The pAllowUnmatched (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IPixelFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||