This document is archived and information here might be outdated.  Recommended version.


How dynamic display works (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > Developing with ArcGIS > Learning ArcObjects > Interacting with the map display > Displaying moving objects > Dynamic display > How dynamic display works (ArcObjects .NET 10.6 SDK)

How dynamic display works


Summary
This topic gives an overview of how dynamic display works and the interfaces it contains.

In this topic


About dynamic display

A geographic information system (GIS) often requires displaying information with frequent refresh rates to clearly convey geographic information. This information must be rapidly updated without interruption, including animating moving objects, updating the location, orientation, size, status, and attribute information.
The dynamic display strengthens ESRI's comprehensive display capabilities of dynamic maps in ArcObjects, allowing smooth pan, zoom, rotation, navigation and display of dynamic graphics through the use of OpenGL display rendering and fast refresh rate technology. The dynamic display allows the display performance required of real-time applications while using the existing tools and layer functionality of ArcObjects.

Background

Dynamic display is an enhancement to the core capabilities of the map rendering engine to support very active display environments. These new capabilities include numbers of display objects at subsecond refresh rates, and manipulation of the entire display to support smooth panning, zooming, and rotation. This extends the reach of the ArcGIS platform into domains that demand dynamic displays, often on constrained computing platforms (platforms with limited processing and memory). See the following illustration:

Concepts

This section discusses some of the dynamic display concepts specific to different types of GIS layers and is intended for those who might not have a foundational understanding of GIS mapping and visualization.
The ArcGIS display subsystem manages displaying and refreshing maps. Unsynchronized display refresh and intensive map rendering can lead to high central processing unit (CPU) usage. The CPU overloading can delay or even prevent display refresh and user interaction with the display. See the following illustration:
The dynamic display technology moves intensive graphics rendering from the CPU to the graphics hardware and significantly improves performance. Dynamic display provides a mechanism for synchronized refreshes that allows for many moving objects with high refresh rates. See the following illustration:

Architecture

The following are the main ArcObjects interfaces used by the dynamic display:
  • IDynamicMap—Used for controlling the dynamic display.  The interface is used for enabling and disabling the dynamic display and controlling global properties of the dynamic map. There is a one-to-one correspondence between maps and dynamic maps.
  • IDynamicLayer—In conjunction with the ILayer and IGeoDataset interfaces, IDynamicLayer provides the mechanism to implement custom layers that draw dynamic content in dynamic mode.
  • IDynamicScreenDisplay—Allows you to enable or disable the dynamic display.
  • IDynamicGlyph—Handles the resource needed to be rendered by the dynamic display. This can be a resource for a line, marker, or text. Dynamic glyphs are managed by the dynamic glyph factory.
  • IDynamicGlyphFactory—Used to manage dynamic glyphs. Use IDynamicGlyphFactory to get, create, and delete dynamic glyphs. This means that you can use standard ArcObjects symbols, such as character marker symbols, text symbols, image symbols, and so on or use external resources, such as icons and bitmaps. In addition, dynamic glyphs can be created from dynamic glyph groups, which are a mosaic image of several glyphs where each glyph is mapped to a specific location in the mosaic. Using dynamic glyphs from a glyphs group results in better drawing performance since there is only one OpenGL texture created for an entire group. The dynamic display includes an internal default glyphs group; however, you can use your glyphs group, load them and unload them using the dynamic glyph factory.
  • IDynamicGlyphFactory2—The dynamic glyph factory can also be used to manage dynamic glyphs. Use IDynamicGlyphFactory2 to get, create, and delete dynamic glyphs as in IDynamicGlyphFactory. IDynamicGlyphFactory2 also allows you to create a dynamic glyph from a bitmap, then get and set the size of a created glyph.  
  • IDynamicSymbolProperties—Allows you to set various properties of the active symbol, such as color, scale, heading, and glyph. The idea behind the dynamic display is that at any time it has an active symbol for points, lines, and text. Use IDynamicSymbolProperties to control this symbol before drawing it to the map.
  • IDynamicSymbolProperties2—Allows you to set various properties of the active symbol, such as color, scale, heading, and glyph as in IDynamicSymbolProperties. IDynamicSymbolProperties2 allows you to also get and set the margins of text boxes, get and set the offset, change the horizontal and vertical alignment of text boxes, change the fill symbol and line symbol, control the character, line and word spacing, display right to left text, and use reference scales.
  • IDynamicDisplay—Provides the mechanism to draw different geographical geometries on the map, in addition to providing access to the dynamic glyph factory. To draw geographical geometries on the map, use the dynamic display in conjunction with the dynamic symbol properties. Use the dynamic symbol properties to set the dynamic symbol, then use dynamic display to draw the shape.
  • IDynamicDrawScreen—Used to draw geometries on the map using screen coordinates. The dynamic draw screen is used in the same way that dynamic display is used. First, set the symbol's properties using dynamic symbol properties, then use IDynamicDrawScreen to draw the geometry.
  • IDynamicCompoundMarker—Use to draw marker symbols with labels (or attributes) surrounding it. IDynamicCompoundMarker allows you to draw the marker symbol and its attributes at the same call. It allows you to draw from one to 10 attributes around the marker symbol. You can control the offset from the marker to the text.
  • IDynamicCompoundMarker2—Use to draw marker symbols with labels (or attributes) surrounding it as with IDynamicCompoundMarker. IDynamicCompoundMarker2 allows you to also draw array markers, get the text spacing, set the text spacing or auto-adjust the text spacing. 
  • IDynamicCacheLayerManager—Use on non-dynamic layers to pre-generate cache, invalidate regions in existing caches, to allow users to update the underlying cache without having to rebuild a new cache, and control the drawing characteristics of the cache. IDynamicCacheLayerManager allows you to connect to a given layer in an existing cache, delete a cache structure from disk, change the detail threshold level, get and set the compression format for the tiles that are saved to the cache, generate a full cache for a given layer, invalidate certain areas of the cache and checks if a layer has a valid cache structure.


See Also:

Dynamic display
Rendering dynamic map content
Limitations for dynamic display




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced