|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterDefaultsEnv
Provides access to members that control the default raster environment.
The IRasterDefaultsEnv interface provides access to raster default properties that are shared between all supported raster formats.
Method Summary | |
---|---|
IRasterFormatInfo |
getFormat(int i)
Information about the format indicated by index i. |
int |
getNumFormats()
Number of supported raster formats. |
int |
getPyramidCreateOpt()
Default pyramid creation option. |
boolean |
isUseExtChecking()
Indicates if extension checking is on. |
void |
query3BandRGB(int[] redIndex,
int[] greenIndex,
int[] blueIndex)
Default zero indexed bands for a 3 band raster. |
void |
query4BandRGB(int[] redIndex,
int[] greenIndex,
int[] blueIndex)
Default zero indexed bands for a 4 or more band raster. |
void |
set3BandRGB(int redIndex,
int greenIndex,
int blueIndex)
Default zero indexed bands for a 3 band raster. |
void |
set4BandRGB(int redIndex,
int greenIndex,
int blueIndex)
Default zero indexed bands for a 4 or more band raster. |
void |
setPyramidCreateOpt(int opt)
Default pyramid creation option. |
void |
setUseExtChecking(boolean useExts)
Indicates if extension checking is on. |
Method Detail |
---|
int getPyramidCreateOpt() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPyramidCreateOpt(int opt) throws IOException, AutomationException
opt
- A com.esri.arcgis.carto.esriRasterPyramidOptEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void query3BandRGB(int[] redIndex, int[] greenIndex, int[] blueIndex) throws IOException, AutomationException
The Query3BandRGB, Query4BandRGB, Set3BandRGB, and Set4BandRGB methods allow you to view or set the default band combinations used to display rasters with three or more bands. The indices set for these defaults will populate the red, green, and blue channels of the RGB renderer when a raster is initially displayed.
The Query3BandRGB and Set3BandRGB methods apply only to three band rasters, while the Query4BandRGB and Set4BandRGB methods apply to all rasters containing four or more bands.
redIndex
- The redIndex (out: use single element array)greenIndex
- The greenIndex (out: use single element array)blueIndex
- The blueIndex (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void set3BandRGB(int redIndex, int greenIndex, int blueIndex) throws IOException, AutomationException
redIndex
- The redIndex (in)greenIndex
- The greenIndex (in)blueIndex
- The blueIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void query4BandRGB(int[] redIndex, int[] greenIndex, int[] blueIndex) throws IOException, AutomationException
redIndex
- The redIndex (out: use single element array)greenIndex
- The greenIndex (out: use single element array)blueIndex
- The blueIndex (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void set4BandRGB(int redIndex, int greenIndex, int blueIndex) throws IOException, AutomationException
redIndex
- The redIndex (in)greenIndex
- The greenIndex (in)blueIndex
- The blueIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseExtChecking() throws IOException, AutomationException
This method is used to specify whether using file extension checking or not when you browse file based raster data such as .img, .tif, and jp2 etc.
Using file extension checking (true) is faster in browsing raster datasets, and this is the default.
The UseExtChecking property specifies how ArcCatalog and the GxBrowser search for raster datasets. A True value for extension checking means that files or folders will be identified as raster datasets only if their extension matches the list of supported raster format extensions. A False value means that all files and folders will be opened to determine whether they are a raster dataset in any of the supported raster formats. This is more reliable but is much slower than extension checking only. Extension checking only is the default.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseExtChecking(boolean useExts) throws IOException, AutomationException
useExts
- The useExts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNumFormats() throws IOException, AutomationException
The NumFormats property returns the number of supported raster formats, and the Format method returns a RasterFormatInfo object specific to one raster format, which can specify default properties for that format.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterFormatInfo getFormat(int i) throws IOException, AutomationException
i
- The i (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 |