public class PixelBlock extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPixelBlock, IPixelBlock2, IPixelBlock3, IPixelBlock4, IPersist, IPersistStream, java.io.Externalizable
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 =
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
IID, IID169bafe0_40f6_11d2_9cfa_00a0249480f0, xxDummyIID, IID22dded84_d0a6_448e_95be_284503ac9cac, xxDummyIID, IID0ed55c8f_1ec2_4b40_a5d9_f3da548f1f40, xxDummyIID, IID7007286c_be43_4c88_8db6_b6ee88bad01b, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getHeight()
The height of the PixelBlock 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.
|
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.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
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 |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
void |
mask(java.lang.Object noData)
Generates NoData Mask using a given NoData value.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
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.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public PixelBlock()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.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 Serverjava.io.IOException - if there are interop problems
PixelBlock thePixelBlock = (PixelBlock) obj;public 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 int getPlanes()
throws java.io.IOException,
AutomationException
getPlanes in interface IPixelBlock2getPlanes in interface IPixelBlock3getPlanes in interface IPixelBlockjava.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 IPixelBlock2getWidth in interface IPixelBlock3getWidth in interface IPixelBlockjava.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 IPixelBlock2getHeight in interface IPixelBlock3getHeight in interface IPixelBlockjava.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 IPixelBlock2getPixelType in interface IPixelBlock3getPixelType in interface IPixelBlockplane - 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 IPixelBlock2setPixelType in interface IPixelBlock3setPixelType in interface IPixelBlockplane - 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 IPixelBlock2getBytesPerPixel in interface IPixelBlock3getBytesPerPixel in interface IPixelBlockjava.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 IPixelBlockplane - 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 IPixelBlockplane - 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 IPixelBlock2getVal in interface IPixelBlock3getVal in interface IPixelBlockplane - 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 IPixelBlock2plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3plane - 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 IPixelBlock3noData - 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 IPixelBlock4planes - 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 IPixelBlock4pBlock - 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 IPixelBlock4java.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 IPixelBlock4java.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 IPixelBlock4java.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 IPixelBlock4java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException