public class SimplePixelResampler extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISimplePixelResampler
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 =
IID, IIDddb8b2ba_a3e9_40cd_8d69_1f720a4c8e7b, xxDummy
IID25c98a24_1331_49a0_bcf2_4f5155e1e016
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
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.
|
public SimplePixelResampler() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic SimplePixelResampler(java.lang.Object obj) throws java.io.IOException
SimplePixelResampler theSimplePixelResampler = (SimplePixelResampler) obj;
obj
to SimplePixelResampler
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getResamplingMethod() throws java.io.IOException, AutomationException
getResamplingMethod
in interface ISimplePixelResampler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setResamplingMethod(int pMethod) throws java.io.IOException, AutomationException
setResamplingMethod
in interface ISimplePixelResampler
pMethod
- A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getCubicConvolutionParameter() throws java.io.IOException, AutomationException
getCubicConvolutionParameter
in interface ISimplePixelResampler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCubicConvolutionParameter(double a) throws java.io.IOException, AutomationException
setCubicConvolutionParameter
in interface ISimplePixelResampler
a
- The a (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMajorityWindowSize(int rhs1) throws java.io.IOException, AutomationException
setMajorityWindowSize
in interface ISimplePixelResampler
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportLinearScaling() throws java.io.IOException, AutomationException
isSupportLinearScaling
in interface IPixelResampler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isLinearScaling() throws java.io.IOException, AutomationException
isLinearScaling
in interface IPixelResampler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLinearScaling(boolean pLinearScaling) throws java.io.IOException, AutomationException
setLinearScaling
in interface IPixelResampler
pLinearScaling
- The pLinearScaling (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getWindowSize() throws java.io.IOException, AutomationException
getWindowSize
in interface IPixelResampler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isDownSampling() throws java.io.IOException, AutomationException
isDownSampling
in interface IPixelResampler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.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
resample
in interface IPixelResampler
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.