|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterColormapToRGBConverter
public class RasterColormapToRGBConverter
A helper class for converting between colormap to RGB raster.
RasterColormapToRGB object performs converstion between a raster dataset that contains a colormap and a three-band raster dataset.
Constructor Summary | |
---|---|
RasterColormapToRGBConverter()
Constructs a RasterColormapToRGBConverter using ArcGIS Engine. |
|
RasterColormapToRGBConverter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterColormapToRGBConverter theRasterColormapToRGBConverter = (RasterColormapToRGBConverter) obj; |
Method Summary | |
---|---|
IName |
colormapToRGB(IRasterDataset pRasterDataset,
IWorkspace pWorkspace,
String name,
String format)
Converts a colormap raster dataset to a RGB raster dataset. |
IRaster |
createRGBRaster(IRasterDataset pRasterDataset)
Creates a RGB multiband raster from a colormap raster dataset. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
IName |
rGBRasterToColormap(IRaster pRaster,
IWorkspace pWorkspace,
String name,
String format)
Converts a RGB raster to a colormap raster dataset. |
IName |
rGBToColormap(IRasterDataset pRasterDataset,
IWorkspace pWorkspace,
String name,
String format)
Converts a RGB raster dataset to a colormap raster dataset. |
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 RasterColormapToRGBConverter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterColormapToRGBConverter(Object obj) throws IOException
RasterColormapToRGBConverter theRasterColormapToRGBConverter = (RasterColormapToRGBConverter) obj;
obj
to RasterColormapToRGBConverter
.
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 IName rGBToColormap(IRasterDataset pRasterDataset, IWorkspace pWorkspace, String name, String format) throws IOException, AutomationException
The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.
The format string can be "IMAGINE Image", "TIFF", "GRID", or "BMP" only.
rGBToColormap
in interface IRasterColormapToRGBConversion
pRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)format
- The format (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName rGBRasterToColormap(IRaster pRaster, IWorkspace pWorkspace, String name, String format) throws IOException, AutomationException
The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.
The format string can be "IMAGINE Image", "TIFF", "GRID", or "BMP" only.
rGBRasterToColormap
in interface IRasterColormapToRGBConversion
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)format
- The format (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName colormapToRGB(IRasterDataset pRasterDataset, IWorkspace pWorkspace, String name, String format) throws IOException, AutomationException
The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.
The format string can be "IMAGINE Image", "TIFF", "GRID", or "BMP" only.
The parameter pOutWorkspace can only a raster workspace, which is a file based workspace.
colormapToRGB
in interface IRasterColormapToRGBConversion
pRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)format
- The format (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRaster createRGBRaster(IRasterDataset pRasterDataset) throws IOException, AutomationException
createRGBRaster
in interface IRasterColormapToRGBConversion
pRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (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 |