|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterBand
Provides access to members that control a raster band object.
IRasterBand interface provides access to statistics, histogram, raster attribute table, and colormap of the raster band.
The RasterDataset method returns a reference to the RasterDataset that contains this band.
The AttributeTable method returns a table if the raster band contains, or calculates a virtual table if the number of unique values of the raster band is less than 2048. The raster table can not be modified using ITable interface.
The ComputeStatsAndHist method calculates statistics and a histogram for the band.
The HasStatistics, HasHistogram, and HasColormap methods set the output parameter to True if the band contains a histogram, colormap, or statistics and False if the band does not.
IRasterPyramid3
Method Summary | |
---|---|
boolean |
canCopy()
Returns true if this dataset can be copied. |
void |
computeStatsAndHist()
Calculates statistics and histogram if not previously stored. |
IDataset |
copy(String copyName,
IWorkspace copyWorkspace)
Copies this raster band to a new dataset with the specified name. |
ITable |
getAttributeTable()
The attribute table of this raster band. |
String |
getBandname()
The name of this raster band. |
IRasterClassNames |
getClassNames()
The class names (titles). |
IRasterColormap |
getColormap()
The colormap of this raster band. |
IContrastTable |
getContrastTable()
The contrast look-up table of this band. |
IRasterHistogram |
getHistogram()
The histogram of this raster band. |
IRasterDataset |
getRasterDataset()
The RasterDataset associated with this raster band. |
int |
getRepresentationType()
The suggested representation type. |
IRasterStatistics |
getStatistics()
The statistics of this raster band. |
void |
hasColormap(boolean[] b)
Indicates if this band has a colormap. |
void |
hasStatistics(boolean[] b)
Indicates if this band has statistics. |
void |
hasTable(boolean[] b)
Indicates if this band has an attribute table. |
boolean |
isDirectlyOpened()
Indicates if the band was opened directly. |
void |
setContrastTable(IContrastTable cont)
The contrast look-up table of this band. |
void |
setRepresentationType(int pVal)
The suggested representation type. |
Method Detail |
---|
void hasTable(boolean[] b) throws IOException, AutomationException
b
- The b (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void hasStatistics(boolean[] b) throws IOException, AutomationException
b
- The b (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void hasColormap(boolean[] b) throws IOException, AutomationException
b
- The b (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterStatistics getStatistics() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void computeStatsAndHist() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterHistogram getHistogram() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterColormap getColormap() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITable getAttributeTable() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterClassNames getClassNames() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterDataset getRasterDataset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRepresentationType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRepresentationType(int pVal) throws IOException, AutomationException
pVal
- A com.esri.arcgis.datasourcesraster.rstRepresentationType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IContrastTable getContrastTable() throws IOException, AutomationException
This method should not be used by application developers.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setContrastTable(IContrastTable cont) throws IOException, AutomationException
cont
- A reference to a com.esri.arcgis.datasourcesraster.IContrastTable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean canCopy() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IDataset copy(String copyName, IWorkspace copyWorkspace) throws IOException, AutomationException
copyName
- The copyName (in)copyWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getBandname() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isDirectlyOpened() throws IOException, AutomationException
This method should not be used by application developers.
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 |