com.esri.arcgis.datasourcesraster
Class NoDataFilter

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.NoDataFilter
All Implemented Interfaces:
INoDataFilter, IPixelFilter, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class NoDataFilter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPixelFilter, INoDataFilter

A class for NoData conversion filter.

Description

This object is new at ArcGIS 9.3.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
NoDataFilter()
          Constructs a NoDataFilter using ArcGIS Engine.
NoDataFilter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NoDataFilter theNoDataFilter = (NoDataFilter) obj;
 
Method Summary
 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.
static String getClsid()
          getClsid.
 double getNoDataToPixelValue()
          The valid pixel value to be assigned to NoData pixels.
 void getSize(int[] columns, int[] rows)
          Gets dimension of the filter.
 int hashCode()
          the hashcode for this object
 void setNoDataToPixelValue(double pValue)
          The valid pixel value to be assigned to NoData pixels.
 
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

NoDataFilter

public NoDataFilter()
             throws IOException,
                    UnknownHostException
Constructs a NoDataFilter using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

NoDataFilter

public NoDataFilter(Object obj)
             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NoDataFilter theNoDataFilter = (NoDataFilter) obj;

Construct a NoDataFilter using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NoDataFilter.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getSize

public void getSize(int[] columns,
                    int[] rows)
             throws IOException,
                    AutomationException
Gets dimension of the filter.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSize in interface IPixelFilter
Parameters:
columns - The columns (in/out: use single element array)
rows - The rows (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCenterPosition

public void getCenterPosition(int[] atColumn,
                              int[] atRow)
                       throws IOException,
                              AutomationException
Gets center position of the filter.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCenterPosition in interface IPixelFilter
Parameters:
atColumn - The atColumn (in/out: use single element array)
atRow - The atRow (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

filter

public void filter(IPixelBlock pBlock)
            throws IOException,
                   AutomationException
Filters a pixel block.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
filter in interface IPixelFilter
Parameters:
pBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoDataToPixelValue

public double getNoDataToPixelValue()
                             throws IOException,
                                    AutomationException
The valid pixel value to be assigned to NoData pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getNoDataToPixelValue in interface INoDataFilter
Returns:
The pValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoDataToPixelValue

public void setNoDataToPixelValue(double pValue)
                           throws IOException,
                                  AutomationException
The valid pixel value to be assigned to NoData pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setNoDataToPixelValue in interface INoDataFilter
Parameters:
pValue - The pValue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.