Class LaneStructureAnimation

java.lang.Object
nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneStructureLocatable>
org.opentrafficsim.draw.lane.LaneStructureAnimation
All Implemented Interfaces:
Renderable2DInterface<LaneStructureLocatable>

public class LaneStructureAnimation
extends Renderable2D<LaneStructureLocatable>
LaneStructureAnimation.java.

Copyright (c) 2003-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Author:
Alexander Verbraeck
  • Method Details

    • paint

      public void paint​(java.awt.Graphics2D graphics, java.awt.image.ImageObserver observer) throws java.rmi.RemoteException
      Specified by:
      paint in class Renderable2D<LaneStructureLocatable>
      Throws:
      java.rmi.RemoteException
    • visualize

      public static final void visualize​(RollingLaneStructure rollingLaneStructure, GTU gtu)
      Enables visualization of this lane structure. This is purely for debugging purposes.
      Parameters:
      rollingLaneStructure - RollingLaneStructure; the lane structure to visualize
      gtu - GTU; GTU to animate the LaneStructure of