com.esri.arcgis.geodatabaseextensions
Class ITerrainEdit2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabaseextensions.ITerrainEditProxy
          extended by com.esri.arcgis.geodatabaseextensions.ITerrainEdit2Proxy
All Implemented Interfaces:
ITerrainEdit, ITerrainEdit2, Externalizable, Serializable

public class ITerrainEdit2Proxy
extends ITerrainEditProxy
implements ITerrainEdit2, Serializable

Provides access to members used to modify and build a terrain.

Description

This interface is new at ArcGIS 9.3. It supersedes ITerrainEdit.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  ITerrainEdit2Proxy()
           
  ITerrainEdit2Proxy(Object obj)
           
protected ITerrainEdit2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void updateExtent(ITrackCancel pTrackCancel)
          Refresh terrain's extent.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.geodatabaseextensions.ITerrainEditProxy
addDataSource, addDataSourceData, addPyramidLevel, build, changeMaxScale, changeResolutionBounds, deleteDataSourceData, removeDataSource, removePyramidLevel, replaceDataSourceData
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainEdit
addDataSource, addDataSourceData, addPyramidLevel, build, changeMaxScale, changeResolutionBounds, deleteDataSourceData, removeDataSource, removePyramidLevel, replaceDataSourceData
 

Constructor Detail

ITerrainEdit2Proxy

public ITerrainEdit2Proxy()

ITerrainEdit2Proxy

public ITerrainEdit2Proxy(Object obj)
                   throws IOException
Throws:
IOException

ITerrainEdit2Proxy

protected ITerrainEdit2Proxy(Object obj,
                             String iid)
                      throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class ITerrainEditProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ITerrainEditProxy
Throws:
IOException

updateExtent

public void updateExtent(ITrackCancel pTrackCancel)
                  throws IOException,
                         AutomationException
Refresh terrain's extent.

Description

UpdateExtent is used to recalculate the data extent for a windowsize based terrain dataset when the data area has been reduced through editing. It's not needed if the terrain is z-tolerance based. Nor is it needed if the data extent has increased. It's only needed for windowsize terrains with reduced data extents. It needs to be called after the terrain is built (i.e., ITerrainEdit.Build, ITerrain.IsDirty = FALSE.).

UpdateExtent scans through all the terrain data to determine the new extent. It can therefore be expensive in terms of I/O if the terrain is large.

Product Availability

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

Specified by:
updateExtent in interface ITerrainEdit2
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class ITerrainEditProxy
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class ITerrainEditProxy
Throws:
IOException
ClassNotFoundException