|
This demonstration, developed with ILOG
Views 2D Graphics, simulates a simple air traffic control application. Plane routes are displayed on top of a map and are
updated in real time. You can customize the display, control the
simulation parameters, and navigate in the map.
The goal of this demonstration is to show:
- Animated graphic objects
- Scalability
- Navigation in a map
- Customized display
Downloading the demonstration
Please download the ZIP file for Window 95/98/NT/2000.
Please download the ZIP file for Window XP
No additional files will be downloaded to your hard disk.
Running the demonstration
This demonstration runs on PCs under Windows 98, Windows NT, Windows 2000 or Windows XP.
Customizing the display
Use these buttons
to show or hide:
- The map
- The plane logos
- The plane labels
- The plane routes
Navigating in the map
You can use the following tools:
Allows you to pan the map. If you select this tool, you can also use
the mouse wheel for zooming or unzooming.
Allows you to select
a rectangle to zoom in.
Zooms in.
Zooms out.
Shows or hides the locator window. 
Controlling the simulation
Three sliders allow you to:
- Change the number of planes
- Change the animation rate
- Change the average plane speed
Technical highlights
Animated objects
Graphic objects are stored in a container of ILOG Views 2D Graphics. The air traffic simulator computes the graphic objects' new positions for animation. After each step, the container is notified that some objects have moved. Then ILOG Views 2D Graphics updates the main window and the overview.
Zooming and panning
This application offers a variety of ways to zoom or pan:
- Clicking buttons
- Dragging a rectangle
- Using a pan interactor
- Using the overview
All these operations are performed by simply changing the view's projection parameters (the set of projection parameters is called a transformer).
Overview
Overview is a standard feature of ILOG Views 2D Graphics. An overview is created by connecting a second view to the container that stores the graphic objects. In addition, an overview interactor is set on this view to control the transformer of the main window.
Customized display
Graphic objects representing plane routes (such as company logo, labels, last position, planned route) are stored in different layers of the graphic object container. The display can be customized by changing the visibility properties of these layers.
|