com.esri.arcgis.datasourcesraster
Class SimplePixelResampler

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.SimplePixelResampler
All Implemented Interfaces:
IPixelResampler, ISimplePixelResampler, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SimplePixelResampler
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISimplePixelResampler

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

Description 'A simple pixel resampler 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.ISimplePixelResampler
IID, IIDddb8b2ba_a3e9_40cd_8d69_1f720a4c8e7b, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelResampler
IID25c98a24_1331_49a0_bcf2_4f5155e1e016
 
Constructor Summary
SimplePixelResampler()
          Constructs a SimplePixelResampler using ArcGIS Engine.
SimplePixelResampler(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SimplePixelResampler theSimplePixelResampler = (SimplePixelResampler) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 double getCubicConvolutionParameter()
          The cubic convolution parameter (-1, -0.75, -0.5).
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getResamplingMethod()
          The resampling method.
 int getWindowSize()
          The resampling window size in terms of number of source pixels.
 int hashCode()
          the hashcode for this object
 boolean isDownSampling()
          Indicates if this is a down sampling only type of resampler.
 boolean isLinearScaling()
          Indicates if only linear scaling is necessary.
 boolean isSupportLinearScaling()
          Indicates if this resampler can accept simplified point array for simple linear scaling.
 void release()
          Release a SimplePixelResampler.
 void resample(int iCol, int iRow, int nCols, int nRows, _WKSPoint points, double ulx, double uly, double dx, double dy, IPixelBlock pSrcPixelBlock, IPixelBlock pDstPixelBlock)
          Resamples an input pixel block into an output pixel block.
 void setCubicConvolutionParameter(double a)
          The cubic convolution parameter (-1, -0.75, -0.5).
 void setLinearScaling(boolean pLinearScaling)
          Indicates if only linear scaling is necessary.
 void setMajorityWindowSize(int rhs1)
          The majority resampling window size in pixels.
 void setResamplingMethod(int pMethod)
          The resampling method.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePixelResampler

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

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

SimplePixelResampler

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

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

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 SimplePixelResampler.

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

getResamplingMethod

public int getResamplingMethod()
                        throws java.io.IOException,
                               AutomationException
The resampling method.

Specified by:
getResamplingMethod in interface ISimplePixelResampler
Returns:
A com.esri.arcgis.geodatabase.rstResamplingTypes constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResamplingMethod

public void setResamplingMethod(int pMethod)
                         throws java.io.IOException,
                                AutomationException
The resampling method.

Specified by:
setResamplingMethod in interface ISimplePixelResampler
Parameters:
pMethod - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCubicConvolutionParameter

public double getCubicConvolutionParameter()
                                    throws java.io.IOException,
                                           AutomationException
The cubic convolution parameter (-1, -0.75, -0.5).

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

setCubicConvolutionParameter

public void setCubicConvolutionParameter(double a)
                                  throws java.io.IOException,
                                         AutomationException
The cubic convolution parameter (-1, -0.75, -0.5).

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

setMajorityWindowSize

public void setMajorityWindowSize(int rhs1)
                           throws java.io.IOException,
                                  AutomationException
The majority resampling window size in pixels.

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

isSupportLinearScaling

public boolean isSupportLinearScaling()
                               throws java.io.IOException,
                                      AutomationException
Indicates if this resampler can accept simplified point array for simple linear scaling.

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

isLinearScaling

public boolean isLinearScaling()
                        throws java.io.IOException,
                               AutomationException
Indicates if only linear scaling is necessary.

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

setLinearScaling

public void setLinearScaling(boolean pLinearScaling)
                      throws java.io.IOException,
                             AutomationException
Indicates if only linear scaling is necessary.

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

getWindowSize

public int getWindowSize()
                  throws java.io.IOException,
                         AutomationException
The resampling window size in terms of number of source pixels.

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

isDownSampling

public boolean isDownSampling()
                       throws java.io.IOException,
                              AutomationException
Indicates if this is a down sampling only type of resampler.

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

resample

public void resample(int iCol,
                     int iRow,
                     int nCols,
                     int nRows,
                     _WKSPoint points,
                     double ulx,
                     double uly,
                     double dx,
                     double dy,
                     IPixelBlock pSrcPixelBlock,
                     IPixelBlock pDstPixelBlock)
              throws java.io.IOException,
                     AutomationException
Resamples an input pixel block into an output pixel block.

Specified by:
resample in interface IPixelResampler
Parameters:
iCol - The iCol (in)
iRow - The iRow (in)
nCols - The nCols (in)
nRows - The nRows (in)
points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
ulx - The ulx (in)
uly - The uly (in)
dx - The dx (in)
dy - The dy (in)
pSrcPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
pDstPixelBlock - 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.