Interface IPixelResampler
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
Provides access to members that control a pixel resampler.
[Guid("25C98A24-1331-49A0-BCF2-4F5155E1E016")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPixelResampler
Remarks
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.
Properties
DownSampling
Indicates if this is a down sampling only type of resampler.
bool DownSampling { get; }
Property Value
LinearScaling
Indicates if only linear scaling is necessary.
bool LinearScaling { get; set; }
Property Value
SupportLinearScaling
Indicates if this resampler can accept simplified point array for simple linear scaling.
bool SupportLinearScaling { get; }
Property Value
WindowSize
The resampling window size in terms of number of source pixels.
int WindowSize { get; }
Property Value
Methods
Resample(int, int, int, int, ref WKSPoint, double, double, double, double, IPixelBlock, IPixelBlock)
Resamples an input pixel block into an output pixel block.
void Resample(int iCol, int iRow, int nCols, int nRows, ref WKSPoint points, double ulx, double uly, double Dx, double Dy, IPixelBlock pSrcPixelBlock, IPixelBlock pDstPixelBlock)