com.esri.arcgis.datasourcesraster
Interface IRasterClassNames

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterClassNames

public interface IRasterClassNames
extends Serializable

Provides access to members that control raster class names.

Product Availability

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


Method Summary
 int bin(double pixval)
          Converts pixels to indices.
 void create(int numNames)
          Create Class Names safe array.
 String getClassName(int nEntry)
          The class name at the current entry.
 Object getNames()
          String array of class (category) names.
 int getSize()
          The number of Class Names for the band.
 void setClassName(int nEntry, String pClassName)
          The class name at the current entry.
 

Method Detail

create

void create(int numNames)
            throws IOException,
                   AutomationException
Create Class Names safe array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
numNames - The numNames (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

int getSize()
            throws IOException,
                   AutomationException
The number of Class Names for the band.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pNumNames
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassName

void setClassName(int nEntry,
                  String pClassName)
                  throws IOException,
                         AutomationException
The class name at the current entry.

Product Availability

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

Parameters:
nEntry - The nEntry (in)
pClassName - The pClassName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassName

String getClassName(int nEntry)
                    throws IOException,
                           AutomationException
The class name at the current entry.

Product Availability

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

Parameters:
nEntry - The nEntry (in)
Returns:
The pClassName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

bin

int bin(double pixval)
        throws IOException,
               AutomationException
Converts pixels to indices.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pixval - The pixval (in)
Returns:
The pIndex
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNames

Object getNames()
                throws IOException,
                       AutomationException
String array of class (category) names.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.