Serialized Form
- 
Package org.opentrafficsim.draw.core
- 
Class org.opentrafficsim.draw.core.BoundsPaintScale extends Object implements Serializable
- serialVersionUID:
 - 20181008L
 
- 
Serialized Fields
- 
boundColors
Color[] boundColors
Color values to use at the boundary values. - 
bounds
double[] bounds
Boundary values for this ColorPaintScale. 
 - 
 
 - 
Class org.opentrafficsim.draw.core.OTSDrawingException extends Exception implements Serializable
- serialVersionUID:
 - 1L
 
 - 
Class org.opentrafficsim.draw.core.TextAnimation extends Object implements Serializable
- serialVersionUID:
 - 20161211L
 
- 
Serialized Fields
- 
animationImpl
org.opentrafficsim.draw.core.TextAnimation.AnimationImpl animationImpl
The animation implementation. - 
background
TextAnimation.ContrastToBackground background
Access to the current background color. - 
color
Color color
The color of the text. - 
dx
float dx
The horizontal movement of the text, in meters. - 
dy
float dy
The vertical movement of the text, in meters. - 
font
Font font
The font. - 
fontRectangle
Rectangle2D fontRectangle
The font rectangle. - 
fontSize
float fontSize
FontSize the size of the font; default = 2.0 (meters). - 
maxFontSize
float maxFontSize
Maximum font size to trigger scaling. - 
minFontSize
float minFontSize
Minimum font size to trigger scaling. - 
scaleDependentRendering
TextAnimation.ScaleDependentRendering scaleDependentRendering
Render dependent on font scale. - 
source
Locatable source
The object for which the text is displayed. - 
text
String text
The text to display. - 
textAlignment
TextAlignment textAlignment
Whether to center or not. 
 - 
 
 - 
Class org.opentrafficsim.draw.core.TextProperties extends Object implements Serializable
- serialVersionUID:
 - 20170400L
 
- 
Serialized Fields
- 
color
Color color
the color of the text, e.g., Color.RED. - 
font
String font
the name of the font, e.g., specified as Font.SERIF. - 
fontSize
float fontSize
the size of the font (in units of the animation, e.g., meters). - 
textAlignment
TextAlignment textAlignment
the text alignment (LEFT, CENTER or RIGHT). - 
textAttributes
Map<TextAttribute,Object> textAttributes
a map of text attributes to set, e.g., UNDERLINE or WEIGHT. 
 - 
 
 
 - 
 - 
Package org.opentrafficsim.draw.factory
- 
Class org.opentrafficsim.draw.factory.DefaultAnimationFactory extends Object implements Serializable
- 
Serialized Fields
- 
animatedGTUs
Map<LaneBasedGTU,Renderable2D<LaneBasedGTU>> animatedGTUs
rendered gtus. - 
animatedObjects
Map<ObjectInterface,Renderable2D<?>> animatedObjects
rendered static objects. - 
gtuColorer
GTUColorer gtuColorer
GTU colorer. - 
simulator
OTSSimulatorInterface simulator
the simulator. 
 - 
 
 - 
 
 - 
 - 
Package org.opentrafficsim.draw.graphs
- 
Class org.opentrafficsim.draw.graphs.JFileChooserWithSettings extends JFileChooser implements Serializable
- serialVersionUID:
 - 20181014L
 
 - 
Class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer extends XYBlockRenderer implements Serializable
- serialVersionUID:
 - 20181008L
 
- 
Serialized Fields
- 
interpolate
boolean interpolate
Whether to use the interpolation. - 
xyInterpolatedDataset
org.opentrafficsim.draw.graphs.XYInterpolatedDataset xyInterpolatedDataset
Dataset that allows retrieving surrounding value for interpolation. 
 - 
 
 
 - 
 - 
Package org.opentrafficsim.draw.gtu
- 
Class org.opentrafficsim.draw.gtu.DefaultCarAnimation extends Renderable2D<LaneBasedGTU> implements Serializable
- serialVersionUID:
 - 20150000L
 
- 
Serialized Fields
- 
dot
RectangularShape dot
Dot if zoomed out. - 
frontIndicator
Ellipse2D.Double frontIndicator
Front indicator (white circle). - 
gtuColorer
GTUColorer gtuColorer
The GTUColorer that determines the fill color for the car. - 
hashCode
int hashCode
Hashcode. - 
isDestroyed
boolean isDestroyed
is the animation destroyed? - 
leftBrake
Rectangle2D.Double leftBrake
Left brake light. - 
leftIndicator
Rectangle2D.Double leftIndicator
Left indicator. - 
rectangle
Rectangle2D.Double rectangle
GTU outline. - 
rightBrake
Rectangle2D.Double rightBrake
Right brake light. - 
rightIndicator
Rectangle2D.Double rightIndicator
Right indicator. - 
text
DefaultCarAnimation.Text text
the Text object to destroy when the GTU animation is destroyed. 
 - 
 
 - 
Class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
- 
Serialized Fields
- 
isTextDestroyed
boolean isTextDestroyed
is the animation destroyed? 
 - 
 
 - 
Class org.opentrafficsim.draw.gtu.GtuGeneratorQueueAnimation extends TextAnimation implements Serializable
- serialVersionUID:
 - 20181018L
 
 
 - 
 - 
Package org.opentrafficsim.draw.lane
- 
Class org.opentrafficsim.draw.lane.LaneStructureAnimation extends Renderable2D<LaneStructureLocatable> implements Serializable
- 
Serialized Fields
- 
isDestroyed
boolean isDestroyed
Destroyed. 
 - 
 
 - 
 
 - 
 - 
