| 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 according to some prescription.
|
| 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(String 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,
LaneBasedRouteNavigator routeNavigator,
OTSDEVSSimulatorInterface simulator,
Class<? extends Renderable2D> animationClass,
GTUColorer gtuColorer)
Construct a new LaneBasedIndividualCar.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccelerationGTUColorer
Color GTUs based on their current acceleration.
|
class |
DefaultSwitchableGTUColorer
A simple way to construct a SwitchableGTUColorer set up with the "standard" set of GTUColorers.
|
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 | Method and Description |
|---|---|
protected OTSModelInterface |
TestXMLParser.makeModel(GTUColorer colorer) |
protected OTSModelInterface |
TestOpenDriveParser.makeModel(GTUColorer colorer) |
| 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.