|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.RasterValue
public class RasterValue
The Raster Value Class.
The RasterValue represents the value of a Raster field, similar to the value of a Geometry field. A RasterValue consists a RasterDataset and its storage properties specified by RasterStorageDef, including tile size, pyramid definition, compression, cellsize and origin. A RasterVaue in an ArcSDE geodatabase consists of a database RasterDataset, while a RasterValue in a personal geodatabase consists a file based RasterDataset.
The RasterValue object is used to set or update a Raster field with a given Raser, RasterDataset or RasterDatasetName. It works the same way for Personal, File and ArcSDE geodatabases, except for a RasterValue stored in a Personal geodatabase since most of the storage properties (tilesize, compression options and pyramids options) are ignored.
IRasterCatalogItem,
RasterCatalog,
RasterStorageDef,
Serialized Form| Constructor Summary | |
|---|---|
RasterValue()
Constructs a RasterValue using ArcGIS Engine. |
|
RasterValue(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterValue theRasterValue = (RasterValue) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IEnvelope |
getExtent()
The extent of the raster value. |
IGeodataXform |
getPersistXform()
The geodata transformation to be persisted. |
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 |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setEmptyRasterDataset(int nBands,
int pixelType)
Sets up the empty raster dataset. |
void |
setExtentByRef(IEnvelope extent)
The extent of the raster value. |
void |
setPersistXformByRef(IGeodataXform xform)
The geodata transformation to be persisted. |
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. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public RasterValue()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterValue(Object obj)
throws IOException
RasterValue theRasterValue = (RasterValue) obj;
obj to RasterValue.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IRasterStorageDef getRasterStorageDef()
throws IOException,
AutomationException
getRasterStorageDef in interface IRasterValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterStorageDefByRef(IRasterStorageDef storageDef)
throws IOException,
AutomationException
setRasterStorageDefByRef in interface IRasterValuestorageDef - A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IRasterValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtentByRef(IEnvelope extent)
throws IOException,
AutomationException
setExtentByRef in interface IRasterValueextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterDataset getRasterDataset()
throws IOException,
AutomationException
getRasterDataset in interface IRasterValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
setRasterDatasetByRef in interface IRasterValuedataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getRasterDatasetName()
throws IOException,
AutomationException
getRasterDatasetName in interface IRasterValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterDatasetNameByRef(IName datasetName)
throws IOException,
AutomationException
setRasterDatasetNameByRef in interface IRasterValuedatasetName - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRaster getRaster()
throws IOException,
AutomationException
getRaster in interface IRasterValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
setRasterByRef in interface IRasterValueraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEmptyRasterDataset(int nBands,
int pixelType)
throws IOException,
AutomationException
setEmptyRasterDataset in interface IRasterValuenBands - 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.
public IGeodataXform getPersistXform()
throws IOException,
AutomationException
getPersistXform in interface IRasterValue2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPersistXformByRef(IGeodataXform xform)
throws IOException,
AutomationException
setPersistXformByRef in interface IRasterValue2xform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||