|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.PixelFilterCollection
public class PixelFilterCollection
A raster filter collection.
The PixelFilterCollection coclass manages a collection of pixel filters through IPixelFilterColletion interface and can be used to set more than one filter to a Raster object.
IPixelFilterCollection
,
Serialized FormConstructor Summary | |
---|---|
PixelFilterCollection()
Constructs a PixelFilterCollection using ArcGIS Engine. |
|
PixelFilterCollection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PixelFilterCollection thePixelFilterCollection = (PixelFilterCollection) obj; |
Method Summary | |
---|---|
void |
append(IPixelFilter pFilter)
Appends a raster filter to the end. |
void |
empty()
Empties this raster filter collection. |
boolean |
equals(Object o)
Compare this object with another |
void |
filter(IPixelBlock pBlock)
Filters a pixel block. |
int |
find(IPixelFilter pFilter)
Finds a given raster filter and returns its index position. |
IPixelFilter |
get(int index)
Gets the raster filter at a given index position. |
void |
getCenterPosition(int[] atColumn,
int[] atRow)
Gets center position of the filter. |
static String |
getClsid()
getClsid. |
IPixelFilter |
getFilter(int iBand)
Gets a given pixel filter. |
int |
getFilterCount()
The number of filters in this collection. |
void |
getSize(int[] columns,
int[] rows)
Gets dimension of the filter. |
int |
hashCode()
the hashcode for this object |
void |
init(int nCols,
int nRows,
IEnvelope pExtent)
Initializes this filter for a given area of interest. |
void |
initBlock(IPnt pTopLeft,
int nBlkCols,
int nBlkRows)
Initialize this filter for a given pixel block. |
void |
insert(int index,
IPixelFilter pFilter)
Inserts a raster filter at a given index. |
void |
remove(int index)
Removes a raster filter at a given index. |
void |
set(int index,
IPixelFilter pFilter)
Sets the raster filter at a given index position. |
void |
synchronize(IRaster pRaster)
Synchronizes this filter when raster properties are changed. |
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 PixelFilterCollection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic PixelFilterCollection(Object obj) throws IOException
PixelFilterCollection thePixelFilterCollection = (PixelFilterCollection) obj;
obj
to PixelFilterCollection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void getSize(int[] columns, int[] rows) throws IOException, AutomationException
getSize
in interface IPixelFilter
columns
- 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 IPixelFilter
atColumn
- 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 IPixelFilter
pBlock
- 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 void init(int nCols, int nRows, IEnvelope pExtent) throws IOException, AutomationException
init
in interface IPixelFilter2
nCols
- The nCols (in)nRows
- The nRows (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initBlock(IPnt pTopLeft, int nBlkCols, int nBlkRows) throws IOException, AutomationException
initBlock
in interface IPixelFilter2
pTopLeft
- A reference to a com.esri.arcgis.geodatabase.IPnt (in)nBlkCols
- The nBlkCols (in)nBlkRows
- The nBlkRows (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void synchronize(IRaster pRaster) throws IOException, AutomationException
synchronize
in interface IPixelFilter3
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFilterCount() throws IOException, AutomationException
getFilterCount
in interface IPixelFilterCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, IPixelFilter pFilter) throws IOException, AutomationException
insert
in interface IPixelFilterCollection
index
- The index (in)pFilter
- A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void append(IPixelFilter pFilter) throws IOException, AutomationException
append
in interface IPixelFilterCollection
pFilter
- A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
remove
in interface IPixelFilterCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int find(IPixelFilter pFilter) throws IOException, AutomationException
find
in interface IPixelFilterCollection
pFilter
- A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPixelFilter get(int index) throws IOException, AutomationException
get
in interface IPixelFilterCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void set(int index, IPixelFilter pFilter) throws IOException, AutomationException
set
in interface IPixelFilterCollection
index
- The index (in)pFilter
- A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void empty() throws IOException, AutomationException
empty
in interface IPixelFilterCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPixelFilter getFilter(int iBand) throws IOException, AutomationException
Get the pixelfilter of a given band.
getFilter
in interface IMultibandFilter
iBand
- The iBand (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |