com.esri.arcgis.datasourcesraster
Class LutFilter

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

public class LutFilter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPixelFilter, ILutFilter

A raster LookUp Table filter.

Remarks

The LutFilter remaps integer pixel values using an integer look-up table

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
IPixelFilter, Serialized Form

Constructor Summary
LutFilter()
          Constructs a LutFilter using ArcGIS Engine.
LutFilter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LutFilter theLutFilter = (LutFilter) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void filter(IPixelBlock pBlock)
          Filters a pixel block.
 int get(int v1)
          Looks a value.
 void getCenterPosition(int[] atColumn, int[] atRow)
          Gets center position of the filter.
static String getClsid()
          getClsid.
 int getMin()
          The min LUT value.
 int getSize()
          The LUT size.
 void getSize(int[] columns, int[] rows)
          Gets dimension of the filter.
 int hashCode()
          the hashcode for this object
 void set(int v1, int v2)
          Sets a LUT value mapping.
 void setMin(int value)
          The min LUT value.
 void setSize(int size)
          The LUT size.
 
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

LutFilter

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

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

LutFilter

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

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

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.

getMin

public int getMin()
           throws IOException,
                  AutomationException
The min LUT value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMin in interface ILutFilter
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMin

public void setMin(int value)
            throws IOException,
                   AutomationException
The min LUT value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getSize

public int getSize()
            throws IOException,
                   AutomationException
The LUT size.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSize in interface ILutFilter
Returns:
The size
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

public void setSize(int size)
             throws IOException,
                    AutomationException
The LUT size.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

get

public int get(int v1)
        throws IOException,
               AutomationException
Looks a value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
get in interface ILutFilter
Parameters:
v1 - The v1 (in)
Returns:
The v2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

set

public void set(int v1,
                int v2)
         throws IOException,
                AutomationException
Sets a LUT value mapping.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
set in interface ILutFilter
Parameters:
v1 - The v1 (in)
v2 - The v2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.