com.esri.arcgis.analyst3d
Class ISceneGraphEventsBeforeDrawEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.esri.arcgis.analyst3d.ISceneGraphEventsBeforeDrawEvent
All Implemented Interfaces:
Serializable

public class ISceneGraphEventsBeforeDrawEvent
extends EventObject

Remarks

This event method is often used by an OpenGL routine that renders something before the main features in the scene are drawn. A good example is the scene background, such as sky/sun/moon etc. Just like the art of painting, one normally needs to draw the background first and then the main feature. So this method is generally for the background rendering. It can also be used for executing some routines other than drawing.

The BeforeDraw method returns a boolean value. When it's set to true, the SceneGraph's drawing is disabled, and you as a developer take control of the drawing (e.g. via OpenGL). Otherwise, the SceneGraph takes care of drawing as usual.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ISceneGraphEventsBeforeDrawEvent(Object source)
           
 
Method Summary
 boolean getPbHandled()
           
 ISceneViewer getPViewer()
           
 void init(ISceneViewer pViewer)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISceneGraphEventsBeforeDrawEvent

public ISceneGraphEventsBeforeDrawEvent(Object source)
Method Detail

init

public void init(ISceneViewer pViewer)

getPViewer

public final ISceneViewer getPViewer()

getPbHandled

public final boolean getPbHandled()