Package org.opentrafficsim.draw.lane
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.
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
Renderable2DInterface.Util
-
Method Summary
Modifier and Type Method Description void
paint(java.awt.Graphics2D graphics, java.awt.image.ImageObserver observer)
static void
visualize(RollingLaneStructure rollingLaneStructure, GTU gtu)
Enables visualization of this lane structure.Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D
bind2Context, contains, destroy, equals, getSource, hashCode, isFlip, isRotate, isScale, isTranslate, paint, setFlip, setRotate, setScale, setTranslate, toString
-
Method Details
-
paint
public void paint(java.awt.Graphics2D graphics, java.awt.image.ImageObserver observer) throws java.rmi.RemoteException- Specified by:
paint
in classRenderable2D<LaneStructureLocatable>
- Throws:
java.rmi.RemoteException
-
visualize
Enables visualization of this lane structure. This is purely for debugging purposes.- Parameters:
rollingLaneStructure
- RollingLaneStructure; the lane structure to visualizegtu
- GTU; GTU to animate the LaneStructure of
-