Class LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
java.lang.Object
org.opentrafficsim.animation.RenderableTextSource<LaneDetectorAnimation.LoopDetectorData,LaneDetectorAnimation.LoopDetectorData.LoopDetectorText>
org.opentrafficsim.animation.road.LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
- Enclosing interface:
- LaneDetectorAnimation.LoopDetectorData
public static class LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
extends RenderableTextSource<LaneDetectorAnimation.LoopDetectorData,LaneDetectorAnimation.LoopDetectorData.LoopDetectorText>
Tagging implementation for loop detector IDs.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.animation.RenderableTextSource
RenderableTextSource.ContrastToBackground, RenderableTextSource.ScaleDependentRendering -
Field Summary
Fields inherited from class org.opentrafficsim.animation.RenderableTextSource
RENDERALWAYS, RENDERWHEN1, RENDERWHEN10, RENDERWHEN100Fields inherited from interface org.opentrafficsim.base.geometry.OtsShape
DEFAULT_POLYGON_SEGMENTS, WORLD_MARGIN_LINE -
Constructor Summary
ConstructorsConstructorDescriptionLoopDetectorText(LaneDetectorAnimation.LoopDetectorData laneDetector, float dy, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.animation.RenderableTextSource
destroy, getAbsoluteContour, getColor, getDx, getDy, getFont, getFontSize, getLocation, getRelativeBounds, getRelativeContour, getScaleDependentRendering, getSource, getText, getTextAlignment, getZ, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, setColor, setDynamic, setFlip, setRotate, setScale, setScaleObject, setScaleY, setText, setTranslate, setXYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getDirZ, signedDistance, signedDistance
-
Constructor Details
-
LoopDetectorText
public LoopDetectorText(LaneDetectorAnimation.LoopDetectorData laneDetector, float dy, nl.tudelft.simulation.naming.context.Contextualized contextualized) throws RemoteException, NamingException Constructor.- Parameters:
laneDetector- loop detector datady- vertical spacingcontextualized- context provider- Throws:
NamingException- when animation context cannot be created or retrievedRemoteException- when remote context cannot be found
-