Class OtsRenderable<L extends OtsShape>

java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.animation.OtsRenderable<L>
Type Parameters:
L - locatable type
All Implemented Interfaces:
Renderable2dInterface<L>
Direct Known Subclasses:
CrossSectionElementAnimation, DefaultCarAnimation, GtuGeneratorPositionAnimation, LaneAnimation.CenterLineAnimation, OtsRenderableLabeled, PerceptionAnimation, PriorityAnimation, StaticObjectAnimation, StripeAnimation, TrafficLightDetectorAnimation

public abstract class OtsRenderable<L extends OtsShape> extends Renderable2d<L>
Extends Renderable2d to let the contains method look at the actual bounds shape, rather than only the box.

Copyright (c) 2024-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Constructor Details

    • OtsRenderable

      public OtsRenderable(L source, nl.tudelft.simulation.naming.context.Contextualized contextProvider)
      Constructor.
      Parameters:
      source - the source
      contextProvider - the object that can provide the context to store the animation objects
  • Method Details