Rogue Wave JViews Maps for Defense Sample: 3D View
Description
This sample shows how to read and display terrain data and symbols in a 3D View using the API.
How to Use the Sample
- In the 3D View, use the mouse wheel to change the distance of the terrain, the right mouse button to rotate the camera about its target point, and the left mouse button to move the camera (traveling). You can also use the interactors in the panel on the right of the 3D View
- You can change the properties of the 3D View by clicking on the pane on the left of the 3D View ("change terrain style and performance") and you can also change the 3D symbols style ("Change symbol style").
- You can hide and show symbols in both 2D and 3D Views by interacting with the symbology panel on the left of the 2D View.
How to Run the Sample as an Application
This sample can
be run as an application.
The installation directory contains
an executable JAR file,
3dview.jar
,
that allows you to execute the sample with a double click from a
file browser. Note that if you are using Internet Explorer, you can
open the installation directory
and execute the JAR file from the browser. This
technique may not work in other Web browsers.
Alternatively, you
can run the sample application from the command line.
First check that the Ant utility is properly configured. If not, see the
instructions on how to configure Ant for Rogue Wave JViews.
Then, go to the installation directory
of the sample and type:
ant run
Topics Covered
- JViews Maps API.
- DTED reader.
- Terrain 3D View.
Detailed Description
This sample shows how to read and display terrain data and symbols in a 3D View using the API.
Installation Directory
The 3D View sample is installed here.
Classes Involved
- ilog.views.maps.beans.IlvMapLayerTreeModel
- ilog.views.maps.datasource.IlvMapDataSourceProperty
- ilog.views.maps.defense.symbology.app6a.IlvApp6aSymbol
- ilog.views.maps.defense.terrain3d.component.Ilv3DCorridor
- ilog.views.maps.defense.terrain3d.component.Ilv3DHemisphere
- ilog.views.maps.defense.terrain3d.model.Ilv3DModel
- ilog.views.maps.defense.terrain3d.symbol.Ilv3DSymbolManager
- ilog.views.maps.defense.terrain3d.view.Ilv3DView
- ilog.views.maps.format.dted.IlvRasterDTEDReader
- ilog.views.maps.raster.datasource.IlvRasterDataSourceFactory
- ilog.views.maps.raster.datasource.IlvTiledRasterDataSource
- ilog.views.maps.symbology.swing.IlvSymbologyTreeView
- ilog.views.sdm.IlvSDMEngine