Skip navigation links
A B C D E F G H I J L M N O P R S T U V X Z 

A

AbstractBoundedPlot - Class in org.opentrafficsim.draw.graphs
Plot that allows hard bounds to be set, with upper and lower bound independent.
AbstractBoundedPlot(String, Duration, OTSSimulatorInterface, Duration) - Constructor for class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Constructor.
AbstractContourPlot<Z extends Number> - Class in org.opentrafficsim.draw.graphs
Class for contour plots.
AbstractContourPlot(String, OTSSimulatorInterface, ContourDataSource<?>, BoundsPaintScale, Z, String, String) - Constructor for class org.opentrafficsim.draw.graphs.AbstractContourPlot
Constructor with specified paint scale.
AbstractContourPlot(String, OTSSimulatorInterface, ContourDataSource<?>, Z, String, Z, Z, String) - Constructor for class org.opentrafficsim.draw.graphs.AbstractContourPlot
Constructor with default paint scale.
AbstractGraphSpace<S> - Class in org.opentrafficsim.draw.graphs
Common functionality between a cross-section and a path.
AbstractGraphSpace(List<String>) - Constructor for class org.opentrafficsim.draw.graphs.AbstractGraphSpace
Constructor.
AbstractLineAnimation<T extends LaneBasedObject> - Class in org.opentrafficsim.draw.road
Abstract class for objects that draw a line perpendicular on the lane.
AbstractLineAnimation(T, SimulatorInterface.TimeDoubleUnit, double, Length) - Constructor for class org.opentrafficsim.draw.road.AbstractLineAnimation
Construct the line animation.
AbstractPlot - Class in org.opentrafficsim.draw.graphs
Super class of all plots.
AbstractPlot(String, Duration, OTSSimulatorInterface, Duration) - Constructor for class org.opentrafficsim.draw.graphs.AbstractPlot
Constructor.
AbstractSamplerPlot - Class in org.opentrafficsim.draw.graphs
Super class for plots that use sampler data.
AbstractSamplerPlot(String, Duration, OTSSimulatorInterface, Sampler<?>, GraphPath<KpiLaneDirection>, Duration) - Constructor for class org.opentrafficsim.draw.graphs.AbstractSamplerPlot
Constructor.
AbstractSpaceTimePlot - Class in org.opentrafficsim.draw.graphs
Plots with space-time.
AbstractSpaceTimePlot(String, Duration, OTSSimulatorInterface, Duration, Time) - Constructor for class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Constructor.
addChangeListener(DatasetChangeListener) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Overridable method to add pop up items.
addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Overridable method to add pop up items.
addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Overridable method to add pop up items.
addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Overridable method to add pop up items.
animateGTU(LaneBasedGTU) - Method in class org.opentrafficsim.draw.factory.DefaultAnimationFactory
Draw the GTU (scheduled method).
animateGTUGenerator(GtuGenerator) - Method in class org.opentrafficsim.draw.factory.DefaultAnimationFactory
Draw the GTUGenerator.
animateNetwork(OTSNetwork, OTSSimulatorInterface, GTUColorer) - Static method in class org.opentrafficsim.draw.factory.DefaultAnimationFactory
Creates animations for nodes, links, lanes and GTUs.
animateStaticObject(ObjectInterface) - Method in class org.opentrafficsim.draw.factory.DefaultAnimationFactory
Draw the static object.
animateXmlNetwork(OTSNetwork, OTSSimulatorInterface, GTUColorer) - Static method in class org.opentrafficsim.draw.factory.DefaultAnimationFactory
Creates animations for nodes, links, lanes and GTUs.

B

