com.esri.arcgis.datasourcesraster
Class RGB32PixelResampler

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

public class RGB32PixelResampler
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPixelResampler, IRGB32PixelResampler

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

Description 'A 32-bit RGB(A) 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.IRGB32PixelResampler
IID, IID7b45924f_d423_446a_bc51_2338dd853e23, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelResampler
IID25c98a24_1331_49a0_bcf2_4f5155e1e016
 
Constructor Summary
RGB32PixelResampler()
          Constructs a RGB32PixelResampler using ArcGIS Engine.
RGB32PixelResampler(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RGB32PixelResampler theRGB32PixelResampler = (RGB32PixelResampler) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.Object getBackground()
          The background value.
static java.lang.String getClsid()
          getClsid.
 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 RGB32PixelResampler.
 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 setBackground(java.lang.Object pBackground)
          The background value.
 void setLinearScaling(boolean pLinearScaling)
          Indicates if only linear scaling is necessary.
 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

RGB32PixelResampler

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

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

RGB32PixelResampler

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

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

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

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

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.

getResamplingMethod

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

Specified by:
getResamplingMethod in interface IRGB32PixelResampler
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 IRGB32PixelResampler
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.

getBackground

public java.lang.Object getBackground()
                               throws java.io.IOException,
                                      AutomationException
The background value.

Specified by:
getBackground in interface IRGB32PixelResampler
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackground

public void setBackground(java.lang.Object pBackground)
                   throws java.io.IOException,
                          AutomationException
The background value.

Specified by:
setBackground in interface IRGB32PixelResampler
Parameters:
pBackground - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.