|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.datasourcesraster.PixelBlock
public class PixelBlock
COM Class 'PixelBlock'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'
Description 'Esri PixelBlock, a container of pixel data.' 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.IPixelBlock |
---|
IID, IID169bafe0_40f6_11d2_9cfa_00a0249480f0, xxDummy |
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelBlock2 |
---|
IID, IID22dded84_d0a6_448e_95be_284503ac9cac, xxDummy |
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelBlock3 |
---|
IID, IID0ed55c8f_1ec2_4b40_a5d9_f3da548f1f40, xxDummy |
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelBlock4 |
---|
IID, IID7007286c_be43_4c88_8db6_b6ee88bad01b, xxDummy |
Constructor Summary | |
---|---|
PixelBlock()
Constructs a PixelBlock using ArcGIS Engine. |
|
PixelBlock(java.lang.Object obj)
Construct a PixelBlock using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
clear()
Clears the pixel block. |
void |
clear(int plane)
Clears a given plane (sets to NoData). |
void |
create(int planes,
int nCols,
int nRows,
int pixelType)
Initializes the pixel block. |
void |
createFromPixelBlock(IPixelBlock pBlock,
java.lang.Object noData)
Initializes the pixel block using another pixel block. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
byte[] |
exportToBytes()
Exports to a byte array. |
int |
getBytesPerPixel()
The number of bytes per pixel for the PixelBlock. |
static java.lang.String |
getClsid()
getClsid. |
int |
getHeight()
The height of the PixelBlock in pixels. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.Object |
getNoDataMask(int plane)
The NoData mask for a specified plane. |
java.lang.Object |
getNoDataMaskByRef(int plane)
The NoData mask for a specified plane. |
java.lang.Object |
getNoDataMaskVal(int plane,
int x,
int y)
Gets the NoData mask value for a specified pixel. |
java.lang.Object |
getPixelData(int plane)
An array of pixels for a specified plane. |
java.lang.Object |
getPixelDataByRef(int plane)
A pointer to an array of pixels for a specified plane. |
int |
getPixelType(int plane)
The pixel type of the PixelBlock. |
int |
getPlanes()
The number of pixel arrays contained in the PixelBlock. |
java.lang.Object |
getSafeArray(int plane)
A variant SafeArray of pixels for a specified plane. |
java.lang.Object |
getSafeArrayByRef(int plane)
A variant SafeArray of pixels for a specified plane. |
java.lang.Object |
getVal(int plane,
int x,
int y)
The value for a specified pixel. |
int |
getWidth()
The width of the PixelBlock in pixels. |
boolean |
hasData()
Checks if a PixelBlock contains any data pixels. |
int |
hashCode()
the hashcode for this object |
boolean |
hasNoData()
Checks if a PixelBlock contains NoData. |
boolean |
hasNoData(int plane)
Checks if this PixelBlock contains NoData. |
void |
mask(java.lang.Object noData)
Generates NoData Mask using a given NoData value. |
void |
release()
Release a PixelBlock. |
void |
setNoDataMask(int plane,
java.lang.Object pVal)
The NoData mask for a specified plane. |
void |
setPixelData(int plane,
java.lang.Object pVal)
An array of pixels for a specified plane. |
void |
setPixelType(int plane,
int val)
The pixel type of the PixelBlock. |
void |
setSafeArray(int plane,
java.lang.Object val)
A variant SafeArray of pixels for a specified plane. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PixelBlock() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic PixelBlock(java.lang.Object obj) throws java.io.IOException
obj
to PixelBlock
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
PixelBlock thePixelBlock = (PixelBlock) obj;
Method 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 int getPlanes() throws java.io.IOException, AutomationException
getPlanes
in interface IPixelBlock2
getPlanes
in interface IPixelBlock3
getPlanes
in interface IPixelBlock
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 IPixelBlock2
getWidth
in interface IPixelBlock3
getWidth
in interface IPixelBlock
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 IPixelBlock2
getHeight
in interface IPixelBlock3
getHeight
in interface IPixelBlock
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPixelType(int plane) throws java.io.IOException, AutomationException
getPixelType
in interface IPixelBlock2
getPixelType
in interface IPixelBlock3
getPixelType
in interface IPixelBlock
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPixelType(int plane, int val) throws java.io.IOException, AutomationException
setPixelType
in interface IPixelBlock2
setPixelType
in interface IPixelBlock3
setPixelType
in interface IPixelBlock
plane
- The plane (in)val
- 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 int getBytesPerPixel() throws java.io.IOException, AutomationException
getBytesPerPixel
in interface IPixelBlock2
getBytesPerPixel
in interface IPixelBlock3
getBytesPerPixel
in interface IPixelBlock
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getSafeArray(int plane) throws java.io.IOException, AutomationException
getSafeArray
in interface IPixelBlock
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSafeArray(int plane, java.lang.Object val) throws java.io.IOException, AutomationException
setSafeArray
in interface IPixelBlock
plane
- The plane (in)val
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getVal(int plane, int x, int y) throws java.io.IOException, AutomationException
getVal
in interface IPixelBlock2
getVal
in interface IPixelBlock3
getVal
in interface IPixelBlock
plane
- The plane (in)x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getSafeArrayByRef(int plane) throws java.io.IOException, AutomationException
getSafeArrayByRef
in interface IPixelBlock2
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getPixelData(int plane) throws java.io.IOException, AutomationException
getPixelData
in interface IPixelBlock3
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPixelData(int plane, java.lang.Object pVal) throws java.io.IOException, AutomationException
setPixelData
in interface IPixelBlock3
plane
- The plane (in)pVal
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getPixelDataByRef(int plane) throws java.io.IOException, AutomationException
getPixelDataByRef
in interface IPixelBlock3
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNoDataMask(int plane, java.lang.Object pVal) throws java.io.IOException, AutomationException
setNoDataMask
in interface IPixelBlock3
plane
- The plane (in)pVal
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getNoDataMask(int plane) throws java.io.IOException, AutomationException
getNoDataMask
in interface IPixelBlock3
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getNoDataMaskByRef(int plane) throws java.io.IOException, AutomationException
getNoDataMaskByRef
in interface IPixelBlock3
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getNoDataMaskVal(int plane, int x, int y) throws java.io.IOException, AutomationException
getNoDataMaskVal
in interface IPixelBlock3
plane
- The plane (in)x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasNoData(int plane) throws java.io.IOException, AutomationException
hasNoData
in interface IPixelBlock3
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear(int plane) throws java.io.IOException, AutomationException
clear
in interface IPixelBlock3
plane
- The plane (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void mask(java.lang.Object noData) throws java.io.IOException, AutomationException
mask
in interface IPixelBlock3
noData
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void create(int planes, int nCols, int nRows, int pixelType) throws java.io.IOException, AutomationException
create
in interface IPixelBlock4
planes
- The planes (in)nCols
- The nCols (in)nRows
- The nRows (in)pixelType
- 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 void createFromPixelBlock(IPixelBlock pBlock, java.lang.Object noData) throws java.io.IOException, AutomationException
createFromPixelBlock
in interface IPixelBlock4
pBlock
- A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)noData
- A Variant (in)
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 IPixelBlock4
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] exportToBytes() throws java.io.IOException, AutomationException
exportToBytes
in interface IPixelBlock4
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasNoData() throws java.io.IOException, AutomationException
hasNoData
in interface IPixelBlock4
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasData() throws java.io.IOException, AutomationException
hasData
in interface IPixelBlock4
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 |