|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterSpatialSelection
Provides access to members that control the behavior of the spatial selection.
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,
String fileFullName,
int fileFormat)
Create or remove the selection dataset. |
void |
maskDrawPolyRect(ITrackCancel trackCancel,
Object vRects,
int op)
Perform the mask operation with the given array of rectangles. |
void |
maskReadBitmap(ITrackCancel trackCancel,
tagRECT pRect,
Object vBytes,
boolean byBits)
Read pixels from selection. |
void |
maskWriteBitmap(ITrackCancel trackCancel,
tagRECT pRect,
int op,
Object vBytes,
boolean byBits)
Perform the mask operation with bitmask. |
void |
setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset)
Reference to the current selection dataset. |
Method Detail |
---|
void init(boolean bInit, String fileFullName, int fileFormat) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawSpatialSelection(IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterDataset getMaskRasterDataset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset) throws IOException, AutomationException
ppRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void maskWriteBitmap(ITrackCancel trackCancel, tagRECT pRect, int op, Object vBytes, boolean byBits) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void maskReadBitmap(ITrackCancel trackCancel, tagRECT pRect, Object vBytes, boolean byBits) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void maskDrawPolyRect(ITrackCancel trackCancel, Object vRects, int op) throws IOException, AutomationException
trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)vRects
- A Variant (in)op
- A com.esri.arcgis.carto.esriRasterSelectionMaskOp constant (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 |