| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterXformer
public class RasterXformer
A raster transformer class.
A RasterXformer is a driver for performing raster transformation. It contains a GeodataXfrom, a PixelReampler, a RasterReader, as well as the logic to drive these three components to perform raster transformation.
When a Raster is created, the associated RasterXformer is initialized with a SimperPixelResamper. By default, the RasterXformer manages and performs raster transformation automatically, you don’t have to modify it unless you want to set the PixelResampler.
| Constructor Summary | |
|---|---|
| RasterXformer()Constructs a RasterXformer using ArcGIS Engine. | |
| RasterXformer(Object obj)Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  RasterXformer theRasterXformer = (RasterXformer) obj; | |
| Method Summary | |
|---|---|
|  boolean | equals(Object o)Compare this object with another | 
|  double | getApproximationTolerance()The current approximation error tolerance in number (fraction) of pixels. | 
|  IPnt | getCellSize()The output cell size. | 
| static String | getClsid()getClsid. | 
|  IEnvelope | getExtent()The output extent. | 
|  IGeodataXform | getGeodataXform()The current geodata transform to be applied. | 
|  int | getHeight()The output height in pixels. | 
|  IPixelReader | getPixelReader()The current pixel reader for reading source pixels. | 
|  IPixelResampler | getPixelResampler()The current raster resampler. | 
|  int | getWidth()The output width in pixels. | 
|  int | hashCode()the hashcode for this object | 
|  void | interfaceSupportsErrorInfo(GUID riid)interfaceSupportsErrorInfo | 
|  void | read(IPnt tlc,
     IPixelBlock pPixelBlock)Reads a pixel block. | 
|  void | setApproximationTolerance(double pNumPixels)The current approximation error tolerance in number (fraction) of pixels. | 
|  void | setCellSize(IPnt ppCellsize)The output cell size. | 
|  void | setExtent(IEnvelope ppExtent)The output extent. | 
|  void | setGeodataXformByRef(IGeodataXform ppXform)The current geodata transform to be applied. | 
|  void | setPixelReaderByRef(IPixelReader ppReader)The current pixel reader for reading source pixels. | 
|  void | setPixelResamplerByRef(IPixelResampler ppResampler)The current raster resampler. | 
|  void | setRaster(IRaster rhs1)The raster to be transformed. | 
|  void | update(IRaster pRaster)Updates the raster transformer with the changed raster. | 
| 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 RasterXformer()
              throws IOException,
                     UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterXformer(Object obj)
              throws IOException
 RasterXformer theRasterXformer = (RasterXformer) obj;
obj to RasterXformer.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public double getApproximationTolerance()
                                 throws IOException,
                                        AutomationException
getApproximationTolerance in interface IRasterXformerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setApproximationTolerance(double pNumPixels)
                               throws IOException,
                                      AutomationException
The tolerance, used in geodata xform approximation. The unit is in output space.
setApproximationTolerance in interface IRasterXformerpNumPixels - The pNumPixels  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPixelResampler getPixelResampler()
                                  throws IOException,
                                         AutomationException
getPixelResampler in interface IRasterXformerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelResamplerByRef(IPixelResampler ppResampler)
                            throws IOException,
                                   AutomationException
setPixelResamplerByRef in interface IRasterXformerppResampler - A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRaster(IRaster rhs1)
               throws IOException,
                      AutomationException
setRaster in interface IRasterXformerrhs1 - 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 void update(IRaster pRaster)
            throws IOException,
                   AutomationException
update in interface IRasterXformerpRaster - 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 void read(IPnt tlc,
                 IPixelBlock pPixelBlock)
          throws IOException,
                 AutomationException
Read the pixel block after applying the geodata transformation.
read in interface IRasterXformertlc - A reference to a com.esri.arcgis.geodatabase.IPnt  (in)pPixelBlock - 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 IEnvelope getExtent()
                    throws IOException,
                           AutomationException
getExtent in interface IRasterXformer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(IEnvelope ppExtent)
               throws IOException,
                      AutomationException
setExtent in interface IRasterXformer2ppExtent - 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 int getWidth()
             throws IOException,
                    AutomationException
getWidth in interface IRasterXformer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHeight()
              throws IOException,
                     AutomationException
getHeight in interface IRasterXformer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPnt getCellSize()
                 throws IOException,
                        AutomationException
getCellSize in interface IRasterXformer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCellSize(IPnt ppCellsize)
                 throws IOException,
                        AutomationException
setCellSize in interface IRasterXformer2ppCellsize - A reference to a com.esri.arcgis.geodatabase.IPnt  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeodataXform getGeodataXform()
                              throws IOException,
                                     AutomationException
getGeodataXform in interface IRasterXformer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGeodataXformByRef(IGeodataXform ppXform)
                          throws IOException,
                                 AutomationException
setGeodataXformByRef in interface IRasterXformer2ppXform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPixelReader getPixelReader()
                            throws IOException,
                                   AutomationException
getPixelReader in interface IRasterXformer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelReaderByRef(IPixelReader ppReader)
                         throws IOException,
                                AutomationException
setPixelReaderByRef in interface IRasterXformer2ppReader - A reference to a com.esri.arcgis.datasourcesraster.IPixelReader  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID  (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 | ||||||||