Interface GTUColorer
-
- All Known Implementing Classes:
AccelerationGTUColorer,BlockingColorer,ControlColorer,DefaultSwitchableGTUColorer,DesireColorer,DesiredHeadwayColorer,DesiredSpeedColorer,DistractionColorer,FixedColor,GTUTypeColorer,IDGTUColorer,IncentiveColorer,LmrsSwitchableColorer,ReactionTimeColorer,SocialPressureColorer,SpeedGTUColorer,SplitColorer,SwitchableGTUColorer,SynchronizationColorer,TaskColorer,TaskSaturationColorer,TotalDesireColorer
public interface GTUColorer extends Colorer<GTU>
Determine the fill color for a GTU.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision: 4763 $, $LastChangedDate: 2018-11-19 11:04:56 +0100 (Mon, 19 Nov 2018) $, by $Author: averbraeck $,
initial version 27 mei 2015
- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGTUColorer.LegendEntryPacks a Color, a short description and a long description in one object.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<GTUColorer.LegendEntry>getLegend()Return a list of legend entries (useful to make a legend of the colors used to render the GTUs).
-
-
-
Method Detail
-
getLegend
java.util.List<GTUColorer.LegendEntry> getLegend()
Return a list of legend entries (useful to make a legend of the colors used to render the GTUs).- Returns:
- List<LegendEntry>; the list of legend entries; the caller should not (try to) modify this List
-
-