com.esri.arcgis.datasourcesraster
Class MosaicRaster

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.MosaicRaster
All Implemented Interfaces:
IMosaicRaster, IMosaicRaster2, IPixelOperation, IRasterCollection, IRasterProps, IGeoDataset, IRaster, ISaveAs, ISaveAs2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class MosaicRaster
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMosaicRaster, IMosaicRaster2, IRasterCollection, IRaster, IRasterProps, IGeoDataset, ISaveAs, ISaveAs2, IPixelOperation, ISupportErrorInfo

COM Class 'MosaicRaster'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IMosaicRaster
IID, IID6ccd314b_1153_42b5_a5f1_aa56e070159c, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IMosaicRaster2
IID, IID77d428cf_3f55_497d_bd5c_9fb7b2d708a9, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterCollection
IID, IIDbd52f6e3_fc16_4c2c_9472_94cabf907fd0, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRaster
IID, IIDaeec7d31_1533_11d2_8d25_0000f8780535, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterProps
IID, IID4b7b1bd0_a705_11d2_8e30_00a0249480f0, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISaveAs2
IID, IIDba3968e7_a18b_416d_8140_e4a06068cf1b, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISaveAs
IIDc7a92e97_597e_4a69_a872_29cb60b5e0db
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelOperation
IID, IID467f7216_8ac1_4aac_98bb_e656c135567a, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
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;
 
Method Summary
 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()
          Deprecated. Internal use only.
 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 a MosaicRaster.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MosaicRaster

public MosaicRaster()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a MosaicRaster using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

MosaicRaster