BoundsPaintScale - Class in org.opentrafficsim.draw.core
Paint scale interpolating between colors at values.
BoundsPaintScale(double[], Color[]) - Constructor for class org.opentrafficsim.draw.core.BoundsPaintScale
Constructor.
BusStopAnimation - Class in org.opentrafficsim.draw.road
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
BusStopAnimation(BusStop, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.BusStopAnimation
 
BusStopAnimation.Text - Class in org.opentrafficsim.draw.road
Text animation for the BusStop.

C

ClonableRenderable2DInterface<T extends Locatable> - Interface in org.opentrafficsim.draw.core
This interface extends the animation objects with an option to clone them for a new source on a new Simulator.
clone(T, SimulatorInterface.TimeDoubleUnit) - Method in interface org.opentrafficsim.draw.core.ClonableRenderable2DInterface
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.core.TextAnimation
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(LaneBasedGTU, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.gtu.GtuGeneratorQueueAnimation
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(Link, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.network.LinkAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.network.LinkAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.network.NodeAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.network.NodeAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(OTSNetwork, String, SimulatorInterface.TimeDoubleUnit, OTSSimulatorInterface) - Static method in class org.opentrafficsim.draw.network.OTSNetworkAnimationUtils
Clone the OTSNetwork, including animation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.BusStopAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(Lane, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.LaneAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.LaneAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(SingleSensor, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.SensorAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.SensorAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
clone(Stripe, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.StripeAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(TrafficLight, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation
Clone the animation object and register it for the new source on the new simulation.
clone(Locatable, SimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation.Text
Clone the TextAnimation and return a copy for the new source on the new simulator.
cloneAnimation(Locatable, T, SimulatorInterface.TimeDoubleUnit, SimulatorInterface.TimeDoubleUnit) - Static method in class org.opentrafficsim.draw.network.OTSNetworkAnimationUtils
Clone all animation objects for the given class.
ColorPaintScale - Interface in org.opentrafficsim.draw.core
Paint scale that forces the output to be a color.
computeOther(FundamentalDiagram.Quantity, double, double) - Method in enum org.opentrafficsim.draw.graphs.FundamentalDiagram.Quantity
Compute the value of the 3rd quantity.
ConflictAnimation - Class in org.opentrafficsim.draw.road
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ConflictAnimation(Conflict, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.ConflictAnimation
 
considerTrajectory(Trajectory<?>, Time, Time) - Static method in class org.opentrafficsim.draw.graphs.GraphUtil
Helper method for quick filtering of trajectories by checking if the time of the trajectory has overlap with the given time.
considerTrajectory(Trajectory<?>, Length, Length) - Static method in class org.opentrafficsim.draw.graphs.GraphUtil
Helper method for quick filtering of trajectories by checking if the position of the trajectory has overlap with the given range.
ContourDataSource<G extends GtuDataInterface> - Class in org.opentrafficsim.draw.graphs
Class that contains data for contour plots.
ContourDataSource(Sampler<G>, GraphPath<KpiLaneDirection>) - Constructor for class org.opentrafficsim.draw.graphs.ContourDataSource
Constructor using default granularities.
ContourDataSource(Sampler<G>, Duration, GraphPath<KpiLaneDirection>, double[], int, double[], int, Time, Time) - Constructor for class org.opentrafficsim.draw.graphs.ContourDataSource
Constructor for non-default input.
ContourDataSource.ContourDataType<Z extends Number,I> - Interface in org.opentrafficsim.draw.graphs
Interface for data types of which a contour plot can be made.
ContourDataSource.Dimension - Enum in org.opentrafficsim.draw.graphs
Enum to refer to either the distance or time axis.
ContourPlotAcceleration - Class in org.opentrafficsim.draw.graphs
Contour plot for acceleration.
ContourPlotAcceleration(String, OTSSimulatorInterface, ContourDataSource<?>) - Constructor for class org.opentrafficsim.draw.graphs.ContourPlotAcceleration
Constructor.
ContourPlotDelay - Class in org.opentrafficsim.draw.graphs.road
Contour plot for delay.
ContourPlotDelay(String, OTSSimulatorInterface, ContourDataSource<GtuData>) - Constructor for class org.opentrafficsim.draw.graphs.road.ContourPlotDelay
Constructor.
ContourPlotDensity - Class in org.opentrafficsim.draw.graphs
Contour plot for density.
ContourPlotDensity(String, OTSSimulatorInterface, ContourDataSource<?>) - Constructor for class org.opentrafficsim.draw.graphs.ContourPlotDensity
Constructor.
ContourPlotFlow - Class in org.opentrafficsim.draw.graphs
Contour plot for flow.
ContourPlotFlow(String, OTSSimulatorInterface, ContourDataSource<?>) - Constructor for class org.opentrafficsim.draw.graphs.ContourPlotFlow
Constructor.
ContourPlotSpeed - Class in org.opentrafficsim.draw.graphs
Contour plot for speed.
ContourPlotSpeed(String, OTSSimulatorInterface, ContourDataSource<?>) - Constructor for class org.opentrafficsim.draw.graphs.ContourPlotSpeed
Constructor.
createCrossSection(String, DirectedLanePosition) - Static method in class org.opentrafficsim.draw.graphs.road.GraphLaneUtil
Creates a cross section at the provided lane and position.
createCrossSection(List<String>, DirectedLinkPosition) - Static method in class org.opentrafficsim.draw.graphs.road.GraphLaneUtil
Creates a cross section at the provided link and position.
createCrossSection(List<String>, List<KpiLaneDirection>, List<Length>, Speed) - Static method in class org.opentrafficsim.draw.graphs.road.GraphLaneUtil
Creates a cross section.
createPath(String, LaneDirection) - Static method in class org.opentrafficsim.draw.graphs.road.GraphLaneUtil
Creates a path starting at the provided lane and moving downstream until a dead-end, split, or loop.
createPath(List<String>, List<LaneDirection>) - Static method in class org.opentrafficsim.draw.graphs.road.GraphLaneUtil
Creates a path starting at the provided lanes and moving downstream for as long as no lane finds a loop (on to any of the lanes) and there's a unique link all lanes have downstream.
createSingleLanePath(String, LaneDirection) - Static method in class org.opentrafficsim.draw.graphs.road.GraphLaneUtil
Creates a single-lane path.

D

DEFAULT_INITIAL_UPPER_TIME_BOUND - Static variable in class org.opentrafficsim.draw.graphs.AbstractPlot
Initial upper bound for the time scale.
DEFAULT_LOWER_TIME_BOUND - Static variable in class org.opentrafficsim.draw.graphs.ContourDataSource
Initial lower bound for the time scale.
DEFAULT_PERIODS - Static variable in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Aggregation periods.
DEFAULT_SPACE_GRANULARITIES - Static variable in class org.opentrafficsim.draw.graphs.ContourDataSource
Space granularity values.
DEFAULT_SPACE_GRANULARITY_INDEX - Static variable in class org.opentrafficsim.draw.graphs.ContourDataSource
Index of the initial space granularity.
DEFAULT_TIME_GRANULARITIES - Static variable in class org.opentrafficsim.draw.graphs.ContourDataSource
Time granularity values.
DEFAULT_TIME_GRANULARITY_INDEX - Static variable in class org.opentrafficsim.draw.graphs.ContourDataSource
Index of the initial time granularity.
DEFAULT_UPDATE_FREQUENCIES - Static variable in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Update frequencies (n * 1/period).
DefaultAnimationFactory - Class in org.opentrafficsim.draw.factory
DefaultAnimationFactory.java.
DefaultAnimationFactory(OTSNetwork, OTSSimulatorInterface, GTUColorer, boolean) - Constructor for class org.opentrafficsim.draw.factory.DefaultAnimationFactory
Creates animations for nodes, links and lanes.
DefaultCarAnimation - Class in org.opentrafficsim.draw.gtu
Draw a car.
DefaultCarAnimation(LaneBasedGTU, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.gtu.DefaultCarAnimation
Construct the DefaultCarAnimation for a LaneBasedIndividualCar.
DefaultCarAnimation(LaneBasedGTU, SimulatorInterface.TimeDoubleUnit, GTUColorer) - Constructor for class org.opentrafficsim.draw.gtu.DefaultCarAnimation
Construct the DefaultCarAnimation for a LaneBasedIndividualCar.
DefaultCarAnimation.Text - Class in org.opentrafficsim.draw.gtu
Text animation for the Car.
destroy() - Method in class org.opentrafficsim.draw.core.TextAnimation
Destroy the text animation.
destroy() - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation
destroy() - Method in class org.opentrafficsim.draw.network.LinkAnimation
destroy() - Method in class org.opentrafficsim.draw.network.NodeAnimation
destroy(OTSNetwork, SimulatorInterface.TimeDoubleUnit) - Static method in class org.opentrafficsim.draw.network.OTSNetworkAnimationUtils
Remove all objects and animation in the network.
destroy() - Method in class org.opentrafficsim.draw.road.BusStopAnimation
destroy() - Method in class org.opentrafficsim.draw.road.LaneAnimation
destroy() - Method in class org.opentrafficsim.draw.road.SensorAnimation
destroy() - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation
drawItem(Graphics2D, XYItemRendererState, Rectangle2D, PlotRenderingInfo, XYPlot, ValueAxis, ValueAxis, XYDataset, int, int, CrosshairState, int) - Method in class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer
This code is partially based on the parent implementation.

E

ElevatedNode(Node) - Constructor for class org.opentrafficsim.draw.network.NodeAnimation.ElevatedNode
 
encodeAsPng(int, int, double) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Returns the chart as a byte array representing a png image.
ensureCapacity(double[], int) - Static method in class org.opentrafficsim.draw.graphs.GraphUtil
Ensures that the given capacity is available in the array.
ensureCapacity(float[], int) - Static method in class org.opentrafficsim.draw.graphs.GraphUtil
Ensures that the given capacity is available in the array.
ensureCapacity(int[], int) - Static method in class org.opentrafficsim.draw.graphs.GraphUtil
Ensures that the given capacity is available in the array.
equals(Object) - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation

F

finalize(I) - Method in interface org.opentrafficsim.draw.graphs.ContourDataSource.ContourDataType
Returns the final value of the intermediate result after all lanes.
format(double) - Method in enum org.opentrafficsim.draw.graphs.FundamentalDiagram.Quantity
Formats a value for status display.
FundamentalDiagram - Class in org.opentrafficsim.draw.graphs
Fundamental diagram from various sources.
FundamentalDiagram(String, FundamentalDiagram.Quantity, FundamentalDiagram.Quantity, OTSSimulatorInterface, FundamentalDiagram.FdSource) - Constructor for class org.opentrafficsim.draw.graphs.FundamentalDiagram
Constructor.
FundamentalDiagram(String, FundamentalDiagram.Quantity, FundamentalDiagram.Quantity, OTSSimulatorInterface, Sampler<?>, GraphCrossSection<KpiLaneDirection>, boolean, Duration, boolean) - Constructor for class org.opentrafficsim.draw.graphs.FundamentalDiagram
Constructor using a sampler as source.
FundamentalDiagram(String, FundamentalDiagram.Quantity, FundamentalDiagram.Quantity, OTSSimulatorInterface, Sampler<?>, GraphPath<KpiLaneDirection>, boolean, Duration) - Constructor for class org.opentrafficsim.draw.graphs.FundamentalDiagram
Constructor using a sampler as source.
FundamentalDiagram.FdSource - Interface in org.opentrafficsim.draw.graphs
Data source for a fundamental diagram.
FundamentalDiagram.Quantity - Enum in org.opentrafficsim.draw.graphs
Quantity enum defining density, flow and speed.

G

get(int, ContourDataSource.ContourDataType<?, ?>) - Method in class org.opentrafficsim.draw.graphs.ContourDataSource
Returns data of the given ContourDataType for a specific item.
get(int) - Method in class org.opentrafficsim.draw.graphs.GraphPath
Returns a section.
getAggregationPeriod() - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
The aggregation period.
getAxis(ContourDataSource<?>) - Method in enum org.opentrafficsim.draw.graphs.ContourDataSource.Dimension
Returns the Axis object.
getBounds() - Method in class org.opentrafficsim.draw.core.TextAnimation
getBounds() - Method in class org.opentrafficsim.draw.lane.LaneStructureLocatable
getBounds() - Method in class org.opentrafficsim.draw.network.NodeAnimation.ElevatedNode
getCaption() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Return the caption of this graph.
getChart() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Returns the chart.
getChartMouseListener() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Overridable; may return a chart listener for additional functions.
getChartMouseListener() - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Overridable; may return a chart listener for additional functions.
getChartMouseListener() - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
Overridable; may return a chart listener for additional functions.
getColor() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the current color.
getColor() - Method in class org.opentrafficsim.draw.core.TextProperties
 
getColor() - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
 
getContourDataType() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Returns the contour data type for use in a ContourDataSource.
getContourDataType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotAcceleration
Returns the contour data type for use in a ContourDataSource.
getContourDataType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotDensity
Returns the contour data type for use in a ContourDataSource.
getContourDataType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotFlow
Returns the contour data type for use in a ContourDataSource.
getContourDataType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotSpeed
Returns the contour data type for use in a ContourDataSource.
getContourDataType() - Method in class org.opentrafficsim.draw.graphs.road.ContourPlotDelay
Returns the contour data type for use in a ContourDataSource.
getDataPool() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Returns the data pool for sub classes.
getDelay() - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Return the delay for graph updates so future influencing events have occurred, e.d.
getDensity(int, int) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Return the SI density value of item in series.
getDomainOrder() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getDomainOrder() - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getDomainOrder() - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getDx() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve dx.
getDy() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve dy.
getEndLocation() - Method in class org.opentrafficsim.draw.graphs.AbstractSamplerPlot
Returns the total path length.
getEndLocation() - Method in class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Returns the total path length.
getFlow(int, int) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Return the SI flow value of item in series.
getFont() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the font.
getFont() - Method in class org.opentrafficsim.draw.core.TextProperties
 
getFontSize() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the font size.
getFontSize() - Method in class org.opentrafficsim.draw.core.TextProperties
 
getGraphType() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotAcceleration
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotDensity
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotFlow
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.ContourPlotSpeed
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.road.ContourPlotDelay
Return the graph type for transceiver.
getGraphType() - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
Return the graph type for transceiver.
getGroup() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
getGtu() - Method in class org.opentrafficsim.draw.lane.LaneStructureLocatable
 
getHalfLength() - Method in class org.opentrafficsim.draw.road.AbstractLineAnimation
Returns half the length.
getId() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
getItemCount(int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getItemCount(int) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Returns the number of items in the series.
getItemCount(int) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getItemCount(int) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getLength() - Method in interface org.opentrafficsim.draw.graphs.GraphPath.Section
Returns the section length.
getLocation() - Method in class org.opentrafficsim.draw.core.TextAnimation
getLocation() - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text
getLocation() - Method in class org.opentrafficsim.draw.lane.LaneStructureLocatable
getLocation() - Method in class org.opentrafficsim.draw.network.LinkAnimation.Text
getLocation() - Method in class org.opentrafficsim.draw.network.NodeAnimation.ElevatedNode
getLocation() - Method in class org.opentrafficsim.draw.road.LaneAnimation.Text
getLowerBound() - Method in class org.opentrafficsim.draw.core.BoundsPaintScale
getName(int) - Method in class org.opentrafficsim.draw.graphs.AbstractGraphSpace
Returns the name of the series.
getName(int) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Returns a name of the series.
getNumberOfSeries() - Method in class org.opentrafficsim.draw.graphs.AbstractGraphSpace
Returns the number of series.
getNumberOfSeries() - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Returns the number of series (i.e.
getPaint(double) - Method in class org.opentrafficsim.draw.core.BoundsPaintScale
getPaint(double) - Method in interface org.opentrafficsim.draw.core.ColorPaintScale
getParentIntrospectionObject() - Method in class org.opentrafficsim.draw.network.NodeAnimation.ElevatedNode
getPath() - Method in class org.opentrafficsim.draw.graphs.AbstractSamplerPlot
Returns the path.
getPossibleAggregationPeriods() - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Returns the possible intervals.
getPossibleUpdateFrequencies() - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Returns the possible frequencies, as a factor on 1 / 'aggregation interval'.
getQuantity() - Method in interface org.opentrafficsim.draw.graphs.ContourDataSource.ContourDataType
Returns the quantity that is being plotted on the z-axis for the EGTF filter.
getRangeBinCount() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Returns the number of items in each column.
getRollingLaneStructure() - Method in class org.opentrafficsim.draw.lane.LaneStructureLocatable
 
getSampler() - Method in class org.opentrafficsim.draw.graphs.AbstractSamplerPlot
Returns the sampler.
getSampler() - Method in class org.opentrafficsim.draw.graphs.ContourDataSource
Returns the sampler for an AbstractContourPlot using this ContourDataSource.
getSections() - Method in class org.opentrafficsim.draw.graphs.GraphPath
Returns an immutable list of the sections.
getSeriesCount() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getSeriesCount() - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getSeriesCount() - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getSeriesKey(int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getSeriesKey(int) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getSeriesKey(int) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getSource() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the source.
getSource(int) - Method in class org.opentrafficsim.draw.graphs.GraphCrossSection
Returns the underlying source of the series.
getSource(int) - Method in interface org.opentrafficsim.draw.graphs.GraphPath.Section
Returns the source object.
getSpaceGranularity() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Returns the space granularity, just for information.
getSpeed(int) - Method in class org.opentrafficsim.draw.graphs.ContourDataSource
Returns the speed of the cell pertaining to plot item.
getSpeed(int, int) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Return the SI speed value of item in series.
getSpeedLimit() - Method in class org.opentrafficsim.draw.graphs.GraphPath
Returns the mean speed over the entire section.
getSpeedLimit() - Method in interface org.opentrafficsim.draw.graphs.GraphPath.Section
Returns the speed limit on the section.
getStartDistance(GraphPath.Section<S>) - Method in class org.opentrafficsim.draw.graphs.GraphPath
Returns the start distance of the section.
getStatusLabel(double, double) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Returns the status label when the mouse is over the given location.
getStatusLabel(double, double) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Returns the status label when the mouse is over the given location.
getStatusLabel(double, double) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Returns the status label when the mouse is over the given location.
getStatusLabel(double, double) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
Returns the status label when the mouse is over the given location.
getText() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the current text.
getText() - Method in class org.opentrafficsim.draw.road.LaneAnimation
 
getText() - Method in class org.opentrafficsim.draw.road.SensorAnimation
 
getText() - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation
 
getTextAlignment() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the text alignment.
getTextAlignment() - Method in class org.opentrafficsim.draw.core.TextProperties
 
getTextAttributes() - Method in class org.opentrafficsim.draw.core.TextProperties
 
getTimeGranularity() - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Returns the time granularity, just for information.
getToggleSeriesByLegendListener(LegendItemCollection, List<Boolean>) - Static method in class org.opentrafficsim.draw.graphs.GraphUtil
Returns a chart listener that allows the series to be enabled and disabled by clicking on the respective legend item.
getTotalDistance(int) - Method in class org.opentrafficsim.draw.graphs.ContourDataSource
Returns the total distance traveled in the cell pertaining to plot item.
getTotalLength() - Method in class org.opentrafficsim.draw.graphs.GraphPath
Returns the total path length.
getTotalTime(int) - Method in class org.opentrafficsim.draw.graphs.ContourDataSource
Returns the total time traveled in the cell pertaining to plot item.
getTrajectories(int) - Method in class org.opentrafficsim.draw.graphs.AbstractSamplerPlot
Returns all trajectories for the series, in order of the path.
getUpdateInterval() - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
The update interval.
getUpdateTime() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Returns time until which data should be plotted.
getUpperBound() - Method in class org.opentrafficsim.draw.core.BoundsPaintScale
getValue() - Method in enum org.opentrafficsim.draw.core.TextWeight
 
getValue() - Method in enum org.opentrafficsim.draw.core.TextWidth
 
getValue(int, double, double) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Obtain value for cell from the data pool.
getValue(int, double, double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotAcceleration
Obtain value for cell from the data pool.
getValue(int, double, double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotDensity
Obtain value for cell from the data pool.
getValue(int, double, double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotFlow
Obtain value for cell from the data pool.
getValue(int, double, double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotSpeed
Obtain value for cell from the data pool.
getValue(FundamentalDiagram.FdSource, int, int) - Method in enum org.opentrafficsim.draw.graphs.FundamentalDiagram.Quantity
Get scaled value in presentation unit.
getValue(int, double, double) - Method in class org.opentrafficsim.draw.graphs.road.ContourPlotDelay
Obtain value for cell from the data pool.
getWidth() - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
 
getX(int, int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getX(int, int) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getX(int, int) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getXValue(int, int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getXValue(int, int) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getXValue(int, int) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getY(int, int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getY(int, int) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getY(int, int) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getYValue(int, int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getYValue(int, int) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
getYValue(int, int) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
getZ(int, int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
getZValue(int, int) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
GRAPH_ADD_EVENT - Static variable in class org.opentrafficsim.draw.graphs.AbstractPlot
The (regular, not timed) event type for pub/sub indicating the addition of a graph.
GRAPH_REMOVE_EVENT - Static variable in class org.opentrafficsim.draw.graphs.AbstractPlot
The (regular, not timed) event type for pub/sub indicating the removal of a graph.
GraphCrossSection<S> - Class in org.opentrafficsim.draw.graphs
A GraphCrossSection defines the location of graphs.
GraphCrossSection(String, GraphPath.Section<S>, Length) - Constructor for class org.opentrafficsim.draw.graphs.GraphCrossSection
Constructor for a one-series cross section.
GraphCrossSection(List<String>, GraphPath.Section<S>, List<Length>) - Constructor for class org.opentrafficsim.draw.graphs.GraphCrossSection
Constructor.
GraphLaneUtil - Class in org.opentrafficsim.draw.graphs.road
Utilities to create GraphPaths and GraphCrossSections for graphs, based on lanes.
GraphPath<S> - Class in org.opentrafficsim.draw.graphs
A GraphPath defines the spatial dimension of graphs.
GraphPath(String, List<GraphPath.Section<S>>) - Constructor for class org.opentrafficsim.draw.graphs.GraphPath
Constructor for a one-series path.
GraphPath(List<String>, List<GraphPath.Section<S>>) - Constructor for class org.opentrafficsim.draw.graphs.GraphPath
Constructor.
GraphPath.Section<S> - Interface in org.opentrafficsim.draw.graphs
Interface for sections.
GraphType - Enum in org.opentrafficsim.draw.graphs
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
GraphUpdater<T> - Class in org.opentrafficsim.draw.graphs
The GrapghUpdater can be used to repeatedly offer a value that is automatically processed in order of offering in a parallel Thread.
GraphUpdater(String, Thread, GraphUpdater.Updater<T>) - Constructor for class org.opentrafficsim.draw.graphs.GraphUpdater
Constructs and starts a thread that performs each given task from a queue.
GraphUtil - Class in org.opentrafficsim.draw.graphs
Contains some static utilities.
GREEN_RED - Static variable in class org.opentrafficsim.draw.core.BoundsPaintScale
3-color scale from green to red.
GREEN_RED_DARK - Static variable in class org.opentrafficsim.draw.core.BoundsPaintScale
5-color scale from green to red with dark edges.
GtuGeneratorQueueAnimation - Class in org.opentrafficsim.draw.gtu
Animator that displays generation queues as numbers.
GtuGeneratorQueueAnimation(GtuGeneratorQueue, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.gtu.GtuGeneratorQueueAnimation
Constructor.

H

hashCode() - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation
hue(int) - Static method in class org.opentrafficsim.draw.core.BoundsPaintScale
Creates an array of n colors with varying hue.

I

identity() - Method in interface org.opentrafficsim.draw.graphs.ContourDataSource.ContourDataType
Returns the initial value for intermediate result.
increaseTime(Time) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Increase the simulated time span.
increaseTime(Time) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Increase the simulated time span.
increaseTime(Time) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Increase the time span.
increaseTime(Time) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Increase the simulated time span.
increaseTime(Time) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
Increase the simulated time span.
indexOf(Comparable) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
indexOf(Comparable) - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
indexOf(Comparable) - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
isFill() - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
 
isFlip() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the current flip status.
isRotate() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the current rotation status.
isScale() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the current scale status.
isTranslate() - Method in class org.opentrafficsim.draw.core.TextAnimation
Retrieve the current translate status.
iterator(int) - Method in class org.opentrafficsim.draw.graphs.GraphCrossSection
Returns an iterator over the sources on the given series.
iterator() - Method in class org.opentrafficsim.draw.graphs.GraphCrossSection
iterator() - Method in class org.opentrafficsim.draw.graphs.GraphPath
iterator(int) - Method in class org.opentrafficsim.draw.graphs.GraphPath
Returns an iterator over the sources on the given series.

J

JFileChooserWithSettings - Class in org.opentrafficsim.draw.graphs
Small helper class that adds some components to a JFileChooser, the contents of which can be used to retrieve user settings for output.
JFileChooserWithSettings(Component...) - Constructor for class org.opentrafficsim.draw.graphs.JFileChooserWithSettings
Constructor that adds components to the left of the 'Save' and 'Cancel' button.

L

label() - Method in enum org.opentrafficsim.draw.graphs.FundamentalDiagram.Quantity
Returns an axis label of the quantity.
LaneAnimation - Class in org.opentrafficsim.draw.road
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
LaneAnimation(Lane, SimulatorInterface.TimeDoubleUnit, Color, boolean) - Constructor for class org.opentrafficsim.draw.road.LaneAnimation
Animate a Lane.
LaneAnimation.Text - Class in org.opentrafficsim.draw.road
Text animation for the Node.
LaneStructureAnimation - Class in org.opentrafficsim.draw.lane
LaneStructureAnimation.java.
LaneStructureLocatable - Class in org.opentrafficsim.draw.lane
LaneStructureLocatable.java.
LaneStructureLocatable(RollingLaneStructure, GTU) - Constructor for class org.opentrafficsim.draw.lane.LaneStructureLocatable
 
LinkAnimation - Class in org.opentrafficsim.draw.network
Draws a Link.
LinkAnimation(Link, SimulatorInterface.TimeDoubleUnit, float) - Constructor for class org.opentrafficsim.draw.network.LinkAnimation
 
LinkAnimation.Text - Class in org.opentrafficsim.draw.network
Text animation for the Link.

M

mouseClicked(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
mouseDragged(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
mouseEntered(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
mouseExited(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
mouseMoved(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
mousePressed(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
mouseReleased(MouseEvent) - Method in class org.opentrafficsim.draw.graphs.PointerHandler

N

NEWPATH - Static variable in class org.opentrafficsim.draw.core.PaintLine
Dummy coordinate that forces the drawing operation to start a new path.
NEWPATH - Static variable in class org.opentrafficsim.draw.core.PaintPolygons
Dummy coordinate that forces the drawing operation to start a new path.
NodeAnimation - Class in org.opentrafficsim.draw.network
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
NodeAnimation(Node, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.network.NodeAnimation
 
NodeAnimation.ElevatedNode - Class in org.opentrafficsim.draw.network
Class for elevating the node for animation purposes.
NodeAnimation.Text - Class in org.opentrafficsim.draw.network
Text animation for the Node.
notify(EventInterface) - Method in class org.opentrafficsim.draw.factory.DefaultAnimationFactory
notifyPlotChange() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Notify all change listeners.

O

offer(T) - Method in class org.opentrafficsim.draw.graphs.GraphUpdater
Offer a next value to the queue.
org.opentrafficsim.draw.core - package org.opentrafficsim.draw.core
Generic animation classes, i.e., for displaying texts.
org.opentrafficsim.draw.factory - package org.opentrafficsim.draw.factory
Factories for easily generating the animation for a network.
org.opentrafficsim.draw.graphs - package org.opentrafficsim.draw.graphs
Various graphs that function on generic meta-data (like which path) and data structures.
org.opentrafficsim.draw.graphs.road - package org.opentrafficsim.draw.graphs.road
Basic graphs for traffic simulation.
org.opentrafficsim.draw.gtu - package org.opentrafficsim.draw.gtu
GTU animations.
org.opentrafficsim.draw.lane - package org.opentrafficsim.draw.lane
package-info.java.
org.opentrafficsim.draw.network - package org.opentrafficsim.draw.network
Animation for Links, Lanes, Nodes.
org.opentrafficsim.draw.object - package org.opentrafficsim.draw.object
Animation for static objects.
org.opentrafficsim.draw.road - package org.opentrafficsim.draw.road
Animation for Links, Lanes, Nodes.
OTSDrawingException - Exception in org.opentrafficsim.draw.core
OTSDrawingException .
OTSDrawingException() - Constructor for exception org.opentrafficsim.draw.core.OTSDrawingException
 
OTSDrawingException(String) - Constructor for exception org.opentrafficsim.draw.core.OTSDrawingException
 
OTSDrawingException(Throwable) - Constructor for exception org.opentrafficsim.draw.core.OTSDrawingException
 
OTSDrawingException(String, Throwable) - Constructor for exception org.opentrafficsim.draw.core.OTSDrawingException
 
OTSNetworkAnimationUtils - Class in org.opentrafficsim.draw.network
OTSNetworkAnimationUtils can make a deep clone of a network, including animation, and can destroy the animation.

P

paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.core.TextAnimation
paint() method so it can be overridden or extended.
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text
paint() method so it can be overridden or extended.
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.gtu.GtuGeneratorQueueAnimation
paint() method so it can be overridden or extended.
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.lane.LaneStructureAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.network.LinkAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.network.NodeAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.AbstractLineAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.BusStopAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.ConflictAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.LaneAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.SensorAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.ShoulderAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.SinkAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.SpeedSignAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.StripeAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation
paint(Graphics2D, ImageObserver) - Method in class org.opentrafficsim.draw.road.TrafficLightSensorAnimation
PaintLine - Class in org.opentrafficsim.draw.core
Paint a line as a Path2D.Double
paintLine(Graphics2D, Color, double, DirectedPoint, OTSLine3D) - Static method in class org.opentrafficsim.draw.core.PaintLine
Paint line.
paintMultiPolygon(Graphics2D, Color, DirectedPoint, OTSLine3D, boolean) - Static method in class org.opentrafficsim.draw.core.PaintPolygons
Paint (fill) a polygon or a series of polygons.
PaintPolygons - Class in org.opentrafficsim.draw.core
Paint a (series of) filled polygon(s) defined as a Path2D.Double
PointerHandler - Class in org.opentrafficsim.draw.graphs
Handle mouse events for a graph.
PointerHandler() - Constructor for class org.opentrafficsim.draw.graphs.PointerHandler
 
position(int) - Method in class org.opentrafficsim.draw.graphs.GraphCrossSection
Returns the position on the underlying source of the series.
processSeries(I, List<TrajectoryGroup<?>>, List<Length>, List<Length>, Time, Time) - Method in interface org.opentrafficsim.draw.graphs.ContourDataSource.ContourDataType
Calculate value from provided trajectories that apply to a single grid cell on a single series (lane).

R

removeAnimation(Class<?>, SimulatorInterface.TimeDoubleUnit) - Static method in class org.opentrafficsim.draw.network.OTSNetworkAnimationUtils
Remove all animation objects of the given class.
removeChangeListener(DatasetChangeListener) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
reverse(Color[]) - Static method in class org.opentrafficsim.draw.core.BoundsPaintScale
Reverses the color array.

S

scale(double) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Scale the value from SI to the desired unit for users.
scale(double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotAcceleration
Scale the value from SI to the desired unit for users.
scale(double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotDensity
Scale the value from SI to the desired unit for users.
scale(double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotFlow
Scale the value from SI to the desired unit for users.
scale(double) - Method in class org.opentrafficsim.draw.graphs.ContourPlotSpeed
Scale the value from SI to the desired unit for users.
scale(double) - Method in class org.opentrafficsim.draw.graphs.road.ContourPlotDelay
Scale the value from SI to the desired unit for users.
SensorAnimation - Class in org.opentrafficsim.draw.road
Sensor animation.
SensorAnimation(SingleSensor, Length, SimulatorInterface.TimeDoubleUnit, Color) - Constructor for class org.opentrafficsim.draw.road.SensorAnimation
Construct a SensorAnimation.
SensorAnimation.Text - Class in org.opentrafficsim.draw.road
Text animation for the Sensor.
setAggregationPeriod(Duration) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Changes the aggregation period.
setAutoBoundDomain(XYPlot) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Overridable; activates auto bounds on domain axis from user input.
setAutoBoundDomain(XYPlot) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Overridable; activates auto bounds on domain axis from user input.
setAutoBoundDomain(XYPlot) - Method in class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Overridable; activates auto bounds on domain axis from user input.
setAutoBoundRange(XYPlot) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Overridable; activates auto bounds on range axis from user input.
setAutoBoundRange(XYPlot) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Overridable; activates auto bounds on range axis from user input.
setAutoBoundRange(XYPlot) - Method in class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Overridable; activates auto bounds on range axis from user input.
setBlockAnchor(RectangleAnchor) - Method in class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer
throws UnsupportedOperationException block anchor is governed based on interpolation
setBold(boolean) - Method in class org.opentrafficsim.draw.core.TextProperties
Set the weight to either WEIGHT_REGULAR or WEIGHT_BOLD.
setBold(TextWeight) - Method in class org.opentrafficsim.draw.core.TextProperties
Set the weight to one of multiple weight constants.
setChart(JFreeChart) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Sets the chart and adds menus and listeners.
setChart(JFreeChart) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Sets the chart and adds menus and listeners.
setChart(JFreeChart) - Method in class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Sets the chart and adds menus and listeners.
setColor(Color) - Method in class org.opentrafficsim.draw.core.TextAnimation
Update the color.
setColor(Color) - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
 
setFill(boolean) - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
 
setFlip(boolean) - Method in class org.opentrafficsim.draw.core.TextAnimation
Update the flip status.
setGroup(DatasetGroup) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
setGTUColorer(GTUColorer) - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation
Replace the GTUColorer.
setInterpolate(boolean) - Method in class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer
Enables interpolation or not.
setInterpolation(boolean) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Sets the check box for interpolated rendering and block renderer setting.
setItalic(boolean) - Method in class org.opentrafficsim.draw.core.TextProperties
Set the posture to either POSTURE_REGULAR or POSTURE_OBLIQUE (italic).
setLowerDomainBound(Double) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Sets the lower domain bound.
setLowerRangeBound(Double) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Sets the lower range bound.
setPaintScale(PaintScale) - Method in class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer
throws UnsupportedOperationException if the paint scale is not of type ColorPaintScale
setRotate(boolean) - Method in class org.opentrafficsim.draw.core.TextAnimation
Update the rotation status.
setScale(boolean) - Method in class org.opentrafficsim.draw.core.TextAnimation
Update the scale status.
setSmoothing(boolean) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Sets the check box for smooth rendering.
setSpaceGranularityRadioButton(double) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Sets the correct space granularity radio button to selected.
setStatusLabel(String) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Manually set status label from sub class.
setStrikethrough(boolean) - Method in class org.opentrafficsim.draw.core.TextProperties
Set the strikethrough on or off.
setText(String) - Method in class org.opentrafficsim.draw.core.TextAnimation
Update the text.
setTimeGranularityRadioButton(double) - Method in class org.opentrafficsim.draw.graphs.AbstractContourPlot
Sets the correct time granularity radio button to selected.
setTranslate(boolean) - Method in class org.opentrafficsim.draw.core.TextAnimation
Update the translate status.
setUnderline(boolean) - Method in class org.opentrafficsim.draw.core.TextProperties
Set the underline on or off.
setUpdateInterval(Duration) - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Sets a new update interval.
setUpdateInterval(Duration, Time, FundamentalDiagram) - Method in interface org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource
Changes the update interval.
setUpperDomainBound(Double) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Sets the upper domain bound.
setUpperRangeBound(Double) - Method in class org.opentrafficsim.draw.graphs.AbstractBoundedPlot
Sets the upper range bound.
setWeightBold(TextWidth) - Method in class org.opentrafficsim.draw.core.TextProperties
Set the width to WIDTH_CONDENSED, WIDTH_REGULAR, or WIDTH_EXTENDED.
setWidth(float) - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
 
setXY(float, float) - Method in class org.opentrafficsim.draw.core.TextAnimation
Sets a new offset.
ShoulderAnimation - Class in org.opentrafficsim.draw.road
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ShoulderAnimation(Shoulder, SimulatorInterface.TimeDoubleUnit, Color) - Constructor for class org.opentrafficsim.draw.road.ShoulderAnimation
 
SinkAnimation - Class in org.opentrafficsim.draw.road
sink sensor animation.
SinkAnimation(SinkSensor, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.SinkAnimation
Construct the Sink animation.
sourceFromSampler(Sampler<?>, GraphCrossSection<KpiLaneDirection>, boolean, Duration, boolean) - Static method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Creates a Source from a sampler and positions.
sourceFromSampler(Sampler<?>, GraphPath<KpiLaneDirection>, boolean, Duration) - Static method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
Creates a Source from a sampler and positions.
SpeedSignAnimation - Class in org.opentrafficsim.draw.road
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
SpeedSignAnimation(SpeedSign, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.SpeedSignAnimation
 
StaticObjectAnimation - Class in org.opentrafficsim.draw.object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
StaticObjectAnimation(StaticObject, SimulatorInterface.TimeDoubleUnit, float, Color, boolean) - Constructor for class org.opentrafficsim.draw.object.StaticObjectAnimation
 
StripeAnimation - Class in org.opentrafficsim.draw.road
Draw road stripes.
StripeAnimation(Stripe, SimulatorInterface.TimeDoubleUnit, StripeAnimation.TYPE) - Constructor for class org.opentrafficsim.draw.road.StripeAnimation
 
StripeAnimation.TYPE - Enum in org.opentrafficsim.draw.road
Stripe type.

T

Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text
 
Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.network.LinkAnimation.Text
 
Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.network.NodeAnimation.Text
 
Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.BusStopAnimation.Text
 
Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.LaneAnimation.Text
 
Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.SensorAnimation.Text
 
Text(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.TrafficLightAnimation.Text
 
TextAlignment - Enum in org.opentrafficsim.draw.core
Location of the text in the explanation.
TextAnimation - Class in org.opentrafficsim.draw.core
Display a text for another Locatable object.
TextAnimation(Locatable, String, float, float, TextAlignment, Color, float, float, float, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.core.TextAnimation
 
TextAnimation(Locatable, String, float, float, TextAlignment, Color, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.core.TextAnimation
 
TextProperties - Class in org.opentrafficsim.draw.core
Properties for text to identify animated objects in OTS.
TextProperties() - Constructor for class org.opentrafficsim.draw.core.TextProperties
Construct a default set of text properties for animation.
TextProperties(TextAlignment, Color, float) - Constructor for class org.opentrafficsim.draw.core.TextProperties
Construct a set of text properties for animation with alignment, color and size.
TextProperties(TextAlignment, Color, float, String, Map<TextAttribute, Object>) - Constructor for class org.opentrafficsim.draw.core.TextProperties
Construct a set of text properties for animation with alignment, color and size.
TextWeight - Enum in org.opentrafficsim.draw.core
Weight of the text font in the explanation.
TextWidth - Enum in org.opentrafficsim.draw.core
Width of the text font in the explanation.
toString() - Method in class org.opentrafficsim.draw.core.BoundsPaintScale
toString() - Method in class org.opentrafficsim.draw.core.TextProperties
toString() - Method in class org.opentrafficsim.draw.graphs.ContourDataSource
toString() - Method in class org.opentrafficsim.draw.graphs.ContourPlotAcceleration
toString() - Method in class org.opentrafficsim.draw.graphs.ContourPlotDensity
toString() - Method in class org.opentrafficsim.draw.graphs.ContourPlotFlow
toString() - Method in class org.opentrafficsim.draw.graphs.ContourPlotSpeed
toString() - Method in class org.opentrafficsim.draw.graphs.FundamentalDiagram
toString() - Method in class org.opentrafficsim.draw.graphs.GraphCrossSection
toString() - Method in class org.opentrafficsim.draw.graphs.GraphPath
toString() - Method in class org.opentrafficsim.draw.graphs.GraphUpdater
toString() - Method in class org.opentrafficsim.draw.graphs.JFileChooserWithSettings
toString() - Method in class org.opentrafficsim.draw.graphs.TrajectoryPlot
toString() - Method in class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer
toString() - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text
toString() - Method in class org.opentrafficsim.draw.gtu.DefaultCarAnimation
toString() - Method in class org.opentrafficsim.draw.network.LinkAnimation.Text
toString() - Method in class org.opentrafficsim.draw.network.LinkAnimation
toString() - Method in class org.opentrafficsim.draw.network.NodeAnimation.Text
toString() - Method in class org.opentrafficsim.draw.network.NodeAnimation
toString() - Method in class org.opentrafficsim.draw.object.StaticObjectAnimation
toString() - Method in class org.opentrafficsim.draw.road.BusStopAnimation.Text
toString() - Method in class org.opentrafficsim.draw.road.BusStopAnimation
toString() - Method in class org.opentrafficsim.draw.road.ConflictAnimation
toString() - Method in class org.opentrafficsim.draw.road.LaneAnimation.Text
toString() - Method in class org.opentrafficsim.draw.road.LaneAnimation
toString() - Method in class org.opentrafficsim.draw.road.SensorAnimation.Text
toString() - Method in class org.opentrafficsim.draw.road.SensorAnimation
toString() - Method in class org.opentrafficsim.draw.road.ShoulderAnimation
toString() - Method in class org.opentrafficsim.draw.road.SinkAnimation
toString() - Method in class org.opentrafficsim.draw.road.SpeedSignAnimation
toString() - Method in class org.opentrafficsim.draw.road.StripeAnimation
toString() - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation.Text
toString() - Method in class org.opentrafficsim.draw.road.TrafficLightAnimation
toString() - Method in class org.opentrafficsim.draw.road.TrafficLightSensorAnimation
TrafficLightAnimation - Class in org.opentrafficsim.draw.road
Draw a traffic light on the road at th place where the cars are expected to stop.
TrafficLightAnimation(TrafficLight, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.TrafficLightAnimation
Construct the DefaultCarAnimation for a LaneBlock (road block).
TrafficLightAnimation.Text - Class in org.opentrafficsim.draw.road
Text animation for the TrafficLight.
TrafficLightSensorAnimation - Class in org.opentrafficsim.draw.road
sink sensor animation.
TrafficLightSensorAnimation(TrafficLightSensor, SimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.draw.road.TrafficLightSensorAnimation
Construct a SensorAnimation.
TrajectoryPlot - Class in org.opentrafficsim.draw.graphs
Plot of trajectories along a path.
TrajectoryPlot(String, Duration, OTSSimulatorInterface, Sampler<?>, GraphPath<KpiLaneDirection>) - Constructor for class org.opentrafficsim.draw.graphs.TrajectoryPlot
Constructor.

U

update() - Method in class org.opentrafficsim.draw.graphs.AbstractPlot
Redraws the plot and schedules the next update.
update() - Method in class org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot
Redraws the plot and schedules the next update.
updateHint(double, double) - Method in class org.opentrafficsim.draw.graphs.PointerHandler
Called when the pointer is positioned inside the data area of the graph, or when it leaves the data area.

V

valueOf(String) - Static method in enum org.opentrafficsim.draw.core.TextAlignment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.draw.core.TextWeight
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.draw.core.TextWidth
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.draw.graphs.ContourDataSource.Dimension
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.draw.graphs.FundamentalDiagram.Quantity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.draw.graphs.GraphType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.draw.road.StripeAnimation.TYPE
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.opentrafficsim.draw.core.TextAlignment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.draw.core.TextWeight
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.draw.core.TextWidth
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.draw.graphs.ContourDataSource.Dimension
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.draw.graphs.FundamentalDiagram.Quantity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.draw.graphs.GraphType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.draw.road.StripeAnimation.TYPE
Returns an array containing the constants of this enum type, in the order they are declared.
visualize(RollingLaneStructure, GTU) - Static method in class org.opentrafficsim.draw.lane.LaneStructureAnimation
Enables visualization of this lane structure.

X

XYInterpolatedBlockRenderer - Class in org.opentrafficsim.draw.graphs
Renderer for blocks that are filled with bidirectionally interpolated colors.
XYInterpolatedBlockRenderer(XYInterpolatedDataset) - Constructor for class org.opentrafficsim.draw.graphs.XYInterpolatedBlockRenderer
 

Z

ZOFFSET - Static variable in class org.opentrafficsim.draw.network.NodeAnimation
Ensure that node animations are slightly above lane surface.
A B C D E F G H I J L M N O P R S T U V X Z 
Skip navigation links

Copyright © 2014–2019 Delft University of Technology. All rights reserved.