Package org.opentrafficsim.draw.road
Class LaneAnimation.CenterLineAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.base.geometry.OtsRenderable<LaneAnimation.CenterLine>
org.opentrafficsim.draw.road.LaneAnimation.CenterLineAnimation
- All Implemented Interfaces:
Serializable
,nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<LaneAnimation.CenterLine>
- Enclosing class:
- LaneAnimation
public static class LaneAnimation.CenterLineAnimation
extends org.opentrafficsim.base.geometry.OtsRenderable<LaneAnimation.CenterLine>
Animation for center line of a lane.
- See Also:
-
Field Summary
Fields inherited from class org.opentrafficsim.base.geometry.OtsRenderable
RENDERING_KEYS, RENDERING_VALUES
-
Constructor Summary
ConstructorDescriptionCenterLineAnimation
(LaneAnimation.CenterLine centerLine, nl.tudelft.simulation.naming.context.Contextualized contextualized) Construct a new CenterLineAnimation. -
Method Summary
Methods inherited from class org.opentrafficsim.base.geometry.OtsRenderable
contains, resetRendering, setRendering, toBoundsTransform
Methods inherited from class nl.tudelft.simulation.dsol.animation.d2.Renderable2d
bind2Context, destroy, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate, toString
-
Constructor Details
-
CenterLineAnimation
public CenterLineAnimation(LaneAnimation.CenterLine centerLine, nl.tudelft.simulation.naming.context.Contextualized contextualized) throws NamingException, RemoteException Construct a new CenterLineAnimation.- Parameters:
centerLine
- CemterLine; the center line of a lanecontextualized
- Contextualized; context provider- Throws:
NamingException
- when the name of this object is not uniqueRemoteException
- when communication with a remote process fails
-
-
Method Details
-
paint
- Specified by:
paint
in classnl.tudelft.simulation.dsol.animation.d2.Renderable2d<LaneAnimation.CenterLine>
-