| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu.animation |
GTU animations.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs.
|
| org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
| org.opentrafficsim.gui |
Swing components that are used in OpenTrafficSim.
|
| org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
| Modifier and Type | Method and Description |
|---|---|
GTUColorer |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getGtuColorer() |
| Modifier and Type | Method and Description |
|---|---|
void |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setGtuColorer(GTUColorer gtuColorer) |
| Constructor and Description |
|---|
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
Route route,
OTSDEVSSimulatorInterface simulator,
Class<? extends Renderable2D> animationClass,
GTUColorer gtuColorer)
Construct a new LaneBasedIndividualCar.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccelerationGTUColorer
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
DefaultSwitchableGTUColorer
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
IDGTUColorer
Color GTUs based on their id.
|
class |
LaneChangeUrgeGTUColorer
Color GTUs based on their urgency to perform a lane change and the direction of that lane change.
|
class |
SwitchableGTUColorer
GTU colorer that uses a coloring method that can be switched by the user of the program.
|
class |
VelocityGTUColorer
Color GTU depending on their speed.
|
| Modifier and Type | Method and Description |
|---|---|
List<GTUColorer> |
SwitchableGTUColorer.getColorers() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCarAnimation.setGTUColorer(GTUColorer newGTUColorer)
Replace the GTUColorer.
|
| Constructor and Description |
|---|
DefaultCarAnimation(LaneBasedIndividualCar<?> source,
OTSSimulatorInterface simulator,
GTUColorer gtuColorer)
Construct the DefaultCarAnimation for a LaneBasedIndividualCar.
|
SwitchableGTUColorer(int activeIndex,
GTUColorer... colorers)
Construct a new Switchable GTUColorer based on a list of colorers.
|
| Modifier and Type | Method and Description |
|---|---|
GTUColorer |
AbstractGTUGenerator.getGtuColorer() |
| Modifier and Type | Field and Description |
|---|---|
protected GTUColorer |
XmlNetworkLaneParser.gtuColorer
the GTUColorer to use.
|
| Modifier and Type | Method and Description |
|---|---|
protected OTSModelInterface |
TestXMLParser.makeModel(GTUColorer colorer) |
| Constructor and Description |
|---|
XmlNetworkLaneParser(Class<?> networkIdClass,
Class<?> nodeClass,
Class<?> nodeIdClass,
Class<?> nodePointClass,
Class<?> linkClass,
Class<?> linkIdClass,
OTSDEVSSimulatorInterface simulator,
GTUColorer gtuColorer) |
| Modifier and Type | Method and Description |
|---|---|
GTUColorer |
OTSAnimationPanel.getGTUColorer()
Access the GTUColorer of this animation ControlPanel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ColorControlPanel.addItem(GTUColorer colorer)
Add one item to this ColorControlPanel.
|
| Constructor and Description |
|---|
ColorControlPanel(GTUColorer gtuColorer)
Add a ColorControlPanel to an AnimationPanel.
|
OTSAnimationPanel(Rectangle2D extent,
Dimension size,
SimpleAnimator simulator,
WrappableSimulation wrappableSimulation,
GTUColorer gtuColorer)
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract OTSModelInterface |
AbstractWrappableSimulation.makeModel(GTUColorer colorer) |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.