Serialized Form
-
Package org.opentrafficsim.draw.core
-
Class org.opentrafficsim.draw.core.BoundsPaintScale
class 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.
-
-
Exception org.opentrafficsim.draw.core.OtsDrawingException
class OtsDrawingException extends Exception implements Serializable- serialVersionUID:
- 1L
-
Class org.opentrafficsim.draw.core.TextAnimation
class 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
class 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
class DefaultAnimationFactory extends Object implements Serializable- serialVersionUID:
- 20230129L
-
Serialized Fields
-
animatedGTUs
Map<LaneBasedGtu,
nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneBasedGtu>> animatedGTUs Rendered gtus. -
animatedLocatedObjects
Map<Locatable,
nl.tudelft.simulation.dsol.animation.D2.Renderable2D<?>> animatedLocatedObjects Rendered located objects. -
animatedNonLocatedObjects
Map<org.opentrafficsim.core.object.NonLocatedObject,
nl.tudelft.simulation.dsol.animation.D2.Renderable2D<?>> animatedNonLocatedObjects Rendered non-located objects. -
gtuColorer
GtuColorer gtuColorer
GTU colorer. -
network
org.opentrafficsim.core.network.Network network
The network. -
simulator
org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator
The simulator.
-
-
-
Package org.opentrafficsim.draw.graphs
-
Class org.opentrafficsim.draw.graphs.JFileChooserWithSettings
class JFileChooserWithSettings extends JFileChooser implements Serializable- serialVersionUID:
- 20181014L
-
Class org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer
class XyInterpolatedBlockRenderer extends XYBlockRenderer implements Serializable- serialVersionUID:
- 20181008L
-
Serialized Fields
-
interpolate
boolean interpolate
Whether to use the interpolation. -
xyInterpolatedDataset
XyInterpolatedDataset xyInterpolatedDataset
Dataset that allows retrieving surrounding value for interpolation.
-
-
-
Package org.opentrafficsim.draw.gtu
-
Class org.opentrafficsim.draw.gtu.DefaultCarAnimation
class DefaultCarAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneBasedGtu> implements Serializable- serialVersionUID:
- 20150000L
-
Serialized Fields
-
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. -
marker
RectangularShape marker
Marker if zoomed out. -
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
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
Serialized Fields
-
isTextDestroyed
boolean isTextDestroyed
is the animation destroyed?
-
-
-
Package org.opentrafficsim.draw.lane
-
Class org.opentrafficsim.draw.lane.LaneStructureAnimation
class LaneStructureAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneStructureLocatable> implements Serializable-
Serialized Fields
-
isDestroyed
boolean isDestroyed
Destroyed.
-
-
-
-
Package org.opentrafficsim.draw.network
-
Class org.opentrafficsim.draw.network.LinkAnimation
class LinkAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<org.opentrafficsim.core.network.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
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.network.NodeAnimation
class NodeAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<NodeAnimation.ElevatedNode> 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
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
-
Package org.opentrafficsim.draw.object
-
Class org.opentrafficsim.draw.object.StaticObjectAnimation
class StaticObjectAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<org.opentrafficsim.core.object.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
class AbstractLineAnimation extends nl.tudelft.simulation.dsol.animation.D2.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
- serialVersionUID:
- 20170125L
-
Serialized Fields
-
text
BusStopAnimation.Text text
Text label.
-
-
Class org.opentrafficsim.draw.road.BusStopAnimation.Text
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.ConflictAnimation
- serialVersionUID:
- 20161207L
-
Class org.opentrafficsim.draw.road.CrossSectionElementAnimation
class CrossSectionElementAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<CrossSectionElement> implements Serializable- serialVersionUID:
- 20141017L
-
Serialized Fields
-
color
Color color
The animation color.
-
-
Class org.opentrafficsim.draw.road.DestinationAnimation
class DestinationAnimation extends AbstractLineAnimation<DestinationDetector> implements Serializable- serialVersionUID:
- 20150130L
-
Class org.opentrafficsim.draw.road.DetectorAnimation
- serialVersionUID:
- 20150130L
-
Serialized Fields
-
color
Color color
The color of the detector. -
text
DetectorAnimation.Text text
the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.road.DetectorAnimation.Text
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation
class GtuGeneratorPositionAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<org.opentrafficsim.core.gtu.GtuGenerator.GtuGeneratorPosition> implements Serializable- serialVersionUID:
- 20230204L
-
Class org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.Queue
class Queue extends TextAnimation implements Serializable- serialVersionUID:
- 20230204L
-
Class org.opentrafficsim.draw.road.LaneAnimation
class LaneAnimation extends nl.tudelft.simulation.dsol.animation.D2.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
class CenterLineAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneAnimation.CenterLine> implements Serializable- serialVersionUID:
- 20180426L
-
Class org.opentrafficsim.draw.road.LaneAnimation.Text
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.SinkAnimation
- serialVersionUID:
- 20150130L
-
Class org.opentrafficsim.draw.road.SpeedSignAnimation
class SpeedSignAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<SpeedSign> implements Serializable- serialVersionUID:
- 20170420L
-
Class org.opentrafficsim.draw.road.StripeAnimation
class StripeAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<Stripe> implements Serializable- serialVersionUID:
- 20141017L
-
Serialized Fields
-
line
org.opentrafficsim.core.geometry.OtsLine3d line
The points for the outline of the Stripe.
-
-
Class org.opentrafficsim.draw.road.TrafficLightAnimation
- 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
class Text extends TextAnimation implements Serializable- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.TrafficLightDetectorAnimation
class TrafficLightDetectorAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<TrafficLightDetector> implements Serializable- serialVersionUID:
- 20150130L
-
Serialized Fields
-
detector
TrafficLightDetector detector
The traffic light detector. -
polygon
Path2D.Float polygon
Path of the detector.
-
-