|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.RenderedRaster
public class RenderedRaster
COM Class 'RenderedRaster'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A raster that is rendered using a renderer.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geodatabase.IRaster |
---|
IID, IIDaeec7d31_1533_11d2_8d25_0000f8780535, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IRenderedRaster2 |
---|
IID, IID8c15bd4c_cecb_4af1_89a7_a25e3f89e840, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IRenderedRaster |
---|
IID7d93e3c6_86ff_48b8_88d5_345049233889 |
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterBandCollection |
---|
IID, IID7aca3d10_0629_11d2_8d24_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.IRasterResamplingControl |
---|
IID, IIDdfef659c_012d_41ae_965d_5e1ec4841add, xxDummy |
Constructor Summary | |
---|---|
RenderedRaster()
Constructs a RenderedRaster using ArcGIS Engine. |
|
RenderedRaster(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RenderedRaster theRenderedRaster = (RenderedRaster) obj; |
Method Summary | |
---|---|
void |
add(IRasterBand element,
int index)
Adds a RasterBand to the band collection. |
void |
appendBand(IRasterBand element)
Appends a RasterBand to the band collection. |
void |
appendBands(IRasterBandCollection bands)
Appends a collection of RasterBands to the band collection. |
boolean |
canSaveAs(java.lang.String format)
Checks if it's can be saved as a new persistent Dataset of a given format. |
void |
clear()
Removes all the elements in the collection. |
IRasterCursor |
createCursor()
Allocates a Raster Cursor for fast raster scanning. |
IPixelBlock |
createPixelBlock(IPnt size)
Allocates a PixelBlock of requested size. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IRasterBand |
getBandByName(java.lang.String name)
A RasterBand given its name. |
int |
getBandIndex(java.lang.String name)
The index of a RasterBand given its name. |
IEnumRasterBand |
getBands()
All the bands in the collection as an interface to the RasterBands enumerator object. |
static java.lang.String |
getClsid()
getClsid. |
int |
getCount()
The number of bands in the collection. |
IEnvelope |
getExtent()
The extent of the Raster. |
IName |
getFullName()
The full name. |
int |
getHeight()
Height in pixels. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
ILayer |
getLayer()
The source layer. |
java.lang.Object |
getNoDataValue()
Data value used to indicate invalid or excluded data. |
int |
getPixelType()
Data type of the pixels. |
IRaster |
getRaster()
The source raster. |
IRasterRenderer |
getRenderer()
The raster renderer. |
int |
getResampleMethod()
Interpolation method used when reading pixels. |
int |
getResamplingHint()
The raster resampling hint. |
ISpatialReference |
getSpatialReference()
SpatialReference of the Raster. |
int |
getWidth()
Width in pixels. |
int |
hashCode()
the hashcode for this object |
void |
init(java.lang.String layerFile)
Initializes using a layer file. |
boolean |
isForceRGB()
Indicates if RGB output is required (forced). |
boolean |
isInteger()
Indicates if the data is integer. |
boolean |
isRGB32()
Indicates if alpha channel is to be added. |
IRasterBand |
item(int bandIndex)
Returns a RasterBand given its index. |
IPnt |
meanCellSize()
Returns the approximate cell size of the raster. |
void |
read(IPnt tlc,
IPixelBlock block)
Read a block of pixels starting from the top left corner. |
void |
release()
Release a RenderedRaster. |
void |
remove(int index)
Removes an element from the collection. |
IDataset |
saveAs(java.lang.String new_name,
IWorkspace worksp,
java.lang.String format)
Creates a new persistent RasterDataset with the bands in the collection. |
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 |
setExtent(IEnvelope ppExtent)
The extent of the Raster. |
void |
setForceRGB(boolean pForceRGB)
Indicates if RGB output is required (forced). |
void |
setHeight(int pVal)
Height in pixels. |
void |
setNoDataValue(java.lang.Object pVal)
Data value used to indicate invalid or excluded data. |
void |
setPixelType(int pVal)
Data type of the pixels. |
void |
setRaster(IRaster ppRaster)
The source raster. |
void |
setRendererByRef(IRasterRenderer ppRenderer)
The raster renderer. |
void |
setResampleMethod(int val)
Interpolation method used when reading pixels. |
void |
setResamplingHint(int pHint)
The raster resampling hint. |
void |
setRGB32(boolean pRGB32)
Indicates if alpha channel is to be added. |
void |
setSpatialReference(ISpatialReference ppSpref)
SpatialReference of the Raster. |
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 |
---|
public RenderedRaster() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic RenderedRaster(java.lang.Object obj) throws java.io.IOException
RenderedRaster theRenderedRaster = (RenderedRaster) obj;
obj
to RenderedRaster
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void read(IPnt tlc, IPixelBlock block) throws java.io.IOException, AutomationException
read
in interface IRaster
tlc
- 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 IRaster
size
- 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 IRaster
java.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 IRaster
java.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 IRaster
val
- 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 void init(java.lang.String layerFile) throws java.io.IOException, AutomationException
init
in interface IRenderedRaster
layerFile
- The layerFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getFullName() throws java.io.IOException, AutomationException
getFullName
in interface IRenderedRaster
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isForceRGB() throws java.io.IOException, AutomationException
isForceRGB
in interface IRenderedRaster
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setForceRGB(boolean pForceRGB) throws java.io.IOException, AutomationException
setForceRGB
in interface IRenderedRaster
pForceRGB
- The pForceRGB (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer() throws java.io.IOException, AutomationException
getLayer
in interface IRenderedRaster
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRaster getRaster() throws java.io.IOException, AutomationException
getRaster
in interface IRenderedRaster2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRaster(IRaster ppRaster) throws java.io.IOException, AutomationException
setRaster
in interface IRenderedRaster2
ppRaster
- 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 IRasterRenderer getRenderer() throws java.io.IOException, AutomationException
getRenderer
in interface IRenderedRaster2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRendererByRef(IRasterRenderer ppRenderer) throws java.io.IOException, AutomationException
setRendererByRef
in interface IRenderedRaster2
ppRenderer
- A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRGB32() throws java.io.IOException, AutomationException
isRGB32
in interface IRenderedRaster2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRGB32(boolean pRGB32) throws java.io.IOException, AutomationException
setRGB32
in interface IRenderedRaster2
pRGB32
- The pRGB32 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IRasterBand element, int index) throws java.io.IOException, AutomationException
add
in interface IRasterBandCollection
element
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IRasterBandCollection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws java.io.IOException, AutomationException
clear
in interface IRasterBandCollection
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 IRasterBandCollection
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBandIndex(java.lang.String name) throws java.io.IOException, AutomationException
getBandIndex
in interface IRasterBandCollection
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterBand getBandByName(java.lang.String name) throws java.io.IOException, AutomationException
getBandByName
in interface IRasterBandCollection
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRasterBand getBands() throws java.io.IOException, AutomationException
getBands
in interface IRasterBandCollection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterBand item(int bandIndex) throws java.io.IOException, AutomationException
item
in interface IRasterBandCollection
bandIndex
- The bandIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataset saveAs(java.lang.String new_name, IWorkspace worksp, java.lang.String format) throws java.io.IOException, AutomationException
saveAs
in interface IRasterBandCollection
saveAs
in interface ISaveAs
new_name
- The new_name (in)worksp
- 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 void appendBand(IRasterBand element) throws java.io.IOException, AutomationException
appendBand
in interface IRasterBandCollection
element
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void appendBands(IRasterBandCollection bands) throws java.io.IOException, AutomationException
appendBands
in interface IRasterBandCollection
bands
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (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 IRasterProps
java.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 IRasterProps
pVal
- 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 IRasterProps
java.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 IRasterProps
pVal
- 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 IRasterProps
java.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 IRasterProps
pVal
- 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 IRasterProps
java.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 IRasterProps
pVal
- 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 IRasterProps
java.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 IRasterProps
java.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 IRasterProps
getSpatialReference
in interface IGeoDataset
java.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 IRasterProps
ppSpref
- 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 IRasterProps
getExtent
in interface IGeoDataset
java.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 IRasterProps
ppExtent
- 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 boolean canSaveAs(java.lang.String format) throws java.io.IOException, AutomationException
canSaveAs
in interface ISaveAs
format
- 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 ISaveAs2
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getResamplingHint() throws java.io.IOException, AutomationException
getResamplingHint
in interface IRasterResamplingControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResamplingHint(int pHint) throws java.io.IOException, AutomationException
setResamplingHint
in interface IRasterResamplingControl
pHint
- A com.esri.arcgis.geodatabase.esriRasterResamplingHint constant (in)
java.io.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 |