Class AbstractLineAnimation<L extends AbstractLineAnimation.LaneBasedObjectData,T extends RenderableTextSource<L,T>>

Type Parameters:
L - source type
T - text renderable type
All Implemented Interfaces:
Renderable2dInterface<L>
Direct Known Subclasses:
BusStopAnimation, ConflictAnimation, LaneDetectorAnimation, TrafficLightAnimation

public abstract class AbstractLineAnimation<L extends AbstractLineAnimation.LaneBasedObjectData,T extends RenderableTextSource<L,T>> extends OtsRenderableLabeled<L,T>
Abstract class for objects that draw a line perpendicular on the lane.

Copyright (c) 2013-2026 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
  • Constructor Details

    • AbstractLineAnimation

      public AbstractLineAnimation(L source, nl.tudelft.simulation.naming.context.Contextualized contextualized, org.djunits.value.vdouble.scalar.Length width)
      Construct the line animation. This constructor uses an empty prefix for the label.
      Parameters:
      source - source
      contextualized - context provider
      width - line width
    • AbstractLineAnimation

      public AbstractLineAnimation(L source, nl.tudelft.simulation.naming.context.Contextualized contextualized, org.djunits.value.vdouble.scalar.Length width, String prefix)
      Construct the line animation.
      Parameters:
      source - source
      contextualized - context provider
      width - line width
      prefix - label prefix
  • Method Details