|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPixelResampler
Provides access to members that control a pixel resampler.
IPixelResampler is a generic interface that is supported by a pixel resampler, which is used for RasterXformer.
The concrete pixel resampler is SimplePixelResampler, user can create a custom pixel resampler by implementing IPixelResampler interface.
Method Summary | |
---|---|
int |
getWindowSize()
The resampling window size in terms of number of source pixels. |
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 |
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 |
setLinearScaling(boolean pLinearScaling)
Indicates if only linear scaling is necessary. |
Method Detail |
---|
boolean isSupportLinearScaling() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isLinearScaling() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLinearScaling(boolean pLinearScaling) throws IOException, AutomationException
pLinearScaling
- The pLinearScaling (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getWindowSize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isDownSampling() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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 IOException, AutomationException
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)
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 |