|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterRenderer
Provides access to methods that define a generic raster renderer.
The IRasterRenderer interface is used to set a customized renderer to any raster layer.
Method Summary | |
---|---|
boolean |
canRender(IRaster raster)
Indicates if the raster can be rendered. |
void |
copy(IRasterRenderer pSource)
Selects a raster as the current copy object. |
void |
draw(IRaster raster,
int drawPhase,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Draws the raster on the display. |
int |
getDisplayResolutionFactor()
Display resolution factor. |
IRaster |
getRaster()
Raster to be rendered. |
int |
getResamplingType()
Resampling method for displaying a raster. |
boolean |
isUpdated()
Indicates whether the renderer requires updating. |
void |
setDisplayResolutionFactor(int pnFactor)
Display resolution factor. |
void |
setRasterByRef(IRaster raster)
Raster to be rendered. |
void |
setResamplingType(int pResamplingType)
Resampling method for displaying a raster. |
void |
update()
Updates the renderer for any changes that have been made. |
Method Detail |
---|
boolean canRender(IRaster raster) throws IOException, AutomationException
raster
- 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 setRasterByRef(IRaster raster) throws IOException, AutomationException
raster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRaster getRaster() throws IOException, AutomationException
The Raster property controls the raster being displayed by the renderer. Because the renderers depend on dataset statistics, after changing the raster to be displayed, the update method must be called before performing using the renderer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(IRaster raster, int drawPhase, IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
raster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUpdated() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void update() throws IOException, AutomationException
The Update method should also be called after making changes to the renderer but before assigning the renderer to a layer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void copy(IRasterRenderer pSource) throws IOException, AutomationException
pSource
- A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getResamplingType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setResamplingType(int pResamplingType) throws IOException, AutomationException
pResamplingType
- A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDisplayResolutionFactor(int pnFactor) throws IOException, AutomationException
pnFactor
- The pnFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDisplayResolutionFactor() throws IOException, AutomationException
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 |