Package org.opentrafficsim.draw.road
Class GtuGeneratorPositionAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.draw.OtsRenderable<GtuGeneratorPositionAnimation.GtuGeneratorPositionData>
org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation
- All Implemented Interfaces:
Serializable
,nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<GtuGeneratorPositionAnimation.GtuGeneratorPositionData>
public class GtuGeneratorPositionAnimation
extends OtsRenderable<GtuGeneratorPositionAnimation.GtuGeneratorPositionData>
Animates a GtuGeneratorPosition.
Copyright (c) 2022-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
GtuGeneratorPositionData provides the information required to draw a GTU generator position.class
Paints a queue counter with a GtuGeneratorPosition. -
Constructor Summary
ConstructorsConstructorDescriptionGtuGeneratorPositionAnimation
(GtuGeneratorPositionAnimation.GtuGeneratorPositionData source, nl.tudelft.simulation.naming.context.Contextualized contextProvider) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.draw.OtsRenderable
contains, resetRendering, setRendering
Methods inherited from class nl.tudelft.simulation.dsol.animation.d2.Renderable2d
bind2Context, destroy, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate, toString
-
Constructor Details
-
GtuGeneratorPositionAnimation
public GtuGeneratorPositionAnimation(GtuGeneratorPositionAnimation.GtuGeneratorPositionData source, nl.tudelft.simulation.naming.context.Contextualized contextProvider) Constructor.- Parameters:
source
- source.contextProvider
- simulator.
-
-
Method Details
-
paint
- Specified by:
paint
in classnl.tudelft.simulation.dsol.animation.d2.Renderable2d<GtuGeneratorPositionAnimation.GtuGeneratorPositionData>
-