com.esri.arcgis.datasourcesraster
Class RasterXformer

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterXformer
All Implemented Interfaces:
IRasterXformer, IRasterXformer2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class RasterXformer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterXformer, IRasterXformer2, ISupportErrorInfo

COM Class 'RasterXformer'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'A raster transformer class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterXformer2
IID, IID9ddce4e9_d076_4dfc_b157_0924de623897, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterXformer
IID22803c42_60f8_46b6_9b2c_b0a282cd7324
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RasterXformer()
          Constructs a RasterXformer using ArcGIS Engine.
RasterXformer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterXformer theRasterXformer = (RasterXformer) obj;
 
Method Summary
 boolean equals(java.lang.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 java.lang.String getClsid()
          getClsid.
 IEnvelope getExtent()
          The output extent.
 IGeodataXform getGeodataXform()
          The current geodata transform to be applied.
 int getHeight()
          The output height in pixels.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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 release()
          Release a RasterXformer.
 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
 

Constructor Detail

RasterXformer

public RasterXformer()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a RasterXformer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterXformer

public RasterXformer(java.lang.Object obj)
              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterXformer theRasterXformer = (RasterXformer) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterXformer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getApproximationTolerance

public double getApproximationTolerance()
                                 throws java.io.IOException,
                                        AutomationException
The current approximation error tolerance in number (fraction) of pixels.

Specified by:
getApproximationTolerance in interface IRasterXformer
Returns:
The pNumPixels
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApproximationTolerance

public void setApproximationTolerance(double pNumPixels)
                               throws java.io.IOException,
                                      AutomationException
The current approximation error tolerance in number (fraction) of pixels.

Specified by:
setApproximationTolerance in interface IRasterXformer
Parameters:
pNumPixels - The pNumPixels (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelResampler

public IPixelResampler getPixelResampler()
                                  throws java.io.IOException,
                                         AutomationException
The current raster resampler.

Specified by:
getPixelResampler in interface IRasterXformer
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelResamplerByRef

public void setPixelResamplerByRef(IPixelResampler ppResampler)
                            throws java.io.IOException,
                                   AutomationException
The current raster resampler.

Specified by:
setPixelResamplerByRef in interface IRasterXformer
Parameters:
ppResampler - A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRaster

public void setRaster(IRaster rhs1)
               throws java.io.IOException,
                      AutomationException
The raster to be transformed.

Specified by:
setRaster in interface IRasterXformer
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

public void update(IRaster pRaster)
            throws java.io.IOException,
                   AutomationException
Updates the raster transformer with the changed raster.

Specified by:
update in interface IRasterXformer
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

read

public void read(IPnt tlc,
                 IPixelBlock pPixelBlock)
          throws java.io.IOException,
                 AutomationException
Reads a pixel block.

Specified by:
read in interface IRasterXformer
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The output extent.

Specified by:
getExtent in interface IRasterXformer2
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope ppExtent)
               throws java.io.IOException,
                      AutomationException
The output extent.

Specified by:
setExtent in interface IRasterXformer2
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
The output width in pixels.

Specified by:
getWidth in interface IRasterXformer2
Returns:
The pWidth
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
The output height in pixels.

Specified by:
getHeight in interface IRasterXformer2
Returns:
The pHeight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

public IPnt getCellSize()
                 throws java.io.IOException,
                        AutomationException
The output cell size.

Specified by:
getCellSize in interface IRasterXformer2
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCellSize

public void setCellSize(IPnt ppCellsize)
                 throws java.io.IOException,
                        AutomationException
The output cell size.

Specified by:
setCellSize in interface IRasterXformer2
Parameters:
ppCellsize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeodataXform

public IGeodataXform getGeodataXform()
                              throws java.io.IOException,
                                     AutomationException
The current geodata transform to be applied.

Specified by:
getGeodataXform in interface IRasterXformer2
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeodataXform
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeodataXformByRef

public void setGeodataXformByRef(IGeodataXform ppXform)
                          throws java.io.IOException,
                                 AutomationException
The current geodata transform to be applied.

Specified by:
setGeodataXformByRef in interface IRasterXformer2
Parameters:
ppXform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelReader

public IPixelReader getPixelReader()
                            throws java.io.IOException,
                                   AutomationException
The current pixel reader for reading source pixels.

Specified by:
getPixelReader in interface IRasterXformer2
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IPixelReader
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelReaderByRef

public void setPixelReaderByRef(IPixelReader ppReader)
                         throws java.io.IOException,
                                AutomationException
The current pixel reader for reading source pixels.

Specified by:
setPixelReaderByRef in interface IRasterXformer2
Parameters:
ppReader - A reference to a com.esri.arcgis.datasourcesraster.IPixelReader (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.