|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterValue
Provides access to members that control raster value.
The IRasterValue interface provides access to the properties of a RasterValue, it allows you to hook a raster dataset to a RasterValue and store it using the parameters that the RasterStorageDef specifies.
The RasterDataset property provides the access to the raster dataset that is stored in the RasterValue. This is the entry point to load or update raster data in the geodatabase.
The Raster property provides the access to the raster that is stored in the RasterValue. This is another entry point to load or update raster data in the geodatabase.
The RasterDatasetName property provides another way to access the raster data stored in a RasterValue.
The RasterStorageDef property specifies the storage parameters for storing the raster data.
The SetEmptyRasterDataset method creates an empty raster dataset of specified number of bands and data type, so more data can be mosaiced to it later on. The nBands argument specifies the number of bands and the PixelType argument specified the pixeltype of the raster dataset.
IRasterCatalogItem
,
RasterCatalog
,
RasterStorageDef
Method Summary | |
---|---|
IEnvelope |
getExtent()
The extent of the raster value. |
IRaster |
getRaster()
The raster of the raster value. |
IRasterDataset |
getRasterDataset()
The raster dataset of the raster value. |
IName |
getRasterDatasetName()
The raster dataset name of the raster value. |
IRasterStorageDef |
getRasterStorageDef()
The raster storage properties. |
void |
setEmptyRasterDataset(int nBands,
int pixelType)
Sets up the empty raster dataset. |
void |
setExtentByRef(IEnvelope extent)
The extent of the raster value. |
void |
setRasterByRef(IRaster raster)
The raster of the raster value. |
void |
setRasterDatasetByRef(IRasterDataset dataset)
The raster dataset of the raster value. |
void |
setRasterDatasetNameByRef(IName datasetName)
The raster dataset name of the raster value. |
void |
setRasterStorageDefByRef(IRasterStorageDef storageDef)
The raster storage properties. |
Method Detail |
---|
IRasterStorageDef getRasterStorageDef() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRasterStorageDefByRef(IRasterStorageDef storageDef) throws IOException, AutomationException
storageDef
- A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtentByRef(IEnvelope extent) throws IOException, AutomationException
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
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.void setRasterDatasetByRef(IRasterDataset dataset) throws IOException, AutomationException
Assigns a RasterDataset to the RasterValue, if the raster has a different spatial reference from the raster column of the raster catalog, the raster spatial reference is ignored and the raster column spatial reference is applied to the raster, but no projection or transformation is performed. To set the raster dataset spatial reference correctly, you need to get the raster datasets and alter its xform.
dataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IName getRasterDatasetName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRasterDatasetNameByRef(IName datasetName) throws IOException, AutomationException
datasetName
- A reference to a com.esri.arcgis.system.IName (in)
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 setRasterByRef(IRaster raster) throws IOException, AutomationException
Assigns a Raster to the RasterValue, if the raster has a different spatial reference from the raster column of the raster catalog, the raster spatial reference is ignored and the raster column spatial reference is applied to the raster, but no projection or transformation is performed. To set the raster spatial reference correctly, you need to get the raster and alter its xform.
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 setEmptyRasterDataset(int nBands, int pixelType) throws IOException, AutomationException
nBands
- The nBands (in)pixelType
- A com.esri.arcgis.geodatabase.rstPixelType constant (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 |