public class MosaicRaster extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IMosaicRaster, IMosaicRaster2, IRasterCollection, IRaster, IRasterProps, IGeoDataset, ISaveAs, ISaveAs2, IPixelOperation, ISupportErrorInfo
Description 'A mosaic of rasters.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID6ccd314b_1153_42b5_a5f1_aa56e070159c, xxDummyIID, IID77d428cf_3f55_497d_bd5c_9fb7b2d708a9, xxDummyIID, IIDbd52f6e3_fc16_4c2c_9472_94cabf907fd0, xxDummyIID, IIDaeec7d31_1533_11d2_8d25_0000f8780535, xxDummyIID, IID4b7b1bd0_a705_11d2_8e30_00a0249480f0, xxDummyIID, IIDba3968e7_a18b_416d_8140_e4a06068cf1b, xxDummyIIDc7a92e97_597e_4a69_a872_29cb60b5e0dbIID, IID467f7216_8ac1_4aac_98bb_e656c135567a, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy| Constructor and Description |
|---|
MosaicRaster()
Constructs a MosaicRaster using ArcGIS Engine.
|
MosaicRaster(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
MosaicRaster theMosaicRaster = (MosaicRaster) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
append(IRaster pRaster)
Appends a raster to the end.
|
boolean |
canSaveAs(java.lang.String format)
Checks if it's can be saved as a new persistent Dataset of a given format.
|
IRasterCursor |
createCursor()
Allocates a Raster Cursor for fast raster scanning.
|
IPixelBlock |
createPixelBlock(IPnt size)
Allocates a PixelBlock of requested size.
|
void |
empty()
Empties this raster collection.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
find(IRaster pRaster)
Finds a given raster and returns its index position.
|
IRaster |
get(int index)
Gets the raster at a given index position.
|
static java.lang.String |
getClsid()
getClsid.
|
IRasterColormap |
getColormap()
The colormap to be used.
|
IEnvelope |
getExtent()
The extent of the Raster.
|
int |
getHeight()
Height in pixels.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
getMosaicColormapMode()
The current mode for mosaicking pseucolor rasters.
|
IMosaicOperator |
getMosaicOperator()
The current mosaic operator.
|
int |
getMosaicOperatorType()
The current mosaic operator type.
|
java.lang.Object |
getNoDataValue()
Data value used to indicate invalid or excluded data.
|
java.lang.String |
getOrderByField()
The Order By fields on the base RasterCatalog.
|
IPixelFilter |
getPixelFilter()
The pixel filter for filtering pixel values.
|
int |
getPixelType()
Data type of the pixels.
|
IRasterCatalog |
getRasterCatalog()
The base RasterCatalog.
|
IRasterCatalogTable |
getRasterCatalogTable()
The source raster catalog table.
|
int |
getRasterCount()
The number of rasters in this raster collection.
|
int |
getResampleMethod()
Interpolation method used when reading pixels.
|
ISpatialReference |
getSpatialReference()
SpatialReference of the Raster.
|
java.lang.String |
getWhereClause()
The Where Clause on the base RasterCatalog.
|
int |
getWidth()
Width in pixels.
|
int |
hashCode()
the hashcode for this object
|
void |
insert(int index,
IRaster pRaster)
Inserts a raster at a given index.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isAscending()
Indicates whether the ascending flag of OrderBy.
|
boolean |
isInteger()
Indicates if the data is integer.
|
IPnt |
meanCellSize()
Returns the approximate cell size of the raster.
|
void |
populate(IEnvelope pExtent)
Populates this raster collection from associated RasterCatalog.
|
void |
read(IPnt tlc,
IPixelBlock block)
Read a block of pixels starting from the top left corner.
|
void |
recalculateCellsize(int type)
Recalculates the cellsize as (min, max, or mean) of all cellsizes.
|
void |
release()
Release this COM object reference
|
void |
remove(int index)
Removes a raster at a given index.
|
IDataset |
saveAs(java.lang.String name,
IWorkspace workspace,
java.lang.String format)
Creates a new persistent Dataset of a given format.
|
IRasterDataset |
saveAsRasterDataset(java.lang.String name,
IWorkspace workspace,
java.lang.String format,
IRasterStorageDef storageDef)
Creates a new persistent Raster Dataset of a given format and specified storage definition.
|
void |
set(int index,
IRaster pRaster)
Sets the raster at a given index position.
|
void |
setAscending(boolean ascending)
Indicates whether the ascending flag of OrderBy.
|
void |
setColormap(IRasterColormap ppColormap)
The colormap to be used.
|
void |
setExtent(IEnvelope ppExtent)
The extent of the Raster.
|
void |
setHeight(int pVal)
Height in pixels.
|
void |
setMosaicColormapMode(int mode)
The current mode for mosaicking pseucolor rasters.
|
void |
setMosaicOperatorByRef(IMosaicOperator op)
The current mosaic operator.
|
void |
setMosaicOperatorType(int type)
The current mosaic operator type.
|
void |
setNoDataValue(java.lang.Object pVal)
Data value used to indicate invalid or excluded data.
|
void |
setOrderByField(java.lang.String orderByField)
The Order By fields on the base RasterCatalog.
|
void |
setPixelFilterByRef(IPixelFilter ppFilter)
The pixel filter for filtering pixel values.
|
void |
setPixelType(int pVal)
Data type of the pixels.
|
void |
setRasterCatalogByRef(IRasterCatalog ppCatalog)
The base RasterCatalog.
|
void |
setRasterCatalogTableByRef(IRasterCatalogTable ppCatalogTable)
The source raster catalog table.
|
void |
setResampleMethod(int val)
Interpolation method used when reading pixels.
|
void |
setSpatialReference(ISpatialReference ppSpref)
SpatialReference of the Raster.
|
void |
setWhereClause(java.lang.String whereClause)
The Where Clause on the base RasterCatalog.
|
void |
setWidth(int pVal)
Width in pixels.
|
public MosaicRaster()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic MosaicRaster(java.lang.Object obj)
throws java.io.IOException
MosaicRaster theMosaicRaster = (MosaicRaster) obj;obj to MosaicRaster.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic IRasterCatalog getRasterCatalog() throws java.io.IOException, AutomationException
getRasterCatalog in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRasterCatalogByRef(IRasterCatalog ppCatalog) throws java.io.IOException, AutomationException
setRasterCatalogByRef in interface IMosaicRasterppCatalog - A reference to a com.esri.arcgis.geodatabase.IRasterCatalog (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getWhereClause()
throws java.io.IOException,
AutomationException
getWhereClause in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWhereClause(java.lang.String whereClause)
throws java.io.IOException,
AutomationException
setWhereClause in interface IMosaicRasterwhereClause - The whereClause (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getOrderByField()
throws java.io.IOException,
AutomationException
getOrderByField in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setOrderByField(java.lang.String orderByField)
throws java.io.IOException,
AutomationException
setOrderByField in interface IMosaicRasterorderByField - The orderByField (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isAscending()
throws java.io.IOException,
AutomationException
isAscending in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setAscending(boolean ascending)
throws java.io.IOException,
AutomationException
setAscending in interface IMosaicRasterascending - The ascending (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMosaicOperatorType()
throws java.io.IOException,
AutomationException
getMosaicOperatorType in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMosaicOperatorType(int type)
throws java.io.IOException,
AutomationException
setMosaicOperatorType in interface IMosaicRastertype - A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IMosaicOperator getMosaicOperator() throws java.io.IOException, AutomationException
getMosaicOperator in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMosaicOperatorByRef(IMosaicOperator op) throws java.io.IOException, AutomationException
setMosaicOperatorByRef in interface IMosaicRasterop - A reference to a com.esri.arcgis.datasourcesraster.IMosaicOperator (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMosaicColormapMode()
throws java.io.IOException,
AutomationException
getMosaicColormapMode in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMosaicColormapMode(int mode)
throws java.io.IOException,
AutomationException
setMosaicColormapMode in interface IMosaicRastermode - A com.esri.arcgis.datasourcesraster.rstMosaicColormapMode constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterColormap getColormap() throws java.io.IOException, AutomationException
getColormap in interface IMosaicRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setColormap(IRasterColormap ppColormap) throws java.io.IOException, AutomationException
setColormap in interface IMosaicRasterppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterCatalogTable getRasterCatalogTable() throws java.io.IOException, AutomationException
getRasterCatalogTable in interface IMosaicRaster2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRasterCatalogTableByRef(IRasterCatalogTable ppCatalogTable) throws java.io.IOException, AutomationException
setRasterCatalogTableByRef in interface IMosaicRaster2ppCatalogTable - A reference to a com.esri.arcgis.datasourcesraster.IRasterCatalogTable (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void recalculateCellsize(int type)
throws java.io.IOException,
AutomationException
recalculateCellsize in interface IMosaicRaster2type - A com.esri.arcgis.datasourcesraster.esriCellsizeType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getRasterCount()
throws java.io.IOException,
AutomationException
getRasterCount in interface IRasterCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insert(int index,
IRaster pRaster)
throws java.io.IOException,
AutomationException
insert in interface IRasterCollectionindex - The index (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void append(IRaster pRaster) throws java.io.IOException, AutomationException
append in interface IRasterCollectionpRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void remove(int index)
throws java.io.IOException,
AutomationException
remove in interface IRasterCollectionindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int find(IRaster pRaster) throws java.io.IOException, AutomationException
find in interface IRasterCollectionpRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRaster get(int index) throws java.io.IOException, AutomationException
get in interface IRasterCollectionindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void set(int index,
IRaster pRaster)
throws java.io.IOException,
AutomationException
set in interface IRasterCollectionindex - The index (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void empty()
throws java.io.IOException,
AutomationException
empty in interface IRasterCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void populate(IEnvelope pExtent) throws java.io.IOException, AutomationException
populate in interface IRasterCollectionpExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void read(IPnt tlc, IPixelBlock block) throws java.io.IOException, AutomationException
read in interface IRastertlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)block - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPixelBlock createPixelBlock(IPnt size) throws java.io.IOException, AutomationException
createPixelBlock in interface IRastersize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterCursor createCursor() throws java.io.IOException, AutomationException
createCursor in interface IRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getResampleMethod()
throws java.io.IOException,
AutomationException
getResampleMethod in interface IRasterjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setResampleMethod(int val)
throws java.io.IOException,
AutomationException
setResampleMethod in interface IRasterval - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getWidth()
throws java.io.IOException,
AutomationException
getWidth in interface IRasterPropsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWidth(int pVal)
throws java.io.IOException,
AutomationException
setWidth in interface IRasterPropspVal - The pVal (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getHeight()
throws java.io.IOException,
AutomationException
getHeight in interface IRasterPropsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHeight(int pVal)
throws java.io.IOException,
AutomationException
setHeight in interface IRasterPropspVal - The pVal (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getPixelType()
throws java.io.IOException,
AutomationException
getPixelType in interface IRasterPropsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPixelType(int pVal)
throws java.io.IOException,
AutomationException
setPixelType in interface IRasterPropspVal - A com.esri.arcgis.geodatabase.rstPixelType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getNoDataValue()
throws java.io.IOException,
AutomationException
getNoDataValue in interface IRasterPropsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setNoDataValue(java.lang.Object pVal)
throws java.io.IOException,
AutomationException
setNoDataValue in interface IRasterPropspVal - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPnt meanCellSize() throws java.io.IOException, AutomationException
meanCellSize in interface IRasterPropsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isInteger()
throws java.io.IOException,
AutomationException
isInteger in interface IRasterPropsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference in interface IRasterPropsgetSpatialReference in interface IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSpatialReference(ISpatialReference ppSpref) throws java.io.IOException, AutomationException
setSpatialReference in interface IRasterPropsppSpref - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
getExtent in interface IRasterPropsgetExtent in interface IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setExtent(IEnvelope ppExtent) throws java.io.IOException, AutomationException
setExtent in interface IRasterPropsppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDataset saveAs(java.lang.String name, IWorkspace workspace, java.lang.String format) throws java.io.IOException, AutomationException
saveAs in interface ISaveAsname - The name (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)format - The format (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canSaveAs(java.lang.String format)
throws java.io.IOException,
AutomationException
canSaveAs in interface ISaveAsformat - The format (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterDataset saveAsRasterDataset(java.lang.String name, IWorkspace workspace, java.lang.String format, IRasterStorageDef storageDef) throws java.io.IOException, AutomationException
saveAsRasterDataset in interface ISaveAs2name - The name (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)format - The format (in)storageDef - A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPixelFilter getPixelFilter() throws java.io.IOException, AutomationException
getPixelFilter in interface IPixelOperationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPixelFilterByRef(IPixelFilter ppFilter) throws java.io.IOException, AutomationException
setPixelFilterByRef in interface IPixelOperationppFilter - A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.