|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseextensions.TerrainBlobReader
public class TerrainBlobReader
ESRI Terrain blob reader.
TerrainBlobReader is an object used to access terrain/LIDAR related attributes packed into binary large objects (BLOBs). These BLOBs are created by the TerrainLasDataImporter, TerrainAsciiDataImporter, or the TerrainBlobWriter as a means of storing per vertex attribution for points clustered into multipoint shapes.
Constructor Summary | |
---|---|
TerrainBlobReader()
Constructs a TerrainBlobReader using ArcGIS Engine. |
|
TerrainBlobReader(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TerrainBlobReader theTerrainBlobReader = (TerrainBlobReader) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
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. |
int |
hashCode()
the hashcode for this object |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TerrainBlobReader() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TerrainBlobReader(Object obj) throws IOException
TerrainBlobReader theTerrainBlobReader = (TerrainBlobReader) obj;
obj
to TerrainBlobReader
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public 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.
setEmpty
in interface ITerrainBlobReader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
isKnownBlob
in interface ITerrainBlobReader
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.public 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.
setBlob
in interface ITerrainBlobReader
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.public int getDataType() throws IOException, AutomationException
getDataType
in interface ITerrainBlobReader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getItemCount() throws IOException, AutomationException
getItemCount
in interface ITerrainBlobReader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getValue
in interface ITerrainBlobReader
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 |