Package org.opentrafficsim.animation.gtu
Class PerceptionAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.animation.OtsRenderable<PerceptionAnimation.PerceptionData>
org.opentrafficsim.animation.gtu.PerceptionAnimation
- All Implemented Interfaces:
Renderable2dInterface<PerceptionAnimation.PerceptionData>
Draws circles around a GTU indicating the level of attention and perception delay.
Copyright (c) 2026-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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePerception animation data. -
Field Summary
Fields inherited from interface nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface
ANIMATION_OBJECT_COUNTER, FLIP_FLAG, ROTATE_FLAG, SCALE_FLAG, SCALE_OBJECT_FLAG, SCALE_Y_FLAG, TRANSLATE_FLAG -
Constructor Summary
ConstructorsConstructorDescriptionPerceptionAnimation(PerceptionAnimation.PerceptionData perceptionData, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.animation.OtsRenderable
contains, contains, isDynamic, resetRendering, setDynamic, setRenderingMethods inherited from class nl.tudelft.simulation.dsol.animation.d2.Renderable2d
bind2Context, contains, destroy, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate, toString
-
Constructor Details
-
PerceptionAnimation
public PerceptionAnimation(PerceptionAnimation.PerceptionData perceptionData, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor.- Parameters:
perceptionData- perception datacontextualized- contextualized, e.g. simulator
-
-
Method Details
-
paint
- Specified by:
paintin classRenderable2d<PerceptionAnimation.PerceptionData>
-