com.esri.arcgis.datasourcesraster
Interface IPixelReader

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IPixelReader2, ISimplePixelReader
All Known Implementing Classes:
IPixelReader2Proxy, IPixelReaderProxy, ISimplePixelReaderProxy, SimplePixelReader

public interface IPixelReader
extends java.io.Serializable

COM Interface 'IPixelReader'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that control a pixel reader.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IID8a3b7c7c_4ace_4628_8c24_f67834fa2577
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getBandCount()
          The number of source bands.
 IPnt getCellSize()
          The source original cell size.
 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.
 void read(IPnt tlc, IPixelBlock pPixelBlock)
          Reads a pixel block.
 void setPyramidLevel(int pLevel)
          The current source pyramid level.
 int snap(double dx, double dy)
          Snaps a given cellsize to a proper pyramid level.
 

Field Detail

IID8a3b7c7c_4ace_4628_8c24_f67834fa2577

static final int IID8a3b7c7c_4ace_4628_8c24_f67834fa2577
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPixelType

int getPixelType()
                 throws java.io.IOException,
                        AutomationException
The source pixel type.

Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandCount

int getBandCount()
                 throws java.io.IOException,
                        AutomationException
The number of source bands.

Returns:
The pBandCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The source full extent.

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

IPnt getCellSize()
                 throws java.io.IOException,
                        AutomationException
The source original cell size.

Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumPyramidLevel

int getMaximumPyramidLevel()
                           throws java.io.IOException,
                                  AutomationException
The maximum available source pyramid level.

Returns:
The pMaxLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFirstPyramidLevel

int getFirstPyramidLevel()
                         throws java.io.IOException,
                                AutomationException
The first available source pyramid level.

Returns:
The pFirstLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidLevel

int getPyramidLevel()
                    throws java.io.IOException,
                           AutomationException
The current source pyramid level.

Returns:
The pLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPyramidLevel

void setPyramidLevel(int pLevel)
                     throws java.io.IOException,
                            AutomationException
The current source pyramid level.

Parameters:
pLevel - The pLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

read

void read(IPnt tlc,
          IPixelBlock pPixelBlock)
          throws java.io.IOException,
                 AutomationException
Reads a pixel block.

Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snap

int snap(double dx,
         double dy)
         throws java.io.IOException,
                AutomationException
Snaps a given cellsize to a proper pyramid level.

Parameters:
dx - The dx (in)
dy - The dy (in)
Returns:
The pLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResolution

void getResolution(int level,
                   double[] pXResolution,
                   double[] pYResolution)
                   throws java.io.IOException,
                          AutomationException
Gets X and Y resolution (cellsize) at a given level.

Parameters:
level - The level (in)
pXResolution - The pXResolution (out: use single element array)
pYResolution - The pYResolution (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.