|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRenderingRule
Provides access to members that control a rendering rule.
IRenderingRule interface provides methods defining how an image service should be rendered to generate the requested image. A rendering rule consists of: (1) a raster function; (2) a raster renderer; (3) a name and description of a rendering rule that is defined on the image service. The raster function will be applied first to the image service, and followed by the raster renderer. The result will then be converted to requested format, e.g. jpeg, png, bmp, and etc. If the function and renderer are both missing, the name is assumed to be a rendering rule available on the service. If there is no rendering rule, and the image service still needs to be rendered to generate the requested image, a default renderer will be applied. A proper default renderer is created using the same rule as when a raster dataset of the same properties, e.g. number of band, pixel type, and etc is added to ArcMap.
Method Summary | |
---|---|
IRasterFunctionArguments |
getArguments()
The raster function arguments. |
String |
getDescription()
The rendering rule description. |
IRasterFunction |
getFunction()
The raster function. |
String |
getName()
The rendering rule name. |
IRasterRenderer |
getRenderer()
The raster renderer. |
String |
getVariableName()
The raster function variable name. |
void |
setArgumentsByRef(IRasterFunctionArguments ppArguments)
The raster function arguments. |
void |
setDescription(String pDescription)
The rendering rule description. |
void |
setFunctionByRef(IRasterFunction ppFunction)
The raster function. |
void |
setName(String pName)
The rendering rule name. |
void |
setRendererByRef(IRasterRenderer ppRenderer)
The raster renderer. |
void |
setVariableName(String pVariableName)
The raster function variable name. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String pName) throws IOException, AutomationException
The rendering rule name. This is used to address a predefined rendering rule on the service when both the raster function and renderer are not specified.
pName
- The pName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDescription() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDescription(String pDescription) throws IOException, AutomationException
pDescription
- The pDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterFunction getFunction() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFunctionByRef(IRasterFunction ppFunction) throws IOException, AutomationException
It takes RasterFuntion object.The RasterFunction together with its arguments (RasterFunctionArguments) will be applied to the target service. The target image service will be assigned to the named argument of the function’s argument list, and the argument list is then bound to the function.
ppFunction
- A reference to a com.esri.arcgis.datasourcesraster.IRasterFunction (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterFunctionArguments getArguments() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setArgumentsByRef(IRasterFunctionArguments ppArguments) throws IOException, AutomationException
The raster function arguments. One of the named arguments will be set using the target service.
ppArguments
- A reference to a com.esri.arcgis.datasourcesraster.IRasterFunctionArguments (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getVariableName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVariableName(String pVariableName) throws IOException, AutomationException
The variable name in the list of named function arguments to which the target image service should be assigned.
This could be "Raster" for ExtractBandFunction, "DEM" for HillshadeFunction, etc.
pVariableName
- The pVariableName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterRenderer getRenderer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRendererByRef(IRasterRenderer ppRenderer) throws IOException, AutomationException
The raster renderer. The raster renderer will be used to render the target service, after the function is applied, to generate a requested image.
ppRenderer
- A reference to a com.esri.arcgis.carto.IRasterRenderer (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 |