Package org.opentrafficsim.draw.road
Class LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
java.lang.Object
org.opentrafficsim.draw.TextAnimation<LaneDetectorAnimation.LoopDetectorData,LaneDetectorAnimation.LoopDetectorData.LoopDetectorText>
org.opentrafficsim.draw.road.LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
- All Implemented Interfaces:
Serializable
,nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
- Enclosing interface:
- LaneDetectorAnimation.LoopDetectorData
public static class LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
extends TextAnimation<LaneDetectorAnimation.LoopDetectorData,LaneDetectorAnimation.LoopDetectorData.LoopDetectorText>
Tagging implementation for loop detector ids.
Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights
reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.draw.TextAnimation
TextAnimation.ContrastToBackground, TextAnimation.ScaleDependentRendering
-
Field Summary
Fields inherited from class org.opentrafficsim.draw.TextAnimation
RENDERALWAYS, RENDERWHEN1, RENDERWHEN10, RENDERWHEN100
-
Constructor Summary
ConstructorDescriptionLoopDetectorText
(LaneDetectorAnimation.LoopDetectorData laneDetector, float dy, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.draw.TextAnimation
destroy, getBounds, getColor, getDx, getDy, getFont, getFontSize, getLocation, getScaleDependentRendering, getSource, getText, getTextAlignment, getZ, isFlip, isRotate, isScale, isTranslate, paint, setColor, setDynamic, setFlip, setRotate, setScale, setText, setTranslate, setXY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
-
Constructor Details
-
LoopDetectorText
public LoopDetectorText(LaneDetectorAnimation.LoopDetectorData laneDetector, float dy, nl.tudelft.simulation.naming.context.Contextualized contextualized) throws RemoteException, NamingException Constructor.- Parameters:
laneDetector
- LoopDetectorData; loop detector data.dy
- float; vertical spacing.contextualized
- Contextualized; context provider.- Throws:
NamingException
- when animation context cannot be created or retrievedRemoteException
- when remote context cannot be found
-