|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterXformer
Provides access to members that control raster transformer.
The IRasterXformer interface is used to create a RasterXformer object from a Raster.
Creating a RasterXformer object, a GeodataXform, a PixelResampler and a PixelReader must be set.
To create a RasterXformer from a Raster, use IRasterXformer::Raster method which contains a GeodataXform, a default PixelResampler and a PixelReader
To create a RasterXformer without using Raster, IRasterXformer2 interface should be used.
Method Summary | |
---|---|
double |
getApproximationTolerance()
The current approximation error tolerance in number (fraction) of pixels. |
IPixelResampler |
getPixelResampler()
The current raster resampler. |
void |
read(IPnt tlc,
IPixelBlock pPixelBlock)
Reads a pixel block. |
void |
setApproximationTolerance(double pNumPixels)
The current approximation error tolerance in number (fraction) of pixels. |
void |
setPixelResamplerByRef(IPixelResampler ppResampler)
The current raster resampler. |
void |
setRaster(IRaster rhs1)
The raster to be transformed. |
void |
update(IRaster pRaster)
Updates the raster transformer with the changed raster. |
Method Detail |
---|
double getApproximationTolerance() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setApproximationTolerance(double pNumPixels) throws IOException, AutomationException
The tolerance, used in geodata xform approximation. The unit is in output space.
pNumPixels
- The pNumPixels (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPixelResampler getPixelResampler() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPixelResamplerByRef(IPixelResampler ppResampler) throws IOException, AutomationException
ppResampler
- A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRaster(IRaster rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void update(IRaster pRaster) throws IOException, AutomationException
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void read(IPnt tlc, IPixelBlock pPixelBlock) throws IOException, AutomationException
Read the pixel block after applying the geodata transformation.
tlc
- A reference to a com.esri.arcgis.geodatabase.IPnt (in)pPixelBlock
- 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 |