|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterInfo
public class RasterInfo
A class for a raster info value object containing information about a raster.
| Constructor Summary | |
|---|---|
RasterInfo()
Constructs a RasterInfo using ArcGIS Engine. |
|
RasterInfo(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterInfo theRasterInfo = (RasterInfo) obj; |
|
| Method Summary | |
|---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
ITable |
getAttributeTable()
The raster attribute table. |
int |
getBandCount()
The number of bands in the Raster. |
int |
getBlockHeight()
The block height in pixels. |
int |
getBlockWidth()
The block width in pixels. |
IPnt |
getCellSize()
The raster cell size. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IRasterColormap |
getColormap()
The raster colormap. |
IEnvelope |
getExtent()
The raster extent. |
int |
getFirstPyramidLevel()
The first pyramid level. |
String |
getFormat()
The raster format, e.g. |
IGeodataXform |
getGeodataXform()
The raster GeoData transform. |
int |
getHeight()
The raster height in pixels. |
IRasterHistogram |
getHistogram(int iBand)
The histogram of a given band. |
IRasterLODInfos |
getLODInfos()
The tiling Levels Of Details. |
IPnt |
getMaximumCellSize()
The maximum cell size associated with this raster. |
int |
getMaximumPyramidLevel()
The maximum pyramid level. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
IEnvelope |
getNativeExtent()
The native raster extent before GeoData transform. |
ISpatialReference |
getNativeSpatialReference()
The native raster spatial reference before GeoData transform. |
Object |
getNoData()
The NoData value used to indicate invalid or excluded data. |
IPoint |
getOrigin()
The tiling origin. |
IPixelResampler |
getPixelResampler()
The current raster resampler. |
int |
getPixelType()
The raster pixel type. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISpatialReference |
getSpatialReference()
The raster spatial reference. |
IRasterStatistics |
getStatistics(int iBand)
The statistics of a given band. |
int |
getWidth()
The raster width in pixels. |
int |
hashCode()
the hashcode for this object |
void |
init(IRaster pRaster)
Initializes from a raster. |
void |
isDirty()
isDirty |
boolean |
isResampling()
Indicates if this raster source wants to perform resampling. |
boolean |
isSupportBandSelection()
Indicates if this function supports band selection. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
removeStatsHistograms()
Removes all band statistics and histograms. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAttributeTableByRef(ITable ppTable)
The raster attribute table. |
void |
setBandCount(int pCount)
The number of bands in the Raster. |
void |
setBlockHeight(int pHeight)
The block height in pixels. |
void |
setBlockWidth(int pWidth)
The block width in pixels. |
void |
setCellSize(IPnt ppCellsize)
The raster cell size. |
void |
setColormapByRef(IRasterColormap ppColormap)
The raster colormap. |
void |
setExtent(IEnvelope ppExtent)
The raster extent. |
void |
setFirstPyramidLevel(int pLevel)
The first pyramid level. |
void |
setFormat(String pFormat)
The raster format, e.g. |
void |
setGeodataXformByRef(IGeodataXform ppXf)
The raster GeoData transform. |
void |
setHistogramByRef(int iBand,
IRasterHistogram ppHistogram)
The histogram of a given band. |
void |
setLODInfosByRef(IRasterLODInfos ppLODInfos)
The tiling Levels Of Details. |
void |
setMaximumCellSize(IPnt ppMaximumCellSize)
The maximum cell size associated with this raster. |
void |
setMaximumPyramidLevel(int pLevel)
The maximum pyramid level. |
void |
setNativeExtent(IEnvelope ppExtent)
The native raster extent before GeoData transform. |
void |
setNativeSpatialReferenceByRef(ISpatialReference ppSpatialReference)
The native raster spatial reference before GeoData transform. |
void |
setNoData(Object pvNoData)
The NoData value used to indicate invalid or excluded data. |
void |
setOriginByRef(IPoint ppOrigin)
The tiling origin. |
void |
setPixelResamplerByRef(IPixelResampler ppResampler)
The current raster resampler. |
void |
setPixelType(int pPixelType)
The raster pixel type. |
void |
setResampling(boolean pResampling)
Indicates if this raster source wants to perform resampling. |
void |
setStatisticsByRef(int iBand,
IRasterStatistics ppStats)
The statistics of a given band. |
void |
setSupportBandSelection(boolean pSupportBandSelection)
Indicates if this function supports band selection. |
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 RasterInfo()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterInfo(Object obj)
throws IOException
RasterInfo theRasterInfo = (RasterInfo) obj;
obj to RasterInfo.
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 IPoint getOrigin()
throws IOException,
AutomationException
getOrigin in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOriginByRef(IPoint ppOrigin)
throws IOException,
AutomationException
setOriginByRef in interface IRasterInfoppOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBlockWidth()
throws IOException,
AutomationException
getBlockWidth in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBlockWidth(int pWidth)
throws IOException,
AutomationException
setBlockWidth in interface IRasterInfopWidth - The pWidth (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBlockHeight()
throws IOException,
AutomationException
getBlockHeight in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBlockHeight(int pHeight)
throws IOException,
AutomationException
setBlockHeight in interface IRasterInfopHeight - The pHeight (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFirstPyramidLevel()
throws IOException,
AutomationException
getFirstPyramidLevel in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFirstPyramidLevel(int pLevel)
throws IOException,
AutomationException
setFirstPyramidLevel in interface IRasterInfopLevel - The pLevel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaximumPyramidLevel()
throws IOException,
AutomationException
getMaximumPyramidLevel in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumPyramidLevel(int pLevel)
throws IOException,
AutomationException
setMaximumPyramidLevel in interface IRasterInfopLevel - The pLevel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeodataXform getGeodataXform()
throws IOException,
AutomationException
getGeodataXform in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGeodataXformByRef(IGeodataXform ppXf)
throws IOException,
AutomationException
setGeodataXformByRef in interface IRasterInfoppXf - 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 ISpatialReference getSpatialReference()
throws IOException,
AutomationException
getSpatialReference in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(IEnvelope ppExtent)
throws IOException,
AutomationException
setExtent in interface IRasterInfoppExtent - 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 ISpatialReference getNativeSpatialReference()
throws IOException,
AutomationException
getNativeSpatialReference in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNativeSpatialReferenceByRef(ISpatialReference ppSpatialReference)
throws IOException,
AutomationException
setNativeSpatialReferenceByRef in interface IRasterInfoppSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getNativeExtent()
throws IOException,
AutomationException
getNativeExtent in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNativeExtent(IEnvelope ppExtent)
throws IOException,
AutomationException
setNativeExtent in interface IRasterInfoppExtent - 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 IPnt getCellSize()
throws IOException,
AutomationException
getCellSize in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCellSize(IPnt ppCellsize)
throws IOException,
AutomationException
setCellSize in interface IRasterInfoppCellsize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWidth()
throws IOException,
AutomationException
getWidth in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHeight()
throws IOException,
AutomationException
getHeight in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBandCount()
throws IOException,
AutomationException
getBandCount in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBandCount(int pCount)
throws IOException,
AutomationException
setBandCount in interface IRasterInfopCount - The pCount (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPixelType()
throws IOException,
AutomationException
getPixelType in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelType(int pPixelType)
throws IOException,
AutomationException
setPixelType in interface IRasterInfopPixelType - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getNoData()
throws IOException,
AutomationException
getNoData in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNoData(Object pvNoData)
throws IOException,
AutomationException
setNoData in interface IRasterInfopvNoData - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isResampling()
throws IOException,
AutomationException
isResampling in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResampling(boolean pResampling)
throws IOException,
AutomationException
setResampling in interface IRasterInfopResampling - The pResampling (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportBandSelection()
throws IOException,
AutomationException
isSupportBandSelection in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSupportBandSelection(boolean pSupportBandSelection)
throws IOException,
AutomationException
setSupportBandSelection in interface IRasterInfopSupportBandSelection - The pSupportBandSelection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFormat()
throws IOException,
AutomationException
getFormat in interface IRasterInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFormat(String pFormat)
throws IOException,
AutomationException
setFormat in interface IRasterInfopFormat - The pFormat (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void init(IRaster pRaster)
throws IOException,
AutomationException
init in interface IRasterInfo2pRaster - 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 removeStatsHistograms()
throws IOException,
AutomationException
removeStatsHistograms in interface IRasterInfo2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterLODInfos getLODInfos()
throws IOException,
AutomationException
getLODInfos in interface IRasterInfo2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLODInfosByRef(IRasterLODInfos ppLODInfos)
throws IOException,
AutomationException
setLODInfosByRef in interface IRasterInfo2ppLODInfos - A reference to a com.esri.arcgis.geodatabase.IRasterLODInfos (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterColormap getColormap()
throws IOException,
AutomationException
getColormap in interface IRasterInfo2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColormapByRef(IRasterColormap ppColormap)
throws IOException,
AutomationException
setColormapByRef in interface IRasterInfo2ppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getAttributeTable()
throws IOException,
AutomationException
getAttributeTable in interface IRasterInfo2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttributeTableByRef(ITable ppTable)
throws IOException,
AutomationException
setAttributeTableByRef in interface IRasterInfo2ppTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterStatistics getStatistics(int iBand)
throws IOException,
AutomationException
getStatistics in interface IRasterInfo2iBand - The iBand (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStatisticsByRef(int iBand,
IRasterStatistics ppStats)
throws IOException,
AutomationException
setStatisticsByRef in interface IRasterInfo2iBand - The iBand (in)ppStats - A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterHistogram getHistogram(int iBand)
throws IOException,
AutomationException
getHistogram in interface IRasterInfo2iBand - The iBand (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHistogramByRef(int iBand,
IRasterHistogram ppHistogram)
throws IOException,
AutomationException
setHistogramByRef in interface IRasterInfo2iBand - The iBand (in)ppHistogram - A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPixelResampler getPixelResampler()
throws IOException,
AutomationException
getPixelResampler in interface IRasterInfo2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelResamplerByRef(IPixelResampler ppResampler)
throws IOException,
AutomationException
setPixelResamplerByRef in interface IRasterInfo2ppResampler - A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPnt getMaximumCellSize()
throws IOException,
AutomationException
getMaximumCellSize in interface IRasterInfo2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumCellSize(IPnt ppMaximumCellSize)
throws IOException,
AutomationException
setMaximumCellSize in interface IRasterInfo2ppMaximumCellSize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
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 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 serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getMinNamespaceSupported()
throws IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportIOException - 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 | ||||||||