|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterLayer
Provides access to members that create or modify a raster layer.
The RasterLayer must be initialized with data before it can be used. When the layer is initialized, a default renderer is selected for the dataset based on the number of bands, statistics, and whether a colormap or other table exists for the data. Other internal properties of the layer are also set at this time.
Method Summary | |
---|---|
void |
createFromDataset(IRasterDataset rasterDataset)
Creates a layer from a RasterDataset object. |
void |
createFromFilePath(String filePath)
Creates a layer from a file path to raster data. |
void |
createFromRaster(IRaster raster)
Creates a layer from a Raster object. |
int |
getBandCount()
Number of bands in the layer. |
int |
getColumnCount()
Number of columns in the layer. |
IEnvelope |
getDataFrameExtent()
Extent of the dataframe that contains the layer. |
int |
getDisplayResolutionFactor()
Display resolution factor. |
String |
getFilePath()
Filepath of the data source. |
int |
getPrimaryField()
Layer's primary field. |
IRaster |
getRaster()
Layer's Raster object. |
IRasterRenderer |
getRenderer()
Layer's renderer. |
int |
getRowCount()
Number of rows in the layer. |
IEnvelope |
getVisibleExtent()
Visible extent of the layer in the data frame. |
boolean |
isPyramidPresent()
Indicates if pyramids are present for the layer. |
boolean |
isShowResolution()
Indicates if the raster resolution should be displayed in the Table of Contents. |
void |
setDisplayResolutionFactor(int pnFactor)
Display resolution factor. |
void |
setPrimaryField(int pnField)
Layer's primary field. |
void |
setPyramidPresent(boolean pbPyramidPresent)
Indicates if pyramids are present for the layer. |
void |
setRendererByRef(IRasterRenderer renderer)
Layer's renderer. |
void |
setShowResolution(boolean b)
Indicates if the raster resolution should be displayed in the Table of Contents. |
void |
setVisibleExtent(IEnvelope ppVisibleExtent)
Visible extent of the layer in the data frame. |
Methods inherited from interface com.esri.arcgis.carto.ILayer |
---|
draw, getAreaOfInterest, getMaximumScale, getMinimumScale, getName, getSupportedDrawPhases, getTipText, isCached, isShowTips, isValid, isVisible, setCached, setMaximumScale, setMinimumScale, setName, setShowTips, setSpatialReferenceByRef, setVisible |
Method Detail |
---|
String getFilePath() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRaster getRaster() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createFromRaster(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 createFromDataset(IRasterDataset rasterDataset) throws IOException, AutomationException
rasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createFromFilePath(String filePath) throws IOException, AutomationException
filePath
- The filePath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterRenderer getRenderer() throws IOException, AutomationException
The Renderer property controls the renderer being used by the layer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRendererByRef(IRasterRenderer renderer) throws IOException, AutomationException
renderer
- 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 getBandCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getColumnCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRowCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPyramidPresent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPyramidPresent(boolean pbPyramidPresent) throws IOException, AutomationException
pbPyramidPresent
- The pbPyramidPresent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getDataFrameExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVisibleExtent(IEnvelope ppVisibleExtent) throws IOException, AutomationException
ppVisibleExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getVisibleExtent() throws IOException, AutomationException
The VisibleExtent specifies a subset of the raster layer to be drawn, which can speed the drawing of the layer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPrimaryField(int pnField) throws IOException, AutomationException
pnField
- The pnField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPrimaryField() throws IOException, AutomationException
The PrimaryField property controls the field that provides map tips and the field that appears in the left pane of the Identify window. The integer property value represents the column number of the selected field, where the value field equals 1.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowResolution(boolean b) throws IOException, AutomationException
b
- The b (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowResolution() throws IOException, AutomationException
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 |