Interface GTUColorer

All Superinterfaces:
Colorer<GTU>
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-2019 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 class  GTUColorer.LegendEntry
    Packs a Color, a short description and a long description in one object.
  • Method Summary

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

    Methods inherited from interface org.opentrafficsim.core.animation.Colorer

    getColor
  • Method Details

    • 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