com.esri.arcgis.controls
Interface ISceneCommandHook

All Superinterfaces:
Serializable
All Known Implementing Classes:
ISceneCommandHookProxy

public interface ISceneCommandHook
extends Serializable

Provides access to members that work with SceneHookHelper. Custom control or application needs to implement ISceneCommandHook to be recognized by SceneHookHelper.

Description

Implement the ISceneCommandHook interface in custom controls and applications if you want them to work with SceneHookHelper objects. The SceneHookHelper is designed to help developers write custom commands that will work with the ArcGIS SceneControl and the ArcScene application as well as custom applications.

Product Availability

Available with ArcGIS Engine.


Method Summary
 IScene getScene()
          Scene of control or application.
 

Method Detail

getScene

IScene getScene()
                throws IOException,
                       AutomationException
Scene of control or application.

Description

The IScene object used by the custom control or application.

The SceneHookHelper is often used in custom commands and the ISceneHookHelper::Scene can return the IScene of the hook by using this property.

Product Availability

Available with ArcGIS Engine.

Returns:
A reference to a com.esri.arcgis.analyst3d.IScene
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.