Serialized Form
-
Package org.opentrafficsim.draw.core
-
Class org.opentrafficsim.draw.core.BoundsPaintScale extends java.lang.Object implements Serializable
- serialVersionUID:
- 20181008L
-
Serialized Fields
-
boundColors
java.awt.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 java.lang.Exception implements Serializable
- serialVersionUID:
- 1L
-
Class org.opentrafficsim.draw.core.TextAnimation extends java.lang.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
java.awt.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
java.awt.Font font
The font. -
fontRectangle
java.awt.geom.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
java.lang.String text
The text to display. -
textAlignment
TextAlignment textAlignment
Whether to center or not.
-
-
Class org.opentrafficsim.draw.core.TextProperties extends java.lang.Object implements Serializable
- serialVersionUID:
- 20170400L
-
Serialized Fields
-
color
java.awt.Color color
the color of the text, e.g., Color.RED. -
font
java.lang.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
java.util.Map<java.awt.font.TextAttribute,java.lang.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 java.lang.Object implements Serializable
-
Serialized Fields
-
animatedGTUs
java.util.Map<LaneBasedGTU,Renderable2D<LaneBasedGTU>> animatedGTUs
rendered gtus. -
animatedObjects
java.util.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 javax.swing.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
java.awt.geom.RectangularShape dot
Dot if zoomed out. -
frontIndicator
java.awt.geom.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
java.awt.geom.Rectangle2D.Double leftBrake
Left brake light. -
leftIndicator
java.awt.geom.Rectangle2D.Double leftIndicator
Left indicator. -
rectangle
java.awt.geom.Rectangle2D.Double rectangle
GTU outline. -
rightBrake
java.awt.geom.Rectangle2D.Double rightBrake
Right brake light. -
rightIndicator
java.awt.geom.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
java.awt.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
java.awt.geom.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
java.awt.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
java.awt.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
java.awt.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.
-
-