Package org.opentrafficsim.draw.network
- 
Class org.opentrafficsim.draw.network.LinkAnimation extends Renderable2D<Link> implements Serializable
- serialVersionUID:
 - 20140000L
 
- 
Serialized Fields
- 
text
LinkAnimation.Text text
the Text object to destroy when the animation is destroyed. - 
width
float width
 
 - 
 
 - 
Class org.opentrafficsim.draw.network.LinkAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
 - 
Class org.opentrafficsim.draw.network.NodeAnimation extends Renderable2D implements Serializable
- serialVersionUID:
 - 20140000L
 
- 
Serialized Fields
- 
text
NodeAnimation.Text text
the Text object to destroy when the animation is destroyed. 
 - 
 
 - 
Class org.opentrafficsim.draw.network.NodeAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
 
 - 
 - 
Package org.opentrafficsim.draw.object
- 
Class org.opentrafficsim.draw.object.StaticObjectAnimation extends Renderable2D<StaticObject> implements Serializable
- serialVersionUID:
 - 20160400L
 
- 
Serialized Fields
- 
color
Color color
 - 
fill
boolean fill
 - 
width
float width
 
 - 
 
 
 - 
 - 
Package org.opentrafficsim.draw.road
- 
Class org.opentrafficsim.draw.road.AbstractLineAnimation extends Renderable2D<T extends LaneBasedObject> implements Serializable
- 
Serialized Fields
- 
halfLength
double halfLength
Half length, for placement of coupled text labels. - 
rectangle
Rectangle2D rectangle
Rectangle to color. 
 - 
 
 - 
 - 
Class org.opentrafficsim.draw.road.BusStopAnimation extends AbstractLineAnimation<BusStop> implements Serializable
- serialVersionUID:
 - 20170125L
 
- 
Serialized Fields
- 
text
BusStopAnimation.Text text
Text label. 
 - 
 
 - 
Class org.opentrafficsim.draw.road.BusStopAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
 - 
Class org.opentrafficsim.draw.road.ConflictAnimation extends AbstractLineAnimation<Conflict> implements Serializable
- serialVersionUID:
 - 20161207L
 
 - 
Class org.opentrafficsim.draw.road.DestinationAnimation extends AbstractLineAnimation<DestinationSensor> implements Serializable
- serialVersionUID:
 - 20150130L
 
 - 
Class org.opentrafficsim.draw.road.LaneAnimation extends Renderable2D<Lane> implements Serializable
- serialVersionUID:
 - 20141017L
 
- 
Serialized Fields
- 
color
Color color
Color of the lane. - 
text
LaneAnimation.Text text
the Text object to destroy when the animation is destroyed. 
 - 
 
 - 
Class org.opentrafficsim.draw.road.LaneAnimation.CenterLineAnimation extends Renderable2D<LaneAnimation.CenterLine> implements Serializable
- serialVersionUID:
 - 20180426L
 
 - 
Class org.opentrafficsim.draw.road.LaneAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
 - 
Class org.opentrafficsim.draw.road.SensorAnimation extends AbstractLineAnimation<SingleSensor> implements Serializable
- serialVersionUID:
 - 20150130L
 
- 
Serialized Fields
- 
color
Color color
The color of the sensor. - 
sensorPosition
Length sensorPosition
the position of the sensor on the lane to determine the width of the lane at that point. - 
text
SensorAnimation.Text text
the Text object to destroy when the animation is destroyed. 
 - 
 
 - 
Class org.opentrafficsim.draw.road.SensorAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
 - 
Class org.opentrafficsim.draw.road.ShoulderAnimation extends Renderable2D<Shoulder> implements Serializable
- serialVersionUID:
 - 20141017L
 
- 
Serialized Fields
- 
color
Color color
The animation color. 
 - 
 
 - 
Class org.opentrafficsim.draw.road.SinkAnimation extends AbstractLineAnimation<SinkSensor> implements Serializable
- serialVersionUID:
 - 20150130L
 
 - 
Class org.opentrafficsim.draw.road.SpeedSignAnimation extends Renderable2D<SpeedSign> implements Serializable
- serialVersionUID:
 - 20170420L
 
 - 
Class org.opentrafficsim.draw.road.StripeAnimation extends Renderable2D<Stripe> implements Serializable
- serialVersionUID:
 - 20141017L
 
- 
Serialized Fields
- 
line
OTSLine3D line
The points for the outline of the Stripe. - 
type
StripeAnimation.TYPE type
The line type. 
 - 
 
 - 
Class org.opentrafficsim.draw.road.TrafficLightAnimation extends AbstractLineAnimation<TrafficLight> implements Serializable
- serialVersionUID:
 - 20160000L
 
- 
Serialized Fields
- 
text
TrafficLightAnimation.Text text
the Text object to destroy when the animation is destroyed. 
 - 
 
 - 
Class org.opentrafficsim.draw.road.TrafficLightAnimation.Text extends TextAnimation implements Serializable
- serialVersionUID:
 - 20161211L
 
 - 
Class org.opentrafficsim.draw.road.TrafficLightSensorAnimation extends Renderable2D<TrafficLightSensor> implements Serializable
- serialVersionUID:
 - 20150130L
 
- 
Serialized Fields
- 
path
OTSLine3D path
Path of the detector. - 
sensor
TrafficLightSensor sensor
The traffic light sensor. 
 - 
 
 
 -