|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITerrainBlobReader
Provides access to members that provide information about an attribute blob.
ITerrainBlobReader provides methods to access terrain related attributes (e.g., lidar intensity) packed into binary large objects (BLOBs). The BLOBs are used as a means of storing per vertex attribution for points clustered into multipoint shapes.
Method Summary | |
---|---|
int |
getDataType()
Returns the data type of the blob. |
int |
getItemCount()
Returns the number of attribute values contained in the blob. |
Object |
getValue(int index)
Returns the value of the attribute specified by the index. |
boolean |
isKnownBlob(IMemoryBlobStream pBlob)
Indicates if Terrain can recognize the blob. |
void |
setBlob(IMemoryBlobStream pBlob)
Assigns a blob to the reader. |
void |
setEmpty()
Uninitialize the object. |
Method Detail |
---|
void setEmpty() throws IOException, AutomationException
SetEmpty allows developers to release resources (e.g., memory and other objects) held by the reader at any time, rather than having to wait until the reader goes out of its scope.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isKnownBlob(IMemoryBlobStream pBlob) throws IOException, AutomationException
IsKnownBlob returns TRUE if the BLOB is recognized as a supported type as created by the TerrainLasDataImporter or the TerrainBlobWriter.
pBlob
- A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBlob(IMemoryBlobStream pBlob) throws IOException, AutomationException
SetBlob is used to assign a reference for a compatible BLOB to the TerrainBlobReader for interpretation.
Notes
- The BLOB referenced must be a compatible type. These include BLOBs made by the TerrainBlobWriter and the TerrainLasDataImporter.
- If you're unsure of compatibility you can test it using ITerrainBlobReader.IsKnownBlob.
pBlob
- A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDataType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getItemCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getValue(int index) throws IOException, AutomationException
GetValue returns the nth value in the BLOB. The index value that's passed, in the context of reading attributes for terrain points, is the point ID which should be stored for each vertex of the multipoint which is paired with the BLOB being read.
index
- The index (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 |