public class SimplePixelReader extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPixelReader, ISimplePixelReader
Description 'A simple pixel resampler 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, IID6d4be802_e5d0_4dad_b022_b58366952794, xxDummyIID8a3b7c7c_4ace_4628_8c24_f67834fa2577| Constructor and Description |
|---|
SimplePixelReader()
Constructs a SimplePixelReader using ArcGIS Engine.
|
SimplePixelReader(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
SimplePixelReader theSimplePixelReader = (SimplePixelReader) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
getBandCount()
The number of source bands.
|
IPnt |
getCellSize()
The source original cell size.
|
static java.lang.String |
getClsid()
getClsid.
|
IEnvelope |
getExtent()
The source full extent.
|
int |
getFirstPyramidLevel()
The first available source pyramid level.
|
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 |
getMaximumPyramidLevel()
The maximum available source pyramid level.
|
int |
getPixelType()
The source pixel type.
|
int |
getPyramidLevel()
The current source pyramid level.
|
void |
getResolution(int level,
double[] pXResolution,
double[] pYResolution)
Gets X and Y resolution (cellsize) at a given level.
|
int |
hashCode()
the hashcode for this object
|
void |
read(IPnt tlc,
IPixelBlock pPixelBlock)
Reads a pixel block.
|
void |
release()
Release this COM object reference
|
void |
setBandCount(int rhs1)
The number of source bands.
|
void |
setCellSize(IPnt rhs1)
The source original cell size.
|
void |
setExtent(IEnvelope rhs1)
The source full extent.
|
void |
setFirstPyramidLevel(int rhs1)
The first available source pyramid level.
|
void |
setMaximumPyramidLevel(int rhs1)
The maximum available source pyramid level.
|
void |
setPixelType(int rhs1)
The source pixel type.
|
void |
setPyramidLevel(int pLevel)
The current source pyramid level.
|
void |
setRasterByRef(IRaster rhs1)
The source raster providing pixels.
|
void |
setRawPixelReaderByRef(IRawPixelReader rhs1)
The raw pixel reader callback.
|
int |
snap(double dx,
double dy)
Snaps a given cellsize to a proper pyramid level.
|
public SimplePixelReader()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic SimplePixelReader(java.lang.Object obj)
throws java.io.IOException
SimplePixelReader theSimplePixelReader = (SimplePixelReader) obj;obj to SimplePixelReader.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.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 getPixelType()
throws java.io.IOException,
AutomationException
getPixelType in interface IPixelReaderjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getBandCount()
throws java.io.IOException,
AutomationException
getBandCount in interface IPixelReaderjava.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 IPixelReaderjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPnt getCellSize() throws java.io.IOException, AutomationException
getCellSize in interface IPixelReaderjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMaximumPyramidLevel()
throws java.io.IOException,
AutomationException
getMaximumPyramidLevel in interface IPixelReaderjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getFirstPyramidLevel()
throws java.io.IOException,
AutomationException
getFirstPyramidLevel in interface IPixelReaderjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getPyramidLevel()
throws java.io.IOException,
AutomationException
getPyramidLevel in interface IPixelReaderjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPyramidLevel(int pLevel)
throws java.io.IOException,
AutomationException
setPyramidLevel in interface IPixelReaderpLevel - The pLevel (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void read(IPnt tlc, IPixelBlock pPixelBlock) throws java.io.IOException, AutomationException
read in interface IPixelReadertlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)pPixelBlock - 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 int snap(double dx,
double dy)
throws java.io.IOException,
AutomationException
snap in interface IPixelReaderdx - The dx (in)dy - The dy (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getResolution(int level,
double[] pXResolution,
double[] pYResolution)
throws java.io.IOException,
AutomationException
getResolution in interface IPixelReaderlevel - The level (in)pXResolution - The pXResolution (out: use single element array)pYResolution - The pYResolution (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPixelType(int rhs1)
throws java.io.IOException,
AutomationException
setPixelType in interface ISimplePixelReaderrhs1 - 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 setBandCount(int rhs1)
throws java.io.IOException,
AutomationException
setBandCount in interface ISimplePixelReaderrhs1 - The rhs1 (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setExtent(IEnvelope rhs1) throws java.io.IOException, AutomationException
setExtent in interface ISimplePixelReaderrhs1 - 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 void setCellSize(IPnt rhs1) throws java.io.IOException, AutomationException
setCellSize in interface ISimplePixelReaderrhs1 - 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 void setMaximumPyramidLevel(int rhs1)
throws java.io.IOException,
AutomationException
setMaximumPyramidLevel in interface ISimplePixelReaderrhs1 - The rhs1 (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFirstPyramidLevel(int rhs1)
throws java.io.IOException,
AutomationException
setFirstPyramidLevel in interface ISimplePixelReaderrhs1 - The rhs1 (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRawPixelReaderByRef(IRawPixelReader rhs1) throws java.io.IOException, AutomationException
setRawPixelReaderByRef in interface ISimplePixelReaderrhs1 - A reference to a com.esri.arcgis.datasourcesraster.IRawPixelReader (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRasterByRef(IRaster rhs1) throws java.io.IOException, AutomationException
setRasterByRef in interface ISimplePixelReaderrhs1 - 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.