| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.SimplePixelReader
public class SimplePixelReader
A simple pixel resampler class.
The SimplePixelReader object is used to provide input pixels for RasterXformer. The SimplePixelReader can get pixels from a Raster or a call back function implemented by the developer using IRawPixelReader interface.
| Constructor Summary | |
|---|---|
SimplePixelReader()
Constructs a SimplePixelReader using ArcGIS Engine.  | 
|
SimplePixelReader(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  SimplePixelReader theSimplePixelReader = (SimplePixelReader) obj; | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object o)
Compare this object with another  | 
 int | 
getBandCount()
The number of source bands.  | 
 IPnt | 
getCellSize()
The source original cell size.  | 
static String | 
getClsid()
getClsid.  | 
 IEnvelope | 
getExtent()
The source full extent.  | 
 int | 
getFirstPyramidLevel()
The first available source pyramid level.  | 
 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 | 
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.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef | 
|---|
getJintegraDispatch, release | 
| Constructor Detail | 
|---|
public SimplePixelReader()
                  throws IOException,
                         UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public SimplePixelReader(Object obj)
                  throws IOException
 SimplePixelReader theSimplePixelReader = (SimplePixelReader) obj;
obj to SimplePixelReader.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getPixelType()
                 throws IOException,
                        AutomationException
getPixelType in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBandCount()
                 throws IOException,
                        AutomationException
getBandCount in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
                    throws IOException,
                           AutomationException
getExtent in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPnt getCellSize()
                 throws IOException,
                        AutomationException
getCellSize in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaximumPyramidLevel()
                           throws IOException,
                                  AutomationException
getMaximumPyramidLevel in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFirstPyramidLevel()
                         throws IOException,
                                AutomationException
getFirstPyramidLevel in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPyramidLevel()
                    throws IOException,
                           AutomationException
getPyramidLevel in interface IPixelReaderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPyramidLevel(int pLevel)
                     throws IOException,
                            AutomationException
setPyramidLevel in interface IPixelReaderpLevel - The pLevel  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void read(IPnt tlc,
                 IPixelBlock pPixelBlock)
          throws 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int snap(double dx,
                double dy)
         throws IOException,
                AutomationException
snap in interface IPixelReaderdx - The dx  (in)dy - The dy  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getResolution(int level,
                          double[] pXResolution,
                          double[] pYResolution)
                   throws 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelType(int rhs1)
                  throws IOException,
                         AutomationException
setPixelType in interface ISimplePixelReaderrhs1 - A com.esri.arcgis.geodatabase.rstPixelType constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBandCount(int rhs1)
                  throws IOException,
                         AutomationException
setBandCount in interface ISimplePixelReaderrhs1 - The rhs1  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(IEnvelope rhs1)
               throws IOException,
                      AutomationException
setExtent in interface ISimplePixelReaderrhs1 - A reference to a com.esri.arcgis.geometry.IEnvelope  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCellSize(IPnt rhs1)
                 throws IOException,
                        AutomationException
setCellSize in interface ISimplePixelReaderrhs1 - A reference to a com.esri.arcgis.geodatabase.IPnt  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumPyramidLevel(int rhs1)
                            throws IOException,
                                   AutomationException
setMaximumPyramidLevel in interface ISimplePixelReaderrhs1 - The rhs1  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFirstPyramidLevel(int rhs1)
                          throws IOException,
                                 AutomationException
setFirstPyramidLevel in interface ISimplePixelReaderrhs1 - The rhs1  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRawPixelReaderByRef(IRawPixelReader rhs1)
                            throws IOException,
                                   AutomationException
setRawPixelReaderByRef in interface ISimplePixelReaderrhs1 - A reference to a com.esri.arcgis.datasourcesraster.IRawPixelReader  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterByRef(IRaster rhs1)
                    throws IOException,
                           AutomationException
setRasterByRef in interface ISimplePixelReaderrhs1 - A reference to a com.esri.arcgis.geodatabase.IRaster  (in)
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 | ||||||||