Package org.opentrafficsim.editor.extensions.map
package org.opentrafficsim.editor.extensions.map
The map editor allows visual specification of the network.
For additional visualization of elements, do the following:
- Add the XML node path to
EditorMap.TYPES
. - Create class for data object that extends
MapData
. Under its destroy implementation (which should callsuper.destroy()
, remove all listeners it creates. - Create instance of data object under
EditorMap.add(node)
. - Create instance of animation object under
EditorMap.setValid(data)
. - Add visualization toggle under
EditorMap.setAnimationToggles()
.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
ClassDescriptionGeneric implementation to listen to any changes under a node, including its own attributes and activation status.Editor map.Listener for flattener nodes, either under the network or at a link (shape).Cross section element data for in the editor.Part of the map data structure.Generator data for the editor Map.Data class for objects that are drawn at a lane position.Lane data for in the editor.LinkData for the editor Map.NodeData for the editor Map.Priority data for in the editor.Shoulder data for in the editor.Sink data for the editor Map.Stripe data for in the editor.Traffic light data for the editor Map.Listens to changes in a road layout.