| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu.animation |
GTU animations.
|
| org.opentrafficsim.gui |
Swing components that are used in OpenTrafficSim.
|
| org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
| 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 |
SpeedGTUColorer
Color GTU depending on their speed.
|
class |
SwitchableGTUColorer
GTU colorer that uses a coloring method that can be switched by the user of the program.
|
| Modifier and Type | Method and Description |
|---|---|
GTUColorer |
SwitchableGTUColorer.Builder.build()
Builds the colorer.
|
| Modifier and Type | Method and Description |
|---|---|
List<GTUColorer> |
SwitchableGTUColorer.getColorers() |
| Modifier and Type | Method and Description |
|---|---|
SwitchableGTUColorer.Builder |
SwitchableGTUColorer.Builder.addActiveColorer(GTUColorer colorer)
Adds a colorer, make it selected.
|
SwitchableGTUColorer.Builder |
SwitchableGTUColorer.Builder.addColorer(GTUColorer colorer)
Adds a colorer.
|
| Constructor and Description |
|---|
SwitchableGTUColorer(int activeIndex,
GTUColorer... colorers)
Construct a new Switchable GTUColorer based on a list of colorers.
|
| 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,
OTSNetwork network)
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
|
| Modifier and Type | Method and Description |
|---|---|
GTUColorer |
AbstractWrappableAnimation.getColorer()
Overridable method to return GTU colorer.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.