| 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,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed.Abs initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed.Abs 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() |
| Constructor and Description |
|---|
AbstractGTUGenerator(String name,
OTSDEVSSimulatorInterface simulator,
GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
ContinuousDistDoubleScalar.Abs<org.djunits.value.vdouble.scalar.Speed.Abs,org.djunits.unit.SpeedUnit> initialSpeedDist,
ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> interarrivelTimeDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Abs endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer) |
GTUGeneratorIndividual(String name,
OTSDEVSSimulatorInterface simulator,
GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
ContinuousDistDoubleScalar.Abs<org.djunits.value.vdouble.scalar.Speed.Abs,org.djunits.unit.SpeedUnit> initialSpeedDist,
ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> interarrivelTimeDist,
ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> lengthDist,
ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> widthDist,
ContinuousDistDoubleScalar.Abs<org.djunits.value.vdouble.scalar.Speed.Abs,org.djunits.unit.SpeedUnit> maximumSpeedDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Abs endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer) |
ListGTUGenerator(String name,
OTSDEVSSimulatorInterface simulator,
GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
org.djunits.value.vdouble.scalar.Speed.Abs initialSpeed,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer,
String fileName)
Construct a GTU generator that takes the times to generate another GTU from an external source.
|
| 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,
WrappableAnimation wrappableAnimation,
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 |
AbstractWrappableAnimation.makeModel(GTUColorer colorer) |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.