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 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
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
-
-