com.esri.arcgis.carto
Interface IRasterSpatialSelection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IRasterSpatialSelectionProxy, RasterLayer

public interface IRasterSpatialSelection
extends java.io.Serializable

COM Interface 'IRasterSpatialSelection'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the behavior of the spatial selection.' 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 IID9466d4e6_937d_40c6_8709_56eb94c3c9b5
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void drawSpatialSelection(IDisplay pDisplay, ITrackCancel pTrackCancel)
          Draws the current spatial selection.
 IRasterDataset getMaskRasterDataset()
          Reference to the current selection dataset.
 void init(boolean bInit, java.lang.String fileFullName, int fileFormat)
          Create or remove the selection dataset.
 void maskDrawPolyRect(ITrackCancel trackCancel, java.lang.Object vRects, int op)
          Perform the mask operation with the given array of rectangles.
 void maskReadBitmap(ITrackCancel trackCancel, tagRECT pRect, java.lang.Object vBytes, boolean byBits)
          Read pixels from selection.
 void maskWriteBitmap(ITrackCancel trackCancel, tagRECT pRect, int op, java.lang.Object vBytes, boolean byBits)
          Perform the mask operation with bitmask.
 void setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset)
          Reference to the current selection dataset.
 

Field Detail

IID9466d4e6_937d_40c6_8709_56eb94c3c9b5

static final int IID9466d4e6_937d_40c6_8709_56eb94c3c9b5
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

init

void init(boolean bInit,
          java.lang.String fileFullName,
          int fileFormat)
          throws java.io.IOException,
                 AutomationException
Create or remove the selection dataset.

Parameters:
bInit - The bInit (in)
fileFullName - The fileFullName (in, optional, pass 0 if not required)
fileFormat - A com.esri.arcgis.carto.esriRasterSelectionMaskFileFormat constant (in, optional, pass 1 if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawSpatialSelection

void drawSpatialSelection(IDisplay pDisplay,
                          ITrackCancel pTrackCancel)
                          throws java.io.IOException,
                                 AutomationException
Draws the current spatial selection.

Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaskRasterDataset

IRasterDataset getMaskRasterDataset()
                                    throws java.io.IOException,
                                           AutomationException
Reference to the current selection dataset.

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

setMaskRasterDatasetByRef

void setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset)
                               throws java.io.IOException,
                                      AutomationException
Reference to the current selection dataset.

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

maskWriteBitmap

void maskWriteBitmap(ITrackCancel trackCancel,
                     tagRECT pRect,
                     int op,
                     java.lang.Object vBytes,
                     boolean byBits)
                     throws java.io.IOException,
                            AutomationException
Perform the mask operation with bitmask.

Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pRect - A Structure: com.esri.arcgis.system.tagRECT (in)
op - A com.esri.arcgis.carto.esriRasterSelectionMaskOp constant (in)
vBytes - A Variant (in)
byBits - The byBits (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

maskReadBitmap

void maskReadBitmap(ITrackCancel trackCancel,
                    tagRECT pRect,
                    java.lang.Object vBytes,
                    boolean byBits)
                    throws java.io.IOException,
                           AutomationException
Read pixels from selection.

Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pRect - A Structure: com.esri.arcgis.system.tagRECT (in)
vBytes - A Variant (in)
byBits - The byBits (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

maskDrawPolyRect

void maskDrawPolyRect(ITrackCancel trackCancel,
                      java.lang.Object vRects,
                      int op)
                      throws java.io.IOException,
                             AutomationException
Perform the mask operation with the given array of rectangles.

Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
vRects - A Variant (in)
op - A com.esri.arcgis.carto.esriRasterSelectionMaskOp constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.