public MosaicRaster(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MosaicRaster theMosaicRaster = (MosaicRaster) obj;

Construct a MosaicRaster using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MosaicRaster.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a MosaicRaster.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getRasterCatalog

public IRasterCatalog getRasterCatalog()
                                throws java.io.IOException,
                                       AutomationException
The base RasterCatalog.

Specified by:
getRasterCatalog in interface IMosaicRaster
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterCatalog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterCatalogByRef

public void setRasterCatalogByRef(IRasterCatalog ppCatalog)
                           throws java.io.IOException,
                                  AutomationException
The base RasterCatalog.

Specified by:
setRasterCatalogByRef in interface IMosaicRaster
Parameters:
ppCatalog - A reference to a com.esri.arcgis.geodatabase.IRasterCatalog (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhereClause

public java.lang.String getWhereClause()
                                throws java.io.IOException,
                                       AutomationException
The Where Clause on the base RasterCatalog.

Specified by:
getWhereClause in interface IMosaicRaster
Returns:
The whereClause
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhereClause

public void setWhereClause(java.lang.String whereClause)
                    throws java.io.IOException,
                           AutomationException
The Where Clause on the base RasterCatalog.

Specified by:
setWhereClause in interface IMosaicRaster
Parameters:
whereClause - The whereClause (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrderByField

public java.lang.String getOrderByField()
                                 throws java.io.IOException,
                                        AutomationException
The Order By fields on the base RasterCatalog.

Specified by:
getOrderByField in interface IMosaicRaster
Returns:
The orderByField
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrderByField

public void setOrderByField(java.lang.String orderByField)
                     throws java.io.IOException,
                            AutomationException
The Order By fields on the base RasterCatalog.

Specified by:
setOrderByField in interface IMosaicRaster
Parameters:
orderByField - The orderByField (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAscending

public boolean isAscending()
                    throws java.io.IOException,
                           AutomationException
Indicates whether the ascending flag of OrderBy.

Specified by:
isAscending in interface IMosaicRaster
Returns:
The ascending
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAscending

public void setAscending(boolean ascending)
                  throws java.io.IOException,
                         AutomationException
Indicates whether the ascending flag of OrderBy.

Specified by:
setAscending in interface IMosaicRaster
Parameters:
ascending - The ascending (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMosaicOperatorType

public int getMosaicOperatorType()
                          throws java.io.IOException,
                                 AutomationException
The current mosaic operator type.

Specified by:
getMosaicOperatorType in interface IMosaicRaster
Returns:
A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMosaicOperatorType

public void setMosaicOperatorType(int type)
                           throws java.io.IOException,
                                  AutomationException
The current mosaic operator type.

Specified by:
setMosaicOperatorType in interface IMosaicRaster
Parameters:
type - A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMosaicOperator

public IMosaicOperator getMosaicOperator()
                                  throws java.io.IOException,
                                         AutomationException
The current mosaic operator.

Specified by:
getMosaicOperator in interface IMosaicRaster
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IMosaicOperator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMosaicOperatorByRef

public void setMosaicOperatorByRef(IMosaicOperator op)
                            throws java.io.IOException,
                                   AutomationException
The current mosaic operator.

Specified by:
setMosaicOperatorByRef in interface IMosaicRaster
Parameters:
op - A reference to a com.esri.arcgis.datasourcesraster.IMosaicOperator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMosaicColormapMode

public int getMosaicColormapMode()
                          throws java.io.IOException,
                                 AutomationException
The current mode for mosaicking pseucolor rasters.

Specified by:
getMosaicColormapMode in interface IMosaicRaster
Returns:
A com.esri.arcgis.datasourcesraster.rstMosaicColormapMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMosaicColormapMode

public void setMosaicColormapMode(int mode)
                           throws java.io.IOException,
                                  AutomationException
The current mode for mosaicking pseucolor rasters.

Specified by:
setMosaicColormapMode in interface IMosaicRaster
Parameters:
mode - A com.esri.arcgis.datasourcesraster.rstMosaicColormapMode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColormap

public IRasterColormap getColormap()
                            throws java.io.IOException,
                                   AutomationException
The colormap to be used.

Specified by:
getColormap in interface IMosaicRaster
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterColormap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormap

public void setColormap(IRasterColormap ppColormap)
                 throws java.io.IOException,
                        AutomationException
The colormap to be used.

Specified by:
setColormap in interface IMosaicRaster
Parameters:
ppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterCatalogTable

public IRasterCatalogTable getRasterCatalogTable()
                                          throws java.io.IOException,
                                                 AutomationException
The source raster catalog table.

Specified by:
getRasterCatalogTable in interface IMosaicRaster2
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterCatalogTable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterCatalogTableByRef

public void setRasterCatalogTableByRef(IRasterCatalogTable ppCatalogTable)
                                throws java.io.IOException,
                                       AutomationException
The source raster catalog table.

Specified by:
setRasterCatalogTableByRef in interface IMosaicRaster2
Parameters:
ppCatalogTable - A reference to a com.esri.arcgis.datasourcesraster.IRasterCatalogTable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

recalculateCellsize

public void recalculateCellsize(int type)
                         throws java.io.IOException,
                                AutomationException
Recalculates the cellsize as (min, max, or mean) of all cellsizes.

Specified by:
recalculateCellsize in interface IMosaicRaster2
Parameters:
type - A com.esri.arcgis.datasourcesraster.esriCellsizeType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterCount

public int getRasterCount()
                   throws java.io.IOException,
                          AutomationException
The number of rasters in this raster collection.

Specified by:
getRasterCount in interface IRasterCollection
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   IRaster pRaster)
            throws java.io.IOException,
                   AutomationException
Inserts a raster at a given index.

Specified by:
insert in interface IRasterCollection
Parameters:
index - The index (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

append

public void append(IRaster pRaster)
            throws java.io.IOException,
                   AutomationException
Appends a raster to the end.

Specified by:
append in interface IRasterCollection
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes a raster at a given index.

Specified by:
remove in interface IRasterCollection
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public int find(IRaster pRaster)
         throws java.io.IOException,
                AutomationException
Finds a given raster and returns its index position.

Specified by:
find in interface IRasterCollection
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

get

public IRaster get(int index)
            throws java.io.IOException,
                   AutomationException
Gets the raster at a given index position.

Specified by:
get in interface IRasterCollection
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

set

public void set(int index,
                IRaster pRaster)
         throws java.io.IOException,
                AutomationException
Sets the raster at a given index position.

Specified by:
set in interface IRasterCollection
Parameters:
index - The index (in)
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

empty

public void empty()
           throws java.io.IOException,
                  AutomationException
Empties this raster collection.

Specified by:
empty in interface IRasterCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

populate

public void populate(IEnvelope pExtent)
              throws java.io.IOException,
                     AutomationException
Populates this raster collection from associated RasterCatalog.

Specified by:
populate in interface IRasterCollection
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

read

public void read(IPnt tlc,
                 IPixelBlock block)
          throws java.io.IOException,
                 AutomationException
Read a block of pixels starting from the top left corner.

Specified by:
read in interface IRaster
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
block - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPixelBlock

public IPixelBlock createPixelBlock(IPnt size)
                             throws java.io.IOException,
                                    AutomationException
Allocates a PixelBlock of requested size.

Specified by:
createPixelBlock in interface IRaster
Parameters:
size - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IPixelBlock
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createCursor

public IRasterCursor createCursor()
                           throws java.io.IOException,
                                  AutomationException
Allocates a Raster Cursor for fast raster scanning.

Specified by:
createCursor in interface IRaster
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResampleMethod

public int getResampleMethod()
                      throws java.io.IOException,
                             AutomationException
Interpolation method used when reading pixels.

Specified by:
getResampleMethod in interface IRaster
Returns:
A com.esri.arcgis.geodatabase.rstResamplingTypes constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResampleMethod

public void setResampleMethod(int val)
                       throws java.io.IOException,
                              AutomationException
Interpolation method used when reading pixels.

Specified by:
setResampleMethod in interface IRaster
Parameters:
val - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
Width in pixels.

Specified by:
getWidth in interface IRasterProps
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWidth

public void setWidth(int pVal)
              throws java.io.IOException,
                     AutomationException
Width in pixels.

Specified by:
setWidth in interface IRasterProps
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
Height in pixels.

Specified by:
getHeight in interface IRasterProps
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeight

public void setHeight(int pVal)
               throws java.io.IOException,
                      AutomationException
Height in pixels.

Specified by:
setHeight in interface IRasterProps
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelType

public int getPixelType()
                 throws java.io.IOException,
                        AutomationException
Data type of the pixels.

Specified by:
getPixelType in interface IRasterProps
Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelType

public void setPixelType(int pVal)
                  throws java.io.IOException,
                         AutomationException
Data type of the pixels.

Specified by:
setPixelType in interface IRasterProps
Parameters:
pVal - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoDataValue

public java.lang.Object getNoDataValue()
                                throws java.io.IOException,
                                       AutomationException
Data value used to indicate invalid or excluded data.

Specified by:
getNoDataValue in interface IRasterProps
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoDataValue

public void setNoDataValue(java.lang.Object pVal)
                    throws java.io.IOException,
                           AutomationException
Data value used to indicate invalid or excluded data.

Specified by:
setNoDataValue in interface IRasterProps
Parameters:
pVal - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

meanCellSize

public IPnt meanCellSize()
                  throws java.io.IOException,
                         AutomationException
Returns the approximate cell size of the raster.

Specified by:
meanCellSize in interface IRasterProps
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInteger

public boolean isInteger()
                  throws java.io.IOException,
                         AutomationException
Indicates if the data is integer.

Specified by:
isInteger in interface IRasterProps
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
SpatialReference of the Raster.

Specified by:
getSpatialReference in interface IRasterProps
Specified by:
getSpatialReference in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReference

public void setSpatialReference(ISpatialReference ppSpref)
                         throws java.io.IOException,
                                AutomationException
SpatialReference of the Raster.

Specified by:
setSpatialReference in interface IRasterProps
Parameters:
ppSpref - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the Raster.

Specified by:
getExtent in interface IRasterProps
Specified by:
getExtent in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope ppExtent)
               throws java.io.IOException,
                      AutomationException
The extent of the Raster.

Specified by:
setExtent in interface IRasterProps
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAs

public IDataset saveAs(java.lang.String name,
                       IWorkspace workspace,
                       java.lang.String format)
                throws java.io.IOException,
                       AutomationException
Creates a new persistent Dataset of a given format.

Specified by:
saveAs in interface ISaveAs
Parameters:
name - The name (in)
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
format - The format (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canSaveAs

public boolean canSaveAs(java.lang.String format)
                  throws java.io.IOException,
                         AutomationException
Checks if it's can be saved as a new persistent Dataset of a given format.

Specified by:
canSaveAs in interface ISaveAs
Parameters:
format - The format (in)
Returns:
The canSaveAs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAsRasterDataset

public IRasterDataset saveAsRasterDataset(java.lang.String name,
                                          IWorkspace workspace,
                                          java.lang.String format,
                                          IRasterStorageDef storageDef)
                                   throws java.io.IOException,
                                          AutomationException
Creates a new persistent Raster Dataset of a given format and specified storage definition.

Specified by:
saveAsRasterDataset in interface ISaveAs2
Parameters:
name - 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)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelFilter

public IPixelFilter getPixelFilter()
                            throws java.io.IOException,
                                   AutomationException
The pixel filter for filtering pixel values.

Specified by:
getPixelFilter in interface IPixelOperation
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelFilterByRef

public void setPixelFilterByRef(IPixelFilter ppFilter)
                         throws java.io.IOException,
                                AutomationException
The pixel filter for filtering pixel values.

Specified by:
setPixelFilterByRef in interface IPixelOperation
Parameters:
ppFilter - A reference to a com.esri.arcgis.datasourcesraster.IPixelFilter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.