3D dynamic element tracking


Purpose
This sample demonstrates the techniques for manipulating the globe camera to track a dynamic element and covers the following techniques:
  • Setting globe's camera observer and target
  • Creating and loading graphic layers
  • Creating, adding, and updating graphic elements in a graphic layer
  • Working with ArcObjects real-time feed manager, including the following:
    • Setting the real-time feed simulator as an input feed
    • Listening to real-time feeds PositionUpdated event

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/USAMajorHighways/usa_major_highways.shp.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Start Visual Studio and open the solution.
  2. Build the solution.
  3. Open a GlobeControl application in design mode.
  4. On the Customize dialog box choose the .NET Samples category.
  5. On the Command Items pane, drag the Track Dynamic Object command on to a toolbar.
  6. Run the application and click the command.
  7. From TrackSelectionDlg, select the type of tracking you want to use.
  8. Click OK to start tracking.

TrackDynamicObject.cs The command's implementation file.
TrackSelectionDlg.cs The dialog box allowing users to select the required tracking type.
Download the C# files
TrackDynamicObject.vb The command's implementation file.
TrackSelectionDlg.vb The dialog box allowing users to select the required tracking type.
Download the VB.NET files

Download the files for all languages




Development licensing Deployment licensing
Engine Developer Kit Engine: 3D Analyst
ArcGIS for Desktop Basic: 3D Analyst
ArcGIS for Desktop Standard: 3D Analyst
ArcGIS for Desktop Advanced: 3D Analyst