com.esri.arcgis.geodatabaseextensions
Interface ITerrainBlobReader

All Superinterfaces:
Serializable
All Known Implementing Classes:
TerrainBlobReader

public interface ITerrainBlobReader
extends Serializable

Provides access to members that provide information about an attribute blob.

Description

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getDataType()
          getDataType
 int getItemCount()
          getItemCount
 Object getValue(int index)
          getValue
 boolean isKnownBlob(IMemoryBlobStream pBlob)
          isKnownBlob
 void setBlob(IMemoryBlobStream pBlob)
          setBlob
 void setEmpty()
          setEmpty
 

Method Detail

setEmpty

void setEmpty()
              throws IOException,
                     AutomationException
setEmpty

Description

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isKnownBlob

boolean isKnownBlob(IMemoryBlobStream pBlob)
                    throws IOException,
                           AutomationException
isKnownBlob

Description

IsKnownBlob returns TRUE if the BLOB is recognized as a supported type as created by the TerrainLasDataImporter or the TerrainBlobWriter.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pBlob - A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
Returns:
The pbIsKnown
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlob

void setBlob(IMemoryBlobStream pBlob)
             throws IOException,
                    AutomationException
setBlob

Description

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pBlob - A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataType

int getDataType()
                throws IOException,
                       AutomationException
getDataType

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainBlobDataType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemCount

int getItemCount()
                 throws IOException,
                        AutomationException
getItemCount

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getValue

Object getValue(int index)
                throws IOException,
                       AutomationException
getValue

Description

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.