public class PixelBlockCursor extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPixelBlockCursor
Description 'A PixelBlock cursor class.' 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, IID54dfc56a_bc14_46ac_a815_07dea8cb9cfb, xxDummy
Constructor and Description |
---|
PixelBlockCursor()
Constructs a PixelBlockCursor using ArcGIS Engine.
|
PixelBlockCursor(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
PixelBlockCursor thePixelBlockCursor = (PixelBlockCursor) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getBlockSize(int[] pBlockSizeX,
int[] pBlockSizeY)
Gets the cursor block size.
|
static java.lang.String |
getClsid()
getClsid.
|
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 |
hashCode()
the hashcode for this object
|
void |
initByRaster(IRaster pRaster)
Initializes the cursor by the raster interface.
|
void |
initByRawPixels(IRawPixels pRowPixels,
int blockSizeX,
int blockSizeY)
Initializes the cursor by the raw pixel interface.
|
IPixelBlock |
nextBlock(int[] pLeft,
int[] pTop,
int[] pSizeX,
int[] pSizeY)
Obtains the next pixel block from the cursor.
|
void |
release()
Release this COM object reference
|
void |
setScanMode(int rhs1)
The cursor scan mode: Line = 0, LineSerpent = 1, Serpent2 = 3, alaGIF = 4.
|
void |
updateBlockSize(int blockSizeX,
int blockSizeY)
Updates the cursor block size.
|
public PixelBlockCursor() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic PixelBlockCursor(java.lang.Object obj) throws java.io.IOException
PixelBlockCursor thePixelBlockCursor = (PixelBlockCursor) obj;
obj
to PixelBlockCursor
.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.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 initByRawPixels(IRawPixels pRowPixels, int blockSizeX, int blockSizeY) throws java.io.IOException, AutomationException
initByRawPixels
in interface IPixelBlockCursor
pRowPixels
- A reference to a com.esri.arcgis.datasourcesraster.IRawPixels (in)blockSizeX
- The blockSizeX (in)blockSizeY
- The blockSizeY (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void initByRaster(IRaster pRaster) throws java.io.IOException, AutomationException
initByRaster
in interface IPixelBlockCursor
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 updateBlockSize(int blockSizeX, int blockSizeY) throws java.io.IOException, AutomationException
updateBlockSize
in interface IPixelBlockCursor
blockSizeX
- The blockSizeX (in)blockSizeY
- The blockSizeY (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getBlockSize(int[] pBlockSizeX, int[] pBlockSizeY) throws java.io.IOException, AutomationException
getBlockSize
in interface IPixelBlockCursor
pBlockSizeX
- The pBlockSizeX (in/out: use single element array)pBlockSizeY
- The pBlockSizeY (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setScanMode(int rhs1) throws java.io.IOException, AutomationException
setScanMode
in interface IPixelBlockCursor
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPixelBlock nextBlock(int[] pLeft, int[] pTop, int[] pSizeX, int[] pSizeY) throws java.io.IOException, AutomationException
nextBlock
in interface IPixelBlockCursor
pLeft
- The pLeft (in/out: use single element array)pTop
- The pTop (in/out: use single element array)pSizeX
- The pSizeX (in/out: use single element array)pSizeY
- The pSizeY (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.