Customizing Node/Entity Mapping
3D Network Visualizer contains a set of 3D entity models that correspond to commonly used air, sea, and land military equipment types, as well as a few non-military models. You can add your own 3D OpenFlight entity models to the Visualizer, as described in Chapter 22 “Model and Element Definitions” on page 323.
A number of predefined symbols are provided for the DIS Type attribute of the public attribute definition 3DNV_Mapping. These symbols map to the models provided with 3D Network Visualizer.
If you want to add your own models, you must use the explicit DIS symbol maps defined in the 3DNV Mapping attribute or create new symbol maps in that attribute. (You can also remove symbols from the attribute for models that you do not intend to use.)
Procedure 8: Modifying the 3DNV_Mapping Public Attribute Definition
-
Create a 3DNV Mapping attribute as an extended attribute in a node object (Procedure 6) or as an attribute in a node model (Procedure 7). If mapping as an attribute in a node model, start with step 6 in this procedure after loading the public attribute definition (that is, after you complete step 4 in Procedure 7).
-
Select the object(s) for which you want to modify the 3DNV_Mapping public attribute definition.
-
Right-click on a selected object and choose Advanced Edit Attributes.
Result: The Advanced Edit Attributes dialog box appears.
-
Click the “Extended Attrs.” button.
Result: The Extended Attributes dialog box appears.
-
In the Attribute Name column, select “3DNV Mapping” and click the Edit Properties button.
Result: The Compound Attributes Properties dialog box appears.
-
Click the Edit Compound Attribute Properties button.
Result: The Attribute: 3DNV Mapping dialog box appears.
-
In the Attribute: 3DNV Mapping dialog box, select the Private radio button.
-
Click OK to close the Attribute:3DNV Mapping dialog box.
-
In the Compound Attributes Properties dialog box, select the DIS Entity Type attribute and click Edit Properties.
Result: The Compound Attributes Properties dialog box appears.
-
Click on Edit Compound Attribute Properties.
Result: The Attribute: DIS Entity Type dialog box appears.
-
Edit the Symbol Map table:
To remove an unwanted symbol, select it and click Delete.
To add a new symbol, enter its name at the bottom of the Symbol Map table, then click on the corresponding Value field to enter the correct DIS values for that symbol.
-
After you edit the Symbol Map table, click OK to close the Attribute:DIS Entity Type and Compound Attributes Properties dialog boxes.
-
If you want to use these changes in other models or extended attributes, you must create a new public attribute definition (or update the 3DNV_Mapping definition):
13.1 Click on Edit Compound Attribute Properties. This opens the “Attribute: 3DNV Mapping” dialog box.
13.2 Select the Public radio button, then click on Save Public.
13.3 In the Save As dialog box, enter an appropriate name and click Save. (If you want to overwrite the existing 3DNV_Mapping definition, save to the
<install_dir>\<release>\sys\utilities\3dnvdirectory.) -
Click OK to close the Attribute: 3DNV Mapping, Compound Attributes Properties, and Extended Attributes (or Model Attributes) dialog boxes.
-
If mapping as an attribute in a node model, return to Procedure 7 Adding the 3DNV Mapping Attribute to a Node Model (go to step 